[asterisk-dev] SIP codec selection. Can I select a codec and reinvite?

Jared Smith jsmith at digium.com
Mon Nov 19 14:53:51 CST 2007


On Mon, 2007-11-19 at 15:12 -0500, asterisk wrote:
> I am having an issue with codec selections. I am using only 2 codecs
> ULAW & G729.  On some peers I want the proffered codec to be G729 other
> ULAW.    I have a SIP trunk form a carrier that supports both G729 and
> ULAW. I would like asterisk to use the [proffered codec and not
> transcode.
> 
> My peers are setup like this. 
> 
> [siptrunk] 
> Deny=all
> Allow=ulaw
> Allow=g729

Maybe you meant to have "disallow=all" instead of "deny=all"?  There's a
subtle but important difference between the two statements.


-- 
Jared Smith
Community Relations Manager
Digium, Inc.




More information about the asterisk-dev mailing list