[ previous ] [ next ] [ threads ]
 To :  yate@v...:
 From :  "martin martin" <acevedoma@h...>
 Subject :  About ... Call.Execute
 Date :  Mon, 29 Aug 2005 22:33:52 +0000
Hello, I would like to implement a script with the external module. The script should receive a  call.execute and generate another call to destintation( like a proxy) but if destintation isnīt available the script should call another number like an ivr mail box(the ivr says the number is not available .....) , how can I build this in php ? I need some basic sample code....
I made a script,  When a  call.execute is arraived (ex: h323 phone calls a number and there is a route to the script "router.php" in regexroute.conf for this number) I generate another call.execute message within the script to the destination and the destination rings and then the communication is established with the called phone but the caller is disconnected, How can I bind these two calls? the incomming and the outcomming call... Is it possible?