Karthik Arumugam
2007-Mar-22 23:23 UTC
[asterisk-users] Outbound SIP call from asterisk extension
Hi All, I am new to the asterisk, I want to make a sip outbound call. This is my scenario: I have a *user A* who has registered with sip server(ONDO), I made asterisk to register as a sip client with ONDO, I want to make a call to user A from an extension. My configurations sip.config [general] context=default register => raja:adsi6677@*192.xxx.xxx.xxx*/1234 bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls [authentication] auth=raja:adsi6677@*192.xxx.xxx.xxx* [*192.xxx.xxx.xxx*-out] type=peer ; we only want to call out, not be called secret=adsi6677 username=raja ; Authentication user for outbound proxies fromuser=raja ; Many SIP providers require this! fromdomain=*192.xxx.xxx.xxx* host=*192.xxx.xxx.xxx* context=outgoing [dexter] type=friend username=dexter secret=password host=dynamic context=outgoing extensions.conf [outgoing] exten => 1234,1,Dial(SIP/test@192.xxx.xxx.xxx) Here *192.xxx.xxx.xxx* is my sip server host ip (ONDO). Please correct me where i am going wrong in this scenario. I was able to receive incoming calls to dexter from user A, Thanks in advance!!!!! Regards karthik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070322/666d33b9/attachment.htm
Jaswinder Singh
2007-Mar-23 03:28 UTC
[asterisk-users] Outbound SIP call from asterisk extension
> >[outgoing] >exten => 1234,1,Dial(SIP/test@192.xxx.xxx.xxx)Whats the dialplan number to ring to userA on server (ONDO) ? if u know that try exten => 1234,1,Dial(SIP/userA@192.xxx.xxx.xxx-out<SIP/test@192.xxx.xxx.xxx> ) since ur sip.conf has [*192.xxx.xxx.xxx*-out]. i am not sure why you use Sip/test to call to userA . Is that how server ONDO is configured ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070323/6b8b20b3/attachment.htm