[Users] Calls where both endpoints are registered users fail.

Brandon Price brandon.price at hostrocket.com
Mon Oct 10 22:57:43 CEST 2005


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 at 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 at 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 at 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 at 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");
                         };
                 };






More information about the sr-users mailing list