[Freeswitch-users] Proxy Media and Codec Prefer
Dome Charoenyost
dome at tel.co.th
Mon Aug 2 01:47:18 PDT 2010
<action application="set" data="proxy_media=true"/>
Use when leg A and Leg B use same codec but need to proxy Right ?
Dome C.
2010/8/2 Steven Ayre <steveayre at gmail.com>:
> 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
>
>
More information about the FreeSWITCH-users
mailing list