0x0807c512 in __ast_pthread_mutex_lock (filename=0x813c433 "channel.c", lineno=2186, func=0x813e2b8 "__ast_read", mutex_name=0x813d2d3 "&chan->lock", t=0x97b3998) 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=0x97b3998) at /usr/src/asterisk-test/1.4.11/asterisk-1.4.11/include/asterisk/lock.h:304 #1 0x08082c69 in __ast_read (chan=0x97b3920, dropaudio=0) at channel.c:2186 #2 0x08084587 in ast_read (chan=0x97b3920) at channel.c:2549 #3 0x080de7dc in bridge_p2p_loop (c0=0xb77edf20, c1=0x97b3920, p0=0xb72f7f18, p1=0x95aeba0, timeoutms=-1, flags=0, fo=0x60b1fec, rc=0x60b1fe8, pvt0=0xb72f68e8, pvt1=0x94d1118) at rtp.c:3127 #4 0x080df684 in ast_rtp_bridge (c0=0xb77edf20, c1=0x97b3920, flags=0, fo=0x60b1fec, rc=0x60b1fe8, timeoutms=-1) at rtp.c:3343 #5 0x0808a27b in ast_channel_bridge (c0=0xb77edf20, c1=0x97b3920, config=0x60b2310, fo=0x60b1fec, rc=0x60b1fe8) at channel.c:4257 #6 0x001d3a8d in ast_bridge_call (chan=0xb77edf20, peer=0x97b3920, config=0x60b2310) at res_features.c:1398 #7 0x00266345 in dial_exec_full (chan=0xb77edf20, data=0x60b6f50, peerflags=0x60b2d60, continue_exec=0x0) at app_dial.c:1651 #8 0x002665d2 in dial_exec (chan=0xb77edf20, data=0x60b6f50) at app_dial.c:1705 #9 0x080c38ab in pbx_exec (c=0xb77edf20, app=0x9237628, data=0x60b6f50) at pbx.c:532 #10 0x080c7349 in pbx_extension_helper (c=0xb77edf20, con=0x0, context=0xb77ee148 "arss-newton-main", exten=0xb77ee198 "s", priority=101, label=0x0, callerid=0xb7770768 "561XXXXXXX", action=E_SPAWN) at pbx.c:1833 #11 0x080c8715 in ast_spawn_extension (c=0xb77edf20, context=0xb77ee148 "arss-newton-main", exten=0xb77ee198 "s", priority=101, callerid=0xb7770768 "561XXXXXXX") at pbx.c:2288 #12 0x080c8c03 in __ast_pbx_run (c=0xb77edf20) at pbx.c:2388 #13 0x080c99c0 in pbx_thread (data=0xb77edf20) at pbx.c:2603 #14 0x08107a61 in dummy_start (data=0xb77cca40) at utils.c:775 #15 0x00b633cc in start_thread () from /lib/tls/libpthread.so.0 #16 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=0x97b3998) 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=0x97b3920, 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=0x97b3920) at channel.c:2549 No locals. #3 0x080de7dc in bridge_p2p_loop (c0=0xb77edf20, c1=0x97b3920, p0=0xb72f7f18, p1=0x95aeba0, timeoutms=-1, flags=0, fo=0x60b1fec, rc=0x60b1fe8, pvt0=0xb72f68e8, pvt1=0x94d1118) at rtp.c:3127 fr = (struct ast_frame *) 0xb72f7f1c who = (struct ast_channel *) 0x97b3920 other = (struct ast_channel *) 0x97b3920 cs = {0xb77edf20, 0x97b3920, 0x97b3920} p0_fds = {-1, -1} p1_fds = {-1, -1} p0_iod = {0x0, 0x0} p1_iod = {0x0, 0x0} p0_callback = 0 p1_callback = 0 res = AST_BRIDGE_FAILED __PRETTY_FUNCTION__ = "bridge_p2p_loop" #4 0x080df684 in ast_rtp_bridge (c0=0xb77edf20, c1=0x97b3920, flags=0, fo=0x60b1fec, rc=0x60b1fe8, timeoutms=-1) at rtp.c:3343 fmt0 = {visible = 1, bits = 4, name = 0x81447a0 "ulaw", desc = 0x81447a5 "G.711 u-law", fr_len = 80, min_ms = 10, max_ms = 150, inc_ms = 10, def_ms = 20, flags = 0, cur_ms = 20} fmt1 = {visible = 1, bits = 4, name = 0x81447a0 "ulaw", desc = 0x81447a5 "G.711 u-law", fr_len = 80, min_ms = 10, max_ms = 150, inc_ms = 10, def_ms = 20, flags = 0, cur_ms = 20} p0 = (struct ast_rtp *) 0xb72f7f18 p1 = (struct ast_rtp *) 0x95aeba0 vp0 = (struct ast_rtp *) 0x0 vp1 = (struct ast_rtp *) 0x0 pr0 = (struct ast_rtp_protocol *) 0x70d106c pr1 = (struct ast_rtp_protocol *) 0x70d106c audio_p0_res = AST_RTP_TRY_NATIVE video_p0_res = AST_RTP_GET_FAILED audio_p1_res = AST_RTP_TRY_PARTIAL video_p1_res = AST_RTP_GET_FAILED res = AST_BRIDGE_FAILED codec0 = 2318 codec1 = 4 pvt0 = (void *) 0xb72f68e8 pvt1 = (void *) 0x94d1118 __PRETTY_FUNCTION__ = "ast_rtp_bridge" #5 0x0808a27b in ast_channel_bridge (c0=0xb77edf20, c1=0x97b3920, config=0x60b2310, fo=0x60b1fec, rc=0x60b1fe8) at channel.c:4257 now = {tv_sec = 0, tv_usec = 0} to = -1 who = (struct ast_channel *) 0x0 res = AST_BRIDGE_COMPLETE nativefailed = 0 firstpass = 1 o0nativeformats = 4 o1nativeformats = 4 ---Type to continue, or q to quit--- time_left_ms = 0 nexteventts = {tv_sec = 0, tv_usec = 0} caller_warning = 0 '\0' callee_warning = 0 '\0' __PRETTY_FUNCTION__ = "ast_channel_bridge" #6 0x001d3a8d in ast_bridge_call (chan=0xb77edf20, peer=0x97b3920, config=0x60b2310) at res_features.c:1398 other = (struct ast_channel *) 0x9559f10 f = (struct ast_frame *) 0x0 who = (struct ast_channel *) 0x0 chan_featurecode = '\0' peer_featurecode = '\0' res = 0 diff = -1 hasfeatures = 0 hadfeatures = 0 aoh = (struct ast_option_header *) 0x813d2d3 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 *) 0x1 __PRETTY_FUNCTION__ = "ast_bridge_call" #7 0x00266345 in dial_exec_full (chan=0xb77edf20, data=0x60b6f50, peerflags=0x60b2d60, continue_exec=0x0) at app_dial.c:1651 config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = { tv_sec = 1191513496, tv_usec = 381617}, 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 = 0x9aa89e1 "ARSS-p1119-0823" end_time = 0 answer_time = 1191513496 res = 0 u = (struct ast_module_user *) 0x963d080 rest = 0x0 cur = 0x0 outgoing = (struct dial_localuser *) 0x0 peer = (struct ast_channel *) 0x97b3920 to = 67089 numbusy = 0 numcongestion = 0 numnochan = 2 cause = 0 numsubst = "ARSS-p1119-0844\000'\236\0000?\000c\002\000\000X,\v\0060?\000eh¶\000\001\000\000\000?06\026\bx,\v\006Q`\020\b\000\000\000\000\b?\v\006?006\b2260004§m\t\001\000\000\000?06\026\b\000\000\000\000\230,\v\006\204w\020\b\r\000\000\000:\000\000\000\v\000\000\000\004\000\000\000\t\000\000\000k\000\000\000\004\000\000\000\024\001\000\000\001\000\000\0001!\t?\006\b\236\000\000\000\225\r\005G &f\t\000\000\000\0004§m\t\200\000\000\000\000\000\000\000?v\006?v\006\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 dtmfcalling = 0x0 status = "ANSWER\000R\000GS", '\0' play_to_caller = 0 play_to_callee = 0 ---Type to continue, or q to quit--- sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 start_time = 1191513493 privintro = "\000\000\000\000\004\000\000\000\000\000s D}\236\00001", '\0' , "000\000\000\000\000\000\000\000\000-032\000¤\201\000\000\001", '\0' , "000\000\000\000\000\000\000\020\000\000\b\000\000\000\000\000\000\000\223\r\005G\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'\v\006?236\000@\017\000\000\0000\017\000\000\000?-ª\000,'\v\006?\236\000¡x\236\000?-ª\000\017\000\000\0000\000\000\000\000\000\000\000\000±*ª\000±*ª\00026'\v\006\000\000\000\000\002", '\0' ... privcid = "0\017\000\000\000?-ª\000\234%\v\006?\236\000\030?230\n?-ª\000\017\000\000\0000\000\000\000\000\000\000\000\000\f&\v\006¿$ \000?-ª\000\000\000\000\000\000\000\000\000¬+\v\006X*\v\006¿\205\025\b\033\000\000\000ª\000t+\v\006D'\v\006?05\231\n0620'\v\006Hn, "?\213\0000\v\000\000\000|\031!\t\030&\v\006\2160 \0000¨'\v\006^\222 \000\215+\v\006\226'\v\006\002\000\000\000\000\000\000\000¤\206\236\00000\000\000"... parse = 0x60b2030 "SIP" opermode = 0 args = {argc = 3, argv = 0x60b2544, peers = 0x60b2030 "SIP", timeout = 0x60b21fc "70", options = 0x60b21ff "r", url = 0x0} opts = {flags = 131072} opt_args = {0x0, 0x0, 0x0, 0x1ac02d "d", 0x81a4
, 0x1 "", 0x0, 0x0, 0x0} __PRETTY_FUNCTION__ = "dial_exec_full" #8 0x002665d2 in dial_exec (chan=0xb77edf20, data=0x60b6f50) at app_dial.c:1705 peerflags = {flags = 0} #9 0x080c38ab in pbx_exec (c=0xb77edf20, app=0x9237628, data=0x60b6f50) at pbx.c:532 res = 101395936 saved_c_appl = 0x0 saved_c_data = 0x0 #10 0x080c7349 in pbx_extension_helper (c=0xb77edf20, con=0x0, context=0xb77ee148 "arss-newton-main", exten=0xb77ee198 "s", priority=101, label=0x0, callerid=0xb7770768 "561XXXXXXX", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0xb5ab8a50 app = (struct ast_app *) 0x9237628 res = 8 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb77ee148 "arss-newton-main"} passdata = "SIP/ARSS-p1119-0822&SIP/ARSS-p1119-0823&SIP/ARSS-p1119-0824&SIP/ARSS-p1119-0825&SIP/ARSS-p1119-0826&SIP/ARSS-p1119-0827&SIP/ARSS-p1119-0828&SIP/ARSS-p1119-0829&SIP/ARSS-p1119-0830&SIP/ARSS-p1119-0831&"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #11 0x080c8715 in ast_spawn_extension (c=0xb77edf20, context=0xb77ee148 "arss-newton-main", exten=0xb77ee198 "s", priority=101, callerid=0xb7770768 "561XXXXXXX") at pbx.c:2288 No locals. #12 0x080c8c03 in __ast_pbx_run (c=0xb77edf20) at pbx.c:2388 dst_exten = "\000\000\000\000\000\000\000\000H\223\v\006?|\0000\001\000\000\000@X\222\v\006V¤\236\000@?01\000\0004\000}\000 f\000\000?01\000\000`\0316\v¤\206\236\000\000\000\000\000\000\000\000\000\210\222\v\006¯]\020\b\001\000\000\000?01\000\000?\000\234\222\v\006Q`\020\b\000\000\000\000P¾9´eh¶\000\001\000\000\000\b\036\026\b¸\222\v\006Q`\020\b\000\000\000\000\b025\b\226\000\000\000?227\025\b'N¶\000?01\000\000\001\000\000\000\b\036\026\b\000\000\000\000?222\v\006\204w\020\b$\0216\v?01\000\000\f\000\000\000\210\215w\t\000\000\000\000X\0176\v"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 ---Type to continue, or q to quit--- __PRETTY_FUNCTION__ = "__ast_pbx_run" #13 0x080c99c0 in pbx_thread (data=0xb77edf20) at pbx.c:2603 c = (struct ast_channel *) 0xb77edf20 #14 0x08107a61 in dummy_start (data=0xb77cca40) at utils.c:775 _buffer = {__routine = 0x8069804 , __arg = 0x60b9ba0, __canceltype = 159011232, __prev = 0x0} ret = (void *) 0xaac6f4 a = {start_routine = 0x80c99a9 , data = 0xb77edf20, name = 0xb67439a0 "pbx_thread", ' ' , "started at [ 2627] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0xb360f58 #15 0x00b633cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #16 0x00a4ec3e in clone () from /lib/tls/libc.so.6 No symbol table info available.