blind mointor through api

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

blind mointor through api

Postby dreedy » Thu Nov 03, 2016 4:16 pm

I am trying make an internal sip phone for monitoring across multiple servers. I found /usr/src/astguiclient/trunk/agi/agent_monitor.agi and am trying to add it to /etc/asterisk/extensions.conf using the examples from the agi but i have had no luck calling the extension that i set and getting any action. this is the first time that i have tried to write an extension to take an action. here is the example i have of this.


exten => _2XXXXX,1,set(agent_monitor.agi,USER---N---LISTEN)
exten => _2XXXXX,,n,Meetme(${EXTEN:2},mqX)
exten => _2XXXXX,,n,Hangup()


i am getting a no route to destination when trying to dialer 2+user id. the user id is 5 numbers with no letter in it.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
Joined: Tue Nov 24, 2015 10:16 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 47 guests