[macro-chiama] exten => s,1,Dial(${PSTN}/${ARG1},${ARG2}) exten => s,2,Goto(s-${DIALSTATUS}) ; ; returns here if busy ; exten => s,102,BackGround(the-party-you-are-calling) exten => s,103,BackGround(is-curntly-busy) exten => s,104,Hangup ; exten => s-ANSWER,1,NoOp ; exten => s-BUSY,1,BackGround(the-party-you-are-calling) exten => s-BUSY,2,BackGround(is-curntly-busy) exten => s-BUSY,3,HangUp ; exten => s-CANCEL,1,BackGround(canceled) exten => s-CANCEL,2,HangUp ; exten => s-CHANUNAVAIL,1,BackGround(channel) exten => s-CHANUNAVAIL,2,BackGround(is-curntly-unavail) exten => s-CHANUNAVAIL,3,HangUp ; exten => s-NOANSWER,1,BackGround(nbdy-avail-to-take-call) exten => s-NOANSWER,2,HangUp ; exten => s-.,1,BackGround(something-terribly-wrong) exten => s-.,2,HangUp
|