[Asterisk-Users] More than one account from the same provider?

Rich Adamson radamson at routers.com
Thu Jun 9 06:14:05 MST 2005


> I have had good success with my efforts to send faxes over voip using ulaw,
> surprisingly, and I want to move it from testing to reality. I have an
> account with Teliax, who have been very good. For voice I use g729 and ulaw,
> but for faxing I can only allow ulaw. However, Teliax only sets the codec
> preferences by account. I have another account, but I can't see a way to
> register two accounts with one server. Any ideas?

If they are truly two separate accounts with two register statements (and
two userid/passwords), I would guess that two different incoming & outgoing
contexts would work with iax. (SIP accounts will probably not work per
Olle's recent post where incoming calls match IP address and essentially
ignores userid/passwords.)

If you are using iax, then within each context you can specify the codec,
something like:

disallow=all
allow=gsm       ;ilbc

Just recently I played around with changing codec's on my teliax account.
Their "Account" page provides you with the option to click on "IAX" and
then select the codec, or, click on "SIP" and select the codec. However,
that page is not very clear that you must click on either "IAX" or "SIP"
before selecting the codec.

I've basically selected all codecs that I support, and then in the iax.conf
included the entries shown above. Obviously, you can tell that I've been
playing with ilbc given the commented statement. Its been working fine.

Rich





More information about the asterisk-users mailing list