[asterisk-users] No such host error from SIP for non-peer configuration.

Lucian Romi romi.lucian at gmail.com
Tue Jun 26 16:20:32 CDT 2007


I figured it out.

srvlookup=no


On 6/26/07, Lucian Romi <romi.lucian at gmail.com> wrote:
>
> Is there a way to let chan_sip skip host lookup?
> Problem is I have to have a peer host config for every sip message
> outgoing. For example, I cann't have this
>
> in extension.conf
> exten => 500,n,Dial(SIP/romi at 192.168.1.79)
>
> It'll return,
> chan_sip.c:2738 create_addr: No such host: 192.168.1.79
>
> when call forwarding
>
>
> I have to have a peer in SIP
>
> [outgoing]
> host=192.168.1.79
> ...
>
> in sip.conf
>
> and have to use this peer in extension.conf
> exten => 500,n,Dial(SIP/romi at outgoing)
>
> Is there any configuration in sip.conf restrict me to do this?
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070626/e0f8fff7/attachment.htm 


More information about the asterisk-users mailing list