[asterisk-users] Why is this happening?

Time Bandit timebandit001 at gmail.com
Mon Oct 16 14:25:22 MST 2006


> Thanks for the answer, but I don't buy it.  There are currently 0
> calls up on that bridge, while another connection which has calls up
> on it is on Port 4569.. please try again.  IAX2 is suppose to run on
> ONLY one port.. this is why it is so nice for use in firewall
> situations.

It doesn't change a thing !

Same thing happens with a webserver. It listen for connections on port
80 (default port) and when a connection comes in, it is handed to
another free port on the server so the "main" server can continue
listening on port 80. Same thing with FTP, etc. All TCP servers that
accept more than one connection

I think that what "iax2 show peers" display is the remote port from
which the client connected. iaxclient library defaults to using port
4569 as the originating port but there is a function to specify
another port.

Check on your machine while you're surfing the web, your browser
doesn't use port 80 as the originating port. Connect to an FTP server
and check your netstats, you'll see that you're not connected to port
21 on the remote server


More information about the asterisk-users mailing list