Do you see any errors in the logs?
Make sure that you clean up your previous install (remove all the
opensips modules and all the opensips binaries) before re-installing
opensips.
Also, the presentity table has evolved (it has a new field:
extra_hdrs).  The presentity version table should be 5.


Regards,
Ovidiu Sas

On Fri, Dec 10, 2010 at 12:20 PM, Duane Larson <duane.lar...@gmail.com> wrote:
> I am not sure if I did this right.
>
> At first I just replaced the subscriber.c file and tried to compile.  That
> was my last email.
>
> Now I did the following
> svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6
> opensips_1_6
>
> Then I did the following within the opensips svn download folder
> sudo make prefix=/usr/local install include_modules="presence"
>
> That pretty much updated every module in
> ls -la /usr/local/lib64/opensips/modules/
>
> 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
>
> The core dump has the following
>
> #0  0x00007fdef0606165 in raise () from /lib/libc.so.6
> (gdb) backtrace
> #0  0x00007fdef0606165 in raise () from /lib/libc.so.6
> #1  0x00007fdef0608f70 in abort () from /lib/libc.so.6
> #2  0x00007fdef063c27b in ?? () from /lib/libc.so.6
> #3  0x00007fdef0645ad6 in ?? () from /lib/libc.so.6
> #4  0x00007fdef064a84c in free () from /lib/libc.so.6
> #5  0x00007fdeecaffe4e in handle_publish (msg=0x83ff10, sender_uri=0x0,
> str2=<value optimized out>) at publish.c:529
> #6  0x0000000000410cea in do_action (a=0x7dae18, msg=0x83ff10) at
> action.c:1040
> #7  0x000000000040f81e in run_action_list (a=<value optimized out>,
> msg=0x83ff10) at action.c:139
> #8  0x000000000041289d in do_action (a=0x7db060, msg=0x83ff10) at
> action.c:706
> #9  0x000000000040f81e in run_action_list (a=<value optimized out>,
> msg=0x83ff10) at action.c:139
> #10 0x000000000041289d in do_action (a=0x7e5368, msg=0x83ff10) at
> action.c:706
> #11 0x000000000040f81e in run_action_list (a=<value optimized out>,
> msg=0x83ff10) at action.c:139
> #12 0x00000000004122f0 in run_actions (a=0x7a5f98, msg=0x83ff10) at
> action.c:119
> #13 do_action (a=0x7a5f98, msg=0x83ff10) at action.c:485
> #14 0x000000000040f81e in run_action_list (a=<value optimized out>,
> msg=0x83ff10) at action.c:139
> #15 0x000000000041289d in do_action (a=0x7a6070, msg=0x83ff10) at
> action.c:706
> #16 0x000000000040f81e in run_action_list (a=<value optimized out>,
> msg=0x83ff10) at action.c:139
> #17 0x0000000000413e3c in run_actions (a=0x7a4260, msg=0x83ff10) at
> action.c:119
> #18 run_top_route (a=0x7a4260, msg=0x83ff10) at action.c:180
> #19 0x000000000046cabc in receive_msg (
>     buf=0x76bf60 "PUBLISH sip:9xx2xx2...@coolbeans.com SIP/2.0\r\nVia:
> SIP/2.0/UDP 173.203.82.88;branch=z9hG4bK2171.b3f736d1.0\r\nTo:
> sip:9xx2xx2...@coolbeans.com\r\nfrom:
> <sip:9012732...@coolbeans.com>;tag=533cb9e91f4b999cf"..., len=999,
> rcv_info=0x7fff7887e110)
>     at receive.c:162
> #20 0x00000000004b62a6 in udp_rcv_loop () at udp_server.c:492
> #21 0x000000000042ce6c in main_loop (argc=<value optimized out>, argv=<value
> optimized out>) at main.c:818
> #22 main (argc=<value optimized out>, argv=<value optimized out>) at
> main.c:1388
>
>
> 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.
>
>
> On Fri, Dec 10, 2010 at 10:39 AM, Anca Vamanu <a...@opensips.org> wrote:
>>
>> What code is this?  1.6 svn has no problem..
>>
>>
>> On 12/10/2010 06:28 PM, duane.lar...@gmail.com wrote:
>>
>> When I try to recompile I get this error
>>
>> opens...@proxy01:~/opensips-1.6.3-tls$ sudo make prefix=/usr/local install
>> include_modules="presence"
>>
>>
>> make[1]: Entering directory
>> `/home/opensips/opensips-1.6.3-tls/modules/presence'
>> Compiling subscribe.c
>> 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
>> subscribe.c: In function 'update_subscription':
>> subscribe.c:452: error: too many arguments to function 'notify'
>> subscribe.c: In function 'handle_expired_subs':
>> subscribe.c:1313: error: too many arguments to function
>> 'send_notify_request'
>> subscribe.c: In function 'refresh_watcher':
>> subscribe.c:2092: error: too many arguments to function 'notify'
>> make[1]: *** [subscribe.o] Error 1
>> make[1]: Leaving directory
>> `/home/opensips/opensips-1.6.3-tls/modules/presence'
>> make: *** [modules] Error 2
>>
>>
>>
>>
>> On Dec 10, 2010 10:20am, Duane Larson <duane.lar...@gmail.com> wrote:
>> > That simple?!!  I will compile the new code and update.  Thanks!!
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Fri, Dec 10, 2010 at 10:16 AM, Anca Vamanu a...@opensips.org> wrote:
>> >
>> >
>> > That did it! I found and fixed the bug, please update the fix from svn.
>> >
>> > Thanks, Duane!
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users@lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > --
>> > *--*--*--*--*--*
>> > Duane
>> > *--*--*--*--*--*
>> > --
>> >
>> >
>> >
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> --
>> Anca Vamanu
>> www.voice-system.ro
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> --
> --
> *--*--*--*--*--*
> Duane
> *--*--*--*--*--*
> --
>
> _______________________________________________
> 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

Reply via email to