Displaying 3 results from an estimated 3 matches for "ast_friendly_offset".
2003 Jul 08
0
Patch to fix some segfaults in Asterisk
...root/asterisk/frame.c,v
retrieving revision 1.3
diff -u -r1.3 frame.c
--- frame.c 28 Jun 2003 16:40:02 -0000 1.3
+++ frame.c 8 Jul 2003 10:48:15 -0000
@@ -125,8 +125,10 @@
/* Make frame */
s->f.frametype = AST_FRAME_VOICE;
s->f.subclass = s->format;
- s->f.data = s->framedata + AST_FRIENDLY_OFFSET;
- s->f.offset = AST_FRIENDLY_OFFSET;
+ /*s->f.data = s->framedata + AST_FRIENDLY_OFFSET;*/
+ s->f.data = s->framedata;
+ /*s->f.offset = AST_FRIENDLY_OFFSET;*/
+ s->f.offset = 0;
s->f.datalen = s->size;
s->f.samples = s->size * s->samplesperbyte;
/* Fill D...
2003 May 30
1
siemens optipoint 400 SIP
hi!
anyone try siemens optipoint 400 economy SIP phone with * ?
--
http://www.siemens.com/Daten/siecom/HQ/ICN/Internet/Enterprise_Networks/WORKAREA/skuch_c/templatedata/English/document/binary/a31002-h1000-a250-2-7629.pdf
Thomas
2003 Feb 23
0
Question about some Cisco-specific code in "rtp.c"
...ile "rtp.c" currently contains the following hack for special-case
handling of some Cisco-specific protocol:
} else if (payloadtype == 121) {
/* CISCO proprietary DTMF bridge */
f = process_type121(rtp, rtp->rawdata +
AST_FRIENDLY_OFFSET + hdrlen, res - hdrlen);
As I noted in my earlier message, I'm planning to update the code to
improve the handling of dynamic RTP payload type numbers (like 121) - in
particular, to fix bogus hard-wired cases like this.
In this case, though, I'll need to know what the "a=rtpmap: .....