1. Brekeke Product Name and version:Brekeke SipServer Version: 2_1_6_6
2. Java version:jre -6u7 -windows
3. OS type and the version:windows xp
4. UA (phone), gateway or other hardware/software involved:SJ phone 1.60
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
I send out a INVITE message from the SIP EP with value in TO Header field as "abcd@xyz.com" .
what i want is that upon receiving the INVITE msg Brekeke must change the TO header field to "lmn@efgh"
(I am aware of this configuration) .
Also in the INVITE msg that I sent to "lmn@efgh" , the value of CONTACT header field must be "abcd" (i.e)the one sent in the first INVITE msg.
(I don't know the configuration for this)
Now what I want to know is , "Is there any in-built function (or) Dial-plan , in Brekeke to extract only the user part in the INVITE message's TO field and put it in the CONTACT field?"
Thanks in Advance.
extracting fields
Moderator: Brekeke Support Team
Did you check "Dial Plan Tutorial"?
http://www.brekeke-sip.com/download/bss ... lan_en.pdf
>> "Is there any in-built function (or) Dial-plan , in Brekeke to extract only the user part in the INVITE message's TO field and put it in the CONTACT field?"
Try the DialPlan below.
-------------------------
[Matching Patterns]
$request = ^INVITE
To = sip:(.+)@xyz.com
[Deploy Patterns]
To = sip:lmn@efgh
Contact = sip:%1
-------------------------
http://www.brekeke-sip.com/download/bss ... lan_en.pdf
>> "Is there any in-built function (or) Dial-plan , in Brekeke to extract only the user part in the INVITE message's TO field and put it in the CONTACT field?"
Try the DialPlan below.
-------------------------
[Matching Patterns]
$request = ^INVITE
To = sip:(.+)@xyz.com
[Deploy Patterns]
To = sip:lmn@efgh
Contact = sip:%1
-------------------------