nik600
2007-Sep-13 11:11 UTC
[asterisk-users] [phpAGI] generate a call from a SIP device to Asterisk
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