[Asterisk-Users] G729, x-pro, and codec ordering

Rodolfo Grave rodolfograve at yahoo.es
Tue Dec 21 11:35:35 MST 2004


I'm crazy here trying to make X-Pro use ONLY g729, and you're struggling 
to make it not to use it :)...

Can you please indicate what's your config for X-Pro and sip.conf?

This is mine:

X-Pro:
g729 is the only enabled codec.

sip.conf:
[12345]
type=user
username=12345
secret=12345
nat=no
host=dynamic
reinvite=no
canreinvite=no
disallow=all
allow=g729
allow=g729a
allow=g723.1
allow=g726
allow=ulaw
allow=alaw
context=sip_default

And this is the message that asterisk shows when I try to dial from X-Pro:

*CLI> Dec 21 18:02:49 WARNING[2375]: chan_sip.c:2764 process_sdp: No 
compatible codecs!
Dec 21 18:02:50 NOTICE[2375]: chan_sip.c:7295 handle_request: Unable to 
create/find channel


As soon as I enable GSM or ulaw everything goes fine... I have the 
license for g729 installed. This is the output of "show g729" in the * 
console:

0/0 encoders/decoders of 1 licensed channels are currently in use

Any ideas?

Thanks in advance,

RODOLFO


Brian Wilkins wrote:
> [ == snip ==]
>     I have used the same settings as you have, and I have no problem 
> connecting various sip devices with different codecs to my Asterisk server. 
> In fact, I use XTen Lite and I can disable/renable codecs as I please. Under 
> [general], I have disallow=all, allow=g729, allow=gsm. SIP devices usually 
> pass a list of supported codecs to the SIP provider along with the SIP 
> request. Also, if you have g729 licenses and all else fails: Asterisk should 
> be able to transcode between various codecs anyways.
> 
> 



More information about the asterisk-users mailing list