(gdb) frame 0 #0 0x080847d6 in ast_waitfor_nandfds_complex (c=0xb5480d70, n=2, ms=0xb5481cf8) at channel.c:1921 1921 ast_clear_flag(winner, AST_FLAG_EXCEPTION); (gdb) print winner $1 = (struct ast_channel *) 0x4 (gdb) print *winner Cannot access memory at address 0x4 (gdb) #0 0x080847d6 in ast_waitfor_nandfds_complex (c=0xb5480d70, n=2, ms=0xb5481cf8) at channel.c:1921 1921 ast_clear_flag(winner, AST_FLAG_EXCEPTION); (gdb) bt full #0 0x080847d6 in ast_waitfor_nandfds_complex (c=0xb5480d70, n=2, ms=0xb5481cf8) at channel.c:1921 __p = 16 __x = 0 aed = (struct ast_epoll_data *) 0x893d200 start = {tv_sec = 1192747301, tv_usec = 950168} res = 1 i = 0 ev = {{events = 1, data = {ptr = 0x893d200, fd = 143905280, u32 = 143905280, u64 = 6605803606528}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}} } whentohangup = 0 diff = -1253569592 rms = 89998 now = -1253569592 winner = (struct ast_channel *) 0x4 __PRETTY_FUNCTION__ = "ast_waitfor_nandfds_complex" #1 0x08084955 in ast_waitfor_nandfds (c=0xb5480d70, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb5481cf8) at channel.c:1949 No locals. #2 0x0808499c in ast_waitfor_n (c=0xb5480d70, n=2, ms=0xb5481cf8) at channel.c:1955 No locals. #3 0xb6b2028b in wait_for_answer (in=0x841ca40, outgoing=0xb3885cd8, to=0xb5481cf8, peerflags=0xb5481d48, pa=0xb5481510, num_in=0xb5481ce0, result=0xb5481500) at app_dial.c:614 o = (struct chanlist *) 0x0 pos = 2 numlines = 1 winner = (struct ast_channel *) 0x841c500 watchers = {0x841ca40, 0xb380e578, 0x0 , 0xb71954e4, 0xb71954e4, 0x0, 0xb71954e4, 0xb5480e30, 0xb5480e0c, 0xb725dff4, 0xb5480e3c, 0xb5480e18, 0xb7196901, 0xb5480e3c, 0xb3886a99, 0xb3886bcb, 0x0, 0xb3886bcb, 0xb725dff4, 0xb6942fc2, 0xb71a0b61, 0x5f480f28, 0xb6b2d29c, 0xab227498, 0x5b1700, 0xb5480e68, 0x806c796, 0x2e, 0x841cc18, 0xb5480e3c, 0xfbad8001, 0xb3886a99, 0x0, 0x820a828, 0x820a828, 0x370, 0x0, 0xb3886a99, 0xb6b2d29c, 0xb380e578, 0xb3885cd8, 0xb5480e88, 0x80c67b0, 0x0, 0x0, 0x2, 0xb3886a5f, 0x81eec80, 0x0, 0xb5480ef8, 0x80c6a64, 0x81ee2b0, 0x81ee310, 0x2, 0x0, 0x0, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb725dc00, 0xb725da20, 0x0, 0xb725dff4, 0xb725da20, 0xb3885cd8, 0xb6b2d29c, 0x80c60b7, 0x816f9c0, 0x0, 0xb5480ef8, 0x80d55d1, 0x816f9c0, 0xb6b2d29c, 0xb5481168, 0x80c9997, 0x841ca40, 0x0, 0xb5480f30, 0x841cbc8, 0x841cc18, 0xffffffff, 0x0, 0x815543d, 0x2, 0xb3885cd8, 0xb5480f58, 0x810c0ac, 0x81ee304, 0x0 , 0xb71986a4, 0x0 , 0xb7197d44, 0x0, 0x0, 0x0, 0x0, 0x0, 0x50, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb725dff4, 0xb3800010, 0xb5481158, 0x807dd6e, 0xb389aeaa, 0xb387df72, 0x46, 0xb725dff4, 0x1, 0xb6b2a740, 0x0, 0xb387df68, 0x0, 0xb6b2a740, 0x1, 0x0, 0xb387df68, 0x0, 0xb387df68, 0xb7161cfb, 0x1, 0xb387df68, 0xb5481178, 0x807ddb1, 0xb300ae50, 0xb380e578, 0xb724a3c0, 0x0} num = {chan = 0x841ca40, busy = 0, congestion = 0, nochan = 0} prestart = 0 orig = 90000 peer = (struct ast_channel *) 0x0 ---Type to continue, or q to quit--- single = 1 epollo = (struct chanlist *) 0x0 __PRETTY_FUNCTION__ = "wait_for_answer" #4 0xb6b25295 in dial_exec_full (chan=0x841ca40, data=0xb5485f70, peerflags=0xb5481d48, continue_exec=0x0) at app_dial.c:1492 res = 0 rest = 0x0 cur = 0x0 outgoing = (struct chanlist *) 0xb3885cd8 peer = (struct ast_channel *) 0x841ca40 to = 89998 num = {chan = 0x841ca40, busy = 0, congestion = 0, nochan = 0} cause = 0 numsubst = "14156952220@66.28.147.100\000Hµ9z\v\bhÎ\026\b\000\000\000\000\b\034Hµ¯_\v\b°â\211³\001\000\000\000\001\000\000\000ÈËA\b@ÊA\b°â\211³h\034Hµ¤\206\031·\220A\036\b°â\211³9\034Hµ\036\035Hµ@ÊA\bP\034Hµê\034HµÅ\206\f\bCALLERID\000all\000\000\026·h323\0001415695RD\r\b\000\000\000\000°â\211³9\034Hµ\200Á}¶\000\000\000\0000\034Hµè\034Hµ¯D\r\b@ÊA\b \034Hµ\036\035Hµ\231\231\231\031\000\000\000\000ôß%·"... cidname = '\0' 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 = 0xb6b2ad9e "timeleft", end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} calldurationlimit = 3600 dtmfcalled = 0x0 dtmfcalling = 0x0 pa = {sentringing = 0, privdb_val = 0, privcid = '\0' , privintro = '\0' , status = "NOANSWER\000GS", '\0' } sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 start_time = 1192747299 parse = 0xb5481210 "SIP" opermode = 0 args = {argc = 3, argv = 0xb54814d4, peers = 0xb5481210 "SIP", timeout = 0xb548122e "90", options = 0xb5481231 "L(3600000", url = 0x0} opts = {flags = 512} opt_args = {0x0, 0x0, 0x0, 0xb5481233 "3600000", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} __PRETTY_FUNCTION__ = "dial_exec_full" #5 0xb6b270e3 in dial_exec (chan=0x841ca40, data=0xb5485f70) at app_dial.c:1846 peerflags = {flags = 0} #6 0x080c600b in pbx_exec (c=0x841ca40, app=0x81c5de8, data=0xb5485f70) at pbx.c:596 res = 138529344 u = (struct ast_module_user *) 0xb389e2b0 saved_c_appl = 0x0 saved_c_data = 0x0 #7 0x080c9619 in pbx_extension_helper (c=0x841ca40, con=0x0, context=0x841cbc8 "h323", exten=0x841cc18 "14156952220", priority=12, label=0x0, callerid=0xb38b2328 "2014532452", ---Type to continue, or q to quit--- action=E_SPAWN) at pbx.c:1906 e = (struct ast_exten *) 0x81ee810 app = (struct ast_app *) 0x81c5de8 res = 8 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x841cbc8 "h323"} passdata = "SIP/14156952220@66.28.147.100,90,L(3600000)", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #8 0x080ca92b in ast_spawn_extension (c=0x841ca40, context=0x841cbc8 "h323", exten=0x841cc18 "14156952220", priority=12, callerid=0xb38b2328 "2014532452") at pbx.c:2397 No locals. #9 0x080cae7d in __ast_pbx_run (c=0x841ca40) at pbx.c:2496 dst_exten = "\020\203HµL\203Hµ\000\000\000\000X\203Hµ\030\203Hµ\034\203Hµ\\\203Hµ", '\0' , "`\203HµtÁ\f\b\000\000\000\000\000\000\000\000ô/ë·0 ê·\000\000\000\0004\000 ¶8\000 ¶\020\000 ¶\f\203Hµ\000\000\000\000\020\203Hµ\024\203Hµ\000\000\000\000 \203Hµ\030\203HµHø%·D}\031·\020\000\000\000\000\000\000\000°s\031·\000\000\000\000\f\000\000\000ôß%·\f\000\000\000@ø%·\b\203HµV¤\031·@ø%·\f\000\000\000\000\000\000\000x\t\002\000\f\000\000\000\210\206Ø\bô/ë·\000\000\000\000\000\000\000\0008\203Hµ¹£\020\b\001\000"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #10 0x080cc163 in pbx_thread (data=0x841ca40) at pbx.c:2752 c = (struct ast_channel *) 0x841ca40 #11 0x0810b42f in dummy_start (data=0x841c4f8) at utils.c:807 _buffer = {__routine = 0x806ba7d , __arg = 0xb5488ba0, __canceltype = -1253538872, __prev = 0x0} ret = (void *) 0xb725c6f4 a = {start_routine = 0x80cc14c , data = 0x841ca40, name = 0x841c650 "pbx_thread", ' ' , "started at [ 2773] pbx.c ast_pbx_start()"} #12 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #13 0xb71fec3e in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb) ---------------------------------