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? -- Andreas Sikkema -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060616/f49a559f/attachment.htm
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? > > -- > Andreas Sikkema >They are the same on both sides.
> 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. -- Andreas