Hi, I have a problem with codecs. I have an provider with allowed codec alaw, ulaw, g.723 I have SIP clients with codec allowed alaw, ulaw, g.723 If a SIP clients wants call through with g.723 Asterisk is using alaw to connect to the provider, so its not working because only passthrough would work. How I can prevent this? best regards Thomas
Eric "ManxPower" Wieling
2008-Nov-09 19:14 UTC
[asterisk-users] Codec problems when using G.723
The best (and maybe only way) is to set your client and your service provider to only do G.723. Thomas Winter wrote:> Hi, > > I have a problem with codecs. > > I have an provider with allowed codec alaw, ulaw, g.723 > I have SIP clients with codec allowed alaw, ulaw, g.723 > > If a SIP clients wants call through with g.723 Asterisk is using alaw to > connect to the provider, so its not working because only passthrough would > work. > > How I can prevent this? > > best regards > Thomas > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- Consulting and design services for LAN, WAN, voice and data. Based near Birmingham, AL. Now accepting clients worldwide. Contact me for Tellabs echo canceling systems. Also see http://www.fnords.org/skillslist.html
On Sunday 09 November 2008 20:14, Eric "ManxPower" Wieling wrote:> The best (and maybe only way) is to set your client and your service > provider to only do G.723.Really, thats not the way it should work. How I can find out the codec of an incomming call? Is there any way to use ${SIP_CODEC} to try to change to G.723 and then check success? If OK use provider with only allowed G.723 and if not use provider with allowed alaw and ulaw?