[Siproxd-users] Re-writing RFC 3605 SDP attributes
Status: Beta
Brought to you by:
tries
From: Darrin S. <dar...@gm...> - 2011-05-06 19:44:10
|
Hi All, In this example I have a Aastra 9480i phone at 10.1.0.244. I have a siproxd instance running on a machine that straddles the 10.1.0 internal network and 64.60.XX.YY public IP address. I have an asterisk server that also happens to be running on the same public IP address (for now). I am using sipproxd so that handsets can bypass Asterisk for their RTP streams negotiate directly with the other endpoint. Take a look at the extracted SDP packet below. This was captured on the outbound side of siproxd, between siproxd and the Asterisk server. You can see that it's rewritten most of the packet perfectly. The only problem is that the handset has included RFC 3605 RTCP attributes, and these have not been rewritten by siproxd. I can't find a way to stop my handsets setting this attribute, so it would be great if siproxd could rewrite it. Thanks Darrin Message Body Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): MxSIP 0 1 IN IP4 64.60.XX.YY Owner Username: MxSIP Session ID: 0 Session Version: 1 Owner Network Type: IN Owner Address Type: IP4 Owner Address: 64.60.XX.YY Session Name (s): SIP Call Connection Information (c): IN IP4 64.60.XX.YY Connection Network Type: IN Connection Address Type: IP4 Connection Address: 64.60.XX.YY Time Description, active time (t): 0 0 Session Start Time: 0 Session Stop Time: 0 Media Description, name and address (m): audio 17114 RTP/AVP 9 18 107 113 110 111 96 106 0 8 101 Media Type: audio Media Port: 17114 Media Proto: RTP/AVP Media Format: ITU-T G.722 Media Format: ITU-T G.729 Media Format: 107 Media Format: 113 Media Format: 110 Media Format: 111 Media Format: 96 Media Format: 106 Media Format: ITU-T G.711 PCMU Media Format: ITU-T G.711 PCMA Media Format: 101 Media Attribute (a): rtpmap:9 G722/8000 Media Attribute Fieldname: rtpmap Media Format: 9 MIME Type: G722 Media Attribute (a): rtpmap:18 G729/8000 Media Attribute Fieldname: rtpmap Media Format: 18 MIME Type: G729 Media Attribute (a): rtpmap:107 BV32/16000 Media Attribute Fieldname: rtpmap Media Format: 107 MIME Type: BV32 Media Attribute (a): rtpmap:113 L16/16000 Media Attribute Fieldname: rtpmap Media Format: 113 MIME Type: L16 Media Attribute (a): rtpmap:110 PCMU/16000 Media Attribute Fieldname: rtpmap Media Format: 110 MIME Type: PCMU Media Attribute (a): rtpmap:111 PCMA/16000 Media Attribute Fieldname: rtpmap Media Format: 111 MIME Type: PCMA Media Attribute (a): rtpmap:96 G726-40/8000 Media Attribute Fieldname: rtpmap Media Format: 96 MIME Type: G726-40 Media Attribute (a): rtpmap:106 BV16/8000 Media Attribute Fieldname: rtpmap Media Format: 106 MIME Type: BV16 Media Attribute (a): rtpmap:0 PCMU/8000 Media Attribute Fieldname: rtpmap Media Format: 0 MIME Type: PCMU Media Attribute (a): rtpmap:8 PCMA/8000 Media Attribute Fieldname: rtpmap Media Format: 8 MIME Type: PCMA Media Attribute (a): rtpmap:101 telephone-event/8000 Media Attribute Fieldname: rtpmap Media Format: 101 MIME Type: telephone-event Media Attribute (a): silenceSupp:on - - - - Media Attribute Fieldname: silenceSupp Media Attribute Value: on - - - - Media Attribute (a): fmtp:101 0-15 Media Attribute Fieldname: fmtp Media Format: 101 [telephone-event] Media format specific parameters: 0-15 Media Attribute (a): ptime:30 Media Attribute Fieldname: ptime Media Attribute Value: 30 Media Attribute (a): rtcp:3001 IN IP4 10.1.0.244 Media Attribute Fieldname: rtcp Media Attribute Value: 3001 IN IP4 10.1.0.244 Media Attribute (a): sendrecv |