[New LWP 12636] [New LWP 30408] [New LWP 30440] [New LWP 12637] [New LWP 12642] [New LWP 12638] [New LWP 30405] [New LWP 12639] [New LWP 12640] [New LWP 30407] [New LWP 12641] [New LWP 30409] [New LWP 12643] [New LWP 30410] [New LWP 30414] [New LWP 30403] [New LWP 30406] [New LWP 30416] [New LWP 30417] [New LWP 30412] [New LWP 30418] [New LWP 30413] [New LWP 30427] [New LWP 30415] [New LWP 30428] [New LWP 30424] [New LWP 30429] [New LWP 30425] [New LWP 30432] [New LWP 30426] [New LWP 30434] [New LWP 30430] [New LWP 30435] [New LWP 30431] [New LWP 30436] [New LWP 30433] [New LWP 30437] [New LWP 30438] [New LWP 30439] [New LWP 3042] [New LWP 30441] [New LWP 11052] [New LWP 11619] [New LWP 12635] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/asterisk -f -p -g -U asterisk -vvvg -c'. Program terminated with signal SIGSEGV, Segmentation fault. #0 rtp_payload_type_find_format (obj=0x0, arg=0x7f8c61f67fa0, flags=32) at rtp_engine.c:731 #0 rtp_payload_type_find_format (obj=0x0, arg=0x7f8c61f67fa0, flags=32) at rtp_engine.c:731 type = 0x0 format = 0x7f8c61f67fa0 #1 0x00007f8ca8af2a75 in internal_ao2_callback (c=0x0, flags=OBJ_NOLOCK, cb_fn=0x7f8ca8bcaaf0 , arg=0x9f, data=data@entry=0x0, type=(WITH_DATA | unknown: 2775626018), type@entry=DEFAULT, tag=0x0, file=0x0, line=0, func=0x0) at astobj2.c:1107 match = -1464030480 ret = 0x0 __PRETTY_FUNCTION__ = "internal_ao2_callback" #2 0x00007f8ca8af32d7 in __ao2_callback (c=, flags=flags@entry=OBJ_NOLOCK, cb_fn=, arg=) at astobj2.c:1212 No locals. #3 0x00007f8ca8bcc5d8 in ast_rtp_codecs_payload_code (codecs=, asterisk_format=1, format=0x7f8c61f67fa0, code=0) at rtp_engine.c:751 type = i = res = -1 __PRETTY_FUNCTION__ = "ast_rtp_codecs_payload_code" #4 0x00007f8c6654d950 in add_codec_to_sdp (format=0x7f8c61f67fa0, m_buf=0x9f, m_buf@entry=0x7f8c61f67ac8, a_buf=0x7f8c61f67ae8, debug=-1519341277, debug@entry=0, min_packet_size=0x7f8c61f67ac4, p=, p=) at chan_sip.c:12648 rtp_code = 1643547136 fmt = {format = {id = 2866200832, fattr = {format_attr = {32652, 2830053148, 32652, 1643540432, 32652, 0, 0, 2830575392, 32652, 0, 0, 0, 0, 2866200832, 32652, 0, 0, 0, 0, 110, 0, 2417737680, 0, 2866202576, 32652, 110, 109, 0, 0, 0, 0, 2831245594, 32652, 1879193680, 32652, 1643544752, 32652, 1879166920, 32652, 0, 0, 1879167600, 32652, 1879167200, 32652, 2830054103, 32652, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2830576172, 32652, 100008, 0, 0, 0, 1879379296}, rtp_marker_bit = 140 '\214'}}, name = "\000q)\205#$\335\003(\000\000\000\060\000\000\000\003\000\000\000\000\000\000\000\310\317\001p\214\177\000\000\b", '\000' , "p\322\001p\214\177\000\000\340\320\001p\214\177\000", samplespersecond = 2830053148, desc = "\214\177\000\000P&\002p\214\177\000\000\034/\257\250\214\177\000\000\240\177\366a\214\177\000\000\000\000\000\000\000\000\000\000\220a\267\250\214\177", '\000' , "P&\002p\214\177", '\000' , "n\000\000\000\000\000\000\000n\000\000\000\000\000\000\000 -\002p\214\177\000\000n\000\000\000m", '\000' , fr_len = 0, min_ms = 1643544480, max_ms = 32652, inc_ms = 1879064052, def_ms = 32652, flags = 1643547136, cur_ms = 32652, custom_entry = 1643544480} mime = 0x7f8c70003dd4 "\201\203\061" rate = 2775626019 #5 0x00007f8c6655c51e in add_sdp (resp=resp@entry=0x7f8c61f68a30, p=p@entry=0x7f8c70003b38, oldsdp=oldsdp@entry=0, add_audio=add_audio@entry=1, add_t38=add_t38@entry=0) at chan_sip.c:13192 pref = {id = AST_FORMAT_G729A, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}} alreadysent = 0x7f8c70001160 tmpcap = 0x7f8c70017120 res = 0 doing_directmedia = 0 addr = {ss = {ss_family = 2, __ss_align = 0, __ss_padding = '\000' }, len = 16} vaddr = {ss = {ss_family = 0, __ss_align = 0, __ss_padding = '\000' }, len = 0} taddr = {ss = {ss_family = 0, __ss_align = 0, __ss_padding = '\000' }, len = 0} udptladdr = {ss = {ss_family = 0, __ss_align = 0, __ss_padding = '\000' }, len = 0} dest = {ss = {ss_family = 2, __ss_align = 0, __ss_padding = '\000' }, len = 16} vdest = {ss = {ss_family = 0, __ss_align = 0, __ss_padding = '\000' }, len = 0} tdest = {ss = {ss_family = 0, __ss_align = 0, __ss_padding = '\000' }, len = 0} udptldest = {ss = {ss_family = 0, __ss_align = 0, __ss_padding = '\000' }, len = 0} offer = version = 0x7f8c665bf3a5 "v=0\r\n" subject = "s=Asterisk PBX 11.13.1~dfsg-2+b1\r\n\000\250\214\177", '\000' , "\001\000\000\000\377\377\377\377\377\377\377\377\017\000\000\000\214\177\000\000(\000\000\000\060\000\000\000\372)R\250\214\177\000\000\220\202\366a\214\177\000\000b\355[f\214\177\000\000\060\212\366\000\000\000\000\000\034\000\000\000\214\177\000\000j\355[f\214\177\000\000\000\000\000\000\000\000\000\000\300\206\177f\214\177\000\000\n\000\000\000\000\000\000\000\035\373[f\214\177\000\000\267N\300\250\214\177\000\000\030\000\000\000\060\000\000\000P\203\366a\214\177\000\000\220\202\366a\214\177\000\000"... owner = "o=root 1669027794 1669027794 IN IP4 10.12.4.4\r\n\000|\000\000\000\214\177\000\000 UUf\214\177\000\000\000\000\000\000\000\000\000\000\070;\000p\214\177\000\000\060\212\366a\214\177\000\000\300\206\366a\214\177\000\000\060\212\366a\214\177\000\000\202\061쨌\177\000\000\300\205\366a\214\177\000\000 UUf\214\177\000\000\067\060\000\000\000\000\000\000 UUf\214\177\000\000\000\212\366a\214\177\000\000\070;\000p\214\177\000\000\000\212\366a\214\177\000\000\350<\000p\214\177\000\000\060\212\366a\214\177\000\000\n\000\000\000\000\000\000\000X;\000p\214\177\000\000\257\204"... connection = "c=IN IP4 10.12.4.4\r\n\000dp\000h\205\000p\214\177\000\000h\205\000p\214\177\000\000\003\000\000\000\000\000\000\000\370\317\027\023\000\000\000\000\005", '\000' , "\364M\300\250\214\177\000\000\030\000\000\000\060\000\000\000\360\204\366a\214\177\000\000\060\204\366a\214\177\000\000\000q)\205#$\335\003_\215\366\000\000\000\000\000\200\204\366a\214\177\000\000\340+\000p\214\177\000\000\260\205\366a\214\177\000\000\220\205\366a\214\177\000\000\372)R\250\214\177\000\000\001\000\000\000\000\000\000\000O\000\000\000\000\000\000\000\340+\000p\214\177\000\000\265\255\\\250\214\177\000\000\001\200\255\373\062.4."... session_time = 0x7f8c665bf39d "t=0 0\r\n" bandwidth = '\000' hold = 0x7f8c665bf19f "a=sendrecv\r\n" m_audio = 0x7f8c61f678f0 m_video = 0x7f8c61f677c0 m_text = 0x7f8c61f67690 m_modem = 0x7f8c61f67560 a_audio = 0x7f8c700033e0 a_video = 0x7f8c70003500 a_text = 0x7f8c7001ce50 a_modem = 0x7f8c61f67130 a_crypto = 0x0 v_a_crypto = 0x0 t_a_crypto = 0x0 x = 0 tmp_fmt = {id = AST_FORMAT_G729A, fattr = {format_attr = {0 }, rtp_marker_bit = 0 '\000'}} needaudio = 1 needvideo = 0 needtext = 0 min_audio_packet_size = 0 min_video_packet_size = 0 min_text_packet_size = 0 codecbuf = '\000' , ".4.4\004\000\000\000g=as48b8\000\000\061f\000\177\000\000\000\000\000\000\000\000\000\000\224\004\000\000\214\177\000\000\261\307\301\250\214\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\211\001\000\000\000\000\000\000\377\377\377\377\214\177\000\000\360\206\366a\214\177\000\000\001\200\255\373\000\000\000\000`\224\207\250\214\177\000\000\000\000\000\000\000\000\000\000\357\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000\060\000\000\000\t\000\000\000\240\210\366a\214\177\000\000\300\206\366a\214\177\000\000\000\203\207\250\214\177\000\000"... buf = "0\212\366a\214\177\000\000\005\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000'첨\214\177\000\000\070;\000p\214\177\000\000\baUf\214\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\004\071\253\214\177", '\000' , "\026SU", '\000' , "X\224\366a\214\177\000\000\360\210\366a\214\177\000\000\274C\277\250\214\177\000\000w\327[f\214\177\000\000\235\247\273\250\214\177\000\000\220\210\366a\214\177", '\000' , "_\001p\214\177\000\000\020\300"... __PRETTY_FUNCTION__ = "add_sdp" #6 0x00007f8c665708bd in transmit_invite (p=0x7f8c70003b38, sipmethod=5, sdp=1, init=2, explicit_uri=) at chan_sip.c:14112 req = {rlpart1 = 0, rlpart2 = 0, headers = 12, method = 5, lines = 0, sdp_start = 0, sdp_count = 0, debug = 0 '\000', has_to_tag = 0 '\000', ignore = 0 '\000', authenticated = 0 '\000', header = {0, 120, 138, 198, 253, 294, 352, 370, 414, 451, 543, 571, 0 }, line = {0 }, data = 0x7f8c700205f0, content = 0x7f8c70021610, socket = {type = (unknown: 0), fd = 0, port = 0, tcptls_session = 0x0, ws_session = 0x0}, next = {next = 0x0}, reqsipoptions = 0} var = __PRETTY_FUNCTION__ = "transmit_invite" #7 0x00007f8c665715f6 in sip_call (ast=0x7f8c70015888, dest=0x7f8c61f67fa0 "\250\206\001", timeout=32) at chan_sip.c:6260 xmitres = -1464030480 connected = {id = {name = {str = 0x7f8c700130de "Edurne Rojas Ayala", char_set = 1, presentation = 0, valid = 1 '\001'}, number = {str = 0x7f8c700130d8 "652", plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x7f8ca8ec3182 <__ast_string_field_empty_buffer+2> ""}, ani = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani2 = 0, source = 1} update_connected = {id = {name = 1 '\001', number = 1 '\001', subaddress = 0 '\000'}, ani = {name = 0 '\000', number = 0 '\000', subaddress = 0 '\000'}, priv = {name = 1 '\001', number = 1 '\001', subaddress = 1 '\001'}} res = 0 p = 0x7f8c70003b38 headp = 0x7f8ca8bcaaf0 current = 0x7f8c61f69550 referer = 0x0 cc_core_id = -1 uri = '\000' __PRETTY_FUNCTION__ = "sip_call" #8 0x00007f8ca8b1957d in ast_call (chan=0x7f8c70015888, addr=0x7f8c7001e488 "100000102652", timeout=timeout@entry=0) at channel.c:6037 res = -1 __PRETTY_FUNCTION__ = "ast_call" #9 0x00007f8c630c924b in dial_exec_full (chan=0x7f8c98015f98, data=, peerflags=peerflags@entry=0x7f8c61f6a620, continue_exec=continue_exec@entry=0x0) at app_dial.c:2598 __list_head = 0x7f8c61f69ac0 __list_next = 0x0 __list_prev = 0x0 __list_current = 0x7f8c7001e360 res = rest = 0x0 cur = out_chans = {first = 0x7f8c7001e360, last = 0x7f8c7001e360} outgoing = tmp = 0x7f8c7001e360 peer = to = 0 num = {chan = 0x7f8c98015f98, busy = 0, congestion = 0, nochan = 0} cause = 0 config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, nexteventts = {tv_sec = 0, tv_usec = 0}, feature_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, flags = 0, end_bridge_callback = 0x0, end_bridge_callback_data = 0x0, end_bridge_callback_data_fixup = 0x0} calldurationlimit = {tv_sec = 0, tv_usec = 0} dtmfcalled = 0x0 dtmfcalling = 0x0 dtmf_progress = 0x0 pa = {sentringing = 0, privdb_val = 0, privcid = '\000' , privintro = '\000' , status = "INVALIDARGS", '\000' } sentringing = 0 moh = 0 outbound_group = 0x0 result = 0 parse = opermode = 0 delprivintro = 0 args = {argc = 3, argv = 0x7f8c61f69b18, peers = 0x7f8c61f699d0 "SIP", timeout = 0x7f8c61f699e1 "120", options = 0x7f8c61f699e5 "tTr", url = 0x0} opts = {flags = 1703936} opt_args = {0x0, 0x100000000 , 0xffffffffffffffff , 0x100000007 , 0xffffffffffffffff , 0x7f8ca85229fa <_IO_vfprintf_internal+22490> "\200\275(\373\377\377", 0x7f8ca8c125c1 "", 0x7f8ca8c35aaa "%c%s", 0xf69da0 , 0x7f8c00000008 , 0x7f8ca8c35aae "", 0x7f8c00000008 , 0x7f8ca8c35aae "", 0x0, 0x0, 0x0, 0x0, 0xffffffff00000000 , 0x0} datastore = fulldial = num_dialed = ignore_cc = 1 device_name = "SIP/100000102652\000\255\000p\214\177\000\000\300\245\366a\214\177\000\000\264\245\366a\214\177\000\000 \244\366a\214\177\000\000\000\000\000\000\000\000\000\000п\033\220\214\177\000\000*\000Ĩ\214\177\000\000\n\372\260\250\214\177\000" forced_clid_name = "1431508624.4226\000\340\030Ĩ\214\177\000\000\203\371\260\250\214\177\000\000\350\351è\214\177\000\000\000q)\205#$\335\003(\000\000\000\060\000\000\000p\246\366a\214\177\000\000\200\245\366a\214\177\000\000\000q)\205#$\335\003" stored_clid_name = "\000\253\366a\214\177\000\000\230_\001\230\214\177\000\000\354\245\366a\214\177\000\000\360\245\366a\214\177\000\000\364\245\366a\214\177\000\000\070n\001\230\214\177\000\000\003\000\000\000\000\000\000\000 \000\000p\214\177\000\000P\032\003\000\000\000\000\000\020\000\000\000\000\000\000" force_forwards_only = forced_clid = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 1, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0} stored_clid = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x7f8c61f699b0 "POS08-652", plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0} caller = {id = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 1 '\001'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 1 '\001'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, priv = {name = {str = 0x0, char_set = 1, presentation = 0, valid = 0 '\000'}, number = {str = 0x0, plan = 0, presentation = 0, valid = 0 '\000'}, subaddress = {str = 0x0, type = 0, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0x0}, ani2 = 0} __PRETTY_FUNCTION__ = "dial_exec_full" #10 0x00007f8c630cbfe6 in dial_exec (chan=, data=) at app_dial.c:3130 peerflags = {flags = 0} #11 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c98015f98, app=0x7f8caba20800, data=0x7f8c61f6abc0 "SIP/100000102652,120,tTr") at pbx.c:1622 res = 1643555776 u = 0x7f8c70000f30 __PRETTY_FUNCTION__ = "pbx_exec" #12 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c98015f98, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=9, label=label@entry=0x0, callerid=0x7f8c98023f10 "976101332", action=E_SPAWN, found=0x7f8c61f6ed24, combined_find_spawn=1) at pbx.c:4915 e = app = 0x7f8caba20800 substitute = res = q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f8c98016de8 "macro-calldevices"} passdata = "SIP/100000102652,120,tTr\000: 652 - ARG2: 000001 - ARG3: 120 - ARG4: - ARG5: 0 \000\000\000$\nĨ\214\177\000\000\000\000\000\000\000\000\000\000p\255\366a\214\177", '\000' , "@\255\366a\214\177\000\000\030\000\000\000\060\000\000\000\240\263\366a\214\177\000\000\340\262\366a\214\177", '\000' ... matching_action = __PRETTY_FUNCTION__ = "pbx_extension_helper" #13 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c98015f98, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=9, callerid=callerid@entry=0x7f8c98023f10 "976101332", found=found@entry=0x7f8c61f6ed24, combined_find_spawn=1) at pbx.c:6037 No locals. #14 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 c = e = foundx = 1 s = tmp = 0x7f8c61f6ec50 "calldevices" cur = rest = macro = 0x7f8c61f6ec50 "calldevices" fullmacro = "macro-calldevices\000\255\373\000\000\000\000\070\253\000p\214\177\000\000\070\253\000p\214\177\000\000\070\253\000p\214\177\000\000\070\253\000p\214\177\000\000\267\256\001p\214\177\000\000w\362\366a\214\177\000\000 \257\207\250\214\177\000" varname = "ARG5\000\000\000\000\022\177c\250\214\177\000\000w\362\366a\214\177\000\000\002`X\250\214\177", '\000' , "\001", '\000' , "\001\000\000\v\000\000\000\060\362\366a\214\177\000\000\260\360\366a\214\177\000" runningapp = "Dial\000f\000\000_\361\366a\214\177\000\000\000\000\000\000\000\000\000\000\320\360\366a\214\177\000\000\371\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\a", '\000' , "\a\000\000\000\000\000\000\000`\224\207\250\214\177\000" runningdata = "${DialString:1},${ARG3},tTr\000AL(${ARG1},${ARG2}))}\000 - ARG3: ${ARG3} - ARG4: ${ARG4} - ARG5: ${ARG5} \000\000\000\000\000\b\f\000p\214\177\000\000\b\f\000p\214\177\000\000\b\f\000p\214\177\000\000\b\f\000p\214\177\000\000\222\f\000p\214\177\000\000\a\r\000p\214\177\000\000\b\f\000p\214\177\000\000\a\r\000p\214\177", '\000' , "\020\000\000\000\000\000\000\000\200\363\366a\214\177\000\000"... oldargs = {0x0, 0x7f8c70017b00 "652", 0x0 } argc = x = res = 0 oldexten = "s", '\000' oldpriority = 6 gosub_level = 0 pc = "6\000\000\000\061\063\000\000`\224\207\250\214\177\000\000\000\000\000\000\061\063\000\000\\", '\000' , "n\000\000\000w", '\000' , " \000\000p\214\177\000" depthc = "2\000\000\000\000\000\000\000\377\000\000" oldcontext = "macro-callextqueue", '\000' inhangupc = offset = 1 depth = 1 maxdepth = 7 setmacrocontext = 0 autoloopflag = 512 inhangup = 0 tmp_subst = 0x7f8c70018d50 macro_store = __PRETTY_FUNCTION__ = "_macro_exec" #15 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c98015f98, app=0x7f8cab998d40, data=0x7f8c61f6fc40 "calldevices,652,000001,120,,0") at pbx.c:1622 res = 1643576384 u = 0x7f8c7001aeb0 __PRETTY_FUNCTION__ = "pbx_exec" #16 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c98015f98, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98023f10 "976101332", action=E_SPAWN, found=0x7f8c61f73d94, combined_find_spawn=1) at pbx.c:4915 e = app = 0x7f8cab998d40 substitute = res = q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f8c98016de8 "macro-calldevices"} passdata = "calldevices,652,000001,120,,0", '\000' ... matching_action = __PRETTY_FUNCTION__ = "pbx_extension_helper" #17 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c98015f98, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98023f10 "976101332", found=found@entry=0x7f8c61f73d94, combined_find_spawn=1) at pbx.c:6037 No locals. #18 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 c = e = foundx = 1 s = tmp = 0x7f8c61f73cd0 "callextqueue" cur = rest = macro = 0x7f8c61f73cd0 "callextqueue" fullmacro = "macro-callextqueue\000\373\065\063\000\000\070\253\000p\214\177\000\000\070\253\000p\214\177\000\000\070\253\000p\214\177\000\000\070\253\000p\214\177\000\000\267\251\000p\214\177\000\000\347B\367a\214\177\000\000 \257\207\250\214\177\000" varname = "ARG1\000\000\000\000\022\177c\250\214\177\000\000\347B\367a\214\177\000\000\002`X\250\214\177", '\000' , "\001", '\000' , "\022\177c\250\v\000\000\000\240B\367a\214\177\000\000 A\367a\214\177\000" runningapp = "Macro\000\000\000\317A\367a\214\177\000\000\000\000\000\000\000\000\000\000@A\367a\214\177\000\000\371\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\a", '\000' , "\060\000\000\000\214\177\000" runningdata = "calldevices,${ARG1},${IDCLIENT},120,,0\000\"0\"]]?10\000\350\351è\214\177\000\000\320D\367a\214\177\000\000\377\377\377\377\000\000\000\000\377\000\000\000\000\000\000\000\030\252\000p\214\177\000\000`\224\207\250\214\177\000\000\000\000\000\000\000\000\000\000\030\252\000p\214\177\000\000\030\252\000p\214\177\000\000\030\252\000p\214\177\000\000\030\252\000p\214\177\000\000\237\252\000p\214\177\000\000\027\253\000p\214\177\000\000\030\252\000p\214\177\000\000\027\253\000p\214\177", '\000' , "\020\000\000\000\000\000\000\000\360C\367a\214\177\000\000`"... oldargs = {0x0 } argc = x = res = 0 oldexten = "POS08-652", '\000' oldpriority = 1 gosub_level = 0 pc = "1\000\000\000\061\063\000\000[", '\000' , "n\000\000\000w", '\000' , "|\000\000\000\061\063\000\000\\", '\000' , " \000\000p\214\177\000" depthc = "1\000\000\000\000\000\000\000\377\000\000" oldcontext = "000001_inbound_queue", '\000' inhangupc = offset = 1 depth = 0 maxdepth = 7 setmacrocontext = 1 autoloopflag = 512 inhangup = 0 tmp_subst = 0x7f8c7000a9b0 macro_store = __PRETTY_FUNCTION__ = "_macro_exec" #19 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c98015f98, app=0x7f8cab998d40, data=0x7f8c61f74ca0 "callextqueue,652") at pbx.c:1622 res = 1643596960 u = 0x7f8c70000a40 __PRETTY_FUNCTION__ = "pbx_exec" #20 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c98015f98, con=, context=, exten=, priority=, label=, callerid=0x7f8c98023f10 "976101332", action=E_SPAWN, found=0x7f8c61f78d4c, combined_find_spawn=1) at pbx.c:4915 e = app = 0x7f8cab998d40 substitute = res = q = {incstack = {0x7f8cab9f4bf0 "000001_inbound_queue", 0x0 }, stacklen = 1, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f8cab9f512e "inbound_queue"} passdata = "callextqueue,652\000\061\000rnal\000,1\000ternacional,s,1\000\000io,1\000on,admon,1\000\000\177\000\000\000\000\000\000\000\000\000\000\026\257c\250\000\000\000\000\000\000\000\000\v\000\000\000\373\377\377\377\377\377\377\377\347(\000\000\000\000\000\000\n\000\000\000\000\000\000\000 ", '\000' , "\003R\367a\214\177", '\000' , "\377\377\377\377\377\377\377\377"... matching_action = __PRETTY_FUNCTION__ = "pbx_extension_helper" #21 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 No locals. #22 __ast_pbx_run (c=0x7f8c98015f98, args=0x7f8c61f67fa0, args@entry=0x0) at pbx.c:6512 dst_exten = "\000\216\367a\214\177\000\000P\216\367a\214\177\000\000\000\000\000\000\000\000\000\000H\217\367a\214\177", '\000' , "P\217\367a\214\177", '\000' , "`\216\367a\214\177\000\000h\216\367a\214\177\000\000\003\000\000\000\214\177\000\000P", '\000' , "\060", '\000' , "[\000\000\000\214\177", '\000' , "n\000\000\000w", '\000' , "|\000\000\000\000\000\000@"... found = 1 error = 0 pbx = 0x7f8c98016e38 __PRETTY_FUNCTION__ = "__ast_pbx_run" #23 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c98015f98) at pbx.c:6842 c = 0x7f8c98015f98 #24 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140241822385504, -8889863457018606277, 0, 140240815701424, 19, 140240915764992, 8914910261610941755, 8915312835218640187}, __mask_was_saved = 0}}, __pad = {0x7f8c61f78f70, 0x0, 0x7f8ca8876870 <__elf_set___libc_thread_subfreeres_element___rpc_thread_destroy__>, 0x7f8ca8876878}} __cancel_arg = 0x7f8c61f79700 __not_first_call = ret = a = {start_routine = 0x7f8ca8bc44d0 , data = 0x7f8c98015f98, name = } #25 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c61f79700) at pthread_create.c:309 __res = pd = 0x7f8c61f79700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140240915764992, -8889863457018606277, 0, 140240815701424, 19, 140240915764992, 8914910261554318651, 8915317520520711483}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = __PRETTY_FUNCTION__ = "start_thread" #26 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 44 (Thread 0x7f8c60a64700 (LWP 12635)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8b2388d in poll (__timeout=19942, __nfds=20, __fds=0x7f8c60a560e0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 ast_waitfor_nandfds (c=c@entry=0x7f8c60a568a0, n=9, fds=fds@entry=0x0, nfds=nfds@entry=0, exception=exception@entry=0x0, outfd=outfd@entry=0x0, ms=0x7f8c60a573c8) at channel.c:3266 #3 0x00007f8ca8b23de4 in ast_waitfor_n (c=c@entry=0x7f8c60a568a0, n=, ms=ms@entry=0x7f8c60a573c8) at channel.c:3547 #4 0x00007f8c6724c1db in wait_for_answer (qe=qe@entry=0x7f8c60a590b0, outgoing=outgoing@entry=0x7f8c98024290, to=to@entry=0x7f8c60a573c8, digit=digit@entry=0x7f8c60a573c6 "", prebusies=, caller_disconnect=0, forwardsallowed=1, ringing=0) at app_queue.c:4238 #5 0x00007f8c6724e940 in try_calling (qe=qe@entry=0x7f8c60a590b0, opts=..., opt_args=opt_args@entry=0x7f8c60a59030, announceoverride=, url=, tries=tries@entry=0x7f8c60a59028, noption=0x7f8c60a5902c, agi=0x0, macro=0x0, gosub=0x0, ringing=0) at app_queue.c:5481 #6 0x00007f8c672523ea in queue_exec (chan=, data=) at app_queue.c:7214 #7 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c905bcce8, app=0x7f8caba20300, data=0x7f8c60a5a7f0 "000001990") at pbx.c:1622 #8 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c905bcce8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c905bdb88 "s", priority=priority@entry=51, label=label@entry=0x0, callerid=0x7f8c9014de80 "976101332", action=E_SPAWN, found=0x7f8c60a5e954, combined_find_spawn=1) at pbx.c:4915 #9 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c905bcce8, context=, exten=exten@entry=0x7f8c905bdb88 "s", priority=priority@entry=51, callerid=callerid@entry=0x7f8c9014de80 "976101332", found=found@entry=0x7f8c60a5e954, combined_find_spawn=1) at pbx.c:6037 #10 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #11 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c905bcce8, app=0x7f8cab998d40, data=0x7f8c60a5f560 "callqueue,990,000001") at pbx.c:1622 #12 0x00007f8c66a0351a in realtime_exec (chan=0x7f8c905bcce8, context=, exten=0x7f8c905bdb88 "s", priority=, callerid=, data=) at pbx_realtime.c:367 #13 0x00007f8ca8bc10fe in pbx_extension_helper (c=0x7f8c905bcce8, con=, context=0x7f8c905bdb38 "macro-callqueue", exten=0x7f8c905bdb88 "s", priority=2, label=0x0, callerid=0x7f8c9014de80 "976101332", action=E_SPAWN, found=0x7f8c60a63d4c, combined_find_spawn=1) at pbx.c:4928 #14 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #15 __ast_pbx_run (c=0x7f8c905bcce8, args=0x14, args@entry=0x0) at pbx.c:6512 #16 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c905bcce8) at pbx.c:6842 #17 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #18 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c60a64700) at pthread_create.c:309 #19 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 43 (Thread 0x7f8c61b1d700 (LWP 11619)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8b2388d in poll (__timeout=-1, __nfds=8, __fds=0x7f8c61b08270) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 ast_waitfor_nandfds (c=0x7f8c61b084a0, n=2, fds=0x0, nfds=, exception=0x0, outfd=0x0, ms=0x7f8c61b0848c) at channel.c:3266 #3 0x00007f8ca8b2ab6c in ast_waitfor_n (ms=, n=, c=) at channel.c:3547 #4 ast_generic_bridge (rc=, fo=, config=, c1=, c0=) at channel.c:7610 #5 ast_channel_bridge (c0=0x7f8c90412808, c1=0x7f8c90483228, config=0x7f8c61b08b00, fo=0xffffffffffffffff, fo@entry=0x7f8c61b08580, rc=0x0, rc@entry=0x7f8c61b08588) at channel.c:8105 #6 0x00007f8ca8b67c44 in ast_bridge_call (chan=chan@entry=0x7f8c90412808, peer=peer@entry=0x7f8c90483228, config=config@entry=0x7f8c61b08b00) at features.c:4489 #7 0x00007f8c630caea6 in dial_exec_full (chan=0x7f8c90412808, data=, peerflags=peerflags@entry=0x7f8c61b09540, continue_exec=continue_exec@entry=0x0) at app_dial.c:3047 #8 0x00007f8c630cbfe6 in dial_exec (chan=, data=) at app_dial.c:3130 #9 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c90412808, app=0x7f8caba20800, data=0x7f8c61b09ae0 "SIP/trunk_000002/628055848,60,T") at pbx.c:1622 #10 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c90412808, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904136a8 "s", priority=priority@entry=51, label=label@entry=0x0, callerid=0x7f8c900f2380 "902877392", action=E_SPAWN, found=0x7f8c61b0dc54, combined_find_spawn=1) at pbx.c:4915 #11 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c90412808, context=, exten=exten@entry=0x7f8c904136a8 "s", priority=priority@entry=51, callerid=callerid@entry=0x7f8c900f2380 "902877392", found=found@entry=0x7f8c61b0dc54, combined_find_spawn=1) at pbx.c:6037 #12 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #13 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c90412808, app=0x7f8cab998d40, data=0x7f8c61b0eb90 "call2outbound,628055848,,902877392,000001,,") at pbx.c:1622 #14 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c90412808, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904136a8 "s", priority=priority@entry=8, label=label@entry=0x0, callerid=0x7f8c900f2380 "902877392", action=E_SPAWN, found=0x7f8c61b12d04, combined_find_spawn=1) at pbx.c:4915 #15 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c90412808, context=, exten=exten@entry=0x7f8c904136a8 "s", priority=priority@entry=8, callerid=callerid@entry=0x7f8c900f2380 "902877392", found=found@entry=0x7f8c61b12d04, combined_find_spawn=1) at pbx.c:6037 #16 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #17 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c90412808, app=0x7f8cab998d40, data=0x7f8c61b13c30 "callinternaltooutbound,628055848,,100000102826,,") at pbx.c:1622 #18 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c90412808, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904136a8 "s", priority=priority@entry=3, label=label@entry=0x0, callerid=0x7f8c900f2380 "902877392", action=E_SPAWN, found=0x7f8c61b17d94, combined_find_spawn=1) at pbx.c:4915 #19 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c90412808, context=, exten=exten@entry=0x7f8c904136a8 "s", priority=priority@entry=3, callerid=callerid@entry=0x7f8c900f2380 "902877392", found=found@entry=0x7f8c61b17d94, combined_find_spawn=1) at pbx.c:6037 #20 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #21 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c90412808, app=0x7f8cab998d40, data=0x7f8c61b18ca0 "callextentooutbound,628055848") at pbx.c:1622 #22 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c90412808, con=, context=, exten=, priority=, label=, callerid=0x7f8c900f2380 "902877392", action=E_SPAWN, found=0x7f8c61b1cd4c, combined_find_spawn=1) at pbx.c:4915 #23 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #24 __ast_pbx_run (c=0x7f8c90412808, args=0x8, args@entry=0x0) at pbx.c:6512 #25 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c90412808) at pbx.c:6842 #26 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #27 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c61b1d700) at pthread_create.c:309 #28 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 42 (Thread 0x7f8c60c54700 (LWP 11052)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8b2388d in poll (__timeout=-1, __nfds=8, __fds=0x7f8c60c35190) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 ast_waitfor_nandfds (c=0x7f8c60c353c0, n=2, fds=0x0, nfds=, exception=0x0, outfd=0x0, ms=0x7f8c60c353ac) at channel.c:3266 #3 0x00007f8ca8b2ab6c in ast_waitfor_n (ms=, n=, c=) at channel.c:3547 #4 ast_generic_bridge (rc=, fo=, config=, c1=, c0=) at channel.c:7610 #5 ast_channel_bridge (c0=0x7f8c904b7108, c1=0x7f8c8803ad88, config=0x7f8c60c35a10, fo=0xffffffffffffffff, fo@entry=0x7f8c60c354a0, rc=0x0, rc@entry=0x7f8c60c354a8) at channel.c:8105 #6 0x00007f8ca8b67c44 in ast_bridge_call (chan=chan@entry=0x7f8c904b7108, peer=peer@entry=0x7f8c8803ad88, config=config@entry=0x7f8c60c35a10) at features.c:4489 #7 0x00007f8c630caea6 in dial_exec_full (chan=0x7f8c904b7108, data=, peerflags=peerflags@entry=0x7f8c60c36450, continue_exec=continue_exec@entry=0x0) at app_dial.c:3047 #8 0x00007f8c630cbfe6 in dial_exec (chan=, data=) at app_dial.c:3130 #9 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c904b7108, app=0x7f8caba20800, data=0x7f8c60c369f0 "SIP/100000102882,60,tTr") at pbx.c:1622 #10 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c904b7108, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=9, label=label@entry=0x0, callerid=0x7f8c901ee8f0 "976734142", action=E_SPAWN, found=0x7f8c60c3ab54, combined_find_spawn=1) at pbx.c:4915 #11 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c904b7108, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=9, callerid=callerid@entry=0x7f8c901ee8f0 "976734142", found=found@entry=0x7f8c60c3ab54, combined_find_spawn=1) at pbx.c:6037 #12 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #13 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c904b7108, app=0x7f8cab998d40, data=0x7f8c60c3ba70 "calldevices,882,000001,60,,") at pbx.c:1622 #14 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c904b7108, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=70, label=label@entry=0x0, callerid=0x7f8c901ee8f0 "976734142", action=E_SPAWN, found=0x7f8c60c3fbe4, combined_find_spawn=1) at pbx.c:4915 #15 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c904b7108, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=70, callerid=callerid@entry=0x7f8c901ee8f0 "976734142", found=found@entry=0x7f8c60c3fbe4, combined_find_spawn=1) at pbx.c:6037 #16 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #17 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c904b7108, app=0x7f8cab998d40, data=0x7f8c60c40b20 "callextennodialstatus,882,000001,60,") at pbx.c:1622 #18 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c904b7108, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=34, label=label@entry=0x0, callerid=0x7f8c901ee8f0 "976734142", action=E_SPAWN, found=0x7f8c60c44c94, combined_find_spawn=1) at pbx.c:4915 #19 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c904b7108, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=34, callerid=callerid@entry=0x7f8c901ee8f0 "976734142", found=found@entry=0x7f8c60c44c94, combined_find_spawn=1) at pbx.c:6037 #20 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #21 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c904b7108, app=0x7f8cab998d40, data=0x7f8c60c45bc0 "callextennodialstatus,542,000001,,") at pbx.c:1622 #22 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c904b7108, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=5, label=label@entry=0x0, callerid=0x7f8c901ee8f0 "976734142", action=E_SPAWN, found=0x7f8c60c49d24, combined_find_spawn=1) at pbx.c:4915 #23 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c904b7108, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=5, callerid=callerid@entry=0x7f8c901ee8f0 "976734142", found=found@entry=0x7f8c60c49d24, combined_find_spawn=1) at pbx.c:6037 #24 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #25 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c904b7108, app=0x7f8cab998d40, data=0x7f8c60c4ac30 "callexten,542,000001") at pbx.c:1622 #26 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c904b7108, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=32, label=label@entry=0x0, callerid=0x7f8c901ee8f0 "976734142", action=E_SPAWN, found=0x7f8c60c4ed94, combined_find_spawn=1) at pbx.c:4915 #27 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c904b7108, context=, exten=exten@entry=0x7f8c904b7fa8 "s", priority=priority@entry=32, callerid=callerid@entry=0x7f8c901ee8f0 "976734142", found=found@entry=0x7f8c60c4ed94, combined_find_spawn=1) at pbx.c:6037 #28 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #29 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c904b7108, app=0x7f8cab998d40, data=0x7f8c60c4fca0 "callext,542,000001") at pbx.c:1622 #30 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c904b7108, con=, context=, exten=, priority=, label=, callerid=0x7f8c901ee8f0 "976734142", action=E_SPAWN, found=0x7f8c60c53d4c, combined_find_spawn=1) at pbx.c:4915 #31 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #32 __ast_pbx_run (c=0x7f8c904b7108, args=0x8, args@entry=0x0) at pbx.c:6512 #33 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c904b7108) at pbx.c:6842 #34 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #35 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c60c54700) at pthread_create.c:309 #36 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 41 (Thread 0x7f8c62169700 (LWP 30441)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8aeed49 in poll (__timeout=-1, __nfds=1, __fds=0x7f8c62168e70) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 monitor_sig_flags (unused=unused@entry=0x0) at asterisk.c:3528 #3 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #4 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62169700) at pthread_create.c:309 #5 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 40 (Thread 0x7f8c62071700 (LWP 3042)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8af6fb9 in autoservice_run (ign=0x7f8ca8eaaac4 , ign@entry=0x0) at autoservice.c:103 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62071700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 39 (Thread 0x7f8c62261700 (LWP 30439)): #0 0x00007f8ca858e6fd in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8c66a037c9 in cleanup (unused=unused@entry=0x0) at pbx_realtime.c:139 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62261700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 38 (Thread 0x7f8c622dd700 (LWP 30438)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8b85208 in poll (__timeout=, __nfds=, __fds=) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 ast_io_wait (ioc=0x7f8cab900600, howlong=) at io.c:279 #3 0x00007f8c665932f3 in do_monitor (data=data@entry=0x0) at chan_sip.c:29039 #4 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #5 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c622dd700) at pthread_create.c:309 #6 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 37 (Thread 0x7f8c62359700 (LWP 30437)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8b85208 in poll (__timeout=1000, __nfds=, __fds=) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 ast_io_wait (ioc=0x7f8cab8bc3f0, howlong=howlong@entry=1000) at io.c:279 #3 0x00007f8c6b734fbe in network_thread (ignore=ignore@entry=0x0) at chan_iax2.c:12612 #4 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #5 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62359700) at pthread_create.c:309 #6 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 36 (Thread 0x7f8c62549700 (LWP 30433)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d3a1c, data@entry=0x7f8cab8d2920) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62549700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 35 (Thread 0x7f8c623d5700 (LWP 30436)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d73ac, data@entry=0x7f8cab8d62b0) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c623d5700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 34 (Thread 0x7f8c62641700 (LWP 30431)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d151c, data@entry=0x7f8cab8d0420) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62641700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 33 (Thread 0x7f8c62451700 (LWP 30435)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d607c, data@entry=0x7f8cab8d4f80) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62451700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 32 (Thread 0x7f8c626bd700 (LWP 30430)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d034c, data@entry=0x7f8cab8cf250) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c626bd700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 31 (Thread 0x7f8c624cd700 (LWP 30434)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d4d4c, data@entry=0x7f8cab8d3c50) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c624cd700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 30 (Thread 0x7f8c628ad700 (LWP 30426)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007f8ca8bedcce in sched_run (data=0x7f8cab8bb770) at sched.c:126 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c628ad700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 29 (Thread 0x7f8c625c5700 (LWP 30432)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8d26ec, data@entry=0x7f8cab8d15f0) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c625c5700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 28 (Thread 0x7f8c8c099700 (LWP 30425)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bf5ddd in tps_processing_function (data=0x7f8cab8bb468) at taskprocessor.c:313 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8c099700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 27 (Thread 0x7f8c62739700 (LWP 30429)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8cf17c, data@entry=0x7f8cab8ce080) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62739700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 26 (Thread 0x7f8c8fcf4700 (LWP 30424)): #0 0x00007f8ca858e6fd in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca85b69d4 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:32 #2 0x00007f8c698eb7f5 in pj_thread_sleep () from /usr/lib/libpj.so.2 #3 0x00007f8c698ead97 in pj_ioqueue_poll () from /usr/lib/libpj.so.2 #4 0x00007f8c6b306c65 in timer_worker_thread (data=) at res_rtp_asterisk.c:1696 #5 0x00007f8c698ec1aa in ?? () from /usr/lib/libpj.so.2 #6 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8fcf4700) at pthread_create.c:309 #7 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 25 (Thread 0x7f8c627b5700 (LWP 30428)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8cdfac, data@entry=0x7f8cab8cceb0) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c627b5700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 24 (Thread 0x7f8c8efec700 (LWP 30415)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bf5ddd in tps_processing_function (data=0x7f8cab39f5c8) at taskprocessor.c:313 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8efec700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 23 (Thread 0x7f8c62831700 (LWP 30427)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8c6b759692 in iax2_process_thread (data=0x7f8cab8ccddc, data@entry=0x7f8cab8cbce0) at chan_iax2.c:12122 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c62831700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 22 (Thread 0x7f8c8f0e4700 (LWP 30413)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8b4904d in do_devstate_changes (data=0x7f8ca8eaaea4 , data@entry=0x0) at devicestate.c:549 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8f0e4700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 21 (Thread 0x7f8c8ee78700 (LWP 30418)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bedd99 in sched_run (data=0x7f8cab3b1420) at sched.c:120 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8ee78700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 20 (Thread 0x7f8c8f160700 (LWP 30412)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8c05a78 in poll (__timeout=, __nfds=1, __fds=0x7f8c8f15fdc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 ast_wait_for_input (fd=, ms=) at utils.c:1281 #3 0x00007f8ca8bf8402 in ast_tcptls_server_root (data=0x7f8ca8e93240 ) at tcptls.c:704 #4 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #5 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8f160700) at pthread_create.c:309 #6 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 19 (Thread 0x7f8c8eef4700 (LWP 30417)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bf5ddd in tps_processing_function (data=0x7f8cab3b20d8) at taskprocessor.c:313 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8eef4700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 18 (Thread 0x7f8c8ef70700 (LWP 30416)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8b634c2 in poll (__timeout=, __nfds=, __fds=) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 do_parking_thread (ignore=ignore@entry=0x0) at features.c:5330 #3 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #4 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8ef70700) at pthread_create.c:309 #5 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 17 (Thread 0x7f8ca8a0b700 (LWP 30406)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bf5ddd in tps_processing_function (data=0x7f8caad61488) at taskprocessor.c:313 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8ca8a0b700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 16 (Thread 0x7f8ca8a89700 (LWP 30403)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8aef0b3 in poll (__timeout=-1, __nfds=, __fds=0x7ffe22463b60) at /usr/include/x86_64-linux-gnu/bits/poll2.h:41 #2 ast_el_read_char (editline=, cp=0x7ffe22463e08 "%C\211\250\214\177") at asterisk.c:2531 #3 0x00007f8ca68bf56e in el_wgetc () from /usr/lib/x86_64-linux-gnu/libedit.so.2 #4 0x00007f8ca68bf7c4 in el_wgets () from /usr/lib/x86_64-linux-gnu/libedit.so.2 #5 0x00007f8ca68ce4cd in el_gets () from /usr/lib/x86_64-linux-gnu/libedit.so.2 #6 0x00007f8ca8ad3a04 in main (argc=, argv=) at asterisk.c:4401 Thread 15 (Thread 0x7f8c8f068700 (LWP 30414)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bc923a in do_presence_changes (data=0x7f8ca8eac044 , data@entry=0x0) at presencestate.c:299 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c8f068700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 14 (Thread 0x7f8ca5729700 (LWP 30410)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bf5ddd in tps_processing_function (data=0x7f8cab23e818) at taskprocessor.c:313 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8ca5729700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 13 (Thread 0x7f8c6077c700 (LWP 12643)): #0 0x00007f8ca85b05dd in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca46eb924 in vio_read_buff () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 #2 0x00007f8ca46db5c0 in ?? () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 #3 0x00007f8ca46dc1dd in my_net_read () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 #4 0x00007f8ca46d562c in cli_safe_read () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 #5 0x00007f8ca46d67f2 in ?? () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 #6 0x00007f8ca46d747e in mysql_real_query () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 #7 0x00007f8ca4c00fbb in do_query () from /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so #8 0x00007f8ca4c0275a in my_SQLExecute () from /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so #9 0x00007f8ca524f139 in SQLExecute () from /usr/lib/x86_64-linux-gnu/libodbc.so.2 #10 0x00007f8ca54a6269 in ast_odbc_prepare_and_execute (obj=0x7f8cab349178, prepare_cb=0x7f8c8f163a60 , data=0x4000) at res_odbc.c:640 #11 0x00007f8c8f16600b in realtime_odbc (database=0x7f8c6075bfb8 "", table=0x7f8c6075c640 "rt_sipfriends", ap=0x7f8c6075c790) at res_config_odbc.c:226 #12 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c6075c790) at config.c:2718 #13 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #14 0x00007f8c665948ae in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5237 #15 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #16 sip_find_peer_full (peer=0x7f8c607610c0 "300000102435", addr=0x0, callbackexten=0x0, realtime=0, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #17 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c607610c0 "300000102435", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #18 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #19 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c6076119d "SIP/300000102435", check_cache=check_cache@entry=1) at devicestate.c:352 #20 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #21 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c60761220 "", len=4096) at func_devstate.c:106 #22 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c9804fae8, function=function@entry=0x7f8c60762230 "DEVICE_STATE(SIP/300000102435)", workspace=workspace@entry=0x7f8c60761220 "", len=len@entry=4096) at pbx.c:4312 #23 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9804fae8, headp=headp@entry=0x7f8c98050160, cp1=cp1@entry=0x7f8c60765350 "${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN", cp2=cp2@entry=0x7f8c60764340 "", count=count@entry=4095, used=used@entry=0x7f8c607663f0) at pbx.c:4700 #24 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9804fae8, headp=headp@entry=0x7f8c98050160, cp1=cp1@entry=0x7f8c60767460 " $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ", cp2=0x7f8c60766455 "", cp2@entry=0x7f8c60766450 " 0 | ", count=4090, count@entry=4095, used=used@entry=0x7f8c60768500) at pbx.c:4774 #25 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9804fae8, headp=, cp1=cp1@entry=0x7f8c607685a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c60768b50 "", count=count@entry=8191, used=used@entry=0x7f8c60768560) at pbx.c:4774 #26 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c9804fae8, cp1=cp1@entry=0x7f8c607685a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c60768b50 "", count=count@entry=8191) at pbx.c:4796 #27 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c9804fae8, con=con@entry=0x0, context=0x7f8c98050938 "macro-searchdev", exten=exten@entry=0x7f8c98050988 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98012650 "976101332", action=E_SPAWN, found=0x7f8c6076ccb4, combined_find_spawn=1) at pbx.c:4878 #28 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9804fae8, context=, exten=exten@entry=0x7f8c98050988 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98012650 "976101332", found=found@entry=0x7f8c6076ccb4, combined_find_spawn=1) at pbx.c:6037 #29 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #30 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9804fae8, app=0x7f8cab998d40, data=0x7f8c6076dbc0 "searchdev,100000102435") at pbx.c:1622 #31 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9804fae8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98050988 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98012650 "976101332", action=E_SPAWN, found=0x7f8c60771d24, combined_find_spawn=1) at pbx.c:4915 #32 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9804fae8, context=, exten=exten@entry=0x7f8c98050988 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98012650 "976101332", found=found@entry=0x7f8c60771d24, combined_find_spawn=1) at pbx.c:6037 #33 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #34 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9804fae8, app=0x7f8cab998d40, data=0x7f8c60772c40 "calldevices,435,000001,120,,0") at pbx.c:1622 #35 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9804fae8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98050988 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98012650 "976101332", action=E_SPAWN, found=0x7f8c60776d94, combined_find_spawn=1) at pbx.c:4915 #36 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9804fae8, context=, exten=exten@entry=0x7f8c98050988 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98012650 "976101332", found=found@entry=0x7f8c60776d94, combined_find_spawn=1) at pbx.c:6037 #37 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #38 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9804fae8, app=0x7f8cab998d40, data=0x7f8c60777ca0 "callextqueue,435") at pbx.c:1622 #39 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c9804fae8, con=, context=, exten=, priority=, label=, callerid=0x7f8c98012650 "976101332", action=E_SPAWN, found=0x7f8c6077bd4c, combined_find_spawn=1) at pbx.c:4915 #40 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #41 __ast_pbx_run (c=0x7f8c9804fae8, args=0x7f8c906b0f60, args@entry=0x0) at pbx.c:6512 #42 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c9804fae8) at pbx.c:6842 #43 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #44 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c6077c700) at pthread_create.c:309 #45 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 12 (Thread 0x7f8ca57a5700 (LWP 30409)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8b4689b in db_sync_thread (data=0x7f8ca8eaae64 , data@entry=0x0) at db.c:967 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8ca57a5700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 11 (Thread 0x7f8c61ff5700 (LWP 12641)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8ca72314d4 in _L_lock_952 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f8ca7231336 in __GI___pthread_mutex_lock (mutex=0x7f8cab349120) at ../nptl/pthread_mutex_lock.c:114 #3 0x00007f8ca54a6ff5 in _ast_odbc_request_obj2 (name=0x7f8c61fd97e0 "odbc-sipmanager3", flags=..., file=0x0, function=0xffffffffffffffff , lineno=-1422618336) at res_odbc.c:1390 #4 0x00007f8c8f165d67 in realtime_odbc (database=0x7f8c61fd97e0 "odbc-sipmanager3", table=0x7f8c61fd98e0 "rt_sipfriends", ap=0x7f8c61fd9a30) at res_config_odbc.c:195 #5 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c61fd9a30) at config.c:2718 #6 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #7 0x00007f8c66594113 in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5231 #8 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #9 sip_find_peer_full (peer=0x7f8c61fde360 "300000102594", addr=0x0, callbackexten=0x0, realtime=1, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #10 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c61fde360 "300000102594", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #11 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #12 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c61fde43d "SIP/300000102594", check_cache=check_cache@entry=1) at devicestate.c:352 #13 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #14 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c61fde4c0 "", len=4096) at func_devstate.c:106 #15 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c9805ea78, function=function@entry=0x7f8c61fdf4d0 "DEVICE_STATE(SIP/300000102594)", workspace=workspace@entry=0x7f8c61fde4c0 "", len=len@entry=4096) at pbx.c:4312 #16 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9805ea78, headp=, cp1=cp1@entry=0x7f8c61fe1620 "${DEVICE_STATE(SIP/${userterminal})}", cp2=cp2@entry=0x7f8c61fe1b50 "", count=count@entry=8191, used=used@entry=0x7f8c61fe15e0) at pbx.c:4700 #17 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c9805ea78, cp1=cp1@entry=0x7f8c61fe1620 "${DEVICE_STATE(SIP/${userterminal})}", cp2=cp2@entry=0x7f8c61fe1b50 "", count=count@entry=8191) at pbx.c:4796 #18 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c9805ea78, con=con@entry=0x0, context=0x7f8c9805f8c8 "macro-searchdev", exten=exten@entry=0x7f8c9805f918 "s", priority=priority@entry=3, label=label@entry=0x0, callerid=0x7f8c98062590 "976101332", action=E_SPAWN, found=0x7f8c61fe5cb4, combined_find_spawn=1) at pbx.c:4878 #19 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9805ea78, context=, exten=exten@entry=0x7f8c9805f918 "s", priority=priority@entry=3, callerid=callerid@entry=0x7f8c98062590 "976101332", found=found@entry=0x7f8c61fe5cb4, combined_find_spawn=1) at pbx.c:6037 #20 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #21 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9805ea78, app=0x7f8cab998d40, data=0x7f8c61fe6bc0 "searchdev,100000102594") at pbx.c:1622 #22 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9805ea78, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9805f918 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98062590 "976101332", action=E_SPAWN, found=0x7f8c61fead24, combined_find_spawn=1) at pbx.c:4915 #23 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9805ea78, context=, exten=exten@entry=0x7f8c9805f918 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98062590 "976101332", found=found@entry=0x7f8c61fead24, combined_find_spawn=1) at pbx.c:6037 #24 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #25 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9805ea78, app=0x7f8cab998d40, data=0x7f8c61febc40 "calldevices,594,000001,120,,0") at pbx.c:1622 #26 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9805ea78, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9805f918 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98062590 "976101332", action=E_SPAWN, found=0x7f8c61fefd94, combined_find_spawn=1) at pbx.c:4915 #27 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9805ea78, context=, exten=exten@entry=0x7f8c9805f918 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98062590 "976101332", found=found@entry=0x7f8c61fefd94, combined_find_spawn=1) at pbx.c:6037 #28 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #29 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9805ea78, app=0x7f8cab998d40, data=0x7f8c61ff0ca0 "callextqueue,594") at pbx.c:1622 #30 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c9805ea78, con=, context=, exten=, priority=, label=, callerid=0x7f8c98062590 "976101332", action=E_SPAWN, found=0x7f8c61ff4d4c, combined_find_spawn=1) at pbx.c:4915 #31 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #32 __ast_pbx_run (c=0x7f8c9805ea78, args=0x80, args@entry=0x0) at pbx.c:6512 #33 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c9805ea78) at pbx.c:6842 #34 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #35 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c61ff5700) at pthread_create.c:309 #36 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 10 (Thread 0x7f8ca898f700 (LWP 30407)): #0 0x00007f8ca85b450d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca8ae9c60 in poll (__timeout=, __nfds=, __fds=) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 listener (unused=0x7f8ca898ede0, unused@entry=0x0) at asterisk.c:1444 #3 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #4 0x00007f8ca722f0a4 in start_thread (arg=0x7f8ca898f700) at pthread_create.c:309 #5 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 9 (Thread 0x7f8c620ed700 (LWP 12640)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8ca72314d4 in _L_lock_952 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f8ca7231336 in __GI___pthread_mutex_lock (mutex=0x7f8cab349120) at ../nptl/pthread_mutex_lock.c:114 #3 0x00007f8ca54a621f in ast_odbc_prepare_and_execute (obj=0x7f8cab349178, prepare_cb=0x7f8c8f163a60 , data=0x0) at res_odbc.c:629 #4 0x00007f8c8f16600b in realtime_odbc (database=0x7f8c620ccfb8 "", table=0x7f8c8f167e14 " =", ap=0x7f8c620cd790) at res_config_odbc.c:226 #5 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c620cd790) at config.c:2718 #6 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #7 0x00007f8c66594113 in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5231 #8 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #9 sip_find_peer_full (peer=0x7f8c620d20c0 "300000102608", addr=0x0, callbackexten=0x0, realtime=1, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #10 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c620d20c0 "300000102608", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #11 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #12 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c620d219d "SIP/300000102608", check_cache=check_cache@entry=1) at devicestate.c:352 #13 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #14 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c620d2220 "", len=4096) at func_devstate.c:106 #15 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c9801d7b8, function=function@entry=0x7f8c620d3230 "DEVICE_STATE(SIP/300000102608)", workspace=workspace@entry=0x7f8c620d2220 "", len=len@entry=4096) at pbx.c:4312 #16 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9801d7b8, headp=headp@entry=0x7f8c9801de30, cp1=cp1@entry=0x7f8c620d6350 "${DEVICE_STATE(SIP/${userterminal})}=INVALID", cp2=cp2@entry=0x7f8c620d5340 "", count=count@entry=4095, used=used@entry=0x7f8c620d73f0) at pbx.c:4700 #17 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9801d7b8, headp=headp@entry=0x7f8c9801de30, cp1=cp1@entry=0x7f8c620d8460 " $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ", cp2=0x7f8c620d7459 "", cp2@entry=0x7f8c620d7450 " 0 | 0 | ", count=4086, count@entry=4095, used=used@entry=0x7f8c620d9500) at pbx.c:4774 #18 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9801d7b8, headp=, cp1=cp1@entry=0x7f8c620d95a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c620d9b50 "", count=count@entry=8191, used=used@entry=0x7f8c620d9560) at pbx.c:4774 #19 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c9801d7b8, cp1=cp1@entry=0x7f8c620d95a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c620d9b50 "", count=count@entry=8191) at pbx.c:4796 #20 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c9801d7b8, con=con@entry=0x0, context=0x7f8c9801e608 "macro-searchdev", exten=exten@entry=0x7f8c9801e658 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98046800 "976101332", action=E_SPAWN, found=0x7f8c620ddcb4, combined_find_spawn=1) at pbx.c:4878 #21 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9801d7b8, context=, exten=exten@entry=0x7f8c9801e658 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98046800 "976101332", found=found@entry=0x7f8c620ddcb4, combined_find_spawn=1) at pbx.c:6037 #22 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #23 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9801d7b8, app=0x7f8cab998d40, data=0x7f8c620debc0 "searchdev,100000102608") at pbx.c:1622 #24 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9801d7b8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9801e658 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98046800 "976101332", action=E_SPAWN, found=0x7f8c620e2d24, combined_find_spawn=1) at pbx.c:4915 #25 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9801d7b8, context=, exten=exten@entry=0x7f8c9801e658 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98046800 "976101332", found=found@entry=0x7f8c620e2d24, combined_find_spawn=1) at pbx.c:6037 #26 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #27 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9801d7b8, app=0x7f8cab998d40, data=0x7f8c620e3c40 "calldevices,608,000001,120,,0") at pbx.c:1622 #28 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9801d7b8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9801e658 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98046800 "976101332", action=E_SPAWN, found=0x7f8c620e7d94, combined_find_spawn=1) at pbx.c:4915 #29 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9801d7b8, context=, exten=exten@entry=0x7f8c9801e658 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98046800 "976101332", found=found@entry=0x7f8c620e7d94, combined_find_spawn=1) at pbx.c:6037 #30 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #31 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9801d7b8, app=0x7f8cab998d40, data=0x7f8c620e8ca0 "callextqueue,608") at pbx.c:1622 #32 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c9801d7b8, con=, context=, exten=, priority=, label=, callerid=0x7f8c98046800 "976101332", action=E_SPAWN, found=0x7f8c620ecd4c, combined_find_spawn=1) at pbx.c:4915 #33 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #34 __ast_pbx_run (c=0x7f8c9801d7b8, args=0x80, args@entry=0x0) at pbx.c:6512 #35 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c9801d7b8) at pbx.c:6842 #36 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #37 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c620ed700) at pthread_create.c:309 #38 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 8 (Thread 0x7f8c60fb8700 (LWP 12639)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8ca72314d4 in _L_lock_952 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f8ca7231336 in __GI___pthread_mutex_lock (mutex=0x7f8cab349120) at ../nptl/pthread_mutex_lock.c:114 #3 0x00007f8ca54a6ff5 in _ast_odbc_request_obj2 (name=0x7f8c60f98540 "odbc-sipmanager3", flags=..., file=0x0, function=0xffffffffffffffff , lineno=-1422618336) at res_odbc.c:1390 #4 0x00007f8c8f165d67 in realtime_odbc (database=0x7f8c60f98540 "odbc-sipmanager3", table=0x7f8c60f98640 "rt_sipfriends", ap=0x7f8c60f98790) at res_config_odbc.c:195 #5 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c60f98790) at config.c:2718 #6 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #7 0x00007f8c665948ae in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5237 #8 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #9 sip_find_peer_full (peer=0x7f8c60f9d0c0 "300000102609", addr=0x0, callbackexten=0x0, realtime=0, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #10 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c60f9d0c0 "300000102609", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #11 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #12 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c60f9d19d "SIP/300000102609", check_cache=check_cache@entry=1) at devicestate.c:352 #13 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #14 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c60f9d220 "", len=4096) at func_devstate.c:106 #15 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c9803b328, function=function@entry=0x7f8c60f9e230 "DEVICE_STATE(SIP/300000102609)", workspace=workspace@entry=0x7f8c60f9d220 "", len=len@entry=4096) at pbx.c:4312 #16 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9803b328, headp=headp@entry=0x7f8c9803b9a0, cp1=cp1@entry=0x7f8c60fa1350 "${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN", cp2=cp2@entry=0x7f8c60fa0340 "", count=count@entry=4095, used=used@entry=0x7f8c60fa23f0) at pbx.c:4700 #17 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9803b328, headp=headp@entry=0x7f8c9803b9a0, cp1=cp1@entry=0x7f8c60fa3460 " $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ", cp2=0x7f8c60fa2455 "", cp2@entry=0x7f8c60fa2450 " 0 | ", count=4090, count@entry=4095, used=used@entry=0x7f8c60fa4500) at pbx.c:4774 #18 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9803b328, headp=, cp1=cp1@entry=0x7f8c60fa45a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c60fa4b50 "", count=count@entry=8191, used=used@entry=0x7f8c60fa4560) at pbx.c:4774 #19 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c9803b328, cp1=cp1@entry=0x7f8c60fa45a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c60fa4b50 "", count=count@entry=8191) at pbx.c:4796 #20 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c9803b328, con=con@entry=0x0, context=0x7f8c9803c178 "macro-searchdev", exten=exten@entry=0x7f8c9803c1c8 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98046380 "976101332", action=E_SPAWN, found=0x7f8c60fa8cb4, combined_find_spawn=1) at pbx.c:4878 #21 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9803b328, context=, exten=exten@entry=0x7f8c9803c1c8 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98046380 "976101332", found=found@entry=0x7f8c60fa8cb4, combined_find_spawn=1) at pbx.c:6037 #22 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #23 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9803b328, app=0x7f8cab998d40, data=0x7f8c60fa9bc0 "searchdev,100000102609") at pbx.c:1622 #24 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9803b328, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9803c1c8 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98046380 "976101332", action=E_SPAWN, found=0x7f8c60fadd24, combined_find_spawn=1) at pbx.c:4915 #25 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9803b328, context=, exten=exten@entry=0x7f8c9803c1c8 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98046380 "976101332", found=found@entry=0x7f8c60fadd24, combined_find_spawn=1) at pbx.c:6037 #26 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #27 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9803b328, app=0x7f8cab998d40, data=0x7f8c60faec40 "calldevices,609,000001,120,,0") at pbx.c:1622 #28 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9803b328, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9803c1c8 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98046380 "976101332", action=E_SPAWN, found=0x7f8c60fb2d94, combined_find_spawn=1) at pbx.c:4915 #29 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9803b328, context=, exten=exten@entry=0x7f8c9803c1c8 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98046380 "976101332", found=found@entry=0x7f8c60fb2d94, combined_find_spawn=1) at pbx.c:6037 #30 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #31 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9803b328, app=0x7f8cab998d40, data=0x7f8c60fb3ca0 "callextqueue,609") at pbx.c:1622 #32 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c9803b328, con=, context=, exten=, priority=, label=, callerid=0x7f8c98046380 "976101332", action=E_SPAWN, found=0x7f8c60fb7d4c, combined_find_spawn=1) at pbx.c:4915 #33 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #34 __ast_pbx_run (c=0x7f8c9803b328, args=0x80, args@entry=0x0) at pbx.c:6512 #35 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c9803b328) at pbx.c:6842 #36 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #37 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c60fb8700) at pthread_create.c:309 #38 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f8ca8a87700 (LWP 30405)): #0 0x00007f8ca858e6fd in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f8ca858e594 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:137 #2 0x00007f8ca8af0c30 in canary_thread (unused=unused@entry=0x0) at asterisk.c:3573 #3 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #4 0x00007f8ca722f0a4 in start_thread (arg=0x7f8ca8a87700) at pthread_create.c:309 #5 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f8c61d89700 (LWP 12638)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8ca72314d4 in _L_lock_952 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f8ca7231336 in __GI___pthread_mutex_lock (mutex=0x7f8cab349120) at ../nptl/pthread_mutex_lock.c:114 #3 0x00007f8ca54a621f in ast_odbc_prepare_and_execute (obj=0x7f8cab349178, prepare_cb=0x7f8c8f163a60 , data=0x0) at res_odbc.c:629 #4 0x00007f8c8f16600b in realtime_odbc (database=0x7f8c61d68fb8 "", table=0x7f8c8f167e14 " =", ap=0x7f8c61d69790) at res_config_odbc.c:226 #5 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c61d69790) at config.c:2718 #6 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #7 0x00007f8c66594113 in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5231 #8 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #9 sip_find_peer_full (peer=0x7f8c61d6e0c0 "300000102596", addr=0x0, callbackexten=0x0, realtime=1, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #10 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c61d6e0c0 "300000102596", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #11 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #12 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c61d6e19d "SIP/300000102596", check_cache=check_cache@entry=1) at devicestate.c:352 #13 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #14 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c61d6e220 "", len=4096) at func_devstate.c:106 #15 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c980657d8, function=function@entry=0x7f8c61d6f230 "DEVICE_STATE(SIP/300000102596)", workspace=workspace@entry=0x7f8c61d6e220 "", len=len@entry=4096) at pbx.c:4312 #16 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c980657d8, headp=headp@entry=0x7f8c98065e50, cp1=cp1@entry=0x7f8c61d72350 "${DEVICE_STATE(SIP/${userterminal})}=INVALID", cp2=cp2@entry=0x7f8c61d71340 "", count=count@entry=4095, used=used@entry=0x7f8c61d733f0) at pbx.c:4700 #17 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c980657d8, headp=headp@entry=0x7f8c98065e50, cp1=cp1@entry=0x7f8c61d74460 " $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ", cp2=0x7f8c61d73459 "", cp2@entry=0x7f8c61d73450 " 0 | 0 | ", count=4086, count@entry=4095, used=used@entry=0x7f8c61d75500) at pbx.c:4774 #18 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c980657d8, headp=, cp1=cp1@entry=0x7f8c61d755a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c61d75b50 "", count=count@entry=8191, used=used@entry=0x7f8c61d75560) at pbx.c:4774 #19 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c980657d8, cp1=cp1@entry=0x7f8c61d755a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c61d75b50 "", count=count@entry=8191) at pbx.c:4796 #20 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c980657d8, con=con@entry=0x0, context=0x7f8c98066628 "macro-searchdev", exten=exten@entry=0x7f8c98066678 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98007540 "976101332", action=E_SPAWN, found=0x7f8c61d79cb4, combined_find_spawn=1) at pbx.c:4878 #21 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c980657d8, context=, exten=exten@entry=0x7f8c98066678 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98007540 "976101332", found=found@entry=0x7f8c61d79cb4, combined_find_spawn=1) at pbx.c:6037 #22 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #23 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c980657d8, app=0x7f8cab998d40, data=0x7f8c61d7abc0 "searchdev,100000102596") at pbx.c:1622 #24 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c980657d8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98066678 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c98007540 "976101332", action=E_SPAWN, found=0x7f8c61d7ed24, combined_find_spawn=1) at pbx.c:4915 #25 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c980657d8, context=, exten=exten@entry=0x7f8c98066678 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c98007540 "976101332", found=found@entry=0x7f8c61d7ed24, combined_find_spawn=1) at pbx.c:6037 #26 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #27 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c980657d8, app=0x7f8cab998d40, data=0x7f8c61d7fc40 "calldevices,596,000001,120,,0") at pbx.c:1622 #28 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c980657d8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98066678 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98007540 "976101332", action=E_SPAWN, found=0x7f8c61d83d94, combined_find_spawn=1) at pbx.c:4915 #29 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c980657d8, context=, exten=exten@entry=0x7f8c98066678 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98007540 "976101332", found=found@entry=0x7f8c61d83d94, combined_find_spawn=1) at pbx.c:6037 #30 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #31 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c980657d8, app=0x7f8cab998d40, data=0x7f8c61d84ca0 "callextqueue,596") at pbx.c:1622 #32 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c980657d8, con=, context=, exten=, priority=, label=, callerid=0x7f8c98007540 "976101332", action=E_SPAWN, found=0x7f8c61d88d4c, combined_find_spawn=1) at pbx.c:4915 #33 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #34 __ast_pbx_run (c=0x7f8c980657d8, args=0x80, args@entry=0x0) at pbx.c:6512 #35 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c980657d8) at pbx.c:6842 #36 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #37 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c61d89700) at pthread_create.c:309 #38 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f8c60684700 (LWP 12642)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8ca72314d4 in _L_lock_952 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f8ca7231336 in __GI___pthread_mutex_lock (mutex=0x7f8cab349120) at ../nptl/pthread_mutex_lock.c:114 #3 0x00007f8ca54a621f in ast_odbc_prepare_and_execute (obj=0x7f8cab349178, prepare_cb=0x7f8c8f163a60 , data=0x0) at res_odbc.c:629 #4 0x00007f8c8f16600b in realtime_odbc (database=0x7f8c60663fb8 "", table=0x7f8c8f167e14 " =", ap=0x7f8c60664790) at res_config_odbc.c:226 #5 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c60664790) at config.c:2718 #6 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #7 0x00007f8c66594113 in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5231 #8 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #9 sip_find_peer_full (peer=0x7f8c606690c0 "300000102589", addr=0x0, callbackexten=0x0, realtime=1, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #10 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c606690c0 "300000102589", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #11 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #12 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c6066919d "SIP/300000102589", check_cache=check_cache@entry=1) at devicestate.c:352 #13 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #14 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c60669220 "", len=4096) at func_devstate.c:106 #15 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c9800ead8, function=function@entry=0x7f8c6066a230 "DEVICE_STATE(SIP/300000102589)", workspace=workspace@entry=0x7f8c60669220 "", len=len@entry=4096) at pbx.c:4312 #16 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9800ead8, headp=headp@entry=0x7f8c9800f150, cp1=cp1@entry=0x7f8c6066d350 "${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN", cp2=cp2@entry=0x7f8c6066c340 "", count=count@entry=4095, used=used@entry=0x7f8c6066e3f0) at pbx.c:4700 #17 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9800ead8, headp=headp@entry=0x7f8c9800f150, cp1=cp1@entry=0x7f8c6066f460 " $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ", cp2=0x7f8c6066e455 "", cp2@entry=0x7f8c6066e450 " 0 | ", count=4090, count@entry=4095, used=used@entry=0x7f8c60670500) at pbx.c:4774 #18 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9800ead8, headp=, cp1=cp1@entry=0x7f8c606705a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c60670b50 "", count=count@entry=8191, used=used@entry=0x7f8c60670560) at pbx.c:4774 #19 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c9800ead8, cp1=cp1@entry=0x7f8c606705a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c60670b50 "", count=count@entry=8191) at pbx.c:4796 #20 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c9800ead8, con=con@entry=0x0, context=0x7f8c9800f928 "macro-searchdev", exten=exten@entry=0x7f8c9800f978 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c9803eca0 "976101332", action=E_SPAWN, found=0x7f8c60674cb4, combined_find_spawn=1) at pbx.c:4878 #21 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9800ead8, context=, exten=exten@entry=0x7f8c9800f978 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c9803eca0 "976101332", found=found@entry=0x7f8c60674cb4, combined_find_spawn=1) at pbx.c:6037 #22 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #23 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9800ead8, app=0x7f8cab998d40, data=0x7f8c60675bc0 "searchdev,100000102589") at pbx.c:1622 #24 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9800ead8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9800f978 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c9803eca0 "976101332", action=E_SPAWN, found=0x7f8c60679d24, combined_find_spawn=1) at pbx.c:4915 #25 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9800ead8, context=, exten=exten@entry=0x7f8c9800f978 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c9803eca0 "976101332", found=found@entry=0x7f8c60679d24, combined_find_spawn=1) at pbx.c:6037 #26 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #27 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9800ead8, app=0x7f8cab998d40, data=0x7f8c6067ac40 "calldevices,589,000001,120,,0") at pbx.c:1622 #28 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9800ead8, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9800f978 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c9803eca0 "976101332", action=E_SPAWN, found=0x7f8c6067ed94, combined_find_spawn=1) at pbx.c:4915 #29 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9800ead8, context=, exten=exten@entry=0x7f8c9800f978 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c9803eca0 "976101332", found=found@entry=0x7f8c6067ed94, combined_find_spawn=1) at pbx.c:6037 #30 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #31 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9800ead8, app=0x7f8cab998d40, data=0x7f8c6067fca0 "callextqueue,589") at pbx.c:1622 #32 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c9800ead8, con=, context=, exten=, priority=, label=, callerid=0x7f8c9803eca0 "976101332", action=E_SPAWN, found=0x7f8c60683d4c, combined_find_spawn=1) at pbx.c:4915 #33 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #34 __ast_pbx_run (c=0x7f8c9800ead8, args=0x80, args@entry=0x0) at pbx.c:6512 #35 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c9800ead8) at pbx.c:6842 #36 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #37 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c60684700) at pthread_create.c:309 #38 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7f8c61c91700 (LWP 12637)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007f8ca72314d4 in _L_lock_952 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007f8ca7231336 in __GI___pthread_mutex_lock (mutex=0x7f8cab349120) at ../nptl/pthread_mutex_lock.c:114 #3 0x00007f8ca54a6ff5 in _ast_odbc_request_obj2 (name=0x7f8c61c71540 "odbc-sipmanager3", flags=..., file=0x0, function=0xffffffffffffffff , lineno=-1422618336) at res_odbc.c:1390 #4 0x00007f8c8f165d67 in realtime_odbc (database=0x7f8c61c71540 "odbc-sipmanager3", table=0x7f8c61c71640 "rt_sipfriends", ap=0x7f8c61c71790) at res_config_odbc.c:195 #5 0x00007f8ca8b37a04 in ast_load_realtime_helper (family=0x7f8c665be36d "sippeers", ap=ap@entry=0x7f8c61c71790) at config.c:2718 #6 0x00007f8ca8b3d5a1 in ast_load_realtime (family=) at config.c:2749 #7 0x00007f8c66594113 in realtime_peer_by_name (varregs=, var=, ipaddr=, addr=, name=) at chan_sip.c:5231 #8 realtime_peer (which_objects=, devstate_only=, callbackexten=, addr=, newpeername=) at chan_sip.c:5418 #9 sip_find_peer_full (peer=0x7f8c61c760c0 "300000102593", addr=0x0, callbackexten=0x0, realtime=1, which_objects=3, devstate_only=1, transport=0) at chan_sip.c:5533 #10 0x00007f8c66594a55 in sip_find_peer (peer=peer@entry=0x7f8c61c760c0 "300000102593", addr=addr@entry=0x0, realtime=realtime@entry=0, which_objects=which_objects@entry=3, devstate_only=devstate_only@entry=1, transport=transport@entry=0) at chan_sip.c:5572 #11 0x00007f8c66598b24 in sip_devicestate (data=) at chan_sip.c:29663 #12 0x00007f8ca8b48c8b in _ast_device_state (device=0x7f8c61c7619d "SIP/300000102593", check_cache=check_cache@entry=1) at devicestate.c:352 #13 0x00007f8ca8b490aa in ast_device_state (device=) at devicestate.c:367 #14 0x00007f8c674604d4 in devstate_read (chan=, cmd=, data=, buf=0x7f8c61c76220 "", len=4096) at func_devstate.c:106 #15 0x00007f8ca8bb519c in ast_func_read (chan=chan@entry=0x7f8c9806ed18, function=function@entry=0x7f8c61c77230 "DEVICE_STATE(SIP/300000102593)", workspace=workspace@entry=0x7f8c61c76220 "", len=len@entry=4096) at pbx.c:4312 #16 0x00007f8ca8bbd477 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9806ed18, headp=headp@entry=0x7f8c9806f390, cp1=cp1@entry=0x7f8c61c7a350 "${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN", cp2=cp2@entry=0x7f8c61c79340 "", count=count@entry=4095, used=used@entry=0x7f8c61c7b3f0) at pbx.c:4700 #17 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9806ed18, headp=headp@entry=0x7f8c9806f390, cp1=cp1@entry=0x7f8c61c7c460 " $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ", cp2=0x7f8c61c7b455 "", cp2@entry=0x7f8c61c7b450 " 0 | ", count=4090, count@entry=4095, used=used@entry=0x7f8c61c7d500) at pbx.c:4774 #18 0x00007f8ca8bbd782 in pbx_substitute_variables_helper_full (c=c@entry=0x7f8c9806ed18, headp=, cp1=cp1@entry=0x7f8c61c7d5a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c61c7db50 "", count=count@entry=8191, used=used@entry=0x7f8c61c7d560) at pbx.c:4774 #19 0x00007f8ca8bbd949 in pbx_substitute_variables_helper (c=c@entry=0x7f8c9806ed18, cp1=cp1@entry=0x7f8c61c7d5a0 "$[ $[${DEVICE_STATE(SIP/${userterminal})}=UNAVAILABLE] | $[${DEVICE_STATE(SIP/${userterminal})}=UNKNOWN] | $[${DEVICE_STATE(SIP/${userterminal})}=INVALID] ] ?1000", cp2=cp2@entry=0x7f8c61c7db50 "", count=count@entry=8191) at pbx.c:4796 #20 0x00007f8ca8bc0d04 in pbx_extension_helper (c=c@entry=0x7f8c9806ed18, con=con@entry=0x0, context=0x7f8c9806fb68 "macro-searchdev", exten=exten@entry=0x7f8c9806fbb8 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c9806d640 "976101332", action=E_SPAWN, found=0x7f8c61c81cb4, combined_find_spawn=1) at pbx.c:4878 #21 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9806ed18, context=, exten=exten@entry=0x7f8c9806fbb8 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c9806d640 "976101332", found=found@entry=0x7f8c61c81cb4, combined_find_spawn=1) at pbx.c:6037 #22 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #23 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9806ed18, app=0x7f8cab998d40, data=0x7f8c61c82bc0 "searchdev,100000102593") at pbx.c:1622 #24 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9806ed18, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9806fbb8 "s", priority=priority@entry=4, label=label@entry=0x0, callerid=0x7f8c9806d640 "976101332", action=E_SPAWN, found=0x7f8c61c86d24, combined_find_spawn=1) at pbx.c:4915 #25 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9806ed18, context=, exten=exten@entry=0x7f8c9806fbb8 "s", priority=priority@entry=4, callerid=callerid@entry=0x7f8c9806d640 "976101332", found=found@entry=0x7f8c61c86d24, combined_find_spawn=1) at pbx.c:6037 #26 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #27 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9806ed18, app=0x7f8cab998d40, data=0x7f8c61c87c40 "calldevices,593,000001,120,,0") at pbx.c:1622 #28 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c9806ed18, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c9806fbb8 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c9806d640 "976101332", action=E_SPAWN, found=0x7f8c61c8bd94, combined_find_spawn=1) at pbx.c:4915 #29 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c9806ed18, context=, exten=exten@entry=0x7f8c9806fbb8 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c9806d640 "976101332", found=found@entry=0x7f8c61c8bd94, combined_find_spawn=1) at pbx.c:6037 #30 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #31 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c9806ed18, app=0x7f8cab998d40, data=0x7f8c61c8cca0 "callextqueue,593") at pbx.c:1622 #32 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c9806ed18, con=, context=, exten=, priority=, label=, callerid=0x7f8c9806d640 "976101332", action=E_SPAWN, found=0x7f8c61c90d4c, combined_find_spawn=1) at pbx.c:4915 #33 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #34 __ast_pbx_run (c=0x7f8c9806ed18, args=0x80, args@entry=0x0) at pbx.c:6512 #35 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c9806ed18) at pbx.c:6842 #36 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #37 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c61c91700) at pthread_create.c:309 #38 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7f8c621e5700 (LWP 30440)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8bf5ddd in tps_processing_function (data=0x7f8caba4f9f8) at taskprocessor.c:313 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c621e5700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f8ca5821700 (LWP 30408)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ca8b8b62f in logger_thread (data=0x7f8ca8eabca4 , data@entry=0x0) at logger.c:1213 #2 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #3 0x00007f8ca722f0a4 in start_thread (arg=0x7f8ca5821700) at pthread_create.c:309 #4 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f8c61f79700 (LWP 12636)): #0 rtp_payload_type_find_format (obj=0x0, arg=0x7f8c61f67fa0, flags=32) at rtp_engine.c:731 #1 0x00007f8ca8af2a75 in internal_ao2_callback (c=0x0, flags=OBJ_NOLOCK, cb_fn=0x7f8ca8bcaaf0 , arg=0x9f, data=data@entry=0x0, type=(WITH_DATA | unknown: 2775626018), type@entry=DEFAULT, tag=0x0, file=0x0, line=0, func=0x0) at astobj2.c:1107 #2 0x00007f8ca8af32d7 in __ao2_callback (c=, flags=flags@entry=OBJ_NOLOCK, cb_fn=, arg=) at astobj2.c:1212 #3 0x00007f8ca8bcc5d8 in ast_rtp_codecs_payload_code (codecs=, asterisk_format=1, format=0x7f8c61f67fa0, code=0) at rtp_engine.c:751 #4 0x00007f8c6654d950 in add_codec_to_sdp (format=0x7f8c61f67fa0, m_buf=0x9f, m_buf@entry=0x7f8c61f67ac8, a_buf=0x7f8c61f67ae8, debug=-1519341277, debug@entry=0, min_packet_size=0x7f8c61f67ac4, p=, p=) at chan_sip.c:12648 #5 0x00007f8c6655c51e in add_sdp (resp=resp@entry=0x7f8c61f68a30, p=p@entry=0x7f8c70003b38, oldsdp=oldsdp@entry=0, add_audio=add_audio@entry=1, add_t38=add_t38@entry=0) at chan_sip.c:13192 #6 0x00007f8c665708bd in transmit_invite (p=0x7f8c70003b38, sipmethod=5, sdp=1, init=2, explicit_uri=) at chan_sip.c:14112 #7 0x00007f8c665715f6 in sip_call (ast=0x7f8c70015888, dest=0x7f8c61f67fa0 "\250\206\001", timeout=32) at chan_sip.c:6260 #8 0x00007f8ca8b1957d in ast_call (chan=0x7f8c70015888, addr=0x7f8c7001e488 "100000102652", timeout=timeout@entry=0) at channel.c:6037 #9 0x00007f8c630c924b in dial_exec_full (chan=0x7f8c98015f98, data=, peerflags=peerflags@entry=0x7f8c61f6a620, continue_exec=continue_exec@entry=0x0) at app_dial.c:2598 #10 0x00007f8c630cbfe6 in dial_exec (chan=, data=) at app_dial.c:3130 #11 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c98015f98, app=0x7f8caba20800, data=0x7f8c61f6abc0 "SIP/100000102652,120,tTr") at pbx.c:1622 #12 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c98015f98, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=9, label=label@entry=0x0, callerid=0x7f8c98023f10 "976101332", action=E_SPAWN, found=0x7f8c61f6ed24, combined_find_spawn=1) at pbx.c:4915 #13 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c98015f98, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=9, callerid=callerid@entry=0x7f8c98023f10 "976101332", found=found@entry=0x7f8c61f6ed24, combined_find_spawn=1) at pbx.c:6037 #14 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #15 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c98015f98, app=0x7f8cab998d40, data=0x7f8c61f6fc40 "calldevices,652,000001,120,,0") at pbx.c:1622 #16 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=c@entry=0x7f8c98015f98, con=con@entry=0x0, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=6, label=label@entry=0x0, callerid=0x7f8c98023f10 "976101332", action=E_SPAWN, found=0x7f8c61f73d94, combined_find_spawn=1) at pbx.c:4915 #17 0x00007f8ca8bc2972 in ast_spawn_extension (c=c@entry=0x7f8c98015f98, context=, exten=exten@entry=0x7f8c98016e38 "s", priority=priority@entry=6, callerid=callerid@entry=0x7f8c98023f10 "976101332", found=found@entry=0x7f8c61f73d94, combined_find_spawn=1) at pbx.c:6037 #18 0x00007f8c8d7aab3b in _macro_exec (chan=, data=, exclusive=0) at app_macro.c:412 #19 0x00007f8ca8bb3977 in pbx_exec (c=0x7f8c98015f98, app=0x7f8cab998d40, data=0x7f8c61f74ca0 "callextqueue,652") at pbx.c:1622 #20 0x00007f8ca8bc0ea6 in pbx_extension_helper (c=0x7f8c98015f98, con=, context=, exten=, priority=, label=, callerid=0x7f8c98023f10 "976101332", action=E_SPAWN, found=0x7f8c61f78d4c, combined_find_spawn=1) at pbx.c:4915 #21 0x00007f8ca8bc2f47 in ast_spawn_extension (combined_find_spawn=, found=, callerid=, priority=, exten=, context=, c=) at pbx.c:6037 #22 __ast_pbx_run (c=0x7f8c98015f98, args=0x7f8c61f67fa0, args@entry=0x0) at pbx.c:6512 #23 0x00007f8ca8bc44db in pbx_thread (data=data@entry=0x7f8c98015f98) at pbx.c:6842 #24 0x00007f8ca8c0412c in dummy_start (data=) at utils.c:1192 #25 0x00007f8ca722f0a4 in start_thread (arg=0x7f8c61f79700) at pthread_create.c:309 #26 0x00007f8ca85bd04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111