Jerry Geis
2006-Jan-04 11:24 UTC
[Asterisk-Users] Dial(Console/dsp) and option g doesnt appear to work
I have a case where I need the option g to continue execute after the hangup (I'm using 1.2.1) and I have the following in my extensions: exten => 309,1,System(echo > /tmp/file) exten => 309,2,Dial(Console/dsp,,g) exten => 309,3,System(rm -f /tmp/file) exten => 309,4,Hangup However, after the hangup priority 3 is not executed. Does 'g' not work with console/dsp or do I have something wrong. THanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060104/5babd7e4/attachment.htm
Doug Lytle
2006-Jan-04 11:47 UTC
[Asterisk-Users] Dial(Console/dsp) and option g doesnt appear to
Jerry Geis wrote:> I have a case where I need the option g to continue execute after the > hangup (I'm using 1.2.1) > and I have the following in my extensions: > >I gave up on that and ended up using the h extension. I needed to be able to record a page for our paging system, mix in a beep before and then play it back at the console. Doug
Bogdan Moldovan
2006-Jan-04 12:09 UTC
[Asterisk-Users] Dial(Console/dsp) and option g doesnt appear towork
Have you tried? exten => 309,1,System(echo > /tmp/file) exten => 309,2,Dial(Console/dsp,,g) exten => 309,103,System(rm -f /tmp/file) exten => 309,104,Hangup() exten => 309,3,System(rm -f /tmp/file) exten => 309,4,Hangup() Bogdan Moldovan MODULO Consulting "The Future Is Not What It Used To Be" http://www.modulo.ro <http://www.modulo.ro/> _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jerry Geis Sent: Wednesday, January 04, 2006 8:25 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Dial(Console/dsp) and option g doesnt appear towork I have a case where I need the option g to continue execute after the hangup (I'm using 1.2.1) and I have the following in my extensions: exten => 309,1,System(echo > /tmp/file) exten => 309,2,Dial(Console/dsp,,g) exten => 309,3,System(rm -f /tmp/file) exten => 309,4,Hangup However, after the hangup priority 3 is not executed. Does 'g' not work with console/dsp or do I have something wrong. THanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060104/da1dd3a7/attachment.htm