>>I use this in sip.conf: >> >>[general] >>... >>register => login:[EMAIL PROTECTED] >>... >>On starting I got: >> >>*CLI> May 11 13:01:00 WARNING[1091873088]: chan_sip.c:2736 create_addr: >>No such host: sipnet-in >>May 11 13:01:00 WARNING[1091873088]: chan_sip.c:7463 transmit_register: >>Probably a DNS error for registration to [EMAIL PROTECTED], trying >>REGISTER again (after 20 seconds) >> >>Why callweaver use sipnet-in as host name? > > > Your register=> line is incorrect. > > From your sipnet-in entry it looks like you should use: > > register => login:[EMAIL PROTECTED] > > The syntax is: > > register => <login>:<password>@<hostname>/<extension> > > Where <extension> is where to route the incoming call in your dialplan. > If you don't specify it I believe it'll either route to 's' (but I'm not > certain). > > See > http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sip.conf > for more details.
Example in sip.conf looks like: ;register => 2345:[EMAIL PROTECTED]/1234 ; ; Register 2345 at sip provider 'sip_proxy'. Calls from this provider ; connect to local extension 1234 in extensions.conf, default context, ; unless you configure a [sip_proxy] section below, and configure a ; context. ; Tip 1: Avoid assigning hostname to a sip.conf section like [provider.com] ; Tip 2: Use separate type=peer and type=user sections for SIP providers ; (instead of type=friend) if you have calls in both directions So, using hostname is not recommended. Another reason to not use it is ability to setup context in [sipnet-in] section - I can't do it with register :( _______________________________________________ Callweaver-users mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-users
