[Asterisk-Users] Different codecs for different numbers via same IAX provider; how? Configs included.

C. Tomlinson asterisk_list at burntwires.com
Thu Mar 17 12:23:03 MST 2005


Hi,
I have been trying to work this out and haven't been able to.

I have some incoming numbers that come in over IAX, from the same server,
and wish to use different codecs for different calls. This doesn't seem to
work for incoming either.

I cant seem to get any combination of allow/disallow to work..

Ideally the following would work:

[general]
register => XXXXXX
disallow=all

[XXXXXXX] ;incoming number I want to use GSM with
type=XXXX
context=XXXX
secret=XXXX
allow=gsm

[YYYYYY] ;incoming number I want to use alaw with
type=XXXX
context=XXXXXXXXXX
secret=XXXXXXXXX
allow=alaw

However they only use one codec for both numbers.

Am I doing something wrong in iax.conf, I am running stable, or is this
something which * doesn't support yet.

Thanks

C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050317/bfbba138/attachment.htm


More information about the asterisk-users mailing list