Kanuri, Seshu (Company IT)
2004-Dec-21 11:46 UTC
[Asterisk-Users] G729, x-pro, and codec ordering
-----Original Message----- 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? 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 /SNIP/>From your SIP.CONF...allow=g729 - Keep this. This is enough allow=g729a - remove this line Also if you are using Xpro from your PC, which is connected to a router and not having a fixed IP address, you may like to keep NAT as... nat=yes --Seshu -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Thanks. The allow=g729a line was added in the desperation :) it doesnt work without it neither. I tried the nat=yes but nothing... If case this info is relevant: I have the same problem with a Budgetone. When I force it to use g729 it the same happens. More ideas? Thanks again, RODOLFO Kanuri, Seshu (Company IT) wrote:> -----Original Message----- > 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? > 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 > /SNIP/ >>From your SIP.CONF... > > allow=g729 - Keep this. This is enough > allow=g729a - remove this line > > Also if you are using Xpro from your PC, which is connected to a router > and not having a fixed IP address, you may like to keep NAT as... > > nat=yes > > > > --Seshu > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >