Whatever that remote party is, you are most definitely using a username/secret declaration for that. So the sip attributes set for that proxy define the behaviour for this.<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 12:55 PM, cnasterisk <span dir="ltr"><<a href="mailto:cnasterisk@163.com">cnasterisk@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div style="margin:10px;font-family:verdana;font-size:10pt">
<div><font color="#000080" size="2" face="Verdana">
<div><font color="#000080" size="2" face="Verdana">hi, Sam </font></div><div class="im">
<div style="text-indent:2em"><font color="#000080">thanks for your kindly
reply.</font></div>
</div><div style="text-indent:2em"><font color="#000080">The remote proxy is not
asterisk</font></div></font></div></div>
<div><font color="#000080" size="2" face="Verdana"></font> </div>
<div><font color="#c0c0c0" size="2" face="Verdana">2011-09-30 </font></div><font color="#000080" size="2" face="Verdana">
<hr style="width:100px" align="left" color="#b5c4df" size="1">
</font>
<div><font color="#c0c0c0" size="2" face="Verdana"><span>cnasterisk</span>
</font></div>
<hr color="#b5c4df" size="1">
<div><font size="2" face="Verdana"><strong>>发件人:</strong> Sam Govind
</font></div>
<div><font size="2" face="Verdana"><strong>>发送时间:</strong> 2011-09-30
15:36:41 </font></div><div class="im">
<div><font size="2" face="Verdana"><strong>>收件人:</strong> Asterisk Users Mailing
List - Non-Commercial Discussion </font></div>
<div><font size="2" face="Verdana"><strong>>抄送:</strong> </font></div>
</div><div class="im"><div><font size="2" face="Verdana"><strong>>主题:</strong> Re: [asterisk-users]
invite authentication error !? </font></div>
<div><font size="2" face="Verdana"></font></div>
</div><div><div></div><div class="h5"><div><font size="2" face="Verdana">>What Sip declaration are you using for the
remote sip proxy in sip.conf?<br><br>
<div class="gmail_quote">On Fri, Sep 30, 2011 at 12:30 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span>
wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF">
<div>This is just a speculative shot in the dark, but remember that the domain
of the From URI is important, and that the authentication "realm" (domain) is
part of the authentication credentials. So, what you have in your
'fromdomain' and 'host' settings on the peer does matter.</div>
<div><br>
<div><span>--</span></div>
<div><span>This message was painstakingly thumbed out on my mobile, so
apologies for brevity, errors, and general sloppiness.</span></div>
<div><span><br></span></div>
<div>Alex Balashov - Principal</div>
<div>Evariste Systems LLC</div>
<div>260 Peachtree Street NW</div>
<div>Suite 2200</div>
<div>Atlanta, GA 30303</div>
<div>Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a></div>
<div>Fax: <a href="tel:%2B1-404-961-1892" value="+14049611892" target="_blank">+1-404-961-1892</a></div>
<div>Web: <a href="http://www.evaristesys.com/" target="_blank"></a><a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a></div></div>
<div>
<div></div>
<div>
<div><br>On Sep 30, 2011, at 3:16 AM, "cnasterisk" <<a href="mailto:cnasterisk@163.com" target="_blank">cnasterisk@163.com</a>>
wrote:<br><br></div>
<div></div>
<blockquote type="cite">
<div>
<div><font size="2" face="Verdana">hi,</font></div>
<div> Dear all.</div>
<div> I setted a sip account on a sip trunk. when
a client call via this sip trunk, asterisk call failed on this
trunk.</div>
<div>I have captured the sip messages on the host where asterisk located,
and found that:</div>
<div> </div>
<div>1. asterisk send a INVITE message to remote sip proxy without
"proxy-authorization" field.</div>
<div>2. the remote sip proxy send back a
" SIP/2.0 407 Proxy Authentication Required"
message.</div>
<div>3. asterisk send a INVITE message with "proxy-authorization"
field.</div>
<div>4. remote proxy send back a "403(Forbidden)" message, that is mean
"wrong password"</div>
<div> </div>
<div>I also tested the sip account on a softphone, it works
normal!</div>
<div> </div>
<div>why this happed? and how can i solve it?</div>
<div> </div>
<div> </div>
<div> </div>
<div><font color="#c0c0c0" size="2" face="Verdana">2011-09-30 </font></div><font size="2" face="Verdana">
<hr style="min-height:2px;width:122px" align="left" size="2">
<div><font color="#c0c0c0" size="2" face="Verdana"><span>kevin</span></font></div></font></div></blockquote></div></div>
<blockquote type="cite">
<div><span>--</span><br><span>_____________________________________________________________________</span><br><span>--
Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --</span><br><span>New to
Asterisk? Join us for a live introductory webinar every
Thurs:</span><br><span> <a href="http://www.asterisk.org/hello" target="_blank"></a><a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a></span><br><span></span><br><span>asterisk-users
mailing list</span><br><span>To UNSUBSCRIBE or update options
visit:</span><br><span> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"></a><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></div>
</blockquote></div><br>--<br>_____________________________________________________________________<br>--
Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us
for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing
list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
</font></div>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>