Author |
Message |
alviet Brekeke Newbie
Joined: 08 Jul 2013 Posts: 2
Location: Vietnam
|
Posted: Mon Jul 08, 2013 11:22 pm Post subject: Edit Request URI of Incoming INVITE by Dial Plan |
|
|
1. Brekeke Product Name and Version:
brekeke sip server 3.1.7.8/348.2
2. Java version:
1.7.0_21
3. OS type and the version:
Windows
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
I want to edit Request Line
Incoming INVITE message:
===========================
INVITE sip:123.30.92.6 SIP/2.0
.....
To: <sip:1000@123.30.92.6>
.....
===========================
-> Deployed:
===========================
INVITE sip:1000@123.30.92.6 SIP/2.0
...
To: <sip:1000@123.30.92.6>
...
===========================
Can dial plan of Brekeke Sip Server help me out? _________________ VoIP |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
|
Back to top |
|
alviet Brekeke Newbie
Joined: 08 Jul 2013 Posts: 2
Location: Vietnam
|
Posted: Wed Jul 17, 2013 8:47 pm Post subject: |
|
|
Thanks Tata. Refer your documents I tried like below, but failed. Can you take a look.
Matching Patterns | $request URI $request = ^INVITE
$getUri(To) = sip:(\d*)[/b] | Deploy Patterns | $request = INVITE sip:%1@116.118.110.91 SIP/2.0 |
Phenomenon:
Incoming message does not changed. _________________ VoIP |
|
Back to top |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Wed Jul 17, 2013 10:23 pm Post subject: |
|
|
Try this..
Matching Patterns | $request = ^INVITE $getUri(To) = sip:(.+)@
| Deploy Patterns | $request = INVITE sip:%1@116.118.110.91 SIP/2.0
|
|
|
Back to top |
|
|