[Asterisk-Users] Codec format conversion error

Apu Islam apuislam at gmail.com
Sat Aug 6 15:10:12 MST 2005


I am spinning with this for a while. This is a new server that I built
with AAH 1.3 with oh323 support. When I call other parties with my IP
phone, I can talk just fine however I am not hearing anything from
astersik. I ran the server in debug and noticed this :

Aug  6 17:04:43 DEBUG[1429]: Set channel SIP/204-04fb to write format slin
Aug  6 17:04:43 DEBUG[1429]: Ooh, format changed from unknown to ulaw
Aug  6 17:04:43 DEBUG[1429]: Scheduling timer at 160 sample intervals
Aug  6 17:04:47 DEBUG[1429]: Got RTCP report of 84 bytes


my IP phone is set up to send alaw. I can talk to other extensions
just fine but astersik audio I cannot hear.
Also, I have only alaw and ulaw allowed on my sip.conf however when I
check show codecs, I get this :
        INT    BINARY        HEX   TYPE    NAME   DESC
--------------------------------------------------------------------------------
          1 (1 <<  0)      (0x1)  audio    g723   (G.723.1)
          2 (1 <<  1)      (0x2)  audio     gsm   (GSM)
          4 (1 <<  2)      (0x4)  audio    ulaw   (G.711 u-law)
          8 (1 <<  3)      (0x8)  audio    alaw   (G.711 A-law)
         16 (1 <<  4)     (0x10)  audio    g726   (G.726)
         32 (1 <<  5)     (0x20)  audio   adpcm   (ADPCM)
         64 (1 <<  6)     (0x40)  audio    slin   (16 bit Signed Linear PCM)
        128 (1 <<  7)     (0x80)  audio   lpc10   (LPC10)
        256 (1 <<  8)    (0x100)  audio    g729   (G.729A)
        512 (1 <<  9)    (0x200)  audio   speex   (SpeeX)
       1024 (1 << 10)    (0x400)  audio    ilbc   (iLBC)
      65536 (1 << 16)  (0x10000)  image    jpeg   (JPEG image)
     131072 (1 << 17)  (0x20000)  image     png   (PNG image)
     262144 (1 << 18)  (0x40000)  video    h261   (H.261 Video)
     524288 (1 << 19)  (0x80000)  video    h263   (H.263 Video)

is my codec order messed up ? how do I change codec order ? sip.conf
didn't do it for me.
any suggestion would be appreciated.

-apu



More information about the asterisk-users mailing list