Hi, I set a preference order of the codecs to my sip.conf [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to context = default ; Default for incoming calls of not registered phones disallow = all allow = g729 allow = g723 allow = alaw allow = ulaw Connected a 'Sipura SPA' sip phone to asterisk with g729 as its preferred codec. Problem: asterisk cannot make the connection: set_format: Unable to find a codec translation path from alaw to g729 Connection only can be made if the Sipura's preferred codec is alaw/ulaw. Any help appreciated Tamas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060615/f37677cf/attachment.htm
Eric "ManxPower" Wieling
2006-Jun-15 09:06 UTC
[Asterisk-Users] SIP codec preference order ineffective
Asterisk does not support transcoding G723.1. If you want to transcode G729 then you need a G729 license from Digium. Patai Tam?s wrote:> Hi, > > > > I set a preference order of the codecs to my sip.conf > > /[general] > port = 5060 ; Port to bind to > bindaddr = 0.0.0.0 ; Address to bind to > context = default ; Default for incoming calls of not registered phones > *disallow = all > allow = g729 > allow = g723 > allow = alaw > allow = ulaw*/ > > ** > > Connected a 'Sipura SPA' sip phone to asterisk with g729 as its > preferred codec. > > > > Problem: asterisk cannot make the connection: > > *set_format: Unable to find a codec translation path from alaw to g729* > > ** > > Connection only can be made if the Sipura's preferred codec is alaw/ulaw. > > > > Any help appreciated > > Tamas > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.
olivier.taylor
2006-Jun-15 09:11 UTC
[Asterisk-Users] SIP codec preference order ineffective
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> just buy G729 codec licences from Digium, 10$ per channel, Asterisk is just G729 pass-thru.<br> G729 is not a free codec.... (:<br> <br> Olivier<br> <br> Patai Tamás a écrit : <blockquote cite="mid041c01c6908c$14589a50$3329a8c0@tpatai" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2900.2873" name="GENERATOR"> <style></style> <div><font face="Arial" size="2">Hi,</font></div> <div> </div> <div><font face="Arial" size="2">I set a preference order of the codecs to my sip.conf</font></div> <div><font face="Arial" size="2"><em>[general]<br> port = 5060 ; Port to bind to<br> bindaddr = 0.0.0.0 ; Address to bind to<br> context = default ; Default for incoming calls of not registered phones<br> <strong>disallow = all<br> allow = g729<br> allow = g723<br> allow = alaw<br> allow = ulaw</strong></em></font></div> <div><font face="Arial" size="2"><strong></strong></font> </div> <div><font face="Arial" size="2">Connected a 'Sipura SPA' sip phone to asterisk with g729 as its preferred codec.</font></div> <div> </div> <div><font face="Arial" size="2">Problem: asterisk cannot make the connection:</font></div> <div><font face="Arial" size="2"><strong>set_format: Unable to find a codec translation path from alaw to g729</strong></font></div> <div><strong></strong> </div> <div><font face="Arial" size="2">Connection only can be made if the Sipura's preferred codec is alaw/ulaw.</font></div> <div> </div> <div><font face="Arial" size="2">Any help appreciated</font></div> <div><font face="Arial" size="2">Tamas</font></div> <div> </div> <div> </div> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a> </pre> </blockquote> </body> </html>
Martin Joseph
2006-Jun-15 10:12 UTC
[Asterisk-Users] SIP codec preference order ineffective
On Jun 15, 2006, at 7:57 AM, Patai Tam?s wrote:> Hi, > ? > I set a preference order of the codecs to my sip.conf > [general] > port = 5060 ; Port to bind to > bindaddr = 0.0.0.0 ; Address to bind to > context = default ; Default for incoming calls of not registered phones > disallow = all > allow = g729 > allow = g723 > allow = alaw > allow = ulaw > ? > Connected a 'Sipura SPA' sip phone to asterisk with g729 as its > preferred codec. > ? > Problem: asterisk cannot make the connection: > set_format: Unable to find a codec translation path from alaw to g729 > ? > Connection only can be made if the Sipura's preferred codec is > alaw/ulaw. > ?Is the sipura in the "default" context, or perhaps it's elsewhere? If the other end of the call isn't g729, then the issue is transcoding and you need to have licenses to do that. Marty -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2032 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060615/be9fcd30/attachment.bin