[Asterisk-Users] How to run different codecs between the same endpoints on an IAX trunk?

William Glynn wglynn at freedomhealthcare.org
Thu Aug 19 17:55:32 MST 2004


> Or perhaps how to configure and refer to two parallel IAX trunks with
> different codecs?
> 
...
> 
> Any suggestions?

Well, push comes to shove, you can define two different entries in
iax.conf with different protocols. That is:

Box A:
[boxb-voice]
type=peer
host=boxb
disallow=all
allow=gsm
trunk=yes

[boxb-data]
type=peer
host=boxb
disallow=all
allow=ulaw

You'll lose some of the benefits of trunking for the data calls, but
if they're short-lived and not terribly common, this might be the
easiest solution.

--Will Glynn
Freedom Healthcare Group



More information about the asterisk-users mailing list