Re: [asterisk-users] Why is this happening?
In the case of you example the IAX2 registration came in from the source port on the far device of 1207. Connections don't just move between ports. I understand all this. However, here is my question. MY on 4569 OTHER SIDE 1027. Is both the incoming and outgoing traffic on OTHER SIDE going in and out of 1027? I understand IAX uses only one port. I guess the down side to this would be that MY couldn't contact OTHER SIDE if OTHER SIDE dropped off, because it isn't working on standard port 5649. Correct? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Matt wrote: In the case of you example the IAX2 registration came in from the source port on the far device of 1207. Connections don't just move between ports. I understand all this. However, here is my question. MY on 4569 OTHER SIDE 1027. Is both the incoming and outgoing traffic on OTHER SIDE going in and out of 1027? I understand IAX uses only one port. I guess the down side to this would be that MY couldn't contact OTHER SIDE if OTHER SIDE dropped off, because it isn't working on standard port 5649. Correct? No. Asterisk will respond to the port that the registration came from. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Wed, Oct 18, 2006 at 09:11:15AM -0400, Matt wrote: In the case of you example the IAX2 registration came in from the source port on the far device of 1207. Connections don't just move between ports. I understand all this. However, here is my question. MY on 4569 OTHER SIDE 1027. Is both the incoming and outgoing traffic on OTHER SIDE going in and out of 1027? Packets from the other side to you will have source IP x.x.x.x source port 1027 destination IPy.y.y.y destination port 4569 Packets from you to the other side will have source IP y.y.y.y source port 4569 destination IPx.x.x.x destination port 1027 If there is NAT in between, then the packets may have their source and/or destination address and/or port changed by the time they reach the other side. This depends on how the NAT is set up, and which device is on the inside of the NAT and which is on the outside. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Brian Candler wrote: On Wed, Oct 18, 2006 at 09:11:15AM -0400, Matt wrote: In the case of you example the IAX2 registration came in from the source port on the far device of 1207. Connections don't just move between ports. I understand all this. However, here is my question. MY on 4569 OTHER SIDE 1027. Is both the incoming and outgoing traffic on OTHER SIDE going in and out of 1027? Packets from the other side to you will have source IP x.x.x.x source port 1027 destination IPy.y.y.y destination port 4569 Packets from you to the other side will have source IP y.y.y.y source port 4569 destination IPx.x.x.x destination port 1027 If there is NAT in between, then the packets may have their source and/or destination address and/or port changed by the time they reach the other side. This depends on how the NAT is set up, and which device is on the inside of the NAT and which is on the outside. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users it's kind of like taking a flight.. you enter the airport (make the call) through the main entrance (port 4569). then to get to your flight (establishing the call) you have to go to the terminal (port 1027) to get to your destination (the called number) signature.asc Description: OpenPGP digital signature ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Tue, Oct 17, 2006 at 11:20:02AM -0500, Mitch Miller wrote: Sockets and Ports often gets confused with each other. I feel like I'm reading Suess... Cheers, -- jra -- Jay R. Ashworth[EMAIL PROTECTED] Designer Baylink RFC 2100 Ashworth AssociatesThe Things I Think'87 e24 St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274 That's women for you; you divorce them, and 10 years later, they stop having sex with you. -- Jennifer Crusie; _Fast_Women_ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Mon, Oct 16, 2006 at 05:25:22PM -0400, Time Bandit wrote: 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 For the benefit of the archives, I'd just like to point out that this description is entirely wrong. Each TCP connection has four parameters associated with it: - local IP address - local port - remote IP address - remote port It is all four together which uniquely identifies a TCP connection. A webserver uses local port 80 for *all* inbound connections, and that is for the *entire* duration of each connection. It does not somehow magically change the local port number after accepting the connection. Additional connections can be accepted because they have a different remote IP address (if they are coming from a different machine) or a different remote port (if they are coming from another socket on the same machine) Check on your machine while you're surfing the web, your browser doesn't use port 80 as the originating port. Now, that is correct; the browser (the client) picks a port 1024 for its end of the connection. However check your netstat output and you'll also see the far side (server) is port 80. Connect to an FTP server and check your netstats, you'll see that you're not connected to port 21 on the remote server No, you'll see that you *are* connected to port 21 on the remote server. However your local port number will be something else. Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 172.31.131.189.62505 69.16.138.164.21 ESTABLISHED ^ ^^ Regards, Brian. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Monday 16 October 2006 17:26, Matt wrote: My question is... if both machiens are set to listen on 4569, will the fact that that router is mangeling the port cause any issues? Nope. The router should have udp/4569 forwarded to the correct server on the inside, so that when *it* gets a request on that port it sends it off to the correct server/port. From my sip list peers output: 2206/2206 216.xxx.yyy.96D N 15061Unmonitored 2201/2201 216.xxx.yyy.96D N 5060 Unmonitored 2200/2200 216.xxx.yyy.96D N 15060Unmonitored As you can see, the first one that registered (2201) didn't have its source port mangled. However, 2200 and 2206, both behind the same NATing router, had their source port mangled. Asterisk works just fine like this, and IAX2 is even better since the audio path is multiplexed on the same port. Olle's awesome RTP patches which get symmetric RTP into Asterisk (part of Asterisk for quite some time now) make SIP and NAT almost stupidly easy. I've got installations with a dozen IP501s behind a totally-standard (and probably factory default configuration!) WRT54G router with *no* issues. -A. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Monday 16 October 2006 17:25, Time Bandit wrote: 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 You've got a very poor grasp on how things work. Please don't pretend to know what you're talking about. # netstat -apn | grep :80 tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 782/httpd tcp0 0 204.xxx.yyy.188:8080.xxx.yyy.167:58620 ESTABLISHED 814/httpd tcp0 0 204.xxx.yyy.188:8062.xxx.yyy.15:55384 ESTABLISHED 1068/httpd tcp0 0 204.xxx.yyy.188:80165.xxx.yyy.230:4392 ESTABLISHED 1084/httpd tcp0 0 204.xxx.yyy.188:8065.xxx.yyy.111:6982 TIME_WAIT - tcp0 0 204.xxx.yyy.188:80200.xxx.yyy.43:8198 ESTABLISHED 817/httpd tcp0 0 204.xxx.yyy.188:80165.xxx.yyy.230:4304 ESTABLISHED 815/httpd As you can see, I am *still* listening on port 80 and have numerous connections from different systems, even numerous connections from the same system. -A. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
You've got a very poor grasp on how things work. Please don't pretend to know what you're talking about. # netstat -apn | grep :80 tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 782/httpd tcp0 0 204.xxx.yyy.188:8080.xxx.yyy.167:58620 ESTABLISHED 814/httpd tcp0 0 204.xxx.yyy.188:8062.xxx.yyy.15:55384 ESTABLISHED 1068/httpd tcp0 0 204.xxx.yyy.188:80165.xxx.yyy.230:4392 ESTABLISHED 1084/httpd tcp0 0 204.xxx.yyy.188:8065.xxx.yyy.111:6982 TIME_WAIT - tcp0 0 204.xxx.yyy.188:80200.xxx.yyy.43:8198 ESTABLISHED 817/httpd tcp0 0 204.xxx.yyy.188:80165.xxx.yyy.230:4304 ESTABLISHED 815/httpd As you can see, I am *still* listening on port 80 and have numerous connections from different systems, even numerous connections from the same system. I am really sorry, I've read that explanation somewhere and it made sense. Now that I've been corrected, I won't make that same mistake again. Please excuse me. The one that never did a mistake, never did anything ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Matt wrote: On 10/16/06, Time Bandit [EMAIL PROTECTED] wrote: Why is it running on port 1207? because Asterisk is listening on port 4569 and when a connection comes in, it as handed to another port so it can continue listening on port 4569. Otherwise you would only be handling 1 connection at a time. Pretty basic networking stuff I think :c) 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. The source port on the REMOTE side is 1207. It seems like Asterisk is many people's first introduction to networking. Asterisk 4569 - 1027 SIP Device ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Time Bandit wrote: 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 This is totally and completely wrong. An IP connection is uniquely identified by the information of Source IP + Source Port AND Destination IP and Destination Port. In the case of you example the IAX2 registration came in from the source port on the far device of 1207. Connections don't just move between ports. When you do an iax2 show peers you are seeing the REMOTE IP address and the REMOTE port. It does not show anything about the local ports or local IP addresses. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Tuesday 17 October 2006 10:31, Time Bandit wrote: The one that never did a mistake, never did anything *amen* to that! -A. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
The moving to another port discussion is actually what happens with sockets. A socket listens on a designated port (ex: port 80) and when a connection is made to that socket, another socket begins to listen to port 80 for NEW connections. Sockets and Ports often gets confused with each other. -- Mitch Eric ManxPower Wieling wrote: Time Bandit wrote: 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 This is totally and completely wrong. An IP connection is uniquely identified by the information of Source IP + Source Port AND Destination IP and Destination Port. In the case of you example the IAX2 registration came in from the source port on the far device of 1207. Connections don't just move between ports. When you do an iax2 show peers you are seeing the REMOTE IP address and the REMOTE port. It does not show anything about the local ports or local IP addresses. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Tue, Oct 17, 2006 at 11:20:02AM -0500, Mitch Miller wrote: The moving to another port discussion is actually what happens with sockets. A socket listens on a designated port (ex: port 80) and when a connection is made to that socket, another socket begins to listen to port 80 for NEW connections. Actually, the original socket continues to listen on port 80 for new connections, whilst the accept() call creates a new socket for the accepted connection. From the accept(2) manpage: DESCRIPTION The accept() system call is used with connection-based socket types (SOCK_STREAM, SOCK_SEQPACKET and SOCK_RDM). It extracts the first conâ nection request on the queue of pending connections, creates a new conâ nected socket, and returns a new file descriptor referring to that socket. The newly created socket is not in the listening state. The original socket sockfd is unaffected by this call. Regards, Brian. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Tuesday 17 October 2006 10:31, Time Bandit wrote: The one that never did a mistake, never did anything so the q is.. will you be doing something a lot?? ;-) ... just kidding mate.. but thats a good line neway. cheerz ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Why is this happening?
In my IAX config file I have: [general] bindport = 4569 ; Port to bind to (IAX is 4569) bindaddr = 0.0.0.0; Address to bind to (all addresses on machine) delayreject=yes disallow=all allow=ulaw allow=gsm jitterbuffer=yes forcejitterbuffer=yes mailboxdetail=yes dropcount=3 minexcessbuffer=80 jittershrinkrate=1 notransfer=yes allanrobertson- 209.23.224.97 (D) 255.255.255.255 1207 OK (33 ms) Why is it running on port 1207? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Why is it running on port 1207? because Asterisk is listening on port 4569 and when a connection comes in, it as handed to another port so it can continue listening on port 4569. Otherwise you would only be handling 1 connection at a time. Pretty basic networking stuff I think :c) ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On 10/16/06, Time Bandit [EMAIL PROTECTED] wrote: Why is it running on port 1207? because Asterisk is listening on port 4569 and when a connection comes in, it as handed to another port so it can continue listening on port 4569. Otherwise you would only be handling 1 connection at a time. Pretty basic networking stuff I think :c) 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. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Do me a favor and try running netstat -aplntu | grep asterisk and see what ports are actually being used. Are you connected to another ITSP? If so then that may be the local port of that connection... just an idea, i don't have Asterisk access right now to double check. Ryan On 10/16/06, Time Bandit [EMAIL PROTECTED] wrote: Why is it running on port 1207? because Asterisk is listening on port 4569 and when a connection comes in, it as handed to another port so it can continue listening on port 4569. Otherwise you would only be handling 1 connection at a time. Pretty basic networking stuff I think :c) 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. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On Monday 16 October 2006 16:15, Matt wrote: Thanks for the answer, but I don't buy it. There are currently 0 Whether you buy it or not is irrelevant. That is the port that this asterisk box is seeing the other one up on. It is seeing it that way (most likely) due to NAT between the two boxes. i.e. the far end box is on port 4569/udp but it's being natted to 1207/udp on the outside. I see this all the time in both my SIP and IAX2 registrations, although the port numbers are generally NATted much higher. I only use Linux NAT though, so others could be acting quite differently. -A. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
On 16 Oct 2006, at 20:43, Matt wrote: In my IAX config file I have: [general] bindport = 4569 ; Port to bind to (IAX is 4569) bindaddr = 0.0.0.0; Address to bind to (all addresses on machine) delayreject=yes disallow=all allow=ulaw allow=gsm jitterbuffer=yes forcejitterbuffer=yes mailboxdetail=yes dropcount=3 minexcessbuffer=80 jittershrinkrate=1 notransfer=yes allanrobertson- 209.23.224.97 (D) 255.255.255.255 1207 OK (33 ms) Why is it running on port 1207? I'm guessing here, since you haven't told us where you ran the command to generate that line or what the command was, but it was probably iax2 show peers on your local machine. This then tells you about the status of the peers (and friends) in iax.conf It tells you what your local asterisk sees. So it is telling you that the _far_ asterisk that has registered as peer allanrobertson from ipaddress 209.23.224.97 on port 1207. The port number may not be 4569 because : 1) it isn't asterisk at the far end - iaxclients (like ours) may use any port to connect. 2) the remote asterisk is on 4569 but there is a nat/port mapping router in-between 3) the remote asterisk has been configured to use 1207 (unlikely) Tim Panton www.mexuar.com ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
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 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Andrew, I totally buy YOUR explination and that is what I think is happening.. the NAT box on the far end (not ours) is changing the port. My question is... if both machiens are set to listen on 4569, will the fact that that router is mangeling the port cause any issues? -- Forwarded message -- From: Andrew Kohlsmith [EMAIL PROTECTED] Date: Oct 16, 2006 4:54 PM Subject: Re: [asterisk-users] Why is this happening? To: asterisk-users@lists.digium.com On Monday 16 October 2006 16:15, Matt wrote: Thanks for the answer, but I don't buy it. There are currently 0 Whether you buy it or not is irrelevant. That is the port that this asterisk box is seeing the other one up on. It is seeing it that way (most likely) due to NAT between the two boxes. i.e. the far end box is on port 4569/udp but it's being natted to 1207/udp on the outside. I see this all the time in both my SIP and IAX2 registrations, although the port numbers are generally NATted much higher. I only use Linux NAT though, so others could be acting quite differently. -A. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re[2]: [asterisk-users] Why is this happening?
OMG, please read more about network ports. :c) MM -Original Message- From: Time Bandit [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Cc: Sent: Mon, 16 Oct 2006 17:25:22 -0400 Delivered: Subject:[asterisk-users] Why is this happening? 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 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users E-mail classificado pelo Identificador de Spam Inteligente Terra. Para alterar a categoria classificada, visite http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=levelz_l=1,1161036006.564822.910.ambrose.hst.terra.com.br,5048,Des15,Des15 --Original Message Ends-- -- Melcon Moraes [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: Re[2]: [asterisk-users] Why is this happening?
On 10/16/06, Melcon Moraes [EMAIL PROTECTED] wrote: OMG, please read more about network ports. Could you tell me what is wrong with my explanation ? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
You're a little backwards. When you connect to a remote server via HTTP protocol, for example, you ARE connected to their remote port 80. They do not send data to YOUR port 80 though. Moj Time Bandit wrote: On 10/16/06, Melcon Moraes [EMAIL PROTECTED] wrote: OMG, please read more about network ports. Could you tell me what is wrong with my explanation ? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users !DSPAM:500,45340abe46521385410434! -- Mojo [EMAIL PROTECTED] Office Manager, Horan Company, LLC (907) 747- x112 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Ok I understand all that... Just wanted to confirm that A) it was the remote router mangeling the port and B) that it wouldn't cause an issue (I wasn't 100% sure if it would.. since only the 4569 port is open on the firewall). Could this cause an issue? If only 4569 is open on the firewall, and IAX tries to setup the connection and then move to a port that isn't opened wouldn't this cause one-way audio, or no audio at all? On 10/16/06, Time Bandit [EMAIL PROTECTED] wrote: 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 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Why is this happening?
Matt wrote: Ok I understand all that... Just wanted to confirm that A) it was the remote router mangeling the port and B) that it wouldn't cause an issue (I wasn't 100% sure if it would.. since only the 4569 port is open on the firewall). Could this cause an issue? If only 4569 is open on the firewall, and IAX tries to setup the connection and then move to a port that isn't opened wouldn't this cause one-way audio, or no audio at all? If a remote NAT router has mangled the port that Asterisk is using to some other value, then that is the port--from the perspective of the local Asterisk server--that it will be using to effect communications with the remote endpoint. At the other end, the NAT router will handle the appropriate translation from that port to the port being used on the Asterisk server. I do this all the time, and the reason I say the port being used on the Asterisk server is because IAX is able to handle any number of such mappings without problem. The only problem I have is NAT routers that have very short timeouts set on such mappings. There are ways to get around that problem, but that discussion isn't germane here unless you have identified that as being the situation in this case. B. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users