1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
context default { 706/3077610011 => { JabberStatus(asterisk|jmls@mike,StatusCode); switch(${StatusCode}) { case 1: Dial(SIP/706,12); switch(${DIALSTATUS}) { case BUSY: Voicemail(b706); break; default: Voicemail(u706); }; BackGround(hello); break; default: Voicemail(u706); }; Hangup(); }; }