Thread 20 (process 25849): #0 0xb7dd383c in ?? () from /lib/libc.so.6 #1 0xb7e0c75a in usleep () from /lib/libc.so.6 #2 0x080cb9b8 in __ast_pthread_mutex_lock (filename=0x815a7f3 "pbx.c", lineno=5862, func=0x816028b "pbx_builtin_setvar_helper", mutex_name=0x815f59c "&chan->lock", t=0x8288e10) at /usr/src/asterisk-1.4.15/include/asterisk/lock.h:345 #3 0x080da810 in pbx_builtin_setvar_helper (chan=0x8288d98, name=0xb7793517 "ANI2", value=0xb75db1de "0") at pbx.c:5862 #4 0xb778194d in pri_dchannel (vpri=0xb77995a0) at chan_zap.c:8845 #5 0x08114640 in dummy_start (data=0x81f0a68) at utils.c:843 #6 0xb7ec91b3 in start_thread () from /lib/libpthread.so.0 #7 0xb7e1303e in clone () from /lib/libc.so.6 Thread 14 (process 25858): #0 0xb7dd383c in ?? () from /lib/libc.so.6 #1 0xb7e0c75a in usleep () from /lib/libc.so.6 #2 0xb775e2f8 in __ast_pthread_mutex_lock (filename=0xb778dd93 "chan_zap.c", lineno=4628, func=0xb7790f59 "zt_read", mutex_name=0xb778dfef "&p->lock", t=0x81f4d80) at /usr/src/asterisk-1.4.15/include/asterisk/lock.h:345 #3 0xb776e2ba in zt_read (ast=0x8288d98) at chan_zap.c:4628 #4 0x08086271 in __ast_read (chan=0x8288d98, dropaudio=0) at channel.c:2311 #5 0x080875f3 in ast_read (chan=0x8288d98) at channel.c:2560 #6 0x08073a45 in autoservice_run (ign=0x0) at autoservice.c:91 #7 0x08114640 in dummy_start (data=0x8287408) at utils.c:843 #8 0xb7ec91b3 in start_thread () from /lib/libpthread.so.0 #9 0xb7e1303e in clone () from /lib/libc.so.6 Thread 13 (process 27726): #0 0xb7ecdf7a in pthread_getspecific () from /lib/libpthread.so.0 #1 0x08112615 in ast_threadstorage_get (ts=0x817d618, init_size=1064) at /usr/src/asterisk-1.4.15/include/asterisk/threadstorage.h:136 #2 0x08113f03 in ast_mark_lock_acquired () at utils.c:631 #3 0xb775e42a in __ast_pthread_mutex_lock (filename=0xb778dd93 "chan_zap.c", lineno=726, func=0xb778e4f9 "pri_grab", mutex_name=0xb778e462 "&pvt->lock", t=0x820cb70) at /usr/src/asterisk-1.4.15/include/asterisk/lock.h:373 #4 0xb775f686 in pri_grab (pvt=0x820cb70, pri=0xb77995a0) at chan_zap.c:726 #5 0xb776a5b7 in zt_handle_event (ast=0x829b4c0) at chan_zap.c:3810 #6 0xb776e1c1 in __zt_exception (ast=0x829b4c0) at chan_zap.c:4605 #7 0xb776e22c in zt_exception (ast=0x829b4c0) at chan_zap.c:4614 #8 0x080861e7 in __ast_read (chan=0x829b4c0, dropaudio=0) at channel.c:2303 #9 0x080875f3 in ast_read (chan=0x829b4c0) at channel.c:2560 #10 0xb7768ad9 in zt_bridge (c0=0x8294210, c1=0x829b4c0, flags=0, fo=0xb6feded4, rc=0xb6feded0, timeoutms=-1) at chan_zap.c:3400 #11 0x0808d79b in ast_channel_bridge (c0=0x8294210, c1=0x829b4c0, config=0xb6fee200, fo=0xb6feded4, rc=0xb6feded0) at channel.c:4301 #12 0xb7c8e2f2 in ast_bridge_call (chan=0x8294210, peer=0x829b4c0, config=0xb6fee200) at res_features.c:1410 #13 0xb7c1f5a9 in dial_exec_full (chan=0x8294210, data=0xb6ff0f28, peerflags=0xb6feedf4, continue_exec=0x0) at app_dial.c:1676 #14 0xb7c1f83d in dial_exec (chan=0x8294210, data=0xb6ff0f28) at app_dial.c:1730 #15 0x080cb66e in pbx_exec (c=0x8294210, app=0x81affe8, data=0xb6ff0f28) at pbx.c:532 #16 0x080cf62b in pbx_extension_helper (c=0x8294210, con=0x0, context=0x8294450 "from-pstn", exten=0x82944a0 "123456789", priority=1, label=0x0, callerid=0x829fd48 "", action=E_SPAWN) at pbx.c:1850 #17 0x080d0a96 in ast_spawn_extension (c=0x8294210, context=0x8294450 "from-pstn", exten=0x82944a0 "123456789", priority=1, callerid=0x829fd48 "") at pbx.c:2314 #18 0x080d0fc2 in __ast_pbx_run (c=0x8294210) at pbx.c:2416 #19 0x080d1ddf in pbx_thread (data=0x8294210) at pbx.c:2631 #20 0x08114640 in dummy_start (data=0x82a18b8) at utils.c:843 #21 0xb7ec91b3 in start_thread () from /lib/libpthread.so.0 #22 0xb7e1303e in clone () from /lib/libc.so.6 Thread 12 (process 27782): #0 0xb7dd383c in ?? () from /lib/libc.so.6 #1 0xb7e0c75a in usleep () from /lib/libc.so.6 #2 0xb775f655 in pri_grab (pvt=0x81fa870, pri=0xb77995a0) at chan_zap.c:725 #3 0xb776a5b7 in zt_handle_event (ast=0x82a2790) at chan_zap.c:3810 #4 0xb776e1c1 in __zt_exception (ast=0x82a2790) at chan_zap.c:4605 #5 0xb776e22c in zt_exception (ast=0x82a2790) at chan_zap.c:4614 #6 0x080861e7 in __ast_read (chan=0x82a2790, dropaudio=0) at channel.c:2303 #7 0x080875f3 in ast_read (chan=0x82a2790) at channel.c:2560 #8 0xb7768ad9 in zt_bridge (c0=0x82a2790, c1=0x82af400, flags=0, fo=0xb7065ed4, rc=0xb7065ed0, timeoutms=-1) at chan_zap.c:3400 #9 0x0808d79b in ast_channel_bridge (c0=0x82a2790, c1=0x82af400, config=0xb7066200, fo=0xb7065ed4, rc=0xb7065ed0) at channel.c:4301 #10 0xb7c8e2f2 in ast_bridge_call (chan=0x82a2790, peer=0x82af400, config=0xb7066200) at res_features.c:1410 #11 0xb7c1f5a9 in dial_exec_full (chan=0x82a2790, data=0xb7068f28, peerflags=0xb7066df4, continue_exec=0x0) at app_dial.c:1676 #12 0xb7c1f83d in dial_exec (chan=0x82a2790, data=0xb7068f28) at app_dial.c:1730 #13 0x080cb66e in pbx_exec (c=0x82a2790, app=0x81affe8, data=0xb7068f28) at pbx.c:532 #14 0x080cf62b in pbx_extension_helper (c=0x82a2790, con=0x0, context=0x82a29d0 "from-pstn", exten=0x82a2a20 "223456789", priority=1, label=0x0, callerid=0x82b4b80 "", action=E_SPAWN) at pbx.c:1850 #15 0x080d0a96 in ast_spawn_extension (c=0x82a2790, context=0x82a29d0 "from-pstn", exten=0x82a2a20 "223456789", priority=1, callerid=0x82b4b80 "") at pbx.c:2314 #16 0x080d0fc2 in __ast_pbx_run (c=0x82a2790) at pbx.c:2416 #17 0x080d1ddf in pbx_thread (data=0x82a2790) at pbx.c:2631 #18 0x08114640 in dummy_start (data=0x82873e8) at utils.c:843 #19 0xb7ec91b3 in start_thread () from /lib/libpthread.so.0 #20 0xb7e1303e in clone () from /lib/libc.so.6 Thread 11 (process 27798): #0 0x0811260a in ast_threadstorage_get (ts=0x817d618, init_size=1064) at /usr/src/asterisk-1.4.15/include/asterisk/threadstorage.h:136 #1 0x08114003 in ast_remove_lock_info (lock_addr=0x81f8410) at utils.c:657 #2 0xb775df81 in __ast_pthread_mutex_unlock (filename=0xb778dd93 "chan_zap.c", lineno=723, func=0xb778e4f9 "pri_grab", mutex_name=0xb778e462 "&pvt->lock", t=0x81f8410) at /usr/src/asterisk-1.4.15/include/asterisk/lock.h:474 #3 0xb775f649 in pri_grab (pvt=0x81f8410, pri=0xb77995a0) at chan_zap.c:723 #4 0xb776a5b7 in zt_handle_event (ast=0x82abbf0) at chan_zap.c:3810 #5 0xb776e1c1 in __zt_exception (ast=0x82abbf0) at chan_zap.c:4605 #6 0xb776e22c in zt_exception (ast=0x82abbf0) at chan_zap.c:4614 #7 0x080861e7 in __ast_read (chan=0x82abbf0, dropaudio=0) at channel.c:2303 #8 0x080875f3 in ast_read (chan=0x82abbf0) at channel.c:2560 #9 0xb7768ad9 in zt_bridge (c0=0x82abbf0, c1=0x828c140, flags=0, fo=0xb7209ed4, rc=0xb7209ed0, timeoutms=-1) at chan_zap.c:3400 #10 0x0808d79b in ast_channel_bridge (c0=0x82abbf0, c1=0x828c140, config=0xb720a200, fo=0xb7209ed4, rc=0xb7209ed0) at channel.c:4301 #11 0xb7c8e2f2 in ast_bridge_call (chan=0x82abbf0, peer=0x828c140, config=0xb720a200) at res_features.c:1410 #12 0xb7c1f5a9 in dial_exec_full (chan=0x82abbf0, data=0xb720cf28, peerflags=0xb720adf4, continue_exec=0x0) at app_dial.c:1676 #13 0xb7c1f83d in dial_exec (chan=0x82abbf0, data=0xb720cf28) at app_dial.c:1730 #14 0x080cb66e in pbx_exec (c=0x82abbf0, app=0x81affe8, data=0xb720cf28) at pbx.c:532 #15 0x080cf62b in pbx_extension_helper (c=0x82abbf0, con=0x0, context=0x82abe30 "from-pstn", exten=0x82abe80 "323456789", priority=1, label=0x0, callerid=0x8299508 "", action=E_SPAWN) at pbx.c:1850 #16 0x080d0a96 in ast_spawn_extension (c=0x82abbf0, context=0x82abe30 "from-pstn", exten=0x82abe80 "323456789", priority=1, callerid=0x8299508 "") at pbx.c:2314 #17 0x080d0fc2 in __ast_pbx_run (c=0x82abbf0) at pbx.c:2416 #18 0x080d1ddf in pbx_thread (data=0x82abbf0) at pbx.c:2631 #19 0x08114640 in dummy_start (data=0x829f658) at utils.c:843 #20 0xb7ec91b3 in start_thread () from /lib/libpthread.so.0 #21 0xb7e1303e in clone () from /lib/libc.so.6 Thread 10 (process 27806): #0 0xb7dd383c in ?? () from /lib/libc.so.6 #1 0xb7e0c75a in usleep () from /lib/libc.so.6 #2 0xb775f655 in pri_grab (pvt=0x81f71e0, pri=0xb77995a0) at chan_zap.c:725 #3 0xb776a5b7 in zt_handle_event (ast=0x82a4e68) at chan_zap.c:3810 #4 0xb776e1c1 in __zt_exception (ast=0x82a4e68) at chan_zap.c:4605 #5 0xb776e22c in zt_exception (ast=0x82a4e68) at chan_zap.c:4614 #6 0x080861e7 in __ast_read (chan=0x82a4e68, dropaudio=0) at channel.c:2303 #7 0x080875f3 in ast_read (chan=0x82a4e68) at channel.c:2560 #8 0xb7768ad9 in zt_bridge (c0=0x82a4e68, c1=0x828f3c8, flags=0, fo=0xb7029ed4, rc=0xb7029ed0, timeoutms=-1) at chan_zap.c:3400 #9 0x0808d79b in ast_channel_bridge (c0=0x82a4e68, c1=0x828f3c8, config=0xb702a200, fo=0xb7029ed4, rc=0xb7029ed0) at channel.c:4301 #10 0xb7c8e2f2 in ast_bridge_call (chan=0x82a4e68, peer=0x828f3c8, config=0xb702a200) at res_features.c:1410 #11 0xb7c1f5a9 in dial_exec_full (chan=0x82a4e68, data=0xb702cf28, peerflags=0xb702adf4, continue_exec=0x0) at app_dial.c:1676 #12 0xb7c1f83d in dial_exec (chan=0x82a4e68, data=0xb702cf28) at app_dial.c:1730 #13 0x080cb66e in pbx_exec (c=0x82a4e68, app=0x81affe8, data=0xb702cf28) at pbx.c:532 #14 0x080cf62b in pbx_extension_helper (c=0x82a4e68, con=0x0, context=0x82a50a8 "from-pstn", exten=0x82a50f8 "423456789", priority=1, label=0x0, callerid=0x82b4ad8 "", action=E_SPAWN) at pbx.c:1850 #15 0x080d0a96 in ast_spawn_extension (c=0x82a4e68, context=0x82a50a8 "from-pstn", exten=0x82a50f8 "423456789", priority=1, callerid=0x82b4ad8 "") at pbx.c:2314 #16 0x080d0fc2 in __ast_pbx_run (c=0x82a4e68) at pbx.c:2416 #17 0x080d1ddf in pbx_thread (data=0x82a4e68) at pbx.c:2631 #18 0x08114640 in dummy_start (data=0x8287b80) at utils.c:843 #19 0xb7ec91b3 in start_thread () from /lib/libpthread.so.0 #20 0xb7e1303e in clone () from /lib/libc.so.6