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.