Adding a +1 in deploy pattern to make call e.164

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
eric9721
Posts: 7
Joined: Wed Dec 16, 2009 7:29 am
Location: Richardson, Tx

Adding a +1 in deploy pattern to make call e.164

Post by eric9721 »

1. Brekeke Product Name and Version:
Brekeke Sip Server 2.4.8.6/286.3
2. Java version:
1.6.0_31
3. OS type and the version:
Server 2003
4. UA (phone), gateway or other hardware/software involved:

5. Your problem:
I need to add a +1 to the deploy pattern. This is what I have today.

Matching Pattern:
$addr=192.168.XX.XX$
$request=^INVITE
To=sip:9(.+)@

Deploy Pattern:
$b2bua=true
$auth=false
$target=1.1.1.1 as an example
To=sip:%1@

So I should send out +19722131111 for example.

Any idea how to accomplish this?
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

try
Matching Pattern:
$addr=^192\.168\..+
$request=^INVITE
To=sip:9(.+)@

Deploy Pattern:
$b2bua=true
$auth=false
To=sip:+1%1@1.1.1.1
eric9721
Posts: 7
Joined: Wed Dec 16, 2009 7:29 am
Location: Richardson, Tx

Post by eric9721 »

That worked! Thanks for your help!!!
Post Reply