[Freeswitch-users] How to see if Freeswitch is transcodin

Steven Ayre steveayre at gmail.com
Wed Oct 22 15:00:30 MSD 2014


Actually on reflection I don't think you could do it reliably for all
use-cases.

You *can* for the simple bridge case.

If you're using anything else though it'll be hard to tell if something
like start_dtmf/eavesdrop is running on the channel and you'd need a list
of which applications consume media. You'd need an API to ask if the
channel was decoding, which would need a patch within the core to implement.

On 22 October 2014 11:55, Steven Ayre <steveayre at gmail.com> wrote:

> Nothing at the moment, but it might be scriptable.
>
> On 22 October 2014 11:00, kthofer <karl-theo_hofer at inteli-sim.com> wrote:
>
>>  Hi Steven, Florent
>> ok but I have some 100 channels on the box simultaneously
>> that will be very difficult to make out the uuids needed as well the
>> printout are in one line is there a possibility to show the result in a
>> table or something more reader friendly?
>>
>>
>> With best regards
>>
>> Karl Theo Hofer
>>
>>
>> Florent Krieg skrev 2014-10-22 11:34:
>>
>> Steven's right.
>> I thought about a very basic use case when writing my message.
>>
>> Florent
>>
>> 2014-10-22 10:59 GMT+02:00 Steven Ayre <steveayre at gmail.com> <steveayre at gmail.com>:
>>
>>
>>  'if it's the same then there's no transcoding'
>>
>> Also depending on the applications in use - playback, conference,
>> eavesdrop etc will also require transcoding.
>>
>>
>>
>> On 21 October 2014 17:52, Florent Krieg <flokrrr at gmail.com> <flokrrr at gmail.com> wrote:
>>
>>
>>  Hi Karl,
>>
>> You can for instance run a 'show channels' in the CLI, find out the two
>> uuids related to both legs of your call and check the codec used for each
>> of them, if it's the same then there's no transcoding (assuming ptime is
>> identical on both sides as well).
>> I'm pretty sure there must be a better way to do it, but I disabled
>> transcoding on my FS profiles so that's what I firstly thought about.
>>
>> Florent
>>
>> 2014-10-21 14:05 GMT+02:00 kthofer <karl-theo_hofer at inteli-sim.com> <karl-theo_hofer at inteli-sim.com>:
>>
>>
>>  Hi There
>>
>> I am looking for a simple way to see if FS is actual transcoding between
>> two channels
>> in our usecase FS is setting up 2 outbound calls and after the A-leg has
>> answered we set up a second outgoing call when answered we bridge the 2
>> legs.
>> I can not see if FS is transcoding or not with out doing a siptrace on
>> the 2 legs.
>>
>> --
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>  _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>  _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>>  Steven's right.
>> I thought about a very basic use case when writing my message.
>>
>>  Florent
>>
>> 2014-10-22 10:59 GMT+02:00 Steven Ayre <steveayre at gmail.com>:
>>
>>> 'if it's the same then there's no transcoding'
>>>
>>>  Also depending on the applications in use - playback, conference,
>>> eavesdrop etc will also require transcoding.
>>>
>>>
>>>
>>>  On 21 October 2014 17:52, Florent Krieg <flokrrr at gmail.com> wrote:
>>>
>>>>  Hi Karl,
>>>>
>>>> You can for instance run a 'show channels' in the CLI, find out the two
>>>> uuids related to both legs of your call and check the codec used for each
>>>> of them, if it's the same then there's no transcoding (assuming ptime is
>>>> identical on both sides as well).
>>>>  I'm pretty sure there must be a better way to do it, but I disabled
>>>> transcoding on my FS profiles so that's what I firstly thought about.
>>>>
>>>>  Florent
>>>>
>>>> 2014-10-21 14:05 GMT+02:00 kthofer <karl-theo_hofer at inteli-sim.com>:
>>>>
>>>>> Hi There
>>>>>
>>>>> I am looking for a simple way to see if FS is actual transcoding
>>>>> between
>>>>> two channels
>>>>> in our usecase FS is setting up 2 outbound calls and after the A-leg
>>>>> has
>>>>> answered we set up a second outgoing call when answered we bridge the 2
>>>>> legs.
>>>>> I can not see if FS is transcoding or not with out doing a siptrace on
>>>>> the 2 legs.
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> 
>>>> 
>>>>
>>>> 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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> 
>>> 
>>>
>>> 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
>>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> 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/20141022/3442611e/attachment-0001.html 


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