I used the example in the Wiki for setting up to * servers with IAX. Both
servers are on my network. I'm trying to get the configuration working
before I put it on the remote site.
I got ServerB to Register with ServerA. If I try to make a call to a SIP
extension on ServerA from ServerB, I immediately get congestion message. I
never see ServerA process anything besides the IAX registration. It looks like
it never gets to a contact on ServerA. Both servers are running asterisk 1.0.7
with AMP 1.0.7a. The AMP configuration didn't work so I decided to work up
from the Wiki example. Can anyone help?
---------ServerA
--iax.conf
[slave]
type=user
auth=plaintext
context=from-pstn
secret=secret
host=dynamic
callerid="slave"
trunk=yes
notransfer=yes
[slave]
type=peer
auth=plaintext
context=from-internal
secret=secret
host=dynamic
trunk=yes
notransfer=yes
--------ServerB-------
--iax.conf
register => slave:secret@172.16.243.81
[master]
type=peer
host=172.16.243.81
secret=secret
context=from-pstn
trunk=yes
canreinvite=no
[master]
type=user
secret=secret
context=from-pstn
trunk=yes
canreinvite=no
-extensions.conf
[outbound-allroutes]
exten => _2XX,1,Dial(IAX2/master@slave/${EXTEN},15,r)
---------------
Regards,
Chris
>The AMP configuration didn't work so I decided to work up from the Wikiexample. Can anyone help? This is a good config using AMP: http://sourceforge.net/docman/display_doc.php?docid=26418&group_id=121515 HTH
Dude, the point is that you *don't have to* manually edit iax_additional and extensions_additional if you set it up in AMP. In fact, if you do, the next time you make a change in AMP, AMP will overwrite it. Give it a try. -----Original Message----- From: Chris [mailto:listmail@odisok.net] Sent: Tuesday, April 12, 2005 4:56 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] IAX2 - Between two ASterisk Servers Will you send me your relevant sections in IAX_additional.conf and extensions_additional.conf? Chris ----- Original Message ----- From: "Tim Litwiller" <tim@litwiller.net> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, April 12, 2005 4:45 PM Subject: Re: [Asterisk-Users] IAX2 - Between two ASterisk Servers> > Colin Anderson wrote: > > >>The AMP configuration didn't work so I decided to work up from the Wiki > >> > >> > >example. Can anyone help? > > > >This is a good config using AMP: > > > >http://sourceforge.net/docman/display_doc.php?docid=26418&group_id=121515 > > > >HTH > > > > > I second that - It is working fine for me. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
Use the same context that your SIP phones on the target Asterisk server use.
If you are using AMP, try the context "from-internal"
-----Original Message-----
From: Chris [mailto:listmail@odisok.net]
Sent: Wednesday, April 13, 2005 8:54 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IAX2 - Between two ASterisk Servers
Ok, it seems to be working to some degree. The IAX debug comes back
with " No such context/extension" I did a search on the archive
and the
only thing I could find is that the receiving machine needs the contextI have
this in the user section of the IAX.conf. It points to the same
context the zap channels use. I am trying to dial a SIP extension. Any
ideas?
Regards,
Chris
----- Original Message -----
From: "Colin Anderson" <ColinA@landmarkmasterbuilder.com>
To: "'Asterisk Users Mailing List - Non-Commercial
Discussion'"
<asterisk-users@lists.digium.com>
Sent: Tuesday, April 12, 2005 4:40 PM
Subject: RE: [Asterisk-Users] IAX2 - Between two ASterisk Servers
> >The AMP configuration didn't work so I decided to work up from the
Wiki
> example. Can anyone help?
>
> This is a good config using AMP:
>
>
http://sourceforge.net/docman/display_doc.php?docid=26418&group_id=121515
>
> HTH
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@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