Created
June 8, 2009 17:03
-
-
Save wwalker/125941 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Build an array of the options for calling | |
$call_options = array(array ( | |
'exten' => '1000', | |
'priority' => '1', | |
'async' => 'true', | |
'variable' => 'destination=304')); | |
// Invoke the Adhearsion originate method via an HTTP POST of a JSON object | |
$ahn->invoke("call_into_context", 'SIP/303', 'inbound', $call_options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment