[Asterisk-Users] SIPCALLID, but which callid?

Erik erik at infopact.nl
Wed Jun 21 02:30:35 MST 2006


Andreas Sikkema wrote:
>> Andreas Sikkema wrote:
>>> Hi,
>>>
>>> To combine two sources of CDR's I want Asterisk to save the 
>> SIP callid for
>>> all calls. I know there's a variable that contains the SIP 
>> CallID value,
>>> but is this the callid value of the incoming INVITE message or the 
>>> outgoing
>>> message? Are they the same? (I've not yet checked a trace, 
>> I'm sorry for
>>> that). I've tried to read chan_sip, but couldn't find 
>> something in the 
>>> time
>>> I had today. I've found hardly any documentation o this variable, 
>>> apart from
>>> that it exists and that it contains "the" SIP CallID value.
>>>
>>> Can anyone enlighten me?
> 
>> They are the same on both sides.
> 
> Is this new behaviour? I've got an asterisk 1.2.5 installation that 
> does not use the same CallID on both the incoming and outgoing side 
> of a call through our Asterisk machine.
> 


SIP-CallID remains the same during a SIP Dialog, as Asterisk is a Back to Back UA there are 2 different call legs, so 2 different SIP-CallerID's

Erik



More information about the asterisk-users mailing list