Lucian Romi
2007-Jun-26 20:57 UTC
[asterisk-users] No such host error from SIP for non-peer configuration.
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/31d148f7/attachment.htm
Lucian Romi
2007-Jun-26 21:20 UTC
[asterisk-users] No such host error from SIP for non-peer configuration.
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