Author |
Message |
s_wonga Brekeke Newbie
Joined: 25 Apr 2011 Posts: 2
Location: HK
|
Posted: Mon Apr 25, 2011 7:08 am Post subject: how to strip +852 when the call is made from OCS |
|
|
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/networkpatterns.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 |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Mon Apr 25, 2011 12:10 pm Post subject: |
|
|
For example:
Matching Patterns | $request = INVITE To = sip:\+8526(.+)@
| Deploy Patterns | To = sip:%1@ &net.sip.transport.follow.request = true $auth = false $continue = true
|
|
|
Back to top |
|
s_wonga Brekeke Newbie
Joined: 25 Apr 2011 Posts: 2
Location: HK
|
Posted: Tue Apr 26, 2011 4:16 am Post subject: |
|
|
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 |
|
Back to top |
|
|