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

Rich Adamson radamson at routers.com
Thu Jun 9 07:13:37 MST 2005


> > 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. 
> 
> They are two separate accounts, but the teliax server will always
> authenticate itself with the username teliax, as set in the stanza below. 
> 
> [teliax]
> type=friend
> host=voip.teliax.com
> auth=md5
> secret=test
> disallow=all
> allow=ulaw
> context=teliax-in

Try this... get rid of the "friend" and use the "peer" and "user" defs.
Then pay close attention to which parameters apply to those two defs.
Change the [teliax] to something different, like [teliax-in] and
[teliax-out].

I don't remember you mentioning this, but are you using sip or iax?

Rich





More information about the asterisk-users mailing list