Thanks Bogdan for your prompt response, following is the version i am using
version: opensips 1.5.0-notls (x86_64/linux) flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. svnrevision: unknown @(#) $Id: main.c 5469 2009-03-18 12:43:10Z bogdan_iancu $ main.c compiled on 01:32:02 Mar 29 2009 with gcc 4.2.4 I made few attempts of restarting of opensips last night and successfully started it back, thus it was running but i did not perform any tests. I followed your instructions and ran the opensips again still it didn't crash. Do you still need back trace even if it doesn't crash? How do i do it? last time i tried I didn't do it right, anyone like to help me in this process step by step or direct me where to get info!!! *** I need to understand why it crashed before? Do i need to get newer version from SVN repository? If I do, how would i do it because i never did it before... I really really appreciate your patience with me and helping me out to learn and implement this project. Thank you all, Khan On Fri, Apr 10, 2009 at 7:49 AM, Bogdan-Andrei Iancu <bog...@voice-system.ro> wrote: > 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 >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users