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">abalashov@evaristesys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><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 class="h5"><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="width:122px;min-height:2px" 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>