<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16434">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY 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 style="TEXT-INDENT: 2em"><FONT color=#000080>thanks for your kindly 
reply.</FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT color=#000080>The remote proxy is not 
asterisk</FONT></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><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><FONT size=2 face=Verdana><STRONG>>主题:</STRONG> Re: [asterisk-users] 
invite authentication error !? </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT></DIV>
<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">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" target=_blank 
  value="+16789540670">+1-678-954-0670</A></DIV>
  <DIV>Fax: <A href="tel:%2B1-404-961-1892" target=_blank 
  value="+14049611892">+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="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></BODY></HTML>