[Asterisk-video] Stop Dial application

hyrth at web.de hyrth at web.de
Tue Nov 25 03:14:29 CST 2008


Hi,
try something like this:

[asgard]
...
exten=>goblin,2,mp4play(menu.3gp,#)
exten=>goblin,n,Goto(asgard,goblin,2)
exten => 1,1,mp4play(/some/file/after/pressing/digit/one)
exten => 1,2,goto(asgard,1,1) ;;loop this file
exten => *,1,goto(goblin,1) ;;goes to menu "goblin" after pressing * - if the call is already in the extension "goblin,2,mp4play" it will restart the extension/file.


> Hi,
> 
> In these days I'm playing with app_h324m and all the stuff works quite well.
> The problem is that the only way I have found to exit from the Dial  
> application
> from the mobile phone is hanging up the call. Instead, I wish that the user
> could digit, for example, '*' to end the Dial and return to the start  
> menu played with mp4play. I've just tryied use optiong 'Hh' in Dial,  
> but seems they don't work. When I enter in Dial, the only way to  
> return at the main menu is shutting down the call and making another  
> one. My dialplan is like:
> 
> 
> [provaumts]
> exten=>166,1,h324m_gw(goblin at asgard)
> 
> [asgard]
> exten=>goblin,1,h324m_gw_answer()
> exten=>goblin,2,mp4play(menu.3gp,#)
> exten=>goblin,n,Goto(asgard,goblin,2)
> 
> exten=>1,1,Dial(SIP/241,20,Hh)
> exten=>1,n,Goto(asgard,goblin,2)
> 
> Thanks in advance..
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video
> 


____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123




More information about the asterisk-video mailing list