Normal originate passes along the cause so that the phone will play the busy for you. if you are manually originating the second leg instead of using the bridge app to originate the b leg from the a leg, it's difficult to do this, and frequently for no good reason. Why are you not letting the bridge app handle this? On Tue, Mar 14, 2017 at 10:12 AM Alexander Haugg <Alexander.Haugg@c4b.de> wrote:
Hi together,
I try to play a busy tone on leg A if the leg B is busy.
For this I’m using the inline dialplan after the originate command:
originate sofia/gateway/GW_H3KSip/myMobileNumber 'set:hangup_after_bridge=false,bridge:sofia/gateway/GW_H3KSip/2640,managed:C4B_AfterBridge' inline
The managed dialplan app „C4B_AfterBridge“ includes only the check, if the cause is busy and the playback command for the tone stream. In the first line of this app is a logging line for which reason I know, the app will not called.
WHY?
Thanks for your help!
_________________________________________________________________________ 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