[OpenSIPS-Users] Avpops failure route
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Dec 14 14:50:34 CET 2009
Hi Andrew,
just ran a timeout scenario with 1.6 :
proxy sends call to destination A
A gives no final reply
proxy gives timeout
proxy sends CANCEL to A
proxy sends call to new destination B
proxy receives 200 OK for CANCEL and 487 for call from A.
.....
So, what is the scenario where you have the new INVITE before the
CANCEL of a existing INVITE ?
Regards,
Bogdan
Andrew Pogrebennyk wrote:
> Hi,
> Perhaps someone could chime in on this..
>
> Andrew Pogrebennyk wrote:
>
>> Bogdan,
>> You are correct. But the thing is that when fr_inv_timer hits, OpenSIPS
>> (prematurely) sends INVITE on the next branch and only after that
>> CANCELs the previous one. And if the gateway receives different branch
>> on transaction to which no final reply has been sent yet - it can merge
>> the requests. Let me know if you need the traces, but I've found this
>> behavior to be consistent in the versions 1.3.2 - 1.5.3.
>>
>> Another thing I've found is that OpenSIPS resets the fr_timer in
>> retransmission_handler() if no provisional response to INVITE has been
>> received, or retransmission_handler() seems to affect the fr_timer somehow.
>>
>> Here we see that it forwards the INVITE and sets FR_TIMER as per script:
>>
>
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list