Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17433

PAMI outbound call issue using DHADI

$
0
0

@TM1 wrote:

I am using PAMI and when the dialed extension picks up the call it dials other local extension numbers automatically and does not dial to the customer number :frowning:
Code am using is:

$actionid = md5(uniqid());
$originateMsg = new OriginateAction(“SIP/726@voipgw”);
$originateMsg->setContext(‘dialer’);
$originateMsg->setPriority(‘1’);
$originateMsg->setExtension(“08008085883”);//$destCallerId
$originateMsg->setCallerId(“08008085883”);
$originateMsg->setTimeout(20000);
$originateMsg->setAsync(true);
$originateMsg->setActionID($actionid);
$a->send($originateMsg);

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17433

Trending Articles