[asterisk-users] IAX to work on two ports: 4569 and 4570
Kai-Uwe Jensen
kujensen at gmail.com
Fri Jul 25 20:32:50 CDT 2008
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 <bilmar_gh at yahoo.com> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080725/3c8d3caf/attachment.htm
More information about the asterisk-users
mailing list