[OpenSIPS-Users] www_challenge never sends response to REGISTER

Derek derek at burdick.cc
Thu Jul 16 02:19:00 CEST 2009


Opensips is never sending the 100 Trying or the failure response to the 
SIP Register.  I have including the config file that I know is ran, the 
SIP REGISTER request as taken from tcpdump and the snippet from the log 
file.  Thanks for your help.

Here is the configuration file:

                xlog("L_INFO", "Sending 100 Trying\n");
                sl_send_reply("100", "Trying");
                xlog("L_INFO", "Checking authorization\n");
                if (!www_authorize("", "subscriber"))
                {
                        xlog("L_INFO", "Challenging\n");
                        www_challenge("[domain]", "1");
                        exit;
                }

Here is the register request:
REGISTER sip:X.X.237.111:5060 SIP/2.0
Via: SIP/2.0/UDP X.X.237.124:5060;branch=z9hG4bKd6d8lm10e8ahud80v1k1.1
From: "2007001" <sip:2007001 at X.X.238.218>;tag=71431E94-ADFA6693
To: <sip:2007001 at X.X.238.218>
CSeq: 1 REGISTER
Call-ID: a896deef-6032a92-27a84a39 at 10.140.68.102
Contact: 
<sip:2007001-kjsuv65ljlabd at X.X.237.124:5060;transport=udp>;methods="INVITE, 
ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, 
UPDATE, REFER"
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.1.3.0439
Accept-Language: en
Max-Forwards: 69
Expires: 3600
Content-Length: 0

And here is the log file:
Jul 15 18:17:42 irv-sipreg-01 /usr/sbin/opensips[20944]: New request - 
M=REGISTER RURI=sip:X.X.237.111:5060 F=sip:2007001 at X.X.238.218 
T=sip:2007001 at X.X.238.218 IP=X.X.237.124 
ID=f95f3e0d-827f2ad8-5627fe87 at 10.140.68.102
Jul 15 18:17:42 irv-sipreg-01 /usr/sbin/opensips[20944]: Sending 100 Trying
Jul 15 18:17:42 irv-sipreg-01 /usr/sbin/opensips[20944]: Checking 
authorization
Jul 15 18:17:42 irv-sipreg-01 /usr/sbin/opensips[20944]: Challenging

Thanks,
  Derek



More information about the Users mailing list