Re: [Asterisk-Users] G729, x-pro, and codec ordering
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. ___ 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
RE: [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. ___ 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
Re: [Asterisk-Users] G729, x-pro, and codec ordering
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 ___ 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
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Rodolfo ,, did you purchase the adecuate g729 codecs licences? HA On Tue, 21 Dec 2004 20:38:10 +0100, Rodolfo Grave [EMAIL PROTECTED] wrote: 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 ___ 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 ___ 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
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Yes I did this is the output of the show g729 command in * console: 0/0 encoders/decoders of 1 licensed channels are currently in use Thanks for your reply. RODOLFO Voip Business wrote: Rodolfo ,, did you purchase the adecuate g729 codecs licences? HA On Tue, 21 Dec 2004 20:38:10 +0100, Rodolfo Grave [EMAIL PROTECTED] wrote: 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 ___ 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 ___ 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 ___ 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
Re: [Asterisk-Users] G729, x-pro, and codec ordering
[ == 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. -- Brian Wilkins Software Engineer [EMAIL PROTECTED] Heritage Communications Corporation Melbourne, FL USA 32935 321.308.4000 x33 http://www.hcc.net ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Try setting the codec settings for each peer instead of under the general heading. On Tuesday 07 December 2004 05:39 am, Paul Fielding wrote: I'm in the middle of getting g729 to work on my server and running into odd stuff. The issue revolves around what appears to be a much talked about (but not seeming to be much solved) issue of selecting which codec gets used at a given time. I have two g729 licenses. I'd like to be able to get asterisk to use g729 (via x-pro) only when I want to, reason being that if I'm in a high bandwidth environment I'd rather have the higher quality of ulaw, but when I'm in a low bandwidth environment I'd like to select g729. There doesn't seem to be much rhyme or reason to which codec gets chosen, and it seems to vary depending on whether the call is outgoing or incoming. And furthermore, turning off a codec in x-pro doesn't seem to do anything. For example, if I have: [general] disallow=all allow=g729 allow=ulaw allow=alaw allow=gsm allow=ilbc and then dial out on x-pro, G729 is selected. Then I turn off G729 and turn on g711u (I make g711u the only black codec on the x-pro display), then make a call, the call is still made using G729. Further more, with the same settings if I call from a zap channel to the x-pro sip extension, the codec chosen is g711u, even though I might only have g729 enabled on x-pro, and even though g729 is the first one on the list above. Anyone have any suggestions, or can point me to something to read? regards, Paul ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Brian Wilkins Software Engineer [EMAIL PROTECTED] Heritage Communications Corporation Melbourne, FL USA 32935 321.308.4000 x33 http://www.hcc.net ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Try setting the codec settings for each peer instead of under the general heading. I've tried that - if disallow=all,allow=g729 in the appropriate peer then it will indeed use the correct codec. What I'd like to do, though, is be able to switch codecs depending on my location. Currently the only way I can see to do that is to force the codec within the peer in sip.conf every time I want to change between g729 or ulaw, which means SSHing into my asterisk server to make the change every time. I was hoping there would be a slightly more elegant way to do things... :( Paul On Tuesday 07 December 2004 05:39 am, Paul Fielding wrote: I'm in the middle of getting g729 to work on my server and running into odd stuff. The issue revolves around what appears to be a much talked about (but not seeming to be much solved) issue of selecting which codec gets used at a given time. I have two g729 licenses. I'd like to be able to get asterisk to use g729 (via x-pro) only when I want to, reason being that if I'm in a high bandwidth environment I'd rather have the higher quality of ulaw, but when I'm in a low bandwidth environment I'd like to select g729. There doesn't seem to be much rhyme or reason to which codec gets chosen, and it seems to vary depending on whether the call is outgoing or incoming. And furthermore, turning off a codec in x-pro doesn't seem to do anything. For example, if I have: [general] disallow=all allow=g729 allow=ulaw allow=alaw allow=gsm allow=ilbc and then dial out on x-pro, G729 is selected. Then I turn off G729 and turn on g711u (I make g711u the only black codec on the x-pro display), then make a call, the call is still made using G729. Further more, with the same settings if I call from a zap channel to the x-pro sip extension, the codec chosen is g711u, even though I might only have g729 enabled on x-pro, and even though g729 is the first one on the list above. Anyone have any suggestions, or can point me to something to read? regards, Paul ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Brian Wilkins Software Engineer [EMAIL PROTECTED] Heritage Communications Corporation Melbourne, FL USA 32935 321.308.4000 x33 http://www.hcc.net ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Paul Fielding wrote: Try setting the codec settings for each peer instead of under the general heading. I've tried that - if disallow=all,allow=g729 in the appropriate peer then it will indeed use the correct codec. What I'd like to do, though, is be able to switch codecs depending on my location. Currently the only way I can see to do that is to force the codec within the peer in sip.conf every time I want to change between g729 or ulaw, which means SSHing into my asterisk server to make the change every time. I was hoping there would be a slightly more elegant way to do things... :( You can always allow both codecs and this only allow the codec you want in X-Pro. Asterisk won't try to use ulaw if the phone says it doesn't allow ulaw. -- I am seeking part or full time employment in the Greater Toronto Area, My preference is part time employment with some telecommuting, but all offers will be considered. Contact eric at fnords.org. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
- Original Message - From: Eric Wieling aka ManxPower [EMAIL PROTECTED] You can always allow both codecs and this only allow the codec you want in X-Pro. Asterisk won't try to use ulaw if the phone says it doesn't allow ulaw. what I'd like to do is be able to switch between G729 and ulaw. if I allow only those two codecs, the problem I have is what I mentioned previously (see below), and I can't select which codec I want to use. The goal is to pick the codec depending on whether I'm in a high bandwidth or low bandwidth environment regards, Paul From: Paul Fielding I have two g729 licenses. I'd like to be able to get asterisk to use g729 (via x-pro) only when I want to, reason being that if I'm in a high bandwidth environment I'd rather have the higher quality of ulaw, but when I'm in a low bandwidth environment I'd like to select g729. There doesn't seem to be much rhyme or reason to which codec gets chosen, and it seems to vary depending on whether the call is outgoing or incoming. And furthermore, turning off a codec in x-pro doesn't seem to do anything. For example, if I have: [general] disallow=all allow=g729 allow=ulaw allow=alaw allow=gsm allow=ilbc and then dial out on x-pro, G729 is selected. Then I turn off G729 and turn on g711u (I make g711u the only black codec on the x-pro display), then make a call, the call is still made using G729. Further more, with the same settings if I call from a zap channel to the x-pro sip extension, the codec chosen is g711u, even though I might only have g729 enabled on x-pro, and even though g729 is the first one on the list above. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Paul Fielding wrote: - Original Message - From: Eric Wieling aka ManxPower [EMAIL PROTECTED] You can always allow both codecs and this only allow the codec you want in X-Pro. Asterisk won't try to use ulaw if the phone says it doesn't allow ulaw. what I'd like to do is be able to switch between G729 and ulaw. if I allow only those two codecs, the problem I have is what I mentioned previously (see below), and I can't select which codec I want to use. The goal is to pick the codec depending on whether I'm in a high bandwidth or low bandwidth environment X-Pro does not allow you to only enable one codec? --Eric ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
X-Pro does not allow you to only enable one codec? Ostensibly so. I can disable the codecs at any time in X-Pro. Problem is, it doesn't seem to work. I can disable a codec, and then when Asterisk connects, the codec will magically light back up and get used, even though I've disabled it. *shrug*. Paul ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] G729, x-pro, and codec ordering
Hi! Try setting the codec settings for each peer instead of under the general heading. I've tried that - if disallow=all,allow=g729 in the appropriate peer then it will indeed use the correct codec. What I'd like to do, though, is be able to switch codecs depending on my location. Ok, two suggestions: 1. modify your codec allow= statements in the [general] section (!!!) and make sure that g.729 is not listed as the first option. 2. make use of the ${SIP_CODEC} variable and create a dialplan that allows you to modify this as needed (e.g. store the codec preference for your extsion in AstDb so that it can be looked up your next regular call). Be aware that you might have to use _SIP_CODEC instead if you are working with CVS to make it stick (see also ImportVar() app). Cheers, Philipp ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] G729, x-pro, and codec ordering
I'm in the middle of getting g729 to work on my server and running into odd stuff. The issue revolves around what appears to be a much talked about (but not seeming to be much solved) issue of selecting which codec gets used at a given time. I have two g729 licenses. I'd like to be able to get asterisk to use g729 (via x-pro) only when I want to, reason being that if I'm in a high bandwidth environment I'd rather have the higher quality of ulaw, but when I'm in a low bandwidth environment I'd like to select g729. There doesn't seem to be much rhyme or reason to which codec gets chosen, and it seems to vary depending on whether the call is outgoing or incoming. And furthermore, turning off a codec in x-pro doesn't seem to do anything. For example, if I have: [general] disallow=all allow=g729 allow=ulaw allow=alaw allow=gsm allow=ilbc and then dial out on x-pro, G729 is selected. Then I turn off G729 and turn on g711u (I make g711u the only black codec on the x-pro display), then make a call, the call is still made using G729. Further more, with the same settings if I call from a zap channel to the x-pro sip extension, the codec chosen is g711u, even though I might only have g729 enabled on x-pro, and even though g729 is the first one on the list above. Anyone have any suggestions, or can point me to something to read? regards, Paul ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users