[Home]

Summary:ASTERISK-02412: SIP and h323 can't handle LPC10
Reporter:zoa (zoa)Labels:
Date Opened:2004-09-15 10:10:00Date Closed:2011-06-07 14:10:11
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/CodecHandling
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Sep 15 18:09:09 WARNING[30749]: rtp.c:1086 ast_rtp_raw_write: Not sure about timestamp format for codec format LPC10

(latest cvs)
Comments:By: Mark Spencer (markster) 2004-09-15 14:38:45

Try CVS, I just moved the code from IAX2.

By: Mark Spencer (markster) 2004-09-16 23:47:34

Did you try this out yet?

By: zoa (zoa) 2004-09-18 03:20:57

just tried it out and i get a coredump.
(Please note that i originated the call with the manager, and that the sending server did not yet get upgraded).

Will try to upgrade the sending server, but need to take it out of production to do so.

#0  ast_rtp_read (rtp=0x80f7e80) at rtp.c:557
557                             rtp->f.samples += (((char *)(f->data))[7] & 0x1) * 8;
(gdb) bt full
#0  ast_rtp_read (rtp=0x80f7e80) at rtp.c:557
       rtp = (struct ast_rtp *) 0x80f7e80
       res = 19
       sin = {sin_family = 2, sin_port = 30790, sin_addr = {s_addr = 117441802}, sin_zero = "\0\0\0\0\0\0\0"}
       len = 16
       seqno = 7
       payloadtype = 7
       hdrlen = 12
       mark = 0
       ext = 0
       iabuf = "\022\0\0\0\216D\002@àÚ\002@\0ü_½"
       timestamp = 96
       f = (struct ast_frame *) 0x0
       null_frame = {frametype = 5, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0,
 data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}
       rtpPT = {isAstFormat = 0, code = 135233284}
#1  0x404069cf in sip_rtp_read (ast=0x80fa798, p=0x80f5f20) at chan_sip.c:2234
       ast = (struct ast_channel *) 0x0
       p = (struct sip_pvt *) 0x80f5f20
       f = (struct ast_frame *) 0x80f5f20
       null_frame = {frametype = 5, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0,
 data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}
#2  0x4041ed82 in sip_read (ast=0x80fa798) at chan_sip.c:2276
       ast = (struct ast_channel *) 0x80fa798
       fr = (struct ast_frame *) 0x80fa798
       p = (struct sip_pvt *) 0x80f5f20
#3  0x0805a4c8 in ast_read (chan=0x80fa798) at channel.c:1304
       chan = (struct ast_channel *) 0x80fa798
       f = (struct ast_frame *) 0x0
       blah = 1095495320
       func = (int (*)()) 0
       data = (void *) 0x1
       res = 0
       null_frame = {frametype = 5, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0,
 data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}
#4  0x080622e8 in ast_waitstream (c=0x80fa798, breakon=0x4060f3e6 "") at file.c:942
       c = (struct ast_channel *) 0x80fa798
       breakon = 0x4060f3e6 ""
       res = 18
       fr = (struct ast_frame *) 0x406105fc
ASTERISK-1  0x4060ee10 in playback_exec (chan=0x80fa798, data=0xbd5fd7b4) at app_playback.c:81
       res = 0
       u = (struct localuser *) 0x80f2430
---Type <return> to continue, or q <return> to quit---
       tmp = "test", '\0' <repeats 251 times>, "\b"
       option_skip = 0
       option_noanswer = 0
       stringp = 0x0
ASTERISK-2  0x0806fa6c in pbx_exec (c=0x80fa798, app=0x4031ca00, data=0xbd5fd7b4, newstack=1) at pbx.c:469
       res = 0
       saved_c_appl = 0x0
       saved_c_data = 0x0
       stack = -1
       execute = (int (*)()) 0x4060eb74 <playback_exec>
ASTERISK-3  0x08071abf in pbx_extension_helper (c=0x80fa798, context=0x80fa8f0 "callgen", exten=0x80fa9e4 "test022", priority=2,
   callerid=0x80f3eb0 "\"asterisk\" <asterisk>", action=1) at pbx.c:1276
       callerid = 0x80fa9e4 "test022"
       action = -1117792332
       e = (struct ast_exten *) 0x4031a758
       app = (struct ast_app *) 0x4031ca00
       sw = (struct ast_switch *) 0x0
       data = 0x0
       newstack = 1
       res = 0
       status = 4
       incstack = {0x0 <repeats 20 times>, 0x80fa798 "SIP/10.5.0.7-080f5f20", 0x807f406 "\211Â\205Òt\024Æ\003",
 0xbd5ff975 "asterisk", 0x22 <Address 0x22 out of bounds>, 0x0, 0x0, 0xbd5ff974 "", 0x80f1ed0 "\"asterisk\" <asterisk>",
 0x80fa798 "SIP/10.5.0.7-080f5f20", 0x0 <repeats 55 times>, 0x7 <Address 0x7 out of bounds>,
 0x807f892 "\203Ä\020\205Àu\a\212\0043\210\0047GC\200<3", 0x80c8dd0 "( )-.", 0x6b <Address 0x6b out of bounds>,
 0x80f1ec8 "", 0x401391d6 "[\201Ãr\234\n", 0x80f1ed0 "\"asterisk\" <asterisk>", 0x80fa798 "SIP/10.5.0.7-080f5f20",
 0x80fa798 "SIP/10.5.0.7-080f5f20", 0x40024c3e "[\201â\216", 0x4 <Address 0x4 out of bounds>, 0x80f2190 "1095495319.0",
 0xbd5ff9c4 "ä©\017\b\002", 0x8083858 "\203Ä\020\213¶à\003", 0x80f2190 "1095495319.0", 0x80fbf4c "1095495319.0",
 0x1f <Address 0x1f out of bounds>, 0x40021195 "[\201ÃKÉ", 0x4002dae0 "ì9\001", 0xbd5ffb60 "", 0xbd5ffc00 "",
 0x400212d3 "1Àë\005¸\026", 0x48 <Address 0x48 out of bounds>, 0x2 <Address 0x2 out of bounds>, 0xbd5ff9a4 "",
 0x401391a8 "ë\020\215¶", 0xbd5ff975 "asterisk", 0xbd5ff980 "asterisk", 0x74736100 <Address 0x74736100 out of bounds>,
 0x73697265 <Address 0x73697265 out of bounds>, 0x20006b <Address 0x20006b out of bounds>,
 0x65747361 <Address 0x65747361 out of bounds>, 0x6b736972 <Address 0x6b736972 out of bounds>, 0x0, 0x0, 0x0, 0x0,
 0x8083fd0 "\203Ä\020\213\233à\003", 0x80f2150 "\227îKA\215Õ\016", 0x0, 0x0, 0x0, 0x80fa8f0 "callgen", 0x80fa9e4 "test022"}
       passdata = "test", '\0' <repeats 8187 times>
       stacklen = 0
       tmp = "\e[1;36;40mPlayback\e[0;37;40m", '\0' <repeats 51 times>
       tmp2 = "\e[1;35;40mSIP/10.5.0.7-080f5f20\e[0;37;40m", '\0' <repeats 38 times>
       tmp3 = "\e[1;35;40mtest\e[0;37;40m", '\0' <repeats 8167 times>
ASTERISK-4  0x0807283d in ast_pbx_run (c=0x80fa798) at pbx.c:1757
       digit = 0 '\0'
       exten = '\0' <repeats 255 times>
       pos = 0
---Type <return> to continue, or q <return> to quit---
       waittime = -1117783292
       res = 0
ASTERISK-5  0x080793c6 in pbx_thread (data=0x80fa798) at pbx.c:1980
       data = (void *) 0x0
ASTERISK-6 0x400200ba in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.

By: Mark Spencer (markster) 2004-09-18 09:52:46

Should be fixed, try it :)

By: Mark Spencer (markster) 2004-09-21 08:20:48

Hello, did you try it?

By: Mark Spencer (markster) 2004-09-22 08:08:51

User appears to have lost interest.