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

Rich Adamson radamson at routers.com
Mon Jun 20 13:04:37 MST 2005

> >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.
> >  
> >
> So it should also be possible to define the codec preference for 
> incoming and outgoing if you define the iax channel in terms of 
> type=friend, isn't it ?

If I understood your question, no. There is no way to specify a different
codec for incoming vs outgoing calls using type=friend. But, I'm not
sure what real reason one would have for using two different codec
preferences like this.

More information about the asterisk-dev mailing list