lcr.php: >> EXEC DIAL "SIP/15124512424@64.72.107.2,60,tr"
-- AGI Script Executing Application: (DIAL) Options: (SIP/15124512424@64.72.107.2,60,tr)
Nov 24 21:06:41 WARNING[9984]: chan_sip.c:1314 create_addr: No such host: 64.72.107.2,60,tr
Nov 24 21:06:41 NOTICE[9984]: app_dial.c:777 dial_exec: Unable to create channel of type 'SIP'
== No one is available to answer at this time
How does one pass options to agi_exec?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
lcr.php: >> EXEC DIAL "SIP/15124512424@64.72.107.2,60,tr"
-- AGI Script Executing Application: (DIAL) Options: (SIP/15124512424@64.72.107.2,60,tr)
Nov 24 21:06:41 WARNING[9984]: chan_sip.c:1314 create_addr: No such host: 64.72.107.2,60,tr
Nov 24 21:06:41 NOTICE[9984]: app_dial.c:777 dial_exec: Unable to create channel of type 'SIP'
== No one is available to answer at this time
How does one pass options to agi_exec?
Like this:
$res=$agi->agi_exec("EXEC DIAL SIP/1234@sip.domain.com||t,r");
To specify a timeout of 30 seconds:
$res=$agi->agi_exec("EXEC DIAL SIP/1234@sip.domain.com|30|t,r");