All pastes #12181 Raw Edit

Stuff

public text v1 · immutable
#12181 ·published 2005-05-19 20:19 UTC
rendered paste body
    -- Executing Goto("IAX2/benphone@faxterisk-7", "4124920943|1") in new stack
    -- Goto (benshaw,4124920943,1)
    -- Executing Macro("IAX2/benphone@faxterisk-7", "nufone-dial|4124920943") in new stack
    -- Executing NoOp("IAX2/benphone@faxterisk-7", "nufone-dial| ARG1 is "4124920943"| ARG2 is ""| ARG3 is """) in new stack
    -- Executing GotoIf("IAX2/benphone@faxterisk-7", "1|s|gotac") in new stack
    -- Executing NoOp("IAX2/benphone@faxterisk-7", "no account code") in new stack
    -- Executing Set("IAX2/benphone@faxterisk-7", "ACCOUNTCODE=") in new stack
May 19 16:16:09 WARNING[25822]: ast_expr.y:486 ast_yyerror: ast_yyerror(): syntax error: parse error; Input:
 != ""
^^^^^^^^^^^^
    ^
    -- Executing GotoIf("IAX2/benphone@faxterisk-7", "0|s|gotac") in new stack
    -- Executing NoOp("IAX2/benphone@faxterisk-7", "still no account code") in new stack
    -- Executing Set("IAX2/benphone@faxterisk-7", "ACCOUNTCODE=benshaw") in new stack
    -- Executing SetAccount("IAX2/benphone@faxterisk-7", "benshaw") in new stack

[macro-nufone-dial]
exten => s,1,NoOp(nufone-dial, ARG1 is "${ARG1}", ARG2 is "${ARG2}", ARG3 is "${ARG3}")
exten => s,n,GotoIf($[${ACCOUNTCODE} != ""],s,gotac)
exten => s,n,NoOp(no account code)
exten => s,n,Set(ACCOUNTCODE=${ARG2})
exten => s,n,GotoIf($[${ARG2} != ""],s,gotac)
exten => s,n,NoOp(still no account code)
exten => s,n,Set(ACCOUNTCODE=benshaw)
exten => s,n(gotac),SetAccount(${ACCOUNTCODE})