(gdb) bt #0 0x00117777 in pthread_mutex_lock () from /lib/tls/libpthread.so.0 #1 0x00580990 in local_fixup (oldchan=0x8687b68, newchan=0x865f4c8) at chan_local.c:193 #2 0x0805f461 in ast_do_masquerade (original=0x8687b68) at channel.c:2300 #3 0x0805ae58 in ast_hangup (chan=0x8687b68) at channel.c:696 #4 0x009d5a62 in dial_exec (chan=0x86bc938, data=0x0) at app_dial.c:1041 #5 0x08074206 in pbx_exec (c=0x86bc938, app=0x8680578, data=0xb3beb440, newstack=1) at pbx.c:471 #6 0x0807c0ff in pbx_extension_helper (c=0x86bc938, context=0x86bca90 "macro-dial", exten=0x86bc938 "Local/1800@from-internal-5807,2", priority=10, callerid=0x8658818 "\"360xxxxxxx\" <360xxxxxxx>", action=141282180) at pbx.c:1290 #7 0x0807af25 in ast_spawn_extension (c=0x865f4c8, context=0x865f4c8 "IAX2/pbx/1", exten=0x865f4c8 "IAX2/pbx/1", priority=140899528, callerid=0x865f4c8 "IAX2/pbx/1") at pbx.c:1772 #8 0x00ca9464 in macro_exec (chan=0x86bc938, data=0x86bc938) at app_macro.c:141 #9 0x08074206 in pbx_exec (c=0x86bc938, app=0x8694de0, data=0xb3befda0, newstack=1) at pbx.c:471 #10 0x0807c0ff in pbx_extension_helper (c=0x86bc938, context=0x86bca90 "macro-dial", exten=0x86bc938 "Local/1800@from-internal-5807,2", priority=7, callerid=0x8658818 "\"360xxxxxxx\" <360xxxxxxx>", action=141282180) at pbx.c:1290 #11 0x0807af25 in ast_spawn_extension (c=0x865f4c8, context=0x865f4c8 "IAX2/pbx/1", exten=0x865f4c8 "IAX2/pbx/1", priority=140899528, callerid=0x865f4c8 "IAX2/pbx/1") at pbx.c:1772 #12 0x00ca9464 in macro_exec (chan=0x86bc938, data=0x86bc938) at app_macro.c:141 #13 0x08074206 in pbx_exec (c=0x86bc938, app=0x8694de0, data=0xb3bf4700, newstack=1) at pbx.c:471 #14 0x0807c0ff in pbx_extension_helper (c=0x86bc938, context=0x86bca90 "macro-dial", exten=0x86bc938 "Local/1800@from-internal-5807,2", priority=1, callerid=0x8658818 "\"360xxxxxxx\" <360xxxxxxx>", action=141282180) at pbx.c:1290 #15 0x0807622a in ast_pbx_run (c=0x86bc938) at pbx.c:1772 #16 0x0807c7c1 in pbx_thread (data=0x865f4c8) at pbx.c:1995 #17 0x00115de8 in start_thread () from /lib/tls/libpthread.so.0 #18 0x002d893a in clone () from /lib/tls/libc.so.6