I wish to set up two PSTN calls and then connect them similar to Jajah (is
this called 3pcc?). The PSTN interconnect is handled by a third party SIP
provider.

 

I can do this using the manager or call files. An example (using php) would
be:

fputs($oSocket, "Action: login\r\n");

fputs($oSocket, "Events: off\r\n");

fputs($oSocket, "Username: $strUser\r\n");

fputs($oSocket, "Secret: $strSecret\r\n\r\n");

fputs($oSocket, "Action: originate\r\n");

fputs($oSocket, "Channel: $strChannel\r\n");

fputs($oSocket, "WaitTime: $strWaitTime\r\n");

fputs($oSocket, "CallerId: $strCallerId\r\n");

fputs($oSocket, "Exten: $strExten\r\n");

fputs($oSocket, "Context: $strContext\r\n");

fputs($oSocket, "Priority: $strPriority\r\n\r\n");

fputs($oSocket, "Action: Logoff\r\n\r\n");

 

This simulates one extension calling another and has some limitations e.g.
the CDR records show one call which doesn't meet my requirements for billing
purposes.

 

What's the best way to achieve this join up two calls scenario? Any
suggestions appreciated.

 

Cameron

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to