#0 0x0807c512 in __ast_pthread_mutex_lock (filename=0x813c433 "channel.c", lineno=2186, func=0x813e2b8 "__ast_read", mutex_name=0x813d2d3 "&chan->lock", t=0x9efe5a8) at /usr/src/asterisk-test/1.4.11/asterisk-1.4.11/include/asterisk/lock.h:304 304 t->thread[t->reentrancy] = pthread_self(); (gdb) bt #0 0x0807c512 in __ast_pthread_mutex_lock (filename=0x813c433 "channel.c", lineno=2186, func=0x813e2b8 "__ast_read", mutex_name=0x813d2d3 "&chan->lock", t=0x9efe5a8) at /usr/src/asterisk-test/1.4.11/asterisk-1.4.11/include/asterisk/lock.h:304 #1 0x08082c69 in __ast_read (chan=0x9efe530, dropaudio=0) at channel.c:2186 #2 0x08084587 in ast_read (chan=0x9efe530) at channel.c:2549 #3 0x0808944c in ast_generic_bridge (c0=0xb7255b28, c1=0x9efe530, config=0x1288310, fo=0x1287f1c, rc=0x1287f18, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:4009 #4 0x0808a5d1 in ast_channel_bridge (c0=0xb7255b28, c1=0x9efe530, config=0x1288310, fo=0x1287f1c, rc=0x1287f18) at channel.c:4317 #5 0x001e4a8d in ast_bridge_call (chan=0xb7255b28, peer=0x9efe530, config=0x1288310) at res_features.c:1398 #6 0x00720345 in dial_exec_full (chan=0xb7255b28, data=0x128cf50, peerflags=0x1288d60, continue_exec=0x0) at app_dial.c:1651 #7 0x007205d2 in dial_exec (chan=0xb7255b28, data=0x128cf50) at app_dial.c:1705 #8 0x080c38ab in pbx_exec (c=0xb7255b28, app=0x9682dc8, data=0x128cf50) at pbx.c:532 #9 0x080c7349 in pbx_extension_helper (c=0xb7255b28, con=0x0, context=0xb7255d50 "customer-context", exten=0xb7255da0 "s", priority=50, label=0x0, callerid=0xb747f200 "DID_REMOVED", action=E_SPAWN) at pbx.c:1833 #10 0x080c8715 in ast_spawn_extension (c=0xb7255b28, context=0xb7255d50 "customer-context", exten=0xb7255da0 "s", priority=50, callerid=0xb747f200 "DID_REMOVED") at pbx.c:2288 #11 0x080c8c03 in __ast_pbx_run (c=0xb7255b28) at pbx.c:2388 #12 0x080c99c0 in pbx_thread (data=0xb7255b28) at pbx.c:2603 #13 0x08107a61 in dummy_start (data=0xb7a9de88) at utils.c:775 #14 0x00b633cc in start_thread () from /lib/tls/libpthread.so.0 #15 0x00a4ec3e in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0x0807c512 in __ast_pthread_mutex_lock (filename=0x813c433 "channel.c", lineno=2186, func=0x813e2b8 "__ast_read", mutex_name=0x813d2d3 "&chan->lock", t=0x9efe5a8) at /usr/src/asterisk-test/1.4.11/asterisk-1.4.11/include/asterisk/lock.h:304 res = 0 canlog = -1 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock" #1 0x08082c69 in __ast_read (chan=0x9efe530, dropaudio=0) at channel.c:2186 f = (struct ast_frame *) 0x0 blah = 0 prestate = 2 __PRETTY_FUNCTION__ = "__ast_read" #2 0x08084587 in ast_read (chan=0x9efe530) at channel.c:2549 No locals. #3 0x0808944c in ast_generic_bridge (c0=0xb7255b28, c1=0x9efe530, config=0x1288310, fo=0x1287f1c, rc=0x1287f18, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:4009 who = (struct ast_channel *) 0x9efe530 other = (struct ast_channel *) 0x9efe530 cs = {0xb7255b28, 0x9efe530, 0x9efe530} f = (struct ast_frame *) 0xb545804c res = AST_BRIDGE_COMPLETE o0nativeformats = 4 o1nativeformats = 256 watch_c0_dtmf = 0 watch_c1_dtmf = 0 pvt0 = (void *) 0xb7672e38 pvt1 = (void *) 0xa801b98 frame_put_in_jb = 0 jb_in_use = 0 to = -1 __PRETTY_FUNCTION__ = "ast_generic_bridge" #4 0x0808a5d1 in ast_channel_bridge (c0=0xb7255b28, c1=0x9efe530, config=0x1288310, fo=0x1287f1c, rc=0x1287f18) at channel.c:4317 now = {tv_sec = 0, tv_usec = 0} to = -1 who = (struct ast_channel *) 0x0 res = AST_BRIDGE_FAILED_NOWARN nativefailed = 1 firstpass = 1 o0nativeformats = 4 o1nativeformats = 256 time_left_ms = 0 nexteventts = {tv_sec = 0, tv_usec = 0} caller_warning = 0 '\0' callee_warning = 0 '\0' __PRETTY_FUNCTION__ = "ast_channel_bridge" #5 0x001e4a8d in ast_bridge_call (chan=0xb7255b28, peer=0x9efe530, config=0x1288310) at res_features.c:1398 other = (struct ast_channel *) 0x9efeca8 f = (struct ast_frame *) 0x0 ---Type to continue, or q to quit--- who = (struct ast_channel *) 0x160a chan_featurecode = '\0' peer_featurecode = '\0' res = 134770893 diff = 19431208 hasfeatures = 0 hadfeatures = 0 aoh = (struct ast_option_header *) 0xb7255f4c backup_config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} bridge_cdr = (struct ast_cdr *) 0x8085f65 __PRETTY_FUNCTION__ = "ast_bridge_call" #6 0x00720345 in dial_exec_full (chan=0xb7255b28, data=0x128cf50, peerflags=0x1288d60, continue_exec=0x0) at app_dial.c:1651 config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = {tv_sec = 1190725531, tv_usec = 374608}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} number = 0xb766a99 "SIP_PEER_REMOVED-8216" end_time = 0 answer_time = 1190725531 res = 0 u = (struct ast_module_user *) 0xb703e80 rest = 0x0 cur = 0x0 outgoing = (struct dial_localuser *) 0x0 peer = (struct ast_channel *) 0x9efe530 to = 16109 numbusy = 0 numcongestion = 0 numnochan = 0 cause = 0 numsubst = "SIP_PEER_REMOVED-8240\000Ê9\236\000ôߪ\000àåª\000+\003\000\000X\214(\001ôߪ\000àåª\000eh¶\000\001\000\000\000è\206\026\bx\214(\001Q`\020\b\000\000\000\000üs\020\bØ\214(\001ãÊ\006\bÀÖò·'N¶\000Tîø\t\001\000\000\000è\206\026\b\000\000\000\000\230\214(\001\204w\020\b\033\000\000\000\005\000\000\000\t\000\000\000\031\000\000\000\b\000\000\000k\000\000\000\002\000\000\000\v\001\000\000\001\000\000\000ÀÇÿÿ\214Öe\tر\006\b1\000\000\000\227\aùFX%\206\n\000\000\000\000Tîø\t\200\000\000\000\000\000\000\000à\215(\001à­(\001\000\000\000\000"... cidname = '\0' privdb_val = 0 calldurationlimit = 0 timelimit = 0 play_warning = 0 warning_freq = 0 warning_sound = 0x0 end_sound = 0x0 start_sound = 0x0 dtmfcalled = 0x0 ---Type to continue, or q to quit--- dtmfcalling = 0x0 status = "ANSWER\000R\000GS", '\0' play_to_caller = 0 play_to_callee = 0 sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 start_time = 1190725527 privintro = "\230\206(\001\001i\236\000¼\206s D}\236\000ÿÿÿÿ\001", '\0' , "ý\000\000\000\000\000\000\000\000\000\000-À\032\000¤\201\000\000\001", '\0' , "ó\004\000\000\000\000\000\000\000\020\000\000\b\000\000\000\000\000\000\000\221\aùF\002\000\000\000\002\000\000\000\000\000\000\000\aÉÄF\000\000\000\000-À\032\000\000\000\000\000\f\207(\001á¦\236\000@øª\000\017\000\000\000ôߪ\000\017\000\000\000?-ª\000,\207(\001Æó\236\000¡x\236\000?-ª\000\017\000\000\000ôߪ\000\000\000\000\000\000\000\000\000±*ª\000±*ª\000ÿÿÿÿ\226\207(\001\000\000\000\000\002", '\0' ... privcid = "ôߪ\000\017\000\000\000?-ª\000\234\205(\001Æó\236\000ÐÑÔ\t?-ª\000\017\000\000\000ôߪ\000\000\000\000\000\000\000\000\000\f\206(\001¿$ \000?-ª\000\000\000\000\000\000\000\000\000¬\213(\001X\212(\001¿\205\025\b\033\000\000\000ÿÿÿÿ?-ª\000t\213(\001D\207(\001Æó\236\000ÐÑÔ\t?-ª\000\017\000\000\000ôߪ\000Ü-h\t\001", '\0' , "ôߪ\000\t\000\000\000\214Öe\t\030\206(\001\2160 \000ôߪ\000ö\000\000\000^\222 \000\215\213(\001\226\207(\001\002\000\000\000\000\000\000\000¤\206\236\000ÿÿÿÿ\001\000\000\000Q`\020\bü\035ª\000\003"... parse = 0x1287f60 "SIP" opermode = 0 args = {argc = 3, argv = 0x1288544, peers = 0x1287f60 "SIP", timeout = 0x12881e0 "20", options = 0x12881e3 "rM(setmoh|toda", url = 0x0} opts = {flags = 133120} opt_args = {0x0, 0x0, 0x0, 0x1ac02d "d", 0x81a4
, 0x12881e6 "setmoh|toda", 0x0, 0x0, 0x0} __PRETTY_FUNCTION__ = "dial_exec_full" #7 0x007205d2 in dial_exec (chan=0xb7255b28, data=0x128cf50) at app_dial.c:1705 peerflags = {flags = 0} #8 0x080c38ab in pbx_exec (c=0xb7255b28, app=0x9682dc8, data=0x128cf50) at pbx.c:532 res = 19434976 saved_c_appl = 0x0 saved_c_data = 0x0 #9 0x080c7349 in pbx_extension_helper (c=0xb7255b28, con=0x0, context=0xb7255d50 "customer-context", exten=0xb7255da0 "s", priority=50, label=0x0, callerid=0xb747f200 "DID_REMOVED", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0xa41e138 app = (struct ast_app *) 0x9682dc8 res = 8 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb7255d50 "customer-context"} passdata = "SIP/SIP_PEER_REMOVED-8204&SIP/SIP_PEER_REMOVED-8205&SIP/SIP_PEER_REMOVED-8140&SIP/SIP_PEER_REMOVED-8202&SIP/SIP_PEER_REMOVED-8213&SIP/SIP_PEER_REMOVED-8215&SIP/SIP_PEER_REMOVED-8214&SIP/SIP_PEER_REMOVED-8221&SIP/SIP_PEER_REMOVED-8207&SIP/SIP_PEER_REMOVED-8206&"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #10 0x080c8715 in ast_spawn_extension (c=0xb7255b28, context=0xb7255d50 "customer-context", exten=0xb7255da0 "s", priority=50, callerid=0xb747f200 "DID_REMOVED") at pbx.c:2288 No locals. ---Type to continue, or q to quit--- #11 0x080c8c03 in __ast_pbx_run (c=0xb7255b28) at pbx.c:2388 dst_exten = "ES-p1000-0914-2\000ôߪ\000\001\000\000\000@øª\000Xò(\001V¤\236\000@øª\000è\001\000\000PHON þ\001\000è\001\000\000`a|\f¤\206\236\000\000\000\000\000\000\000\000\000\210ò(\001¯]\020\b\001\000\000\000è\001\000\000áh¶\000\234ò(\001Q`\020\b\000\000\000\000H5æ´xøª\000@øª\000X\000\000\000@øª\000Q`\020\b\000\000\000\000üs\020\bð\227\025\bxøª\000Ú\227\025\b'N¶\000è\001\000\000\001\000\000\000\b\036\026\b\000\000\000\000Øò(\001\204w\020\bô!Ò\tè\001\000\000@øª\000`ìå\t\000\000\000\000( Ò\t"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #12 0x080c99c0 in pbx_thread (data=0xb7255b28) at pbx.c:2603 c = (struct ast_channel *) 0xb7255b28 #13 0x08107a61 in dummy_start (data=0xb7a9de88) at utils.c:775 _buffer = {__routine = 0x8069804 , __arg = 0x128fba0, __canceltype = 158875872, __prev = 0x0} ret = (void *) 0xaac6f4 a = {start_routine = 0x80c99a9 , data = 0xb7255b28, name = 0xb75c73c0 "pbx_thread", ' ' , "started at [ 2627] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0x9d22028 #14 0x00b633cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #15 0x00a4ec3e in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb)