Manager API help

Joined
Aug 8, 2007
Messages
20
Points
0
Hi,

I was developing an application with the Manager API. In this application, I'm originate a call (this is connecting fine). The next code is part of my application

echo "Action: Originate";
echo "Channel: ZAP/2/$celular";
echo "Exten: s";
echo "Priority: 1";
echo "Context: llamar-agente";
echo "Timeout: 9000"
echo
echo "";
echo "";

When I use the option Timeout=9000, the call is hangup :angry: . What I want is to send the call to the next priority in the context, llamar-agente, when the application reach the time out instead of hanging up.

Anyone know how to tell the Manager not to hangup the call and send it to the next priority?

Thanks
 
Joined
Sep 27, 2007
Messages
205
Points
0
Hello tensk8.

Review the file /var/lib/asterisk/agi-bin/phpagi-asmanager.php
this file is a interface between asterisk and php developer.

To you as example also review the modules /var/www/html/conferences/ in elastix.

;)
 
Joined
Aug 8, 2007
Messages
20
Points
0
Thank you very much bmacias B) ,

I will take a look on those files.
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top