On Box C, you define your IAX peers A and B in iax.conf. For your peer "Box
A", no special config is needed, it will use the default port 4569. For the
configuration entry for Box B, you add a line to the peer definition that
reads "port=4570". Box C will then try to reach Box B via port 4570.

On your DSL router, any traffic arriving on port 4569 is destined for Box A,
anything arriving on port 4570 is for Box B. You will therefore need to set
up port forwarding on the router. Incoming traffic on port 4569 (UDP) gets
forwarded to Box A, port 4569. Anything arriving on port 4570 you can
forward to Box B, port 4569. That will do the trick.

On Fri, Jul 25, 2008 at 4:15 PM, bilal ghayyad <[EMAIL PROTECTED]> wrote:

> Again, I did not understand.
>
> How the router will know if the call that came from Asterisk Box C need to
> be routed for Asterisk Box A or Asterisk Box B?
>
> Note: Asterisk A and B both behind DSL router, while Asterisk C in remote
> side, both sides are connected via Internet.
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to