<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.3700.6699" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello everyone,</FONT></DIV>
<DIV><FONT size=2>I want Asterisk works as a SIP client of my SIP
Proxy(running SER),</FONT></DIV>
<DIV><FONT size=2>so I add a register definition in
sip.conf:</FONT></DIV>
<DIV><FONT size=2>
register => user:secret:authuser@host:port/extension</FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Now calls from SER can be handled well,But I can't call to SER
,</FONT></DIV>
<DIV><FONT size=2>so I add a section in sip.conf like this:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>[mysipprovider-out] <BR><FONT face=courier> type=peer
</FONT><BR><FONT face=courier> secret=password </FONT><BR><FONT
face=courier> username=2345 </FONT><BR><FONT
face=courier> host=sipserver.mysipprovider.com </FONT><BR><FONT
face=courier> fromuser=2345 </FONT><BR><FONT
face=courier> fromdomain=fwd.pulver.com </FONT><BR><FONT
face=courier> nat=yes </FONT><BR></DIV></FONT>
<DIV><FONT size=2>And now I can call to SER but When Asterisk receives
calls from SER ,</FONT></DIV>
<DIV><FONT size=2>It responses the calls with 407 (Proxy Authentication
Required)</FONT></DIV>
<DIV><FONT size=2>because SER(and SER's UA) isn't a UA of Asterisk , they can't
handles these 407 responses,</FONT></DIV>
<DIV><FONT size=2>and the calls failed.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Can you tell me How I can have calls in both directions(out
and in)?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV> </DIV></BODY></HTML>