Marcias,
Yes, i will share with you a simple configuration on one of my test severs with 1.7 loaded,
Code:
[custom-sipphone]
exten => _X.,1,GotoIf($["${EXTEN}" = "6245"]? 8);Dial Mailbox
exten => _X.,2,GotoIf($["${EXTEN}" = "150"]? 9); Check Account Balance
exten => _X.,3,GotoIf($["${EXTEN}" = "867"]? 10); Refill Account Using Vouchers
exten => _X.,4,GotoIf($["${EXTEN}" = "3246"]? 11); Echo test the latency
exten => _X.,5,GotoIf($["${EXTEN}" = "9999"]? 12); Monitor System
exten => _X.,6,DeadAGI(a2billing.php|1)
exten => _X.,7,Hangup
exten => _X.,8,VoiceMailMain(${CDR(accountcode)}@default)
exten => _X.,9,DeadAGI(a2billing.php|4)
exten => _X.,10,DeadAGI(a2billing.php|5|voucher)
exten => _X.,11,Goto(echotest,${EXTEN},1)
exten => _X.,12,Goto(a2billing_monitoring,${EXTEN},1)
exten => _X.,13,Hangup
and the monitoring context
Code:
[a2billing_monitoring]
exten => _X.,1,deadAGI(a2billing_monitoring.php|1)
exten => _X.,2,Hangup
hope this helps
Rgds
Eamonn
http://www.eatelco.com