[Asterisk-Users] which channel format number is right?

Thomas Haeger thomas.haeger at beronet.com
Thu Nov 6 10:57:49 MST 2003


Hi,

is there anybody who knows this very little detail ???

-----Ursprüngliche Nachricht-----
Von: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]Im Auftrag von Thomas
Haeger
Gesendet: Donnerstag, 6. November 2003 10:54
An: Asterisk User
Betreff: [Asterisk-Users] which channel format number is right?


Hi all,

if i enter a "show codecs" at cli * response with:

          1 (1 <<  0)  G.723.1
          2 (1 <<  1)  GSM
          4 (1 <<  2)  G.711 u-law
          8 (1 <<  3)  G.711 A-law
         16 (1 <<  4)  MPEG-2 layer 3
         32 (1 <<  5)  ADPCM
         64 (1 <<  6)  16 bit Signed Linear PCM
        128 (1 <<  7)  LPC10
        256 (1 <<  8)  G.729A audio
        512 (1 <<  9)  SpeeX
       1024 (1 << 10)  iLBC
      65536 (1 << 16)  JPEG image
     131072 (1 << 17)  PNG image
     262144 (1 << 18)  H.261 Video
     524288 (1 << 19)  H.263 Video

If i enter a "show channel" * response with

           Name: H323/ip$XXX.XX.XX.XX:3520/25650
           Type: H323
       UniqueID: 1068111809.487
      Caller ID: <0109901>
    DNID Digits: (N/A)
          State: Ringing (5)
          Rings: 0
   NativeFormat: 8
    WriteFormat: 8
     ReadFormat: 8
1st File Descriptor: 366
      Frames in: 0
     Frames out: 1240

With wich codec is the channel working now, with ALAW or with g.729A ????
And what is the relevant value "read/write format" or "nativeformat" ?

Thanks for help,

Thomas.

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list