[Asterisk-Users] SIP codec preference order ineffective

Martin Joseph ast at stillnewt.org
Thu Jun 15 10:12:13 MST 2006


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


More information about the asterisk-users mailing list