Hi, Is there a CLI command which will tell me the codec used for active calls and if transcoding is happening ? Thx Sans -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110831/ef90fe2f/attachment.htm>
Core show channels verbose is probably your best bet. I think the answer also depends on your * version. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of RSCL Mumbai Sent: Wednesday, August 31, 2011 10:44 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] cli command show codecs Hi, Is there a CLI command which will tell me the codec used for active calls and if transcoding is happening ? Thx Sans -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110831/98176621/attachment.htm>
asterisk -rx "core show channels verbose" does not provide transcoding details. Unless I have missed something. Sans On Wed, Aug 31, 2011 at 10:34 PM, Danny Nicholas <danny at debsinc.com> wrote:> Core show channels verbose is probably your best bet. I think the answer > also depends on your * version.**** > > ** ** > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *RSCL Mumbai > *Sent:* Wednesday, August 31, 2011 10:44 AM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* [asterisk-users] cli command show codecs**** > > ** ** > > Hi, > > Is there a CLI command which will tell me the codec used for active calls > and if transcoding is happening ? > > Thx > Sans**** > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110901/68675e25/attachment.htm>
"sip show channels" is the command you are looking for. On Wed, Aug 31, 2011 at 2:45 PM, RSCL Mumbai <rscl.mumbai at gmail.com> wrote:> asterisk -rx "core show channels verbose" does not provide transcoding > details. > > Unless I have missed something. > > Sans > > > On Wed, Aug 31, 2011 at 10:34 PM, Danny Nicholas <danny at debsinc.com>wrote: > >> Core show channels verbose is probably your best bet. I think the answer >> also depends on your * version.**** >> >> ** ** >> >> *From:* asterisk-users-bounces at lists.digium.com [mailto: >> asterisk-users-bounces at lists.digium.com] *On Behalf Of *RSCL Mumbai >> *Sent:* Wednesday, August 31, 2011 10:44 AM >> *To:* Asterisk Users Mailing List - Non-Commercial Discussion >> *Subject:* [asterisk-users] cli command show codecs**** >> >> ** ** >> >> Hi, >> >> Is there a CLI command which will tell me the codec used for active calls >> and if transcoding is happening ? >> >> Thx >> Sans**** >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110831/5cc87cf9/attachment.htm>
Assuming SIP "sip show channels" will show you which codec is used for each call leg. However it does not track transcoding. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of RSCL Mumbai Sent: Wednesday, August 31, 2011 2:45 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] cli command show codecs asterisk -rx "core show channels verbose" does not provide transcoding details. Unless I have missed something. Sans On Wed, Aug 31, 2011 at 10:34 PM, Danny Nicholas <danny at debsinc.com> wrote: Core show channels verbose is probably your best bet. I think the answer also depends on your * version. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of RSCL Mumbai Sent: Wednesday, August 31, 2011 10:44 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] cli command show codecs Hi, Is there a CLI command which will tell me the codec used for active calls and if transcoding is happening ? Thx Sans -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
If I recall correctly, wav has headers and alaw does not. If this is so, that would be where the problem lies. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards Sent: Thursday, September 01, 2011 9:48 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] cli command show codecs On Thu, 1 Sep 2011, RSCL Mumbai wrote:> Error Processing: "sox failed to convert file and original could not > be copied as a fall back" for wav_Track111.alaw!Maybe FreePBX does not know how to construct a sox command line for files that do not have headers. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users