<div>I am not sure if I did this right. </div>
<div> </div>
<div>At first I just replaced the subscriber.c file and tried to compile. That was my last email.</div>
<div> </div>
<div>Now I did the following</div>
<div>svn co <a href="https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6">https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6</a> opensips_1_6</div>
<div> </div>
<div>Then I did the following within the opensips svn download folder</div>
<div>sudo make prefix=/usr/local install include_modules="presence"</div>
<div> </div>
<div>That pretty much updated every module in</div>
<div>ls -la /usr/local/lib64/opensips/modules/</div>
<div> </div>
<div>I am able to start OpenSIPS but now when I make a call from phoneA to phoneB and phoneB picks up, phoneA still shows that it is trying to ring phoneB. This is because OpenSIPS crashes</div>
<div> </div>
<div>The core dump has the following</div>
<div> </div>
<div>#0 0x00007fdef0606165 in raise () from /lib/libc.so.6<br>(gdb) backtrace<br>#0 0x00007fdef0606165 in raise () from /lib/libc.so.6<br>#1 0x00007fdef0608f70 in abort () from /lib/libc.so.6<br>#2 0x00007fdef063c27b in ?? () from /lib/libc.so.6<br>
#3 0x00007fdef0645ad6 in ?? () from /lib/libc.so.6<br>#4 0x00007fdef064a84c in free () from /lib/libc.so.6<br>#5 0x00007fdeecaffe4e in handle_publish (msg=0x83ff10, sender_uri=0x0, str2=<value optimized out>) at publish.c:529<br>
#6 0x0000000000410cea in do_action (a=0x7dae18, msg=0x83ff10) at action.c:1040<br>#7 0x000000000040f81e in run_action_list (a=<value optimized out>, msg=0x83ff10) at action.c:139<br>#8 0x000000000041289d in do_action (a=0x7db060, msg=0x83ff10) at action.c:706<br>
#9 0x000000000040f81e in run_action_list (a=<value optimized out>, msg=0x83ff10) at action.c:139<br>#10 0x000000000041289d in do_action (a=0x7e5368, msg=0x83ff10) at action.c:706<br>#11 0x000000000040f81e in run_action_list (a=<value optimized out>, msg=0x83ff10) at action.c:139<br>
#12 0x00000000004122f0 in run_actions (a=0x7a5f98, msg=0x83ff10) at action.c:119<br>#13 do_action (a=0x7a5f98, msg=0x83ff10) at action.c:485<br>#14 0x000000000040f81e in run_action_list (a=<value optimized out>, msg=0x83ff10) at action.c:139<br>
#15 0x000000000041289d in do_action (a=0x7a6070, msg=0x83ff10) at action.c:706<br>#16 0x000000000040f81e in run_action_list (a=<value optimized out>, msg=0x83ff10) at action.c:139<br>#17 0x0000000000413e3c in run_actions (a=0x7a4260, msg=0x83ff10) at action.c:119<br>
#18 run_top_route (a=0x7a4260, msg=0x83ff10) at action.c:180<br>#19 0x000000000046cabc in receive_msg (<br> buf=0x76bf60 "PUBLISH <a href="mailto:sip%3A9XX2XX2XX4@coolbeans.com">sip:9XX2XX2XX4@coolbeans.com</a> SIP/2.0\r\nVia: SIP/2.0/UDP 173.203.82.88;branch=z9hG4bK2171.b3f736d1.0\r\nTo: <a href="mailto:sip%3A9XX2XX2XX4@coolbeans.com">sip:9XX2XX2XX4@coolbeans.com</a>\r\nFrom: <<a href="mailto:sip%3A9012732004@coolbeans.com">sip:9012732004@coolbeans.com</a>>;tag=533cb9e91f4b999cf"..., len=999, rcv_info=0x7fff7887e110)<br>
at receive.c:162<br>#20 0x00000000004b62a6 in udp_rcv_loop () at udp_server.c:492<br>#21 0x000000000042ce6c in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:818<br>#22 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1388</div>
<div> </div>
<div> </div>
<div>Did I not install the SVN correctly???? The only thing I did before updating OpenSIPS was to install subversion so I could use the svn command and I know libc.so.6 got installed or updated or something. I see some libc.so.6 stuff in the backtrace.</div>
<div><br><br> </div>
<div class="gmail_quote">On Fri, Dec 10, 2010 at 10:39 AM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org">anca@opensips.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div bgcolor="#ffffff" text="#000000">What code is this? 1.6 svn has no problem..
<div>
<div></div>
<div class="h5"><br><br><br>On 12/10/2010 06:28 PM, <a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a> wrote: </div></div>
<blockquote type="cite">
<div>
<div></div>
<div class="h5">When I try to recompile I get this error <br><br><a href="mailto:opensips@Proxy01:~/opensips-1.6.3-tls$" target="_blank">opensips@Proxy01:~/opensips-1.6.3-tls$</a> sudo make prefix=/usr/local install include_modules="presence" <br>
<br><br>make[1]: Entering directory `/home/opensips/opensips-1.6.3-tls/modules/presence' <br>Compiling subscribe.c <br>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"presence"' -DNAME='"opensips"' -DVERSION='"1.6.3-notls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 4.4.5"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c subscribe.c -o subscribe.o <br>
subscribe.c: In function 'update_subscription': <br>subscribe.c:452: error: too many arguments to function 'notify' <br>subscribe.c: In function 'handle_expired_subs': <br>subscribe.c:1313: error: too many arguments to function 'send_notify_request' <br>
subscribe.c: In function 'refresh_watcher': <br>subscribe.c:2092: error: too many arguments to function 'notify' <br>make[1]: *** [subscribe.o] Error 1 <br>make[1]: Leaving directory `/home/opensips/opensips-1.6.3-tls/modules/presence' <br>
make: *** [modules] Error 2 <br><br><br><br><br>On Dec 10, 2010 10:20am, Duane Larson <a href="mailto:duane.larson@gmail.com" target="_blank"><duane.larson@gmail.com></a> wrote: <br>> That simple?!! I will compile the new code and update. Thanks!! <br>
> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> On Fri, Dec 10, 2010 at 10:16 AM, Anca Vamanu <a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>> wrote: <br>
> <br>> <br>> That did it! I found and fixed the bug, please update the fix from svn. <br>> <br>> Thanks, Duane! <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> _______________________________________________ <br>
> Users mailing list <br>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <br>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a> <br>
> <br>> <br>> <br>> <br>> <br>> <br>> <br>> -- <br>> -- <br>> *--*--*--*--*--* <br>> Duane <br>> *--*--*--*--*--* <br>> -- <br>> <br>> <br>> </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<div class="im"><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</div></pre></blockquote><br><br><pre cols="72">--
Anca Vamanu
<a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a>
</pre></div><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>