[Asterisk-Dev] IAX codec negociation (again...)

Rich Adamson radamson at routers.com
Mon Jun 20 09:31:17 MST 2005


> I agree with you. we should have the choice between forcing the use of 
> the prefered codec (even if that sometimes means transcoding) or forcing 
> codec negociation and avoid transcoding.
> 
> Also, it would be very usefull if we could define both incoming/outgoing 
> codec(s) for each phone/enpoint in iax.conf and sip.conf. At the moment, 
> I far as I know, only the incoming codec(s) can be specified separatly 
> for each client... outgoing codecs are common for all clients.

If you define your iax channel in terms of type=user and type=peer, you
can define your codec preference. At least it works for iax links to
other asterisk boxes, so presumably it works with iax clients as well.

I'd have to guess it might work with sip as well, if you fully understand
what parameters are used to find matching contexts, etc.







More information about the asterisk-dev mailing list