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/[EMAIL PROTECTED],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

_______________________________________________

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--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