[asterisk-users] [phpAGI] generate a call from a SIP device to Asterisk

nik600 nik600 at gmail.com
Thu Sep 13 06:11:44 CDT 2007


Hi

i need to generate a call from a SIP hardware device to Asterisk.
The device isn't registered with a sip account to Asterisk.

What i've done, is to do this (using phpAGI):

.....
$asm->Originate(SIP/user_on_device at ip_of_device,2000,"default","1");
.....

And on the extension 2000 in the context "default"

exten => 2000,1,ChanSpy(|g(100))
exten => 2000,2,Hangup

Is it correct ?

or shall i do something else?


-- 
/*************/
nik600
https://sourceforge.net/projects/ccmanager
https://sourceforge.net/projects/nikstresser



More information about the asterisk-users mailing list