#0 0x0807da7e in __ast_pthread_mutex_lock (filename=0x813f9b3 "channel.c", lineno=2190, func=0x8141840 "__ast_read", mutex_name=0x8140853 "&chan->lock", t=0xaaa6e50) at /usr/src/asterisk-test/1.4.12/asterisk-1.4.12/include/asterisk/lock.h:310 310 t->thread[t->reentrancy] = pthread_self(); ---- (gdb) bt #0 0x0807da7e in __ast_pthread_mutex_lock (filename=0x813f9b3 "channel.c", lineno=2190, func=0x8141840 "__ast_read", mutex_name=0x8140853 "&chan->lock", t=0xaaa6e50) at /usr/src/asterisk-test/1.4.12/asterisk-1.4.12/include/asterisk/lock.h:310 #1 0x080842c6 in __ast_read (chan=0xaaa6dd8, dropaudio=0) at channel.c:2190 #2 0x08085be4 in ast_read (chan=0xaaa6dd8) at channel.c:2553 #3 0x0808aca5 in ast_generic_bridge (c0=0xb5a46d50, c1=0xaaa6dd8, config=0x18e8310, fo=0x18e818c, rc=0x18e8188, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:4040 #4 0x0808be2a in ast_channel_bridge (c0=0xb5a46d50, c1=0xaaa6dd8, config=0x18e8310, fo=0x18e818c, rc=0x18e8188) at channel.c:4348 #5 0x00b89cbb in ast_bridge_call (chan=0xb5a46d50, peer=0xaaa6dd8, config=0x18e8310) at res_features.c:1404 #6 0x0032c3d1 in dial_exec_full (chan=0xb5a46d50, data=0x18ecf50, peerflags=0x18e8d60, continue_exec=0x0) at app_dial.c:1656 #7 0x0032c65e in dial_exec (chan=0xb5a46d50, data=0x18ecf50) at app_dial.c:1710 #8 0x080c57a3 in pbx_exec (c=0xb5a46d50, app=0x996c268, data=0x18ecf50) at pbx.c:532 #9 0x080c9249 in pbx_extension_helper (c=0xb5a46d50, con=0x0, context=0xb5a46f78 "pstn-in", exten=0xb5a46fc8 "4134384130", priority=4, label=0x0, callerid=0xb5abbaa0 "8608035306", action=E_SPAWN) at pbx.c:1833 #10 0x080ca615 in ast_spawn_extension (c=0xb5a46d50, context=0xb5a46f78 "pstn-in", exten=0xb5a46fc8 "413XXXXXXX", priority=4, callerid=0xb5abbaa0 "8608035306") at pbx.c:2288 #11 0x080cab03 in __ast_pbx_run (c=0xb5a46d50) at pbx.c:2388 #12 0x080cb8c0 in pbx_thread (data=0xb5a46d50) at pbx.c:2603 #13 0x0810a819 in dummy_start (data=0xb5910028) at utils.c:793 #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 0x0807da7e in __ast_pthread_mutex_lock (filename=0x813f9b3 "channel.c", lineno=2190, func=0x8141840 "__ast_read", mutex_name=0x8140853 "&chan->lock", t=0xaaa6e50) at /usr/src/asterisk-test/1.4.12/asterisk-1.4.12/include/asterisk/lock.h:310 res = 0 canlog = -1 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock" #1 0x080842c6 in __ast_read (chan=0xaaa6dd8, dropaudio=0) at channel.c:2190 f = (struct ast_frame *) 0x0 blah = 0 prestate = 2 __PRETTY_FUNCTION__ = "__ast_read" #2 0x08085be4 in ast_read (chan=0xaaa6dd8) at channel.c:2553 No locals. #3 0x0808aca5 in ast_generic_bridge (c0=0xb5a46d50, c1=0xaaa6dd8, config=0x18e8310, fo=0x18e818c, rc=0x18e8188, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:4040 who = (struct ast_channel *) 0xaaa6dd8 other = (struct ast_channel *) 0xaaa6dd8 cs = {0xb5a46d50, 0xaaa6dd8, 0xaaa6dd8} f = (struct ast_frame *) 0xa970ee4 res = AST_BRIDGE_COMPLETE o0nativeformats = 4 o1nativeformats = 256 watch_c0_dtmf = 0 watch_c1_dtmf = 0 pvt0 = (void *) 0xb5930468 pvt1 = (void *) 0xaa445f8 frame_put_in_jb = 0 jb_in_use = 0 to = -1 __PRETTY_FUNCTION__ = "ast_generic_bridge" #4 0x0808be2a in ast_channel_bridge (c0=0xb5a46d50, c1=0xaaa6dd8, config=0x18e8310, fo=0x18e818c, rc=0x18e8188) at channel.c:4348 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 0x00b89cbb in ast_bridge_call (chan=0xb5a46d50, peer=0xaaa6dd8, config=0x18e8310) at res_features.c:1404 other = (struct ast_channel *) 0xa4c06d0 f = (struct ast_frame *) 0x0 who = (struct ast_channel *) 0x160a chan_featurecode = '\0' peer_featurecode = '\0' res = 134776945 diff = 26116504 hasfeatures = 0 hadfeatures = 0 aoh = (struct ast_option_header *) 0xb5a47174 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 *) 0x8087709 __PRETTY_FUNCTION__ = "ast_bridge_call" #6 0x0032c3d1 in dial_exec_full (chan=0xb5a46d50, data=0x18ecf50, peerflags=0x18e8d60, continue_exec=0x0) at app_dial.c:1656 config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = { tv_sec = 1191427191, tv_usec = 192621}, 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 = 0x9ee53b1 "AFFM-p4130" end_time = 0 answer_time = 1191427191 res = 0 u = (struct ast_module_user *) 0x9e38a78 rest = 0x0 cur = 0x0 outgoing = (struct dial_localuser *) 0x0 peer = (struct ast_channel *) 0xaaa6dd8 to = 12454 numbusy = 0 numcongestion = 0 numnochan = 1 cause = 3 numsubst = "AFFM-p4130-1\000\000\000\000'\236\0000?\000´\000\000\000X\214\216\0010?\000eh¶\000\001\000\000\000?026\bx\214\216\0011\216\020\b\000\000\000\000?020\b?214\216\001¿?006\b&000\214£1\000\000\000?026\b\000\000\000\000\230\214\216\001\b¥\020\b&\000\000\000;\000\000\000\v\000\000\000\003\000\000\000\t\000\000\000k\000\000\000\003\000\000\000\023\001\000\000\001", '\0' , "´±\006\bh\000\000\000j¼\003G?033?\000\000\000\000\214£0\000\000\000\000\000\000\000?15\216\001?216\001\000\000\000\000\210"... 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 sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 start_time = 1191427178 privintro = "\000\000\000\000\000\000\000\000¼\206s 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\000Z¼\003G\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\216\001?236\000@\017\000\000\0000\017\000\000\000?-ª\000,\207\216\001?\236\000\000R?t?-ª\000\017\000\000\000'\0' , "26\207\216\001\000\000\000\000\002", '\0' , "\217\213\216"... privcid = "0\017\000\000\000?-ª\000\234\205\216\001?\236\000\000R?t?-ª\000\017\000\000\0000\000\000\000\000\000\000\000\000\f\206\216\001¿$ \000?-ª\000\000\000\000\000\000\000\000\000¬\213\216\001X\212\216\001_¬\025\b\033\000\000\000ª\000t\213\216\001D\207\216\001?05\216\001235\000\000\000\000\000\000\000\000\000\024!\000|?226\t\001\000\000\000T\212\v\b?\024\b\000\000\000\000\000\000\000\000?\024\b0\v\000\000\000\000\000\000\000\030\206\216\001\2160 \0000¨\207\216\001^\222 \000\215\213\216\001\226\207\216\001\002\000\000\000\000\000\000\000¤\206\236\000S\000\000\000"... parse = 0x18e81d0 "SIP" opermode = 0 args = {argc = 3, argv = 0x18e8544, peers = 0x18e81d0 "SIP", timeout = 0x18e81f0 "25", options = 0x18e81f3 "r", url = 0x0} opts = {flags = 131072} opt_args = {0x0, 0x0, 0x0, 0x1ac02d "\213E\b\211\0201205?\006\203G024[]Ü215\203]}020j\001", 0x81a4
, 0x1 "", 0x0, 0x0, 0x0} __PRETTY_FUNCTION__ = "dial_exec_full" #7 0x0032c65e in dial_exec (chan=0xb5a46d50, data=0x18ecf50) at app_dial.c:1710 peerflags = {flags = 0} #8 0x080c57a3 in pbx_exec (c=0xb5a46d50, app=0x996c268, data=0x18ecf50) at pbx.c:532 res = 26119648 saved_c_appl = 0x0 saved_c_data = 0x0 #9 0x080c9249 in pbx_extension_helper (c=0xb5a46d50, con=0x0, context=0xb5a46f78 "pstn-in", exten=0xb5a46fc8 "413XXXXXXX", priority=4, label=0x0, callerid=0xb5abbaa0 "8608035306", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0xb40f96d0 app = (struct ast_app *) 0x996c268 res = 8 q = {incstack = {0xb38ff25c "pstn-in", 0x0 }, stacklen = 1, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb38ff2f6 "local-ten"} passdata = "SIP/AFFM-p4130&SIP/AFFM-p4130-1|25|r", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #10 0x080ca615 in ast_spawn_extension (c=0xb5a46d50, context=0xb5a46f78 "pstn-in", exten=0xb5a46fc8 "413XXXXXXX", priority=4, callerid=0xb5abbaa0 "8608035306") at pbx.c:2288 No locals. #11 0x080cab03 in __ast_pbx_run (c=0xb5a46d50) at pbx.c:2388 dst_exten = "ES-p10000P\a\n4\000\224\0000\001\000\000\000@X001V¤\236\000@(\002\000\000 0018\006\002\000(\002\000\000?.\v¤\206\236\000\000\000\000\000\000\000\000\000\210001\217\213\020\b\001\000\000\000(\002\000\000?\000\2340011\216\020\b\000\000\000\000@eh¶\000\001\000\000\000\bS\026\b¸0011\216\020\b\000\000\000\000?020\b\220¾\025\b\226\000\000\000z¾\025\b'N¶\000(\002\000\000\001\000\000\000\bS\026\b\000\000\000\000?\216\001\b¥\020\bDR\a\n(\002\000\000\f\000\000\000hU\t\000\000\000\0008P\a\n"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #12 0x080cb8c0 in pbx_thread (data=0xb5a46d50) at pbx.c:2603 c = (struct ast_channel *) 0xb5a46d50 #13 0x0810a819 in dummy_start (data=0xb5910028) at utils.c:793 _buffer = {__routine = 0x80697c4 , __arg = 0x18efba0, __canceltype = 165415792, __prev = 0x0} ret = (void *) 0xaac6f4 a = {start_routine = 0x80cb8a9 , data = 0xb5a46d50, name = 0xb59ea578 "pbx_thread", ' ' , "started at [ 2627] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0xa075038 #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.