(gdb) bt
#0  0x00007f5109b233d4 in malloc_consolidate () from /lib64/libc.so.6
#1  0x00007f5109b263b2 in _int_malloc () from /lib64/libc.so.6
#2  0x00007f5109b27476 in calloc () from /lib64/libc.so.6
#3  0x00007f50b45a4c08 in _ast_calloc (resp=0x7f50a8876a00, p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=0x7f50540b2fa8) at /root/update2/asterisk-1.8.10.0/include/asterisk/utils.h:480
#4  ast_str_create (resp=0x7f50a8876a00, p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=0x7f50540b2fa8) at /root/update2/asterisk-1.8.10.0/include/asterisk/strings.h:405
#5  init_resp (resp=0x7f50a8876a00, p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=0x7f50540b2fa8) at chan_sip.c:10099
#6  respprep (resp=0x7f50a8876a00, p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=0x7f50540b2fa8) at chan_sip.c:10217
#7  0x00007f50b45a6d46 in __transmit_response (p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=0x7f50540b2fa8, reliable=XMIT_UNRELIABLE) at chan_sip.c:10438
#8  0x00007f50b45ab207 in transmit_response (p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=<value optimized out>, with_sdp=0) at chan_sip.c:10574
#9  transmit_provisional_response (p=0x7f50540b2608, msg=0x7f50b45f3775 "180 Ringing", req=<value optimized out>, with_sdp=0) at chan_sip.c:10779
#10 0x00007f50b45afff9 in sip_indicate (ast=0x7f5054220d98, condition=3, data=0x0, datalen=0) at chan_sip.c:6843
#11 0x000000000046c829 in ast_indicate_data (chan=0x7f5054220d98, _condition=3, data=0x0, datalen=0) at channel.c:4401
#12 0x00007f50b84b82fe in wait_for_answer (in=0x7f5054220d98, outgoing=0x190bb50, to=0x7f50a887952c, peerflags=0x7f50a8879570, opt_args=0x7f50a8879230, pa=0x7f50a8878950, num_in=0x7f50a8879480,
    result=0x7f50a8879524, dtmf_progress=0x0, ignore_cc=1, forced_clid=0x7f50a8879400, stored_clid=0x7f50a88793b0) at app_dial.c:1269
#13 0x00007f50b84b9e1d in dial_exec_full (chan=0x7f5054220d98, data=<value optimized out>, peerflags=0x7f50a8879570, continue_exec=0x0) at app_dial.c:2425
#14 0x00007f50b84bd956 in dial_exec (chan=<value optimized out>, data=<value optimized out>) at app_dial.c:2929
#15 0x00000000004edb0b in pbx_exec (c=0x7f5054220d98, app=0x1feb8e0, data=0x7f50a887b690 "DAHDI/g1/87540414,60,tT,") at pbx.c:1430
#16 0x00000000004fae2a in pbx_extension_helper (c=0x7f5054220d98, con=0x0, context=0x7f50542212f0 "Agentes", exten=0x7f5054221340 "187540414", priority=13, label=0x7f50542212f0 "Agentes",
    callerid=0x2224e90 "22399368", action=E_SPAWN, found=0x7f50a887dd0c, combined_find_spawn=1) at pbx.c:4249
#17 0x00000000004fd805 in ast_spawn_extension (c=0x7f5054220d98, args=0x0) at pbx.c:4887
#18 __ast_pbx_run (c=0x7f5054220d98, args=0x0) at pbx.c:4987
#19 0x00000000004ff1ab in pbx_thread (data=<value optimized out>) at pbx.c:5327
#20 0x000000000053853a in dummy_start (data=<value optimized out>) at utils.c:1004
#21 0x00007f5108eaa7f1 in start_thread () from /lib64/libpthread.so.0
#22 0x00007f5109b93ccd in clone () from /lib64/libc.so.6