<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=4>Did anybody ever know how to configure the Asterisk
server with FXO interface</FONT></DIV>
<DIV><FONT size=4>so that we can dial the sip phone to PSTN phone?</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>The attached file is my configuration for
sip.conf.</FONT></DIV>
<DIV><FONT size=4>Would you please give me some suggestion?</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>I cannot complete the registration of the PSTN
part.</FONT></DIV>
<DIV><FONT size=4>It will show the following messages:</FONT></DIV>
<DIV><BR><FONT size=4>*CLI> sip show
registry<BR>Host
Username Refresh State<BR>140.123.107.115:5060
+886-5-272 160 Request
Sent<BR>140.123.107.116:5060
elvisda 160
Registered</FONT></DIV>
<DIV><BR><FONT size=4>*CLI> Mar 5 02:39:00 NOTICE[49159]:
chan_sip.c:3150 sip_reg_timeout: Registration for </FONT><A
href="mailto:'+886-5-2720411@140.123.107.115'"><FONT
size=4>'+886-5-2720411@140.123.107.115'</FONT></A><FONT size=4> timed out,
trying again<BR>Mar 5 02:39:00 NOTICE[49159]: chan_sip.c:5585
handle_request: Registration from '<sip:+886-5-2720411@140.123.107.115>'
failed for '140.123.107.115'<BR>Mar 5 02:39:00 NOTICE[49159]:
chan_sip.c:5010 handle_response: Failed to authenticate on REGISTER to
'<sip:+886-5-2720411@140.123.107.115>;tag=as3f1480d8'</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>My country code is 886 so that I set up it as +886 begining
instead of the American outgoing call with the +1 begining.</FONT></DIV>
<DIV><FONT size=4>I guess I have to modify the Asterisk source code in
chan_sip.c.</FONT></DIV>
<DIV><FONT size=4>I will very appreciate if you give me some hint.</FONT></DIV>
<DIV><FONT size=4>On the other hand, my Asterisk server IP address is
140.123.107.115.</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>Thanks, anyway...</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>Best Regards,</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>elvisda</FONT></DIV></FONT></DIV></BODY></HTML>