[asterisk-users] IAX configuration
yonoko molomo
yonokomolomo at gmail.com
Thu Sep 27 11:28:26 CDT 2007
hi,
it does not help.
at first i already tried using type=friend.
but i am not able to make calls.
in the 'caller' asterisk get:
WARNING[18541]: chan_iax2.c:7101 socket_process: Call rejected by
x.x.x.x: No authority found
-- Hungup 'IAX2'
in the 'called' asterisk i get following error:
chan_iax2.c:7584 socket_process: Host x.x.x.x failed to authenticate as serverB
but in the CLI, i type iax2 show registry and i see that servers are registered.
Host dnsmgr Username Perceived Refresh State
x.x.x.x:4569 N server y.y.y.y:4569 60 Registered
i asume registered means also authenticated but it complaints.
I already followed that link but it does not work. i need to change some things.
first, i need to change friend to peer. if i use type=friend it does
not work for me.
then i need to define all users of the foreign asterisk, which is not
normal, i guess.
I also need to define the ip address of the servers as host=dynamic.
if i put host=192.168.1.10 or similar, i get the message in the CLI:
"Peer 'server' is not dynamic (from 192.168.1.10)"
somehow i feel that there is "something" missing in the configuracion
examples, but i do not know what is it.
any ideas?
2007/9/27, Gordon Henderson <gordon+asterisk at drogon.net>:
> On Thu, 27 Sep 2007, Anthony Messina wrote:
>
> > On Thursday 27 September 2007 09:23:09 am yonoko molomo wrote:
> >> Hi,
> >>
> >> I have some problems and doubts connecting two asterisk servers.
> >>
> >> I have one asterisk (serverA), with 1 sip client registered (clientA).
> >> I have another asterisk (sever B), with another client (clientB).
> >> Now I want to call from client A to B and from B to A.
> >>
> >> Searching in google i find many configuration examples. For instance:
> >> http://etel.wiki.oreilly.com/wiki/index.php/Peering_two_Asterisk_servers_us
> >> ing_IAX There are hundreds of pages like this. Also the book "Asterisk the
> >> future of telephony" describes how to configure IAX.
> >> But it seems that there are many things missing.
> >>
> >> I understand I need to configure iax.conf in server A and add an entry
> >> for server B as "peer".
> >> I also need to include a "register" line in iax.conf of server B. If i
> >> do this, i have server B registered in server A.
> >>
> >> I do the same in server B.
> >>
> >
> > you'll need to define each as a "friend" of each other.
>
> Start here:
>
> http://astrecipes.net/index.php?n=204
>
> Gordon
>
> _______________________________________________
>
> Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list