1. Brekeke Product Name and Version:
Brekeke SIP Server 3 (BSS3)
2. Java version:
Not sure
3. OS type and the version:
Windows 7 Pro
4. UA (phone), gateway or other hardware/software involved:
3CX IP PBX Server
5. Your problem:
I'm attempting to route calls based on a prefix that is added to the dialed number from a 3CX IP PBX. For example, in the Outbound Rules in the 3CX IP PBX, I add the digits "61001" to a local 7 digit number that is dialed. Then, based on the Matching Pattern in BSS3, the call is appropriately routed.
I've tried the following, which is based on the examples on page 8 of the Brekeke SIP Server Dial Plan Tutorial. 'xxx.xxx.xxx.xxx' is the IP address of the 3CX IP PBX server. 'yyy.yyy.yyy.yyy' is the IP address of the underlying VoIP service provider through which I'm routing the call. 'zzz.zzz.zzz.zzz' is the IP address of the BSS3. I also have to add '1417' to the dial 'string', sent to the underlying VoIP carrier for local numbers to dial correctly.
Matching Pattern:
$request=^INVITE
$addr=^xxx.xxx.xxx.xxx$
To=sip:61001(.+)@
Deploy Pattern:
To=1417%1@yyy.yyy.yyy.yyy
$rtp=false
This does not work. It appears that the incoming INVITE (610018694491@zzz.zzz.zzz.zzz) is not matching the Matching Pattern.
What am I doing wrong here?
John
Routing Call with Prefix
Moderator: Brekeke Support Team