[asterisk-users] continue in dialplan when hang up queue

Marcus Vinicius marc_mcs10 at yahoo.com.br
Mon Sep 26 07:52:26 CDT 2011


Hi, 

Is there a way to continue dialplan when a call is abandoned from application queue()?

If the caller is waiting in a queue, and hang up before timeout, I'd like to execute an application in dialplan.

I've tested "h" exten, but it doesn't work for this.



    -- Executing [s at macro-nx-queue:21] Queue("SIP/1019-00000c67", "pabx,t") in new stack
    -- Started music on hold, class 'default', on SIP/1019-00000c67
    -- Called SIP/1021
    -- SIP/1021-00000c68 is ringing
    -- Stopped music on hold on SIP/1019-00000c67
  == Spawn extension (macro-nx-queue, s, 21) exited non-zero on 'SIP/1019-00000c67' in macro 'nx-queue'
  == Spawn extension (from-inside-redir, *5000, 1) exited non-zero on 'SIP/1019-00000c67'

I'D LIKE TO CONTINUE DIAL PLAN HERE

    -- Executing [h at from-inside-redir:1] Hangup("SIP/1019-00000c67", "") in new stack
  == Spawn extension (from-inside-redir, h, 1) exited non-zero on 'SIP/1019-00000c67'
  == Extension Changed 1019[from-inside] new state Idle for Notify User 1033


Thanks a lot!


--
Marcus Vinícius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110926/2e15900a/attachment.htm>


More information about the asterisk-users mailing list