Segmentation fault occurs after executing the following cmd.
Dial(SIP/1234 at 10.0.1.200|35|Ttr)
Is it a bug and how to fix it?
Below is the core dump message converted by gdb.
#0 0x068be1ad in realtime_peer (newpeername=0x1b37844 "10.20.0.1",
sin=0x0)
at chan_sip.c:2547
#1 0x068becb3 in find_peer (peer=0x1b37844 "10.20.0.1", sin=0x0,
realtime=1)
at chan_sip.c:2676
#2 0x068c0d4b in create_addr (dialog=0x9fb05b8, opeer=0x1b37e24
"10.20.0.1")
at chan_sip.c:2902
#3 0x069022d1 in sip_request_call (type=0x1b38010 "SIP", format=256,
data=0x1b38b08, cause=0x1b38c08) at chan_sip.c:15992
#4 0x0808c50a in ast_request (type=0x1b38010 "SIP", format=256,
data=0x1b38b08, cause=0x1b38c08) at channel.c:2994
#5 0x00df6d91 in dial_exec_full (chan=0x9f91f20, data=0x1b3af38,
peerflags=0x1b38e04, continue_exec=0x0) at app_dial.c:1180
#6 0x00dfa3b6 in dial_exec (chan=0x9f91f20, data=0x1b3af38) at app_dial.c:1747
#7 0x080ce1ca in pbx_exec (c=0x9f91f20, app=0x9f37890, data=0x1b3af38)
at pbx.c:537
#8 0x080d1f3b in pbx_extension_helper (c=0x9f91f20, con=0x0,
context=0x9f92160 "internal-admin", exten=0x9f921b0
"104", priority=4,
label=0x0, callerid=0x9f727b8 "200", action=E_SPAWN) at pbx.c:1862
#9 0x080d3280 in ast_spawn_extension (c=0x9f91f20,
context=0x9f92160 "internal-admin", exten=0x9f921b0
"104", priority=4,
callerid=0x9f727b8 "200") at pbx.c:2317
#10 0x080d37ac in __ast_pbx_run (c=0x9f91f20) at pbx.c:2419
#11 0x080d45c8 in pbx_thread (data=0x9f91f20) at pbx.c:2634
#12 0x08117094 in dummy_start (data=0x9f70fe8) at utils.c:865
#13 0x0076b45b in start_thread () from /lib/libpthread.so.0
#14 0x00bf124e in clone () from /lib/libc.so.6