#0  0x00002aaaaacccd50 in SQLGetData (statement_handle=0x2aaac0431540, column_number=6, target_type=1, target_value=0x2aaabcb11ca8, buffer_length=10001, strlen_or_ind=0x43f32740)
    at SQLGetData.c:372
372         if ( !CHECK_SQLGETDATA( statement -> connection ))
(gdb) bt full
#0  0x00002aaaaacccd50 in SQLGetData (statement_handle=0x2aaac0431540, column_number=6, target_type=1, target_value=0x2aaabcb11ca8, buffer_length=10001, strlen_or_ind=0x43f32740)
    at SQLGetData.c:372
        statement = <value optimized out>
        ret = <value optimized out>
        s1 = " !óC\000\000\000\000\016\236Ìªª*\000\000Ð!óC\000\000\000\000\2007aÀª*\000\000*\001\000\000\000\000\000\000\220\034±¼ª*\000\000\020&óC\000\000\000\000\220Õ\031Àª*\000\000`÷\032Àª*\000\000¹@O\000\000\000\000\000 \000\000Àª*\000\000P\000\000\000\000\000\000\000 !óC\000\000\000\000\fY\aÍ4\000\000\000è¡¡\037", '\0' <repeats 20 times>, "\2007aÀª*\000\000C\000\000\000\000\000\000\000 \000\000Àª*\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000`÷\032Àª*\000\0000\\\aÍ4", '\0' <repeats 11 times>, "P\000\000\000\000\000\000\000À\212V"...
        s2 = "h\000\000¼ª*\000\000h\000\000¼ª*\000\000ÿÿÿÿ\000\000\000\000\200\000\000¼ª*\000\000\001\000\000\000\000\000\000\000`ô4Í4", '\0' <repeats 11 times>, "¸þ\200Í4\000\000\000è\001\201Í4\000\000\000\200µ\025¼ª*\000\0000\000\000\000\000\000\000\000\200\000\000¼ª*\000\000 \000\000¼ª*\000\000`µ\025¼ª*\000\000@'\000\000\000\000\000\000ý#\aÍ4\000\000\000\2007aÀª*\000\000*\001\000\000\000\000\000\000H'óC", '\0' <repeats 12 times>, "\200!óC\000\000\000\000|>O\000\000\000\000\000\000\000ÿÿ\000\000\000\0000\021\220Àª*\000\000î\203Ý«ª*\000\000\035\000\000"...
        unicode_switch = <value optimized out>
        ind_value = <value optimized out>
        as1 = <value optimized out>
        s3 = "µ7aÀª*\000\000µ7aÀª*\000\000 !óC\000\000\000\000î\203Ý«ª*\000\000\005\000\000\000\000\000\000\000\035\000\000\000\000\000\000\000\220\037óC\000\000\000\000:\230\006Í4\000\000\000\001\200­ûª*\000\000µ7aÀª*\000\000µ7aÀª*\000\000µ7aÀª*\000\000µ7aÀª*\000\000¶7aÀª*\000\000º7aÀª*\000\000µ7aÀª*\000\000º7aÀª*", '\0' <repeats 42 times>, "@\025CÀ", '\0' <repeats 14 times>, "óC\001", '\0' <repeats 11 times>, "\a\000\000\000r\016\000\000@\025CÀª*\000\000\001\000\000"
#1  0x00002aaaabdd7816 in acf_odbc_read (chan=0x2aaac01af760, cmd=<value optimized out>, s=<value optimized out>, 
    buf=0x43f32880 "SIP/g729.72.44.195.165/15039642683-SIP/g729.207.210.254.106/15039642683-SIP/g729.70.35.175.9/998615039642683-SIP/g729.64.132.31.155/15039642683-,4,6462742874,a356b1c-0.020000d-0.020000e0f15039642683x0"..., len=4096) at func_odbc.c:458
        coldata = (struct ast_str *) 0x2aaabcb11c90
        obj = (struct odbc_obj *) 0x1fd0f1e8
        query = <value optimized out>
        varname = "ARG4\000\000\000\000\020\000\000\000\000\000"
        rowcount = "-1\000\000\000\000\000\000\000\000\000"
        colnames = (struct ast_str *) 0x2aaac0613780
        res = <value optimized out>
        x = <value optimized out>
        y = 0
        buflen = <value optimized out>
        rowlimit = 1
        bogus_chan = 0
        args = {argc = 4, argv = 0x43f322e8, field = {0x43f327c1 "15039642683", 0x43f327cd "6462742874", 0x43f327d8 "356", 0x43f327dc "g729", 0x0 <repeats 96 times>}}
        stmt = (SQLHSTMT) 0x2aaac0431540
        colcount = 7
        indicator = 96
        collength = 6
        resultset = (struct odbc_datastore *) 0x0
        sql = (struct ast_str *) 0x2aaac019d590
        __PRETTY_FUNCTION__ = "acf_odbc_read"
        __FUNCTION__ = "acf_odbc_read"
#2  0x00000000004afceb in ast_func_read (chan=0x2aaac01af760, function=<value optimized out>, 
    workspace=0x43f32880 "SIP/g729.72.44.195.165/15039642683-SIP/g729.207.210.254.106/15039642683-SIP/g729.70.35.175.9/998615039642683-SIP/g729.64.132.31.155/15039642683-,4,6462742874,a356b1c-0.020000d-0.020000e0f15039642683x0"..., len=4096) at pbx.c:2887
        res = <value optimized out>
        u = (struct ast_module_user *) 0x2aaac01c2f70
        args = 0x43f327c1 "15039642683"
        acfptr = (struct ast_custom_function *) 0x1fa2be40
        __PRETTY_FUNCTION__ = "ast_func_read"
#3  0x00000000004b28c0 in pbx_substitute_variables_helper_full (c=0x2aaac01af760, headp=0x2aaac01af960, cp1=<value optimized out>, cp2=0x43f379f0 "", count=8143) at pbx.c:3021
        cp4 = 0x43f33894 "XEL_GOMIRROR(15039642683,6462742874,356,g729)"
        whereweare = 0x2087d533 ""
        length = <value optimized out>
        offset = 0
        offset2 = 2147483647
        isfunction = 1
        workspace = <value optimized out>
        ltmp = 0x43f33890 "MINIXEL_GOMIRROR(15039642683,6462742874,356,g729)"
        var = <value optimized out>
        nextvar = <value optimized out>
        nextexp = <value optimized out>
        nextthing = <value optimized out>
        vars = 0x43f33890 "MINIXEL_GOMIRROR(15039642683,6462742874,356,g729)"
        vare = <value optimized out>
        pos = <value optimized out>
        brackets = <value optimized out>
        needsub = 4
        len = <value optimized out>
        __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full"
        __func__ = "pbx_substitute_variables_helper_full"
#4  0x00000000004b4e69 in pbx_extension_helper (c=0x2aaac01af760, con=<value optimized out>, context=0x2aaac01afb20 "defaultproc", exten=0x2aaac01afb70 "15039642683", priority=1, 
    label=0x0, callerid=0x1fec17f0 "6462742874", action=E_SPAWN, found=0x43f3a02c, combined_find_spawn=1) at pbx.c:3113
        e = <value optimized out>
        app = (struct ast_app *) 0x1fa1eff0
        res = <value optimized out>
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x2aaac01afb20 "defaultproc"}
        passdata = "ARRAY(CARRIERLIST,Z,NANI,CLIST,PLIST,PROMPT,TO)=\00042874 Origin: C190.81.171.190\000j0\0001.171.190\000207.210.254.106/13476129902-SIP/g729.70.35.175.5/998613476129902-SIP/g729.64.132.31.155/13476129902-,4,64627"...
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
---Type <return> to continue, or q <return> to quit--- 
#5  0x00000000004b7d12 in __ast_pbx_run (c=0x2aaac01af760, args=0x0) at pbx.c:3678
        dst_exten = "( óC\000\000\000\0000 óC", '\0' <repeats 12 times>, "8 óC", '\0' <repeats 20 times>, "` óC", '\0' <repeats 28 times>, "\030", '\0' <repeats 15 times>, "@ óC\000\000\000\000H óC\000\000\000\000P óC\000\000\000\000X óC\000\000\000\000h óC", '\0' <repeats 12 times>, "p óC\000\000\000\000ÄÌ\200Í4", '\0' <repeats 27 times>, "À\0315Í4", '\0' <repeats 11 times>, "pÿ\207 \000\000\000\000\220°\002\000\000\000\000\000\030\000\000\000\000\000\000\000À\0315Í4\000\000\000à<\aÍ4", '\0' <repeats 11 times>, "°vK¼ª*\000"
        pos = 0
        digit = 0
        invalid = <value optimized out>
        found = 1
        res = 0
        error = 0
        __PRETTY_FUNCTION__ = "__ast_pbx_run"
#6  0x00000000004b92eb in pbx_thread (data=0x1) at pbx.c:4058
No locals.
#7  0x00000000004f294c in dummy_start (data=<value optimized out>) at utils.c:968
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {46912791869104, 803259526718510343, 0, 1140042048, 5187824, 4096, 803259527841641863, 803259526723566645}, 
      __mask_was_saved = 0}}, __pad = {0x43f3a1c0, 0x0, 0x34cd34c890, 0x34cd34c898}}
        __cancel_arg = (void *) 0x43f3a940
        not_first_call = <value optimized out>
        ret = <value optimized out>
#8  0x00000034cd806367 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#9  0x00000034cd0d2f7d in clone () from /lib64/libc.so.6
No symbol table info available.
(gdb)