[asterisk-users] S(x) - Hang up the call after 'x' seconds - Not working from queue

Leo Ann Boon leo at datvoiz.com
Tue Oct 31 04:52:26 MST 2006


Rajkumar S wrote:
>
>    -- Executing Queue("SIP/1002-74e9", "Auth-Enq|t") in new stack
>    -- Started music on hold, class 'default', on channel 'SIP/1002-74e9'
>    -- outgoing agentcall, to agent '1001', on 
> 'Local/1001 at from-sip-de56,1'
>    -- Executing Dial("Local/1001 at from-sip-de56,2",
> "SIP/1001||tS(30)") in new stack
>    -- Setting call duration limit to 30 seconds.
>    -- Called 1001
>    -- Called Agent/1001
>    -- SIP/1001-d43c is ringing
>    -- Agent/1001 is ringing
>    -- SIP/1001-d43c answered Local/1001 at from-sip-de56,2
>    -- Agent/1001 answered SIP/1002-74e9
>    -- Stopped music on hold on SIP/1002-74e9
>  == Spawn extension (from-sip, 1001, 1) exited non-zero on
> 'Local/1001 at from-sip-de56,2'
>  == Spawn extension (from-sip, 99, 1) exited non-zero on 'SIP/1002-74e9'
>
Someone correct me if I'm wrong: The Dial string is missing a '/n' 
parameter for the Local channel. Without /n, Asterisk will do a native 
transfer to SIP/1001 and lose the timeout value defined earlier.

Leo.



More information about the asterisk-users mailing list