Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Can't get G729 working....... No compatible codecs, not accepting this offer!

2,223 views
Skip to first unread message

slc

unread,
Nov 2, 2008, 7:38:56 PM11/2/08
to Asterisk G.729
Hi. Just trying to get codec working

I have a P3 Katmai processor

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 2
cpu MHz : 501.164
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse up
bogomips : 1003.12
clflush size : 32

so I believe that the correct codecs are:
codec_g723-ast14-gcc4-glibc-pentium3.so
codec_g729-ast14-gcc4-glibc-pentium3.so

Using Sip Phone straight to Voip Proider works for G729 but not
through Asterisk

show translation gives me:

g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726
g722
g723 - 26 3 3 21 3 2 29 31 97
- 21 -
gsm 54 - 12 12 30 12 11 38 40 106
- 30 -
ulaw 44 25 - 1 20 2 1 28 30 96
- 20 -
alaw 44 25 1 - 20 2 1 28 30 96
- 20 -
g726aal2 60 41 18 18 - 18 17 44 46 112
- 1 -
adpcm 44 25 2 2 20 - 1 28 30 96
- 20 -
slin 43 24 1 1 19 1 - 27 29 95
- 19 -
lpc10 60 41 18 18 36 18 17 - 46 112
- 36 -
g729 51 32 9 9 27 9 8 35 - 103
- 27 -
speex 55 36 13 13 31 13 12 39 41 -
- 31 -
ilbc - - - - - - - - - -
- - -
g726 59 40 17 17 1 17 16 43 45 111
- - -
g722 - - - - - - - - - -
- - -

And Sip debug gives me this when I try to call with G729 Codec

Using INVITE request as basis request - E9A629D3-54FB-4C23-
AD58-353...@192.168.1.141
Found user '2000'
Found RTP audio format 18
Found RTP audio format 101
Peer audio RTP is at port 192.168.1.141:8000
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x100
(g729)/video=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1
(telephone-event), combined - 0x1 (telephone-event)
[Nov 2 19:37:50] NOTICE[26429]: chan_sip.c:5532 process_sdp: No
compatible codecs, not accepting this offer!

Any help would be greatly appreciated.

Arkadi Shishlov

unread,
Nov 2, 2008, 7:40:49 PM11/2/08
to asteri...@googlegroups.com
slc wrote:
> Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263)

You need to enable g729 in sip.conf.

Michael Drew

unread,
Nov 2, 2008, 7:49:41 PM11/2/08
to asteri...@googlegroups.com
Hi.

Thanks for the reply.
It has been enabled but no luck

Michael Drew

unread,
Nov 2, 2008, 7:59:28 PM11/2/08
to asteri...@googlegroups.com
Actually after you mentioned sip.conf, I took another look at it and noticed that I have it enabled for my voip context but not for my sipphone context.
After enabling in sipphone context, is now working but very broken up.
This, I don't know why or even where to start.

Arkadi Shishlov

unread,
Nov 2, 2008, 8:07:24 PM11/2/08
to asteri...@googlegroups.com
Michael Drew wrote:
> After enabling in sipphone context, is now working but very broken up.
> This, I don't know why or even where to start.

Disable VAD and CNG in phone.

Michael Drew

unread,
Nov 3, 2008, 9:00:19 AM11/3/08
to asteri...@googlegroups.com
Thanks.
Seems to be working ok now.

dinaka...@gmail.com

unread,
Feb 18, 2019, 12:17:39 AM2/18/19
to Asterisk G.729
How to command Disable VAD and CNG sir ??
Reply all
Reply to author
Forward
0 new messages