[Freeswitch-users] Forcing CN offer

Alex Massover alex at jajah.com
Thu Aug 25 13:25:34 MSD 2011


Hello,

I'm working on the following scenarios:
scenario 1:  A  --> FS --> B
scenario 2: C --> FS --> A

Where A supports CN (a=rtpmap:13 CN/8000) and requires CN negotiation, and B and C do not support and aren't able to negotiate it.

I successfully implemented scenario 1, CN is negotiated between A party and FS, and not negotiated between FS and B.

But scenario 2 doesn't work for me! When C doesn't offer CN in INVITE towards FS, FS also doesn't offer CN in SDP in INVITE towards A.
And nothing helps, tried all the combination of VAD options. Gateway A is in the same internal sip profile in both scenarios.

This is the SDP in INVITE from C to FS:

            Media Description, name and address (m): audio 30224 RTP/AVP 0 8 18 101
            Media Attribute (a): rtpmap:0 PCMU/8000
            Media Attribute (a): rtpmap:8 PCMA/8000
            Media Attribute (a): rtpmap:18 G729/8000
            Media Attribute (a): fmtp:18 annexb=no
            Media Attribute (a): rtpmap:101 telephone-event/8000
            Media Attribute (a): fmtp:101 0-16
            Media Attribute (a): silenceSupp:off - - - -
            Media Attribute (a): ptime:20
            Media Attribute (a): sendrecv


And this is the SDP from FS towards A:
            Media Description, name and address (m): audio 23564 RTP/AVP 0 8 101 13
            Media Attribute (a): rtpmap:101 telephone-event/8000
            Media Attribute (a): fmtp:101 0-16
            Media Attribute (a): ptime:20

FS even puts 13 in m= attribute, but doesn't add a=  attribute for rtpmap:13.


Is that a bug?


--
Best Regards
Alex Massover.

This mail was sent via Mail-SeCure System.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110825/f14b3857/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list