[Asterisk-Users] codecs questions

listas iPfone listas at ipfone.com.br
Fri Oct 3 06:06:34 MST 2003


Hi!

I have some question about the use of codecs in sip.conf

I have that lines in sip.conf:

disallow=all
allow=gsm
allow=ulaw
allow=alaw

when i use show codecs:

localhost*CLI> show codecs
       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

My questions are:

1) What is the best configuration to use with fwd?

2) my sip.conf is correct? I can make calls to fwd but i have problems to
listen to people that calls me.

3)Asterisk is using the G.723.1 as the first choice?

4) I have to configure my phones with the same codec that asterisk is using
or the interoperable option in the snom phone is correct?

Thanks

Miklos




More information about the asterisk-users mailing list