how to strip +852 when the call is made from OCS

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
s_wonga
Posts: 2
Joined: Mon Apr 25, 2011 6:55 am
Location: HK

how to strip +852 when the call is made from OCS

Post by s_wonga »

1. Brekeke Product Name and version:
Brekeke SIP Server: 2.4.8.6/286.3

2. Java version:
JRE6

3. OS type and the version:
Windows 2003 R2

4. UA (phone), gateway or other hardware/software involved:
OCS

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
N/A
6. Your problem:
when ocs makes outbound call, it is always in E.164 format, e.g., +852600000001. However, the users in Brekeke SIP Server are created in 8 digits format, e.g., 60000001. So how can the dial plan in Brekeke strip the +852 and route to call to the brekeke sip server (there is only one Brekeke sip server)?
stephen
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

For example:

----------------------------------------
[Matching Patterns]
$request = INVITE
To = sip:\+8526(.+)@

[Deploy Patterns]
To = sip:%1@
&net.sip.transport.follow.request = true
$auth = false
$continue = true
----------------------------------------
s_wonga
Posts: 2
Joined: Mon Apr 25, 2011 6:55 am
Location: HK

Post by s_wonga »

Harold wrote:For example:

----------------------------------------
[Matching Patterns]
$request = INVITE
To = sip:\+8526(.+)@

[Deploy Patterns]
To = sip:%1@
&net.sip.transport.follow.request = true
$auth = false
$continue = true
----------------------------------------
thank you so much!!!!!
stephen
Post Reply