Can someone explain what is happening here. On the dialing end @216.120.224.171 I get immediate congestion after the INVITE, on the receiving end @216.120.224.16 I get ringing even after I hang up. Relevant tethereal and openser.cfg below...
0.205952 216.120.224.171 -> 8.11.1.7 SIP/SDP Request: INVITE sip:15184782411@ser1.manhattan.ourdomain.net, with session description 0.252619 8.11.1.7 -> 216.120.224.171 SIP Status: 100 trying -- your call is important to us 0.252801 8.11.1.7 -> 216.120.224.163 SIP/SDP Request: INVITE sip:15184782411@216.120.224.163:5060, with session description 0.253078 8.11.1.7 -> 216.120.224.171 SIP Status: 500 I'm terribly sorry, server error occurred (1/SL) 0.279899 216.120.224.171 -> 8.11.1.7 SIP Request: ACK sip: 15184782411@ser1.manhattan.ourdomain.net 0.283146 216.120.224.163 -> 8.11.1.7 SIP Status: 100 Trying 0.296137 216.120.224.163 -> 8.11.1.7 SIP Status: 180 Ringing 0.311522 8.11.1.7 -> 216.120.224.171 SIP Status: 180 Ringing 7.032764 216.120.224.163 -> 8.11.1.7 SIP/SDP Status: 200 OK, with session description 7.033527 8.11.1.7 -> 216.120.224.171 SIP/SDP Status: 200 OK, with session description 7.054373 216.120.224.171 -> 8.11.1.7 SIP Request: ACK sip: 15184782411@ser1.manhattan.ourdomain.net
{ if (method=="INVITE" && uri =~ "sip:1[0-9]{10}@.*"){ if (is_user_in("From", "ld")){ if (!www_authorize("", "subscriber")){ www_challenge("", "1"); break; append_rpid_hf(); };
setflag(1); consume_credentials();
if(lookup("location")) { # if found, forward there... t_relay(); } else { prefix("+"); rewritehost("ourpstngateway"); }; };
Can you send an ngrep dump? I think the message details are important.
Brandon Price wrote:
{ if (method=="INVITE" && uri =~ "sip:1[0-9]{10}@.*"){ if (is_user_in("From", "ld")){ if (!www_authorize("", "subscriber")){ www_challenge("", "1"); break; append_rpid_hf(); };
setflag(1); consume_credentials(); if(lookup("location")) { # if found, forward there... t_relay();
here you need an "exit;"
regards klaus
} else { prefix("+"); rewritehost("ourpstngateway"); }; };
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Brandon,
what is really strange is that you have the request forwarded 8.11.1.7 -> 216.120.224.163 and in the same time the proxy sends an error rely back 8.11.1.7 -> 216.120.224.171 which is totally bogus.
can you provide detailed logs (use debug 7) to trace the error which triggers the 500 reply?
regards, bogdan
Brandon Price wrote:
Can someone explain what is happening here. On the dialing end @216.120.224.171 I get immediate congestion after the INVITE, on the receiving end @216.120.224.16 I get ringing even after I hang up. Relevant tethereal and openser.cfg below...
0.205952 216.120.224.171 -> 8.11.1.7 SIP/SDP Request: INVITE sip:15184782411@ser1.manhattan.ourdomain.net, with session description 0.252619 8.11.1.7 -> 216.120.224.171 SIP Status: 100 trying -- your call is important to us 0.252801 8.11.1.7 -> 216.120.224.163 SIP/SDP Request: INVITE sip:15184782411@216.120.224.163:5060, with session description 0.253078 8.11.1.7 -> 216.120.224.171 SIP Status: 500 I'm terribly sorry, server error occurred (1/SL) 0.279899 216.120.224.171 -> 8.11.1.7 SIP Request: ACK sip: 15184782411@ser1.manhattan.ourdomain.net 0.283146 216.120.224.163 -> 8.11.1.7 SIP Status: 100 Trying 0.296137 216.120.224.163 -> 8.11.1.7 SIP Status: 180 Ringing 0.311522 8.11.1.7 -> 216.120.224.171 SIP Status: 180 Ringing 7.032764 216.120.224.163 -> 8.11.1.7 SIP/SDP Status: 200 OK, with session description 7.033527 8.11.1.7 -> 216.120.224.171 SIP/SDP Status: 200 OK, with session description 7.054373 216.120.224.171 -> 8.11.1.7 SIP Request: ACK sip: 15184782411@ser1.manhattan.ourdomain.net