Author |
Message |
skb007 Brekeke Guru
Joined: 05 Oct 2015 Posts: 152
Location: USA
|
Posted: Thu Dec 29, 2016 7:33 pm Post subject: What is the usage for net.sip.replacecallid, and how to use |
|
|
1. Brekeke Product Name and Version: Brekeke SIP Server 3.6.2.5
2. Java version:1.7
3. OS type and the version: 64-bit RHEL6.6
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:What is the usage for net.sip.replacecallid, and how to use it?
We have a business requirement where we have to set the call-id of outbound leg in relation to call-id of inbound call.
For example, if call-id of inbound leg is "this-is-a-call-id" then we have to set the call-id of outbound leg as "SOME-PREFIX-this-is-a-call-id"
I have tried the following but it does not work, it still assigned the random call-id
Matching Patterns | $addr = 10\.1\.1\.1 From = sip:(.+)@ $request = sip:123(.+)@ Call-ID) = (.+)
|
Deploy Patterns | From = sip:%1@10.2.2.2 To = sip:%2@10.3.3.3 $b2bua = true $rtp = false $session = sdp net.sip.replacesdp.multipart = true &sdp.audio.a.1 = ptime:20 &sdp.audio.a.2 = silenceSupp:off - - - - &net.sip.replace.callid = true Call-ID = MYPREFIX%3 $log = myDebug_BrekekeVar3:%3
|
|
|
Back to top |
|
skb007 Brekeke Guru
Joined: 05 Oct 2015 Posts: 152
Location: USA
|
Posted: Thu Dec 29, 2016 7:35 pm Post subject: |
|
|
I also tried:
Matching Patterns | $addr = 10\.1\.1\.1 From = sip:(.+)@ $request = sip:123(.+)@ Call-ID) = (.+)
|
Deploy Patterns | From = sip:%1@10.2.2.2 To = sip:%2@10.3.3.3 $b2bua = true $rtp = false $session = sdp net.sip.replacesdp.multipart = true &sdp.audio.a.1 = ptime:20 &sdp.audio.a.2 = silenceSupp:off - - - - &net.sip.replace.callid = MYPREFIX%3 $log = myDebug_BrekekeVar3:%3
|
But it did not make any difference, Brekeke is assigning the random call-id. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Fri Dec 30, 2016 11:26 am Post subject: |
|
|
Which standard, SIP product or provider require such a Call-ID?
Call-ID is an identifier so it doesn't have any meanings it self.
Therefore DialPlan doesn't allow you to specify the value of Call-ID.
If you want to specify it, you need to create a plugin. |
|
Back to top |
|
|