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!
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
More informations / questions: This is, what the freeswitch show. 2017-03-15 06:50:26.014328 [NOTICE] switch_ivr.c:2167 Transfer sofia/H3KSip/myMobileNumber to inline[set:hangup_after_bridge=false,bridge:sofia/gateway/GW_H3KSip/ 2640,managed:C4B_AfterBridge@default] After them, the freeswitch execute "set:hangup_after_bridge=false" and then the bridge command, but the managed application will not execute. Is there a problem between inline dialplan and managed apps? Why the freeswitch add the "@default" to the application name "C4B_AfterBridge"? Thanks a lot Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Alexander Haugg Gesendet: Dienstag, 14. März 2017 15:09 An: freeswitch-users@lists.freeswitch.org Betreff: [Freeswitch-users] Busy tone if busy 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!
participants (2)
-
Alexander Haugg
-
Michael Jerris