I got this when i tried with username option. I am using asterisk 1.8<br><br>NOTICE[31785]: chan_sip.c:26791 build_peer: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'<br clear="all">
<div><br></div><div>Best Regards,<br><b>Jayesh Labade</b><br>Mob: +91-8898378838</div>
<div>e-mail: <a href="mailto:jayesh.labade@gmail.com" target="_blank">jayesh.labade@gmail.com</a></div><br>
<br><br><div class="gmail_quote">On Mon, Jan 2, 2012 at 4:03 PM, Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 01/02/2012 11:27 AM, Andrew Pogrebennyk wrote:<br>
> On 01/02/2012 11:16 AM, Jayesh Labade wrote:<br>
>> from couple of days i am struggling with this. Any hints for this?<br>
><br>
> It's not something I have tried before. Could you try to run command<br>
> 'ngrep-sip br' and send me the trace?<br>
<br>
</div></div>Also did you try to specify "username" in your [test02] section, or<br>
"defaultuser" if this is asterisk 1.6+ (but that's what Jon has already<br>
suggested)?<br>
<br>
<br>
The username config option has dual use:<br>
<br>
    When Asterisk registers with another SIP proxy, the username is used<br>
in digest authentication<br>
<br>
<br>
    When asterisk boots, we have no information on a dynamic peer, a<br>
peer that registers. In order to be able to place a call to the phone,<br>
Asterisk sends an INVITE to username@defaultip .<br>
</blockquote></div><br>