[Freeswitch-users] Proxy Media and Codec Prefer

Nyamul Hassan mnhassan at usa.net
Mon Aug 2 01:40:03 PDT 2010


Interesting.  In proxy media, FS is in the middle of the media transfer, and
one would think that such was possible in such situations.

In contrast, when you are not acting as a media proxy, there is little on
what media the end points can negotiate among themselves.

There must be some logical reasoning that I fail to understand here.

Regards
HASSAN



On Mon, Aug 2, 2010 at 14:01, Steven Ayre <steveayre at gmail.com> wrote:

> Yes, don't use proxy media. Use absolute_codec_string as you already were
> to enforce it.
>
> There is no way if you're using proxy media.
>
> -Steve
>
>
>
> On 2 August 2010 08:23, Nyamul Hassan <mnhassan at usa.net> wrote:
>
>> Thank you for the explanation Steven.  However, if we see that there is a
>> common codec, say G729, and we want to make sure that the call gets
>> connected on G729, is there any way to enforce this?
>>
>> Regards
>> HASSAN
>>
>>
>>
>> On Mon, Aug 2, 2010 at 12:44, Steven Ayre <steveayre at gmail.com> wrote:
>>
>>> In proxy media mode FS will pass media straight through without any
>>> processing. It won't do any transcoding or any SDP modifcation, so it can't
>>> transcode PCMU <-> G729 and absolute_codec_string will be ignored - it'll
>>> just pass the codec settings straight through from the A leg to the B leg.
>>>
>>> So it's expected behaviour.
>>>
>>> -Steve
>>>
>>>
>>>
>>>
>>> On 2 August 2010 04:55, Dome Charoenyost <dome at tel.co.th> wrote:
>>>
>>>> Dear All,
>>>>        I'm not sure it's bug or not ?
>>>> I try to test codec  negotate. with 3 FS box
>>>> FS1 send PCMA to FS2 and FS2 send G729 to FS3
>>>>
>>>> FS1 -----> [PCMU] ----> FS2 ------> [G729] -------> FS3 (10.20.2.49)
>>>> My dialplan
>>>> <action application="bridge"
>>>> data="{absolute_codec_string='G729'}sofia/internal/2222 at 10.20.2.49:5080
>>>> "/>
>>>> It's work fine
>>>> When i try
>>>> <action application="set" data="proxy_media=true"/>
>>>> <action application="bridge"
>>>> data="{absolute_codec_string='G729'}sofia/internal/2222 at 10.20.2.49:5080
>>>> "/>
>>>> Call fail. because FS2 ignore absolute_codec_string='G729' and send
>>>> only  PCMU  (I think by pass from FS1)
>>>>
>>>> It's bug or not ?
>>>>
>>>> Dome C.
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100802/473f3e19/attachment-0001.html 


More information about the FreeSWITCH-users mailing list