Re: [SR-Users] Dialogue restore after initial processing

2015-07-17 Thread Joao Alves
Hi Daniel, Following up on this, I continued doing further tests... So I confirmed that the to-tag value is in fact added to the $tt only after the SIP ACK is received. So I was able to temporarily stored them (just for the sake of pursuing tests...) as: $shv(ftag)=$ft; $shv(ttag)=$tt; When l

Re: [SR-Users] Dialogue restore after initial processing

2015-07-17 Thread Joao Alves
5 10:38 To: Kamailio (SER) - Users Mailing List; Joao Alves Subject: Re: [SR-Users] Dialogue restore after initial processing Hello, iirc, the to-tag is set in the dialog structure when the 200ok is processed. During the call setup, there can be many outgoing branches, therefore many 'early&#x

Re: [SR-Users] Dialogue restore after initial processing

2015-07-16 Thread Daniel-Constantin Mierla
Hello, iirc, the to-tag is set in the dialog structure when the 200ok is processed. During the call setup, there can be many outgoing branches, therefore many 'early' to-tags, but only one will be final, once the call is answered. On the other hand, there is a C function that returns the local ge

[SR-Users] Dialogue restore after initial processing

2015-07-14 Thread Joao Alves
Hi, I'm trying to restore a SIP session dialogue context and found dlg_get(callid, ftag, ttag) function for that. However, I cannot access the To tag. I noticed on the 180 RINGING there was already an self-generated included on this response, but I also could not access its value. When recei