Joseph Begumisa
2012-Aug-06 17:59 UTC
[asterisk-users] Asterisk 1.6 and Outbound SIP Proxy configuration
Hello, Using asterisk 1.6 as sip client to register with sip provider and terminate calls through them. SIP Provider has provided sip proxy and sip server details. The problem is that the sip server FQDN does not resolve on the internet. So I can only presume that the SIP proxy knows how to reach the sip server. Asterisk 1.6 seems to have a problem with this. This is my config below: ---<--- [trunk1] defaultuser=xxxxxxxx at sip.provider.com fromuser=xxxxxxxx fromdomain=sip.provider.com type=peer secret=aaaaaaaaa outboundproxy=10.10.10.10 ;(replaced actual ip) nat=no host=sip.provider.com dtmfmode=auto disallow=all context=from-internal canreinvite=no allow=g729 trustrpid=yes sendrpid=yes register => xxxxxxxx at sip.provider.com:aaaaaaaaa at 10.10.10.10:5060 --->--- With the above config, I can register with the providers sip proxy, however, the error below is observed in the logs concerning the host when I try to make a call: --->--- [2012-08-02 23:37:31] WARNING[26155] acl.c: Unable to lookup ' sip.provider.com' [2012-08-02 23:37:31] ERROR[26155] chan_sip.c: srvlookup failed for host: sip.provider.com, on peer trunk1, removing peer ---<--- I have done some research on this issue but not been able to find anything conclusive on why this would happen. I tested the sip details provided with a different sip client (actually an IP phone) and was able to register and send / receive calls with no problem. The problem just seems to be somewhere in my asterisk client configuration or a known bug with the version of asterisk I am using for this. Any pointers? Thanks. Joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120806/517b48b6/attachment.htm>
Joseph Begumisa
2012-Aug-07 07:09 UTC
[asterisk-users] Asterisk 1.6 and Outbound SIP Proxy configuration
Update: No luck with versions 1.6 and 1.8.7 I had to revert back to 1.4 which worked with no problem. Probably if I have some time, I will do more testing with version 1.8.7 to see what the difference is and what changes need to be made for this kind of setup to work in 1.8.7 Joseph On Mon, Aug 6, 2012 at 10:59 AM, Joseph Begumisa <j.begumisa at gmail.com>wrote:> Hello, > > Using asterisk 1.6 as sip client to register with sip provider and > terminate calls through them. SIP Provider has provided sip proxy and sip > server details. The problem is that the sip server FQDN does not resolve > on the internet. So I can only presume that the SIP proxy knows how to > reach the sip server. Asterisk 1.6 seems to have a problem with this. > This is my config below: > > ---<--- > [trunk1] > defaultuser=xxxxxxxx at sip.provider.com > fromuser=xxxxxxxx > fromdomain=sip.provider.com > type=peer > secret=aaaaaaaaa > outboundproxy=10.10.10.10 ;(replaced actual ip) > nat=no > host=sip.provider.com > dtmfmode=auto > disallow=all > context=from-internal > canreinvite=no > allow=g729 > trustrpid=yes > sendrpid=yes > > > register => xxxxxxxx at sip.provider.com:aaaaaaaaa at 10.10.10.10:5060 > > --->--- > > With the above config, I can register with the providers sip proxy, > however, the error below is observed in the logs concerning the host when I > try to make a call: > > --->--- > [2012-08-02 23:37:31] WARNING[26155] acl.c: Unable to lookup ' > sip.provider.com' > [2012-08-02 23:37:31] ERROR[26155] chan_sip.c: srvlookup failed for host: > sip.provider.com, on peer trunk1, removing peer > ---<--- > > I have done some research on this issue but not been able to find anything > conclusive on why this would happen. I tested the sip details provided > with a different sip client (actually an IP phone) and was able to register > and send / receive calls with no problem. The problem just seems to be > somewhere in my asterisk client configuration or a known bug with the > version of asterisk I am using for this. > > Any pointers? > > Thanks. > > Joseph >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120807/d5542b4f/attachment.htm>