You can do:

Show channel Zap/22-1

Look for:
    WriteFormat: 64
     ReadFormat: 64

Then use show codecs:

64 (1 <<  6)     (0x40)  audio    slin   (16 bit Signed Linear PCM)


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:asterisk-dev-
> [EMAIL PROTECTED] On Behalf Of Chan Kwang Mien
> Sent: Thursday, August 03, 2006 8:20 AM
> To: [email protected]
> Subject: [asterisk-dev] Checking the Codec used for Zap Channel
> 
> Hi,
> 
> I noticed that when I used "sip show channels", the codec used for the
sip
> channel is shown.
> However, when I used "zap show channels", there is no indication of
the
> codec being used.
> 
> Does anyone know how I could find out the codec being used for zap
channel
> ?
> 
> Thank you.
> 
> regards,
> Kwang Mien
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to