Title: Different codecs for different numbers via same IAX provider; how? Configs included.

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

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to