Hi,

I have just solved it, I deleted the iax.conf and created a new one (exactly the same) and now its working.. I guess there was a gremlin in the text file somewhere the was twisting things up..

Thanks to everyone for you help and suggestions..

later..

Ed Rubright wrote:

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of WipeOut
Sent: Friday, March 26, 2004 5:28 AM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] register => user2:[EMAIL PROTECTED]

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:[EMAIL PROTECTED]/${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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
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





_______________________________________________
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