Manager API help

tensk8

Joined
Aug 8, 2007
Messages
20
Likes
0
Points
0
#1
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
 

tensk8

Joined
Aug 8, 2007
Messages
20
Likes
0
Points
0
#2
No one can help me!!!!:(
 

tensk8

Joined
Aug 8, 2007
Messages
20
Likes
0
Points
0
#3
Ok,

I get it, no one can't help me!!;)
 

bmacias

Joined
Sep 27, 2007
Messages
205
Likes
0
Points
0
#4
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.

;)
 

tensk8

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

I will take a look on those files.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,566
Latest member
Fpino
Top