[Asterisk-Users] Using a SIP proxy

Olle E. Johansson oej at edvina.net
Thu Oct 16 05:00:00 MST 2003


John Todd wrote:

>> Is there a way to tell Asterisk to use a SIP proxy?
>> For example I need everything going out to nnnnn at foobar.com
>> to be sedt to a proxy called proxy.foobar.com
>> I assume this should go into sip.conf but I don't see anything
>> in the documentation.  Is this what the host= is for like this?
>>
>> In sip.conf...
>>     [foobar.com]
>>     host=proxy.foobar.com
> 
> No, not yet.
> 
> See http://bugs.digium.com/bug_view_page.php?bug_id=0000359

On the other hand, the fact that foobar.com is handled by proxy.foobar.com
should be registred in the DNS, with SRV records. If you then dial
xxx at foobar.com Asterisk will lookup foobar.com in the DNS, find out
that foobar.com is handled by proxy.foobar.com:5060 and place the
call there.

Make sure that you've turned on SRV records in sip.conf.
More information on this matter is, of course, to be found on the Wiki,
http://www.voip-info.org - check Asterisk SIP channels.

The bug report John is referring to handles outbound SIP proxies used
in other cases, especially when one is having NAT troubles.

/O




More information about the asterisk-users mailing list