Re: [asterisk-users] AMI Originate not working

2017-05-12 Thread Faheem Muhammad
Thomas, this code block should work for your Originate case. This code block will dial a local channel where actual leg 1 number is dialed. On Answer of leg1, the leg2 is called. - require_once('phpagi-2.20/phpagi-asmanager.php'); $asm =

[asterisk-users] AMI Originate not working

2017-05-11 Thread Thomas
Hello, I want to call an phone and if phone picked up I want to ring another phone. Or I want to connect to an running channel and then call another phone or move to an ConfBridge Iam using PHP $channel = 'IAX2/556-1696'; or $channel = 'SIP/0019736363636@outbound.patton'; $exten = '';