[Freeswitch-users] read vs. write codec channel variables clarification needed for CDR purposes

Michael Jerris mike at jerris.com
Fri Nov 10 15:28:37 UTC 2017


Those variables should be set, and apply in all those situations. The read codec is the format the channel needs to read in, in the case of conference, that application requires raw audio, the write codec is the codec that it needs to write out of the channel.  This shouldn’t make a difference if its an inbound or outbound call, its all from the perspective of the individual channel.

> On Nov 10, 2017, at 1:25 AM, Andrew Keil <andrew.keil at visytel.com> wrote:
> 
> To FreeSWITCH Users,
>  
> I am just looking for confirmation of the following:
>  
> If I receive an inbound call to FreeSWITCH (the codec is negotiated and the call is answered by FreeSWITCH) and there is NO call bridging done, then am I correct that only the read_codec & read_rate channel variables apply (for CDR purposes)?
>  
> If I make an outbound call from FreeSWITCH (using originate api command) and once again there is NO call bridging done, then am I correct that only the write_codec & write_rate channel variables apply (for CDR purposes)?
>  
> When using mod_conference (for conferencing two inbound calls together or one inbound and one outbound (using originate api command) together) does this affect the read_codec & read_rate and write_codec & write_rate channel variables in any way?
>  
> The reason I ask this is I noticed the following on an outbound call made (using the originate api command) recently and wanted to better understand what the read_codec & read_rate are used for when NO call bridging is done:
>  
> read_codec: L16
> read_rate: 8000
> write_codec: PCMA
> write_rate: 8000
>  
> I appreciate the clarification.
>  
> Andrew
>  
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171110/a0b76e8d/attachment.html>


More information about the FreeSWITCH-users mailing list