Tanmoy
New Member
- Joined
- Dec 9, 2015
- Messages
- 10
- Reaction score
- 1
I've two trunks. I can specify route in outbound dialplan. But I want to do that from agi script. I'm using phpagi.php and custom code.
I tried with
But call is going through first route always.
Am I doing anything wrong?
I tried with
PHP:
$agi->exec('DIAL', "SIP/[email protected],30,g");
But call is going through first route always.
Am I doing anything wrong?