I figured it out.

srvlookup=no


On 6/26/07, Lucian Romi <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED])

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/[EMAIL PROTECTED])

Is there any configuration in sip.conf restrict me to do this?
Thanks!

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to