Hi all,<br>&nbsp;&nbsp;&nbsp;&nbsp; I'm having trouble allowing calls to my pstn gateway. I get some errors. These are the errors I get:<br><br>I get the 404 Not Found error<br><br>Here is the information I got from ngrep:<br><br>U 2006/06/17 02:58:31.372496 68.xxx.xxx.17:5060 -&gt; 192.168.1.20:5060<br>&nbsp; SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP 192.168.1.1:5060;rport=5060;branch=z9hG4bK082837F1736B4E11832482B6D09012F5..From: K<br>&nbsp; enny &lt;sip:201@mydomain.myftp.org&gt;;tag=2300590181..To: &lt;sip:13373038435@mydomain.myftp.org&gt;..Call-ID: 4B570DFD-0E2E-4F32-8B4B-05ADC419D0E7@192.168.1.20..<br>&nbsp; CSeq: 60451 INVITE..Server: OpenSer (1.0.1 (i386/linux))..Content-Length: 0..Warning: 392 192.168.1.5:5060 "Noisy feedback tells:&nbsp; pid=2874 req_src_ip=1<br>&nbsp; 92.168.1.1 req_src_port=5060 in_uri=sip:13373038435@mydomain.myftp.org out_uri=sip:13373038435@pstn.gateway.net:5060 via_cnt==1"....<br><br>U 2006/06/17 02:58:31.487474
 192.168.1.5:5060 -&gt; 65.xxx.xxx.xxx:5060<br>&nbsp; INVITE sip:13373038435@pstn.gateway.net:5060 SIP/2.0..Record-Route: &lt;sip:192.168.1.5;ftag=2300590181;lr=on&gt;..Via: SIP/2.0/UDP 192.168.1.5;branch=z9hG4bK<br>&nbsp; 7217.285e6331.0..Via: SIP/2.0/UDP 192.168.1.1:5060;rport=5060;branch=z9hG4bK082837F1736B4E11832482B6D09012F5..From: Kenny &lt;sip:201@mydomain.myftp.org&gt;;t<br>&nbsp; ag=2300590181..To: &lt;sip:13373038435@mydomain.myftp.org&gt;..Contact: &lt;sip:201@192.168.1.1:5060&gt;..Call-ID: 4B570DFD-0E2E-4F32-8B4B-05ADC419D0E7@192.168.1.20<br>&nbsp; ..CSeq: 60451 INVITE..Max-Forwards: 69..Content-Type: application/sdp..User-Agent: X-Lite release 1105x..Content-Length: 304....v=0..o=201 10653130 1065<br>&nbsp; 3152 IN IP4 68.226.254.17..s=X-Lite..c=IN IP4 192.168.1.1..t=0 0..m=audio 8000 RTP/AVP 0 8 3 98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rt<br>&nbsp; pmap:3 gsm/8000..a=rtpmap:98 iLBC/8000..a=rtpmap:97 speex/8000..a=rtpmap:101
 telephone-event/8000..a=fmtp:101 0-15..a=sendrecv..<br><br>U 2006/06/17 02:58:31.545023 65.200.189.132:5060 -&gt; 192.168.1.5:5060<br>&nbsp; SIP/2.0 100 Trying..Via: SIP/2.0/UDP 68.226.254.17:5060;branch=z9hG4bK7217.285e6331.0..Via: SIP/2.0/UDP 192.168.1.1:5060;rport=5060;branch=z9hG4bK082837<br>&nbsp; F1736B4E11832482B6D09012F5..From: Kenny &lt;sip:201@mydomain.myftp.org&gt;;tag=2300590181..To: &lt;sip:13373038435@mydomain.myftp.org&gt;..Call-ID: 4B570DFD-0E2E-4F<br>&nbsp; 32-8B4B-05ADC419D0E7@192.168.1.20..CSeq: 60451 INVITE..Content-Length: 0....<br><br>U 2006/06/17 02:58:31.661353 65.200.189.132:5060 -&gt; 192.168.1.5:5060<br>&nbsp; SIP/2.0 500 Server Internal Error..To: &lt;sip:13373038435@mydomain.myftp.org&gt;;tag=3359519831-260907..From: Kenny &lt;sip:201@mydomain.myftp.org&gt;;tag=23005901<br>&nbsp; 81..Call-ID: 4B570DFD-0E2E-4F32-8B4B-05ADC419D0E7@192.168.1.20..CSeq: 60451 INVITE..Contact: sip:13373038435@65.xxx.xxx.xxx:5060..Via: SIP/2.0/UDP 68.xx<br>&nbsp;
 x.xxx.17:5060;branch=z9hG4bK7217.285e6331.0..Via: SIP/2.0/UDP 192.168.1.1:5060;rport=5060;branch=z9hG4bK082837F1736B4E11832482B6D09012F5..Content-Length<br>&nbsp; : 0....<br><br>U 2006/06/17 02:58:31.661842 192.168.1.5:5060 -&gt; xx.xxx.xxx.132:5060<br>&nbsp; ACK sip:13373038435@pstn.gateway.net:5060 SIP/2.0..Via: SIP/2.0/UDP 192.168.1.5;branch=z9hG4bK7217.285e6331.0..From: Kenny &lt;sip:201@mydomain.myftp.org&gt;;<br>&nbsp; tag=2300590181..Call-ID: 4B570DFD-0E2E-4F32-8B4B-05ADC419D0E7@192.168.1.20..To: &lt;sip:13373038435@mydomain.myftp.org&gt;;tag=3359519831-260907..CSeq: 60451<br>&nbsp; ACK..User-Agent: OpenSer (1.0.1 (i386/linux))..Content-Length: 0....<br><br>Below is my openser.cfg<br><br>#<br># $Id: openser.cfg,v 1.5 2005/10/28 19:45:33 bogdan_iancu Exp $<br>#<br># simple quick-start config script<br>#<br><br># ----------- global configuration parameters ------------------------<br><br>debug=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug
 level (cmd line: -dddddddddd)<br>fork=yes<br>log_stderror=no&nbsp;&nbsp;&nbsp; # (cmd line: -E)<br><br>/* Uncomment these lines to enter debugging mode <br>fork=no<br>log_stderror=yes<br>*/<br><br># put your server IP address here<br><br>listen=192.168.1.5<br><br>alias=mydomain.myftp.org<br><br>check_via=no&nbsp;&nbsp;&nbsp; # (cmd. line: -v)<br>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -r)<br>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: -R)<br>port=5060<br>children=4<br>fifo="/tmp/openser_fifo"<br><br>fifo_db_url="mysql://openser:openserrw@localhost/openser"<br><br>loadmodule "/usr/local/lib/openser/modules/mysql.so"<br>loadmodule "/usr/local/lib/openser/modules/sl.so"<br>loadmodule "/usr/local/lib/openser/modules/tm.so"<br>loadmodule "/usr/local/lib/openser/modules/rr.so"<br>loadmodule "/usr/local/lib/openser/modules/maxfwd.so"<br>loadmodule "/usr/local/lib/openser/modules/usrloc.so"<br>loadmodule
 "/usr/local/lib/openser/modules/registrar.so"<br>loadmodule "/usr/local/lib/openser/modules/uri_db.so"<br>loadmodule "/usr/local/lib/openser/modules/auth.so"<br>loadmodule "/usr/local/lib/openser/modules/auth_db.so"<br>loadmodule "/usr/local/lib/openser/modules/textops.so"<br>loadmodule "/usr/local/lib/openser/modules/avpops.so"<br>loadmodule "/usr/local/lib/openser/modules/domain.so"<br>loadmodule "/usr/local/lib/openser/modules/xlog.so"<br><br><br><br>modparam("auth_db|permissions|uri_db|usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")<br>modparam("auth_db", "calculate_ha1", 1)<br>modparam("auth_db", "password_column", "password")<br>modparam("usrloc", "db_mode", 2)<br>modparam("rr", "enable_full_lr", 1)<br><br>modparam("tm", "fr_inv_timer", 27)<br>modparam("tm", "fr_inv_timer_avp", "inv_timeout")<br><br>route {<br><br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # Sanity Check
 Section<br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("10")) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("483", "Too Many Hops");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; if (msg:len &gt; max_len) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("513", "Message Overflow");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # Record Route Section<br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; if (method!="REGISTER") {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; record_route();<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; #
 -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # Loose Route Section<br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; if (loose_route()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # Call Type Processing Section<br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if (method=="REGISTER") {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xlog("Registering\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; lookup("aliases");<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if(method =="INVITE"){<br>&nbsp;&nbsp;&nbsp; if(
 uri=~"^sip:1[0-9]*@"){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xlog("International call\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(4);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br>&nbsp;&nbsp;&nbsp; };<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; route(1);<br>}<br><br>route[1] {<br><br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # Default Message Handler<br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; if (!t_relay()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_reply_error();<br>&nbsp;&nbsp;&nbsp; };<br>}<br><br>route[2] {<br><br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # REGISTER Message Handler<br>&nbsp;&nbsp;&nbsp; # ----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; sl_send_reply("100",
 "Trying");<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if (!www_authorize("mydomain.myftp.org","subscriber")) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; www_challenge("mydomain.myftp.org","0");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; if (!check_to()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("401", "Unauthorized");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; consume_credentials();<br><br>&nbsp;&nbsp;&nbsp; if (!save("location")) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_reply_error();<br>&nbsp;&nbsp;&nbsp; };<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; xlog("Registered Successfully\n");<br>}<br><br>route[3] {<br>&nbsp;&nbsp;&nbsp; # -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; # INVITE Message Handler<br>&nbsp;&nbsp;&nbsp; #
 -----------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp; if (!proxy_authorize("","subscriber")) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; proxy_challenge("","0");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; } else if (!check_from()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("403", "Use From=ID");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp;&nbsp; consume_credentials();<br><br>&nbsp;&nbsp;&nbsp; lookup("aliases");<br>&nbsp;&nbsp;&nbsp; if (uri!=myself) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; if (!lookup("location")) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("404", "User Not Found");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; route(1);<br>}<br><br>route[4]{<br>&nbsp;&nbsp;&nbsp; xlog("Before forward to
 host\n");<br>&nbsp;&nbsp;&nbsp; rewritehostport("pstn.gateway.net:5060"); <br>&nbsp;&nbsp;&nbsp; xlog("After forward to host\n");<br>&nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp; <br>}<br><br><br>What am I doin wrong? Why am I not able to dial a PSTN line? My PSTN gateway allows international calls. Any help is appreciated. Thank you.<br><p>&#32;
                <hr size=1>Ring'em or ping'em. Make <a href="http://us.rd.yahoo.com/mail_us/taglines/postman11/*http://us.rd.yahoo.com/evt=39666/*http://voice.yahoo.com"> PC-to-phone calls as low as 1¢/min</a> with Yahoo! Messenger with Voice.