[asterisk-users] Asterisk 1.6 and Outbound SIP Proxy configuration

Joseph Begumisa j.begumisa at gmail.com
Mon Aug 6 12:59:30 CDT 2012


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>


More information about the asterisk-users mailing list