<div dir="ltr"><div><div><div><div><div><div><div><div>Hi All,<br></div>I see a strange behaviour for ignore_early_media variable.<br></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><br></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><br> <extension name="SIP-TO-SIP"><br> <condition field="destination_number" expression="^91(\d+)$"><br> <action application="answer"/><br> <action application="set" data="hold_music=/srv/sounds/123.mp3"/><br> <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> <action application="hangup"/><br> </condition><br> </extension></div><div><br><br><div>caller ------------------FS-------------------Callee<br></div><div>INVITE-------------->|<br><-------------------100<br><-------------------200<br></div><div>ACK-------------------><br></div><div>###############| INVITE------------------><br>###############| <------------------------100<br></div>BYE------------------>|<br><div><-------------------200|<br></div><div><div>###############| CANCEL------------------><br></div><div>###############| <------------------------200 <br>###############| <---------------------------487<br></div><div><div><div><div>###############| ACK-----------------------><br></div><div><br></div></div></div></div></div><br><br></div>But when I include ignore_early_media=true<b> </b>in bridge command, Freeswitch ignores BYE sent by legA ,when it is trying to bridge the call with leg B.<br><br><br><div>caller ------------------FS-------------------Callee<br></div><div>INVITE-------------->|<br><-------------------100<br><-------------------200<br></div><div>ACK-------------------><br></div><div>###############| INVITE------------------><br>###############| <------------------------100<br></div>BYE------------------>|<br><div>BYE------------------>|<br></div><div><div>BYE------------------>|<br></div><div><div>BYE------------------>|<br></div><div><div>BYE------------------>|<br></div><div><div>BYE------------------>|<br>###############| <---------------------------486<br></div><div>###############| ACK-----------------------><br></div><div><------200 ok BYE<br></div></div></div></div></div><br><br><br></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><br></div>Any suggestions ....<br><br><br></div>Thanks a lot <br><br></div>Vishal Sharma <br><div><div><div><div><div><div><br><div><br><br></div></div></div></div></div></div></div></div>
<br>
SuperReceptionist is now available on Android mobiles. Track your
business on the go with call analytics, recordings, insights and more: <a href="https://play.google.com/store/apps/details?id=com.superreceptionist" target="_blank">Download the app here</a>