[asterisk-users] Determining the used codec for the IP Trunk (SIP Trunk)

Alex Balashov abalashov at evaristesys.com
Thu Jul 5 17:01:19 CDT 2007


Bilal,

   There are allow= options you can use on the peers in sip.conf to define
what codec capability Asterisk advertises toward them, and therefore, what
the negotiation on both call legs will ultimately settle upon.  When those
legs are bridged -- as Asterisk does unto them -- they will be of a codec
that is within that bounded set.

   You can have multiple allow lines, i.e.

       allow=g729
       allow=ulaw

   ... or just one.

   Does that help?

-- Alex

--
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : +1-678-954-0670
Direct : +1-678-954-0671



More information about the asterisk-users mailing list