[Home]

Summary:ASTERISK-00163: sip-h323 call coredumps latest cvs version
Reporter:hristo (hristo)Labels:
Date Opened:2003-08-25 09:41:30Date Closed:2004-09-25 02:40:13
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:after updating/recompiling the latest cvs today (last update was 2 weeks ago and was working fine) asterisk coredumps. nothing else was changed. i am calling from SIP endpoint (ms messenger) to H323 gateway (vocaltec). codec is g723 (passing thru)

****** ADDITIONAL INFORMATION ******

====
   -- Registered SIP '134' at 1.1.1.1 port 10561 expires 1200
DEBUG[1133735216]: File chan_sip.c, Line 3783 (check_user): Setting NAT on RTP to 0
DEBUG[1133735216]: File chan_sip.c, Line 4807 (handle_request): Check for res
DEBUG[1133735216]: File chan_sip.c, Line 952 (find_user): Call from user '134' is 1 out of 0
DEBUG[1133735216]: File chan_sip.c, Line 3249 (build_route): build_route: Contact hop: <sip:1.1.1.1:10561>
   -- Executing Macro("SIP/134-9b97", "gateways|16511234567") in new stack
   -- Executing SetCallerID("SIP/134-9b97", "134") in new stack
   -- Executing SetCIDName("SIP/134-9b97", "test") in new stack
   -- Executing Dial("SIP/134-9b97", "H323/h323:16511234567@2.2.2.2") in new stack
DEBUG[1239280944]: File chan_h323.c, Line 744 (oh323_request): type=H323, format=1, data=h323:16511234567@2.2.2.2.
DEBUG[1239280944]: File chan_h323.c, Line 790 (oh323_request): Host: 2.2.2.2        Username:
Segmentation fault (core dumped)

====

(gdb) bt
#0  0x41ee8fab in oh323_new (i=0x80d0c28, state=0, host=0x49ddd289 "2.2.2.2") at chan_h323.c:625
#1  0x41ee97e0 in oh323_request (type=0x49ddd818 "H323", format=1, data=0x49ddd6c8) at chan_h323.c:794
#2  0x08058f80 in ast_request (type=0x49ddd818 "H323", format=1, data=0x1) at channel.c:1543
#3  0x41daba9d in dial_exec (chan=0x8118908, data=0x49ddd818) at app_dial.c:492
#4  0x08061aca in pbx_exec (c=0x8118908, app=0x80f1998, data=0x49dddb58, newstack=1) at pbx.c:388
ASTERISK-1  0x08068b31 in pbx_extension_helper (c=0x8118908, context=0x8118a58 "macro-gateways", exten=0x8118908 "SIP/134-9b97",
   priority=3, callerid=0x80d0b20 "\"test\" <134>", action=135325384) at pbx.c:1136
ASTERISK-2  0x08067be5 in ast_spawn_extension (c=0x1, context=0x1 <Address 0x1 out of bounds>,
   exten=0x1 <Address 0x1 out of bounds>, priority=1, callerid=0x1 <Address 0x1 out of bounds>) at pbx.c:1620
ASTERISK-3  0x41e1f444 in macro_exec (chan=0x8118908, data=0x49ddd818) at app_macro.c:140
ASTERISK-4  0x08061aca in pbx_exec (c=0x8118908, app=0x80d2aa8, data=0x49dde5a8, newstack=1) at pbx.c:388
ASTERISK-5  0x08068b31 in pbx_extension_helper (c=0x8118908, context=0x8118a58 "macro-gateways",
   exten=0x49dde5a8 "gateways|16511234567", priority=1, callerid=0x8113858 "\036", action=135325384) at pbx.c:1136
ASTERISK-6 0x0806394c in ast_pbx_run (c=0x810e6c8) at pbx.c:1620
ASTERISK-7 0x080691f1 in pbx_thread (data=0x1) at pbx.c:1836
ASTERISK-8 0x40026332 in start_thread () from /lib/tls/libpthread.so.0
(gdb)
Comments:By: Mark Spencer (markster) 2003-08-25 10:31:57

Since H.323 isn't even building today yet (see bug ASTERISK-162), I'm guessing you're running chan_h323.so from your old build and trying to run against your nicely working CVS chan_sip.so