[Asterisk-Users] Multiple IAX "register" lines?
Ed Rubright
ed at rubright.net
Fri Mar 26 08:05:16 MST 2004
In you iax.conf file, are you using type=friend? I seem to remember a
discussion about problems if using type=friend instead of type=user for
multiple registered servers with the same userid. I may have the details
messed up on this though!
I have the same setup your describing and it works great!
In the iax.conf file I have broken the inbound and outbound into 2 separate
stanzas, i.e. -
; for inbound from Nufone
[NuFone]
Type=user
; for outbound to Nufone
[NuFone-peer]
Type=peer
Hope this helps.
Ed
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of WipeOut
Sent: Friday, March 26, 2004 5:28 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Multiple IAX "register" lines?
Rich Adamson wrote:
>Gus,
>
>
>
>>There is nothing to it really register lines are pretty simple..
>>
>>register => user1:pass1 at server1.domain1.tld register =>
>>user2:pass2 at server2.domain2.tld
>>
>> From the cli "iax2 show registry" only shows the first entry..
>>
>>These are for inbound services not outbound, I didn't think it was
>>nesesary to "register" for outbound calls because the call is being
>>initiated from inside..
>>
>>
>
>If the iax destination site is static, you don't even need the
>registration process. Simply set up a type=user (for inbound iax calls)
>with some appropriate security parameters (host, secret, context). The
>associated extensions.conf entry might look something like:
> exten => _9.,1,Dial(IAX2/userid:mysecret at 1.2.3.4/${EXTEN:1})
>which will connect with type=user just fine. Have several of these in
>production.
>
>Of coarse, if you don't have access/cooperation to the remote iax2
>servers, or if any site is using dynamic IP addresses, then your stuck
>with resolving the original registration problem. (Does a "iax2 debug"
>show anything useful?)
>
>Rich
>
>
>
>
Thats the problem I have a dynamic IP on my side which is why I need the
"register" line in the iax.conf..
iax2 debug shows that it is registering the first line but not the second..
Later..
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list