1. Brekeke Product Name and version:Brekeke SIP Server
2. Java version:2.1.6.6/239
3. OS type and the version:Windows 2008
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
Hi, we have customer and he want to send call with +90 prefix. but + sign is problem. how to describe plus sign in "to" and "invite" section. how to accept this kind of calls.
Matching Patterns
$request=^INVITE sip:.905
To=sip:.905(.*)@
$registered=false
$addr=^213\.248\.81\.100$
Deploy Patterns
To=sip:67890%1@178.22.9.195
&net.sip.addrecordroute=true
&net.sip.addrecordroute.lr=true
$target=178.22.9.195
How to accept +90 call in dial plan
Moderator: Brekeke Support Team
-
- Posts: 2
- Joined: Thu Apr 21, 2011 5:09 am
- Location: Turkey
Matching Patterns
$request=^INVITE sip:\+905(.+)
To=sip:\+905(.*)@
$registered=false
$addr=^213\.248\.81\.100$
Deploy Patterns
$request = INVITE sip:67890%1
To=sip:67890%2@178.22.9.195
&net.sip.addrecordroute=true
&net.sip.addrecordroute.lr=true
$target=178.22.9.195
this dial plan will replace INVITE request and To header prefix +905 with 67890
$request=^INVITE sip:\+905(.+)
To=sip:\+905(.*)@
$registered=false
$addr=^213\.248\.81\.100$
Deploy Patterns
$request = INVITE sip:67890%1
To=sip:67890%2@178.22.9.195
&net.sip.addrecordroute=true
&net.sip.addrecordroute.lr=true
$target=178.22.9.195
this dial plan will replace INVITE request and To header prefix +905 with 67890
-
- Posts: 2
- Joined: Thu Apr 21, 2011 5:09 am
- Location: Turkey
what do you mean??
Do you want to define "$request" in Deploy Patterns even if an INVITE's request-line is unique?
----------------------------------------
[Matching Patterns]
$request = INVITE
To = sip:\+905(.+)@
$registered = false
$addr = ^213\.248\.81\.100$
[Deploy Patterns]
$request = INVITE sip:67890%1@178.22.9.195 SIP/2.0
To = sip:67890%1@178.22.9.195
&net.sip.addrecordroute = true
&net.sip.addrecordroute.lr = true
$target = 178.22.9.195
----------------------------------------
Do you want to define "$request" in Deploy Patterns even if an INVITE's request-line is unique?
----------------------------------------
[Matching Patterns]
$request = INVITE
To = sip:\+905(.+)@
$registered = false
$addr = ^213\.248\.81\.100$
[Deploy Patterns]
$request = INVITE sip:67890%1@178.22.9.195 SIP/2.0
To = sip:67890%1@178.22.9.195
&net.sip.addrecordroute = true
&net.sip.addrecordroute.lr = true
$target = 178.22.9.195
----------------------------------------