asterisk2billing.org
http://forum.asterisk2billing.org/

Version 1.7, Maintenance Monitor
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=7510
Page 1 of 1

Author:  iconsa [ Sat Apr 17, 2010 6:53 pm ]
Post subject:  Version 1.7, Maintenance Monitor

Hi Guys,

Does anyone have a link on how to setup the Maintenance Monitor:
According to the heading its says:
IVR Monitoring, an extension should be configured for the admin to call and monitor through an IVR some important data from your system.

I press on the link of online-documentation and we have nothing to indicate how to set it up.

Thanks
Marcias

Author:  manugmedia [ Thu Apr 22, 2010 5:46 pm ]
Post subject:  Re: Version 1.7, Maintenance Monitor

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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/