Hi Sundar As far as i remember this ptime parameter is media level attribute and it should be same for all payloads mentioned for that particular media line .You can check more in SDP RFC 4566.
Thanks & regards Ankur Bansal On Tue, Nov 26, 2013 at 12:01 PM, Sundar Ramakrishnan <mok...@gmail.com>wrote: > Hello, > > I have a question on how to handle multiple codec with multiple ptime in > the invite. My calls fail if I use the format mentioned here. Is this > format in the invite fine? > > *INVITE sip:u...@abc.com <sip%3au...@abc.com> SIP/2.0* > > *ax-Forwards: 70* > > *Via: SIP/2.0/UDP > 192.168.64.16:5069;branch=z3hG4bK0-c0a94010-0009-1321269311* > > *Supported: * > > *Call-ID: 9-131126151850-1486236468@c0a84010* > > *CSeq: 719958089 INVITE* > > *From: <**sip:u...@abc.com <sip%3au...@abc.com>* > *>;tag=9-c0a94010-131126251850-116323010* > > *To: <sip:u...@abc.com <sip%3au...@abc.com>>* > > *Contact: <sip:UAC9@192.168.64.16:5069;transport=udp>* > > *Content-Type: application/sdp* > > *Accept: application/sdp, application/dtmf-relay* > > *Content-Length: 473* > > > > *v=0* > > *o=- 219866560 219866561 IN IP4 192.168.64.16* > > *s=-* > > *c=IN IP4 192.168.64.16* > > *t=0 0* > > *m=audio 20096 RTP/AVP 18 96 8 3 9 97 98 0 4* > > *a=rtpmap:18 G729/8000* > > *a=ptime:20* > > *a=rtpmap:96 G726-16/8000* > > *a=ptime:20* > > *a=rtpmap:8 PCMA/8000* > > *a=ptime:20* > > *a=rtpmap:3 GSM/8000* > > *a=ptime:20* > > *a=rtpmap:9 G722/8000* > > *a=fmtp:9 bitrate=48000* > > *a=ptime:20* > > *a=rtpmap:97 AMR-WB/16000* > > *a=fmtp:97 octet-align=1; mode-set=0* > > *a=ptime:20* > > *a=rtpmap:98 EVRCB/8000* > > *a=ptime:20* > > *a=rtpmap:0 PCMU/8000* > > *a=ptime:20* > > *a=rtpmap:4 G723/8000* > > *a=ptime:30* > > > > > *Although, upon reading this RFC > < > http://tools.ietf.org/id/draft-garcia-mmusic-multiple-ptimes-problem-03.txt > > > which is expired says its not allowed. Can everyone throw more light on > this and help please?* > > > *Thanks* > > > > *Sundar * > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors