NEED MORE INFO Call using specific route from PHPAgi

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

PHP:
$agi->exec('DIAL', "SIP/[email protected],30,g");

But call is going through first route always.

Am I doing anything wrong?
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top