[Freeswitch-users] Asterisk canreinvite (directmedia) equivalent in freeswitch

Ričardas Stoma ricardas.stoma at gmail.com
Fri Jul 3 13:03:06 MSD 2015


I think everything is ok with my endpoints. I use two softphones (linphone
and zoiper). On linphone (leg A) i enable only GSM codec and on zoiper (leg
B) i enable only PCMA codec. When bypass_media_after bridge is disabled,
media goes through freeswitch and freeswitch does transcoding. In this case
i can hear voices.

When bypass_media_after_bridge is enabled, media goes from leg A to leg B
directly but the problem is that codecs do not match and i can hear only
digital noise. SIP trace looks like this http://i.imgur.com/iOn6ajJ.png

If i set PCMA codec on linphone (leg A) then everything is ok with direct
media between softphones, codecs matches and i can hear voices. What i want
is IF leg A and leg B codecs matches then bypass_media should take effect
and media should go directly from leg A to leg B. IF codecs do not match,
then media should go through freeswitch and freeswitch should do
transcoding.

Is this possible with freeswitch? Asterisk does this when canreinvite is
enabled ("If the clients use different codecs, Asterisk will not issue a
re-invite")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150703/8d170dd5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list