Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Edit Request URI of Incoming INVITE by Dial Plan
Author Message
alviet
Brekeke Newbie


Joined: 08 Jul 2013
Posts: 2
Location: Vietnam

PostPosted: Mon Jul 08, 2013 11:22 pm    Post subject: Edit Request URI of Incoming INVITE by Dial Plan Reply with quote

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
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Tue Jul 09, 2013 1:31 am    Post subject: Reply with quote

Use the $request in Deploy Pattern.

Refer the page 77 in the document.
http://www.brekeke.com/doc/sip/sip_admin_v3.pdf
Back to top
View user's profile
alviet
Brekeke Newbie


Joined: 08 Jul 2013
Posts: 2
Location: Vietnam

PostPosted: Wed Jul 17, 2013 8:47 pm    Post subject: Reply with quote

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
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed Jul 17, 2013 10:23 pm    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1