[Freeswitch-users] Freeswitch + serial forking at opensips

Grant Bagdasarian gb at cm.nl
Mon Jan 12 17:52:56 MSK 2015


I’ve fought with the 482 Request merged response for a long time in Freeswitch, and lost.
I ended up sending any subsequent INVITEs to another instance of Freeswitch.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of John Nash
Sent: Monday, January 12, 2015 1:10 PM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] Freeswitch + serial forking at opensips

Hello,
I am facing an issue when using opensips to serial fork Invites to some SIP gateways and using freeswitch in the middle as b2bua to send calls. That means if first Invite fails opensips will pick next available gateway and append branch to send this again to freeswitch.
But I have noticed when first gateway sends a failed response (and freeswitch log shows call destroyed) and second invite is sent (Same call id, cseq but different branch tag) , freeswitch seem to have old transaction alive and sends 482 Request merged response.
I saw in mail archives that it was discussed few years back but there was no conclusion.
Is there a reason freeswitch keeps transaction alive (for 4 seconds I think) even if it received "ACK" for failed response?
Regards
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150112/2ee276bd/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list