[asterisk-users] Asterisk 1.2.10 and SCCP

Scott Higginbotham scotth at voicenet.com
Mon Oct 2 08:47:57 MST 2006


I've got an interesting situation where I am running Asterisk 1.2.10 with
the chan_sccp2 implementation.  The system crashes periodically, and each
time I get similar looking results when using gdb on the core files.

It looks almost as if someone is transferring a call to someone's voicemail
and the transferree decides not to leave a message and hangs up.  Anyone
better able to make sense of the gdb bt full's and maybe point me in a
direction for resolution?

Unfortunately, I have to utilize SCCP as we are using 7960's and need
presence support which is impossible with the SIP image.

I would consider moving to Asterisk 1.4 if the skinny support where any
better, but I don't have any evidence that it is.  Can anyone comment on the
native skinny support in 1.4?

My gdp bt full's are here.  Thanks.

------------First Core---------------------

(gdb) bt full
#0  0xb7f8f367 in pthread_mutex_trylock () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0x08060cd8 in ast_queue_hangup (chan=0x0) at lock.h:606
        f = {frametype = 4, subclass = 1, datalen = 0, samples = 0, mallocd
= 0, offset = 0, src = 0x0, data = 0x0, delivery = {
    tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}
#2  0xb724e0a9 in sccp_channel_transfer_complete (c=0xb5d05690) at
sccp_channel.c:861
        transferred = (struct ast_channel *) 0x81faeb8
        transferee = (struct ast_channel *) 0xb5d10ae0
        destination = (struct ast_channel *) 0x0
        peer = (sccp_channel_t *) 0x8223bf8
        d = (sccp_device_t *) 0x81c75e0
        __PRETTY_FUNCTION__ = "sccp_channel_transfer_complete"
#3  0xb724d911 in sccp_channel_transfer (c=0xb5d05690) at sccp_channel.c:731
        d = (sccp_device_t *) 0x81c75e0
        newcall = (sccp_channel_t *) 0x81c75e0
        __PRETTY_FUNCTION__ = "sccp_channel_transfer"
#4  0xb72575a5 in sccp_sk_transfer (d=0x81c75e0, l=0x81d1100, c=0x0) at
sccp_softkeys.c:86
No locals.
#5  0xb724acd8 in sccp_handle_soft_key_event (s=0x8153cc8, r=0x0) at
sccp_actions.c:1194
        d = (sccp_device_t *) 0x81c75e0
        c = (sccp_channel_t *) 0xb5d05690
        l = (sccp_line_t *) 0x81d1100
        k = (sccp_speed_t *) 0x0
        event = 4
        line = 1
        callid = 449
        __PRETTY_FUNCTION__ = "sccp_handle_soft_key_event"
#6  0xb72426be in sccp_handle_message (r=0xb5d10090, s=0x8153cc8) at
chan_sccp.c:583
        mid = 38
        __PRETTY_FUNCTION__ = "sccp_handle_message"
#7  0xb7258be7 in sccp_socket_thread (ignore=0x0) at sccp_socket.c:304
        fset = {fds_bits = {0, 262144, 0 <repeats 30 times>}}
        res = 0
        maxfd = 92
        now = 1159467448
        s = (sccp_session_t *) 0x8153cc8
        s1 = (sccp_session_t *) 0x0
        m = (sccp_moo_t *) 0x0
        tv = {tv_sec = 0, tv_usec = 32000}
        sigs = {__val = {138432515, 0 <repeats 31 times>}}
        attr = {__detachstate = 0, __schedpolicy = 0, __schedparam =
{__sched_priority = 1}, __inheritsched = 4096, __scope = 0,
  __guardsize = 0, __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 0}
        __PRETTY_FUNCTION__ = "sccp_socket_thread"
#8  0xb7f8d0fb in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0xb7e7c99e in clone () from /lib/tls/libc.so.6
No symbol table info available.



-------------------Second Core----------------------------

(gdb) bt full
#0  0xb7f1d367 in pthread_mutex_trylock () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0x08060cd8 in ast_queue_hangup (chan=0x0) at lock.h:606
        f = {frametype = 4, subclass = 1, datalen = 0, samples = 0, mallocd
= 0, offset = 0, src = 0x0, data = 0x0, delivery = {
    tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}
#2  0xb71dc0a9 in sccp_channel_transfer_complete (c=0xb60059d0) at
sccp_channel.c:861
        transferred = (struct ast_channel *) 0x82109f0
        transferee = (struct ast_channel *) 0xb6001710
        destination = (struct ast_channel *) 0x0
        peer = (sccp_channel_t *) 0x82090d0
        d = (sccp_device_t *) 0x81c3fa8
        __PRETTY_FUNCTION__ = "sccp_channel_transfer_complete"
#3  0xb71db911 in sccp_channel_transfer (c=0xb60059d0) at sccp_channel.c:731
        d = (sccp_device_t *) 0x81c3fa8
        newcall = (sccp_channel_t *) 0x81c3fa8
        __PRETTY_FUNCTION__ = "sccp_channel_transfer"
#4  0xb71e55a5 in sccp_sk_transfer (d=0x81c3fa8, l=0x81cd9a8, c=0x0) at
sccp_softkeys.c:86
No locals.
#5  0xb71d8cd8 in sccp_handle_soft_key_event (s=0x81e1428, r=0x0) at
sccp_actions.c:1194
        d = (sccp_device_t *) 0x81c3fa8
        c = (sccp_channel_t *) 0xb60059d0
        l = (sccp_line_t *) 0x81cd9a8
        k = (sccp_speed_t *) 0x0
        event = 4
        line = 1
        callid = 391
        __PRETTY_FUNCTION__ = "sccp_handle_soft_key_event"
#6  0xb71d06be in sccp_handle_message (r=0xb6000470, s=0x81e1428) at
chan_sccp.c:583
        mid = 38
        __PRETTY_FUNCTION__ = "sccp_handle_message"
#7  0xb71e6be7 in sccp_socket_thread (ignore=0x0) at sccp_socket.c:304
        fset = {fds_bits = {0, 0, 512, 0 <repeats 29 times>}}
        res = 0
        maxfd = 93
        now = 1159546688
        s = (sccp_session_t *) 0x81e1428
        s1 = (sccp_session_t *) 0x0
        m = (sccp_moo_t *) 0x0
        tv = {tv_sec = 0, tv_usec = 256000}
        sigs = {__val = {138432515, 0 <repeats 31 times>}}
        attr = {__detachstate = 0, __schedpolicy = 0, __schedparam =
{__sched_priority = 1}, __inheritsched = 4096, __scope = 0,
  __guardsize = 0, __stackaddr_set = 0, __stackaddr = 0x0, __stacksize = 0}
        __PRETTY_FUNCTION__ = "sccp_socket_thread"
#8  0xb7f1b0fb in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0xb7e0a99e in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)

Thanks

Scott Higginbotham
Systems / Network Operations Manager
215.259.2185 or 1.800.835.5710 ext 2185
scotth at voicenet.com



More information about the asterisk-users mailing list