Forums Read-only archive

Brekeke PBX and OCS Med on same server

7 posts · Brekeke PBX Forum

krenzjer Original post
1. Brekeke Product Name and version:2.4.3

2. Java version:
JRE 6

3. OS type and the version:
Windows 2008 x64

4. UA (phone), gateway or other hardware/software involved:
X-Lite and Aastra 55i

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :1

6. Your problem:
Trying to get PBX and OCS working on same server. Server has 2 network card (1) Gateway 192.168.0.6)(2) General 192.168.0.5 internal for ocs, 192.168.0.9 for web, and 192.168.0.17 for Brekeke) Set bind for the Brekeke ip, and restrict for everything but 17. If I skip the bind I can make calls but OCS Med will not start. If I leave it in then all 3 start(sip, pbx, ocs) , but I get a 603 from both phones. This is a evaluation with no changes as of yet. Any help would be appreciated.

Thanks,

Jeremy
james
can you use unique port number at OCS?
james
also, paste your DialPlan rules here.
I want to look at them.
krenzjer
Well I finally got it installed and working on the PBX side. I had to adjust the rules in the dialplan the had $target=localhost:1506X to $target=192.168.0.17:1506X, still trying to get ocs tied in. What order do i need to place the rules for OCS in the dial plan? Also is there a how to on getting exchange VM and AutoAttendant integrated.

Thanks for all the help

Jeremy
james
hey.. can you write your all of Dialplan rules here?
did you specify the correct OCS's interface address at the DialPlan?
krenzjer
##
## DialPlan table file "C:/Program Files (x86)/Brekeke/pbx/webapps/pbx/WEB-INF/work/sv/etc/dialplan.tbl" (Wed Feb 10 15:24:46 EST 2010)
##
"PBX Prefix", $port="^15062";$localhost="^true";$request="^INVITE";To="(^.*sip:)pbx(.+\$)";, To="%1%2";$target="192.168.0.17:15060";$auth="false";X-PBX-Param="", ""
"From PBX Page", $port="^15062";$localhost="^true";$request="^INVITE";X-PBX-Param="page";$page.header="(.+)\,(.+)";, $auth="false";&net.sip.hide.loopback="true";$b2bua="false";%1="%2";X-PBX-Param="";&net.sip.fixed.addrport.uas="true", ""
"From PBX 1", $port="^15062";$localhost="^true";$request="^INVITE";$outbound="^true";, $auth="false";&net.sip.hide.loopback="true";$b2bua="true";X-PBX-Param="", ""
"From PBX 2", $port="^15062";$localhost="^true";$request="^INVITE";, $auth="false";&net.sip.hide.loopback="true";$b2bua="false";X-PBX-Param="";&net.sip.fixed.addrport.uas="true", ""
"To PBX From ITSP", $request="^INVITE";$regaddr="(.+):15060";$localhost("%1")="^true";, $target="192.168.0.17:15060";$transport="udp";$b2bua="true";$auth="false", ""
"From OCS to PBX", _disabled="true";$addr="192.168.0.5";$request="^INVITE";$getUri( From )="sip:(.+)@(.+)";$getUri( To )="sip:\\+(.+)";, $target="192.168.0.17:15060";$transport="UDP";$auth="false";&net.sip.transport.follow.request="true";From="sip:%1_ocs@%2";To="sip:%3", ""
"From PBX to OCS", _disabled="true";$port="15062";$localhost="true";$registered="false";$outbound="false";$request="^INVITE";$getUri( From )="!_ocs";To="sip:(.+)@";, $transport="TCP";$auth="false";&net.sip.transport.follow.request="true";To="sip:+%1@192.168.0.6", ""
"From PBX from OCS", _disabled="true";$port="15062";$localhost="^true";$request="^INVITE";$getUri( From )="sip:(.+)_ocs@(.+)";, $replaceuri="true";$continue="true";From="sip:%1@%2", ""
"To PBX", $request="^INVITE";$registeredsender="^true";, $target="192.168.0.17:15060";$transport="udp";$b2bua="false";$auth="false";$auth="false";&net.sip.fixed.addrport.uac="true", ""
"To PBX auth", $request="^INVITE";, $target="192.168.0.17:15060";$transport="udp";$b2bua="false";$auth="true";&net.sip.fixed.addrport.uac="true", ""
"Subscribe", $request="^SUBSCRIBE";Event="^x-.*|^message-summary\$|^dialog\$|^line-seize\$|^presence\$|^call-info\$";, $target="192.168.0.17:15062";$transport="udp";$auth="false", ""
"Thru Register", $port="^15060";$localhost="^true";$request="^REGISTER";, $action="register";$auth="false";&net.registrar.onlyglobal="true", ""
"Register for PAL", $request="^REGISTER";$pal.register="^true";, $continue="true", ""
"Register Behind NAT", _disabled="true";$request="^REGISTER";, $continue="true";&register.contact.remote="true";&_register.contact.nat="true";&_net.registrar.adjust.expires="10", ""
"{no authorization}", $request="^REGISTER";$localhost="true";user-agent="^Brekeke";, $action=register;$auth=false;&net.registrar.upper.allow=false, ""
james
>> What order do i need to place the rules for OCS in the dial plan?

Follow the sample's order http://wiki.brekeke.com/wiki/Configure- ... BX-for-OCS.
It seems your DialPlan order is OK.


>> Also is there a how to on getting exchange VM and AutoAttendant integrated.

You need to create users in the PBX.