Freeswitch ignoring BYE sent by LegA when ignore_early_media=True
I need to play a hold music file on LegA while Freeswitch tries to bridge call to one of the listed numbers. Here in dial plan I have used only one number. If I use following dialplan without ignore_early_media=true in bridge, Leg A is able to disconnect the call when Freeswitch is trying to bridge the call to one of the number in legB, but if ignore_early_media is true in that case BYE sent by Leg A is ignored by freeswitch causing call to keep ringing at LegB. <extension name="SIP-TO-SIP"> <condition field="destination_number" expression="^91(\d+)$"> <action application="answer"/> <action application="set" data="hold_music=/srv/sounds/123.mp3"/> <action application="bridge" data="{caller_id=+2000,ignore_early_media=true,RECORD_STEREO=true,originate_timeout=150,hangup_after_bridge=true,legA_UUID=${uuid}}sofia/gateway/anveo/${destination_number}"/> <action application="hangup"/> </condition> </extension> While debugging for the root cause of this issue we found that this bug is because of side-effect of commit-id "3e00d270d7477a63b3c2e845b5473e6e7e3f1cfc" which was added to fix bug https://freeswitch.org/jira/browse/FS-6006 . Now we are not sure whether to remove this patch or not. Can you please suggest how to proceed further. Thanks & Regards, Sushil Tripathi +91-9910700668 -- SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here <https://play.google.com/store/apps/details?id=com.superreceptionist>
You would file a new JIRA, with all this info if you've not done so already. On Tue, Oct 13, 2015 at 8:32 AM, Sushil Tripathi < sushil.tripathi@knowlarity.com> wrote:
I need to play a hold music file on LegA while Freeswitch tries to bridge call to one of the listed numbers. Here in dial plan I have used only one number.
If I use following dialplan without ignore_early_media=true in bridge, Leg A is able to disconnect the call when Freeswitch is trying to bridge the call to one of the number in legB, but if ignore_early_media is true in that case BYE sent by Leg A is ignored by freeswitch causing call to keep ringing at LegB.
<extension name="SIP-TO-SIP"> <condition field="destination_number" expression="^91(\d+)$"> <action application="answer"/> <action application="set" data="hold_music=/srv/sounds/123.mp3"/> <action application="bridge" data="{caller_id=+2000,ignore_early_media=true,RECORD_STEREO=true,originate_timeout=150,hangup_after_bridge=true,legA_UUID=${uuid}}sofia/gateway/anveo/${destination_number}"/> <action application="hangup"/> </condition> </extension>
While debugging for the root cause of this issue we found that this bug is because of side-effect of commit-id "3e00d270d7477a63b3c2e845b5473e6e7e3f1cfc" which was added to fix bug https://freeswitch.org/jira/browse/FS-6006 . Now we are not sure whether to remove this patch or not. Can you please suggest how to proceed further. Thanks & Regards, Sushil Tripathi +91-9910700668
SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here <https://play.google.com/store/apps/details?id=com.superreceptionist> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
This is https://freeswitch.org/jira/browse/FS-7929 and its already fixed? On Tue, Oct 13, 2015 at 10:21 AM, Brian West <brian@freeswitch.org> wrote:
You would file a new JIRA, with all this info if you've not done so already.
On Tue, Oct 13, 2015 at 8:32 AM, Sushil Tripathi < sushil.tripathi@knowlarity.com> wrote:
I need to play a hold music file on LegA while Freeswitch tries to bridge call to one of the listed numbers. Here in dial plan I have used only one number.
If I use following dialplan without ignore_early_media=true in bridge, Leg A is able to disconnect the call when Freeswitch is trying to bridge the call to one of the number in legB, but if ignore_early_media is true in that case BYE sent by Leg A is ignored by freeswitch causing call to keep ringing at LegB.
<extension name="SIP-TO-SIP"> <condition field="destination_number" expression="^91(\d+)$"> <action application="answer"/> <action application="set" data="hold_music=/srv/sounds/123.mp3"/> <action application="bridge" data="{caller_id=+2000,ignore_early_media=true,RECORD_STEREO=true,originate_timeout=150,hangup_after_bridge=true,legA_UUID=${uuid}}sofia/gateway/anveo/${destination_number}"/> <action application="hangup"/> </condition> </extension>
While debugging for the root cause of this issue we found that this bug is because of side-effect of commit-id "3e00d270d7477a63b3c2e845b5473e6e7e3f1cfc" which was added to fix bug https://freeswitch.org/jira/browse/FS-6006 . Now we are not sure whether to remove this patch or not. Can you please suggest how to proceed further. Thanks & Regards, Sushil Tripathi +91-9910700668
SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here <https://play.google.com/store/apps/details?id=com.superreceptionist> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Case FS-7363 <https://freeswitch.org/jira/browse/FS-7363> probably related On Tue, Oct 13, 2015 at 7:46 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
This is https://freeswitch.org/jira/browse/FS-7929 and its already fixed?
On Tue, Oct 13, 2015 at 10:21 AM, Brian West <brian@freeswitch.org> wrote:
You would file a new JIRA, with all this info if you've not done so already.
On Tue, Oct 13, 2015 at 8:32 AM, Sushil Tripathi < sushil.tripathi@knowlarity.com> wrote:
I need to play a hold music file on LegA while Freeswitch tries to bridge call to one of the listed numbers. Here in dial plan I have used only one number.
If I use following dialplan without ignore_early_media=true in bridge, Leg A is able to disconnect the call when Freeswitch is trying to bridge the call to one of the number in legB, but if ignore_early_media is true in that case BYE sent by Leg A is ignored by freeswitch causing call to keep ringing at LegB.
<extension name="SIP-TO-SIP"> <condition field="destination_number" expression="^91(\d+)$"> <action application="answer"/> <action application="set" data="hold_music=/srv/sounds/123.mp3"/> <action application="bridge" data="{caller_id=+2000,ignore_early_media=true,RECORD_STEREO=true,originate_timeout=150,hangup_after_bridge=true,legA_UUID=${uuid}}sofia/gateway/anveo/${destination_number}"/> <action application="hangup"/> </condition> </extension>
While debugging for the root cause of this issue we found that this bug is because of side-effect of commit-id "3e00d270d7477a63b3c2e845b5473e6e7e3f1cfc" which was added to fix bug https://freeswitch.org/jira/browse/FS-6006 . Now we are not sure whether to remove this patch or not. Can you please suggest how to proceed further. Thanks & Regards, Sushil Tripathi +91-9910700668
SuperReceptionist is now available on Android mobiles. Track your business on the go with call analytics, recordings, insights and more: Download the app here <https://play.google.com/store/apps/details?id=com.superreceptionist> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Anthony Minessale
-
Brian West
-
Sergey Safarov
-
Sushil Tripathi