All pastes #4874 Raw Edit

Anonymous

public text v1 · immutable
#4874 ·published 2005-01-28 00:36 UTC
rendered paste body
[sip]
exten => 000,1,Answer
exten => 000,2,goto(test,s,1)

[test]
exten => s,1,wait,1
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10

exten => 1,1,goto(sales,s,1)
exten => *,1,goto(star,s,1)

[sales]
exten => s,1,noop,in sales

[star]
exten => s,1,noop,in star


-------------------------------------------------
*picks up sip phone*
*diales 000*

    -- Executing Answer("SIP/sip_phone_2-abac", "") in new stack

    -- Executing Goto("SIP/sip_phone_2-abac", "test|s|1") in new stack

    -- Goto (test,s,1)

    -- Executing Wait("SIP/sip_phone_2-abac", "1") in new stack

    -- Executing DigitTimeout("SIP/sip_phone_2-abac", "5") in new stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("SIP/sip_phone_2-abac", "10") in new stack
    -- Set Response Timeout to 10
*diales 1*
*Time goes on*

Jan  1 18:51:51 WARNING[432]: pbx.c:1934 ast_pbx_run: Timeout, but no rule 't' in context 'test'