[Freeswitch-users] bridge two outbound calls but got different sdp

Leo Wolf leo.lai.wolf at gmail.com
Sat Apr 25 05:27:33 UTC 2020


Hi,

I usr freeswitch to call out A & B, and want to bridge calls after A & B
responded. After bridging the two call, I found out that the sdp codec
negotiated from A and from B are different, e.g., 102 and 111. This will
cause A & B codec not sync problem. Is there any way to force clients using
specific codec in freeswitch?

I have found out some code in switch_core_media.c:

/* it could be 98 but chrome reserves 98 and 99 for some internal stuff
even though they should not.
   Everyone expects dtmf to be at 101 and Its not worth the trouble so
we'll start at 102 */
smh->payload_space = 102;

Seems the codec send to clients always begin from 102?

Many Thanks,
Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200425/c3d5a1a0/attachment.html>


More information about the FreeSWITCH-users mailing list