Page 1 of 1

Can't dial using g729 codec

PostPosted: Mon Jul 06, 2009 7:51 am
by webgurru
Hi,

I have purchased 30 licences for G729 and installed using instructions given by DIGIUM. When I try to make calls using only g729 codec, I am receiving this error on CLI

"NOTICE[2605]: chan_sip.c:3796 process_sdp: No compatible codecs!"

As asterisk 1.2.30.2 does not support commands starting with g729 like
"g729 show hostid", "g729 show licenses", "g729 show version" is there any way to check if my coded installation is okay? Is this problem is of codec or my provider? If I use g711 as alternate codec in my sip phone I can make calls without any problem.

Best regards,

PostPosted: Mon Jul 06, 2009 9:37 am
by webgurru
Hi,

For further test, I have tried using SIP phone without asterisk and I can make calls using g729 codec from sip phone. When I try to use same from asterisk, I receive this message on CLI

"NOTICE[2605]: chan_sip.c:3796 process_sdp: No compatible codecs!"

Does this mean my g729 codec installation is not done properly or I have to use some other option to enable it in some where?

Best regards,

PostPosted: Mon Jul 06, 2009 12:24 pm
by joylovebasu
Try "show codecs" in cli.

PostPosted: Mon Jul 06, 2009 4:27 pm
by webgurru
joylovebasu wrote:Try "show codecs" in cli.


Output result of above command is:

Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
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)
1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)
== Manager 'sendcron' logged off from 127.0.0.1