<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Please file a bug with all the details how to reproduce the issue, and full debug logs with sip trace.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 30, 2015, at 6:55 AM, Vishal Sharma <<a href="mailto:vishal.sharma@knowlarity.com" class="">vishal.sharma@knowlarity.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hi All,<br class=""></div>I see a strange behaviour for ignore_early_media variable.<br class=""></div>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.<br class=""><br class=""></div>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.<br class=""><br class=""> <extension name="SIP-TO-SIP"><br class=""> <condition field="destination_number" expression="^91(\d+)$"><br class=""> <action application="answer"/><br class=""> <action application="set" data="hold_music=/srv/sounds/123.mp3"/><br class=""> <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}"/><br class=""> <action application="hangup"/><br class=""> </condition><br class=""> </extension></div><div class=""><br class=""><br class=""><div class="">caller ------------------FS-------------------Callee<br class=""></div><div class="">INVITE-------------->|<br class=""><-------------------100<br class=""><-------------------200<br class=""></div><div class="">ACK-------------------><br class=""></div><div class="">###############| INVITE------------------><br class="">###############| <------------------------100<br class=""></div>BYE------------------>|<br class=""><div class=""><-------------------200|<br class=""></div><div class=""><div class="">###############| CANCEL------------------><br class=""></div><div class="">###############| <------------------------200 <br class="">###############| <---------------------------487<br class=""></div><div class=""><div class=""><div class=""><div class="">###############| ACK-----------------------><br class=""></div><div class=""><br class=""></div></div></div></div></div><br class=""><br class=""></div>But when I include ignore_early_media=true<b class=""> </b>in bridge command, Freeswitch ignores BYE sent by legA ,when it is trying to bridge the call with leg B.<br class=""><br class=""><br class=""><div class="">caller ------------------FS-------------------Callee<br class=""></div><div class="">INVITE-------------->|<br class=""><-------------------100<br class=""><-------------------200<br class=""></div><div class="">ACK-------------------><br class=""></div><div class="">###############| INVITE------------------><br class="">###############| <------------------------100<br class=""></div>BYE------------------>|<br class=""><div class="">BYE------------------>|<br class=""></div><div class=""><div class="">BYE------------------>|<br class=""></div><div class=""><div class="">BYE------------------>|<br class=""></div><div class=""><div class="">BYE------------------>|<br class=""></div><div class=""><div class="">BYE------------------>|<br class="">###############| <---------------------------486<br class=""></div><div class="">###############| ACK-----------------------><br class=""></div><div class=""><------200 ok BYE<br class=""></div></div></div></div></div><br class=""><br class=""><br class=""></div>I would like to end the call if Leg A disconnects the call while I want to keep ignore_early_media = True so that I can play a hold music file instead of letting legA user listen to call failure message when FS tries multiple numbers <br class=""><br class=""></div>Any suggestions ....<br class=""><br class=""><br class=""></div>Thanks a lot <br class=""><br class=""></div>Vishal Sharma <br class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><br class=""></div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>