Hi All

I'm trying to get two Asterisk servers to talk to each other using IAX(2).

I've read the WiKi and the docs and tried the examples.....

I can't get it to work (I have 2 x 7960's registering on one server and 1 x 7960 
registering on the other).

I've set them up as follows...

The two servers are set up as friends and have consecutive IP address's.

The setup is that the prefix 3 determines that the server dials the extension number 
on the other servers local context:-

extensions.conf

exten => _3XXXX,1,Dial(IAX2/OtherServer:[EMAIL PROTECTED]:5036/${EXTEN:[EMAIL 
PROTECTED])

When I do a dial say 32221 this is what comes up in the console:-

Executing GoTo("SIP/2231-xxxx", "intern-post|32221|1") in new stack

GoTo (intern-post,32221,1)

Executing Dial("SIP/2231-xxxx", "IAX2/OtherServer:[EMAIL PROTECTED]:5036/[EMAIL 
PROTECTED]") in new stack

Called OtherServer:[EMAIL PROTECTED]:5036/[EMAIL PROTECTED]

Warning: chan_iax2.c:1413 attempt_transmit: Max retries exceeded to host OtherServerIP 
on IAX2/OtherServerIP:5036/3 (type = 6, subclass = 1, ts=2, seqno=0)

Hungup 'IAX2/OtherServerIP:5036/3'

then the regular cleanup commands

In "IAX2 Show Peers" I get:-

OtherServer    OtherServerIP    (S)  255.255.255.255   4569    UnMonitored

I'm confused

why is the connection showing on port 4569 in show peers?  Is this a default?

Is there a way to test the validity of the IAX2 connection from the console?

Thanks in advance.

P



_______________________________________________
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