Hi Khan,

What version and what revision are you using (use opensips -V) ?

Also, try to get a core file (set "ulimit -c unlimited" before starting 
opensips) and get the backtrace out of it.

Regards,
Bogdan

Khan wrote:
> Hello all,
>
> I am running ubuntu server with mySQL server, OpenSIPS 1.5, RTPProxy 1.2
>
> Having a series of problems with OpenSIPS, my initial problem was
> getting ACK timed out because of WWW Authentication failure of UAC
> registration.
> I am including a link for my traffic sniff and screen dump of debug
> mode (the highlighted part is my guess of problem area)
>
> http://pastebin.com/m788119fb
>
> I made few changes in opensips.cfg to resolve the problem of WWW auth
> failure as follows...
>
>
>       # Some systems (like Asterisk) use OPTIONS as a kind of "ping", than we
>       # answer it with 200 OK.
>       if (method=="OPTIONS") {
>          xlog("L_INFO", "*** Method: $rm *** RURI: $ru \n");
>
>          xlog("L_INFO", "*** Form: $fu To: $tu IP=$si SIP Request Port: $rp 
> \n");
>
>
>               if ((uri==myself) && (! uri=~"sip:....@]+.*"))
>               {
>                  options_reply();
>               } else {
>                    sl_send_reply("200", "OK");
>                    return;
>               }
>       }
>
> *** Also this part which was originally "" i put mydomain in quotes
>
>               if (!proxy_authorize("mydomain.com", "subscriber")) {
>       xlog("L_INFO", "*** Proxy authentication \n");
>
>                       proxy_challenge("mydomain.com", "0");
>                       exit;
>               }
>               if (!check_from()) {
>       xlog("L_INFO", "*** Form URI missing: $fu To: $tu IP=$si \n");
>
>                       sl_send_reply("403","Forbidden auth ID");
>                       exit;
>               }
>
> ***
>       if (is_method("REGISTER"))
>       {
>       xlog("L_INFO", "*** 08 ***  Register Authentication SIP Request
> Port: $rp \n");
>       xlog("L_INFO", "*** Method: $rm RURI: $ru Form: $fu To: $tu IP=$si \n");
>
>               # authenticate the REGISTER requests (uncomment to enable auth)
>               if (!www_authorize("mydomain.com", "subscriber"))
>               {
>                       www_challenge("mydomain.com", "0");
>                       exit;
>               }
>               
>               if (!check_to())
>               {
>                       sl_send_reply("403","Forbidden auth ID");
>                       exit;
>               }
>
>               if (!save("location"))
>                       sl_reply_error();
>
>               exit;
>       }
>
> *** After making the above changes when i start my opensips it
> crashes, the detailed out put is at this link
> http://pastebin.com/m4adecddb
>
> Can someone please help me or guide me if i need to update my opensips
> 1.5 because i see a lot of discussion going on about crashes and bug
> fixes.
>
> Also can someone explain why am i getting ACK timed out and how to
> resolve auth failure or its suppose to happen???
>
>
> Please help
>
>
> Khan
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to