Re: [asterisk-users] IAX2 getting stuck
Hmmm.. So if you are sure that the poke packets leave the network interface (I would still check with tcpdump as well, maybe a firewall issue?) then it makes sense to check the other side to make sure the poke packets reach other servers. I mean with tcpdump you may see if there are incoming packets from your peers on the interface. If there are, then they are dropped or ignored by your servers. If no, then it's better to check the other side. you may try smth like 'tcpdump -npi host and port 4569' Do you have a firewall configured on this server? On Fri, Apr 21, 2017, 12:36 AM Carlos Chavezwrote: > On 4/20/17 2:37 PM, Kseniya Blashchuk wrote: > > If SIP goes to the same provider then yes. Still I would check a packet > capture for better understanding. BTW, did you try iax debug? > > чт, 20 апр. 2017 г. в 19:46, Carlos Chavez : > >> On 4/20/17 12:45 AM, Kseniya Blashchuk wrote: >> >> Can it happen that the routes lead the traffic through another interface? >> Did you try a packet capture with tcpdump? Do the packets really leave the >> usb adapter? Can asymmetric routing be in effect? >> Maybe there were some static routes that disappeared when the adapter was >> unplugged... >> >> On Thu, Apr 20, 2017, 12:41 AM Antony Stone < >> antony.st...@asterisk.open.source.it> wrote: >> >>> On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote: >>> >>> > On 4/19/17 4:23 PM, Antony Stone wrote: >>> > > >>> > > You say the USB ethernet adapter got unplugged and then >>> reconnected... >>> > > >>> > > 1. What's the name of the network device for this adapter? Is it the >>> > > same name as it previously had? >>> > > >>> > > 2. What does 'ifconfig' say the IP address is for this adapter? >>> > > >>> > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and >>> > > 'bindport'? >>> > > >>> > > 4. Do you have SIP connections on the same network interface, and are >>> > > those working as normal? >>> > > >>> > > >>> > > Antony. >>> > >>> > 1- No changes to device names. eth0 is the main link to the network, >>> > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) >>> > goes to another SIP provider. All IAX trunks use eth0 >>> > >>> > 2- ifconfig gives the proper IP and netmask for all interfaces >>> > >>> > 3- We do not specify bindaddr or bindport in the config file as the >>> > default is to bind to 0.0.0.0 >>> > >>> > 4- We had to make new SIP trunks to replace the IAX2 trunks to all >>> > servers. The SIP trunk is working with no problems. Except for two >>> SIP >>> > links to PSTN all internal extensions use the same network interface. >>> >>> Ugh :( >>> >>> Sorry, I have no more ideas, then. >>> >>> I hope someone else comes into this thread with a helpful suggestion. >>> >>> >>> If routing was the problem then the SIP trunk would not work. >> Usually IAX2 is a little more forgiving about routing than SIP. >> >> The new SIP trunks are replacing the IAX2 trunks to our other > Asterisk servers and use exactly the same network paths, that is why I know > it is not a network infrastructure issue. We did turn on IAX debug and we > only se the server trying to poke the other servers but there is not > response or any incoming traffic. > > -- > Telecomunicaciones Abiertas de México S.A. de C.V. > Carlos Chávez > +52 (55)8116-9161 > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On 4/20/17 2:37 PM, Kseniya Blashchuk wrote: If SIP goes to the same provider then yes. Still I would check a packet capture for better understanding. BTW, did you try iax debug? чт, 20 апр. 2017 г. в 19:46, Carlos Chavez>: On 4/20/17 12:45 AM, Kseniya Blashchuk wrote: Can it happen that the routes lead the traffic through another interface? Did you try a packet capture with tcpdump? Do the packets really leave the usb adapter? Can asymmetric routing be in effect? Maybe there were some static routes that disappeared when the adapter was unplugged... On Thu, Apr 20, 2017, 12:41 AM Antony Stone > wrote: On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote: > On 4/19/17 4:23 PM, Antony Stone wrote: > > > > You say the USB ethernet adapter got unplugged and then reconnected... > > > > 1. What's the name of the network device for this adapter? Is it the > > same name as it previously had? > > > > 2. What does 'ifconfig' say the IP address is for this adapter? > > > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and > > 'bindport'? > > > > 4. Do you have SIP connections on the same network interface, and are > > those working as normal? > > > > > > Antony. > > 1- No changes to device names. eth0 is the main link to the network, > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) > goes to another SIP provider. All IAX trunks use eth0 > > 2- ifconfig gives the proper IP and netmask for all interfaces > > 3- We do not specify bindaddr or bindport in the config file as the > default is to bind to 0.0.0.0 > > 4- We had to make new SIP trunks to replace the IAX2 trunks to all > servers. The SIP trunk is working with no problems. Except for two SIP > links to PSTN all internal extensions use the same network interface. Ugh :( Sorry, I have no more ideas, then. I hope someone else comes into this thread with a helpful suggestion. If routing was the problem then the SIP trunk would not work. Usually IAX2 is a little more forgiving about routing than SIP. The new SIP trunks are replacing the IAX2 trunks to our other Asterisk servers and use exactly the same network paths, that is why I know it is not a network infrastructure issue. We did turn on IAX debug and we only se the server trying to poke the other servers but there is not response or any incoming traffic. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)8116-9161 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
If SIP goes to the same provider then yes. Still I would check a packet capture for better understanding. BTW, did you try iax debug? чт, 20 апр. 2017 г. в 19:46, Carlos Chavez: > On 4/20/17 12:45 AM, Kseniya Blashchuk wrote: > > Can it happen that the routes lead the traffic through another interface? > Did you try a packet capture with tcpdump? Do the packets really leave the > usb adapter? Can asymmetric routing be in effect? > Maybe there were some static routes that disappeared when the adapter was > unplugged... > > On Thu, Apr 20, 2017, 12:41 AM Antony Stone < > antony.st...@asterisk.open.source.it> wrote: > >> On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote: >> >> > On 4/19/17 4:23 PM, Antony Stone wrote: >> > > >> > > You say the USB ethernet adapter got unplugged and then reconnected... >> > > >> > > 1. What's the name of the network device for this adapter? Is it the >> > > same name as it previously had? >> > > >> > > 2. What does 'ifconfig' say the IP address is for this adapter? >> > > >> > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and >> > > 'bindport'? >> > > >> > > 4. Do you have SIP connections on the same network interface, and are >> > > those working as normal? >> > > >> > > >> > > Antony. >> > >> > 1- No changes to device names. eth0 is the main link to the network, >> > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) >> > goes to another SIP provider. All IAX trunks use eth0 >> > >> > 2- ifconfig gives the proper IP and netmask for all interfaces >> > >> > 3- We do not specify bindaddr or bindport in the config file as the >> > default is to bind to 0.0.0.0 >> > >> > 4- We had to make new SIP trunks to replace the IAX2 trunks to all >> > servers. The SIP trunk is working with no problems. Except for two SIP >> > links to PSTN all internal extensions use the same network interface. >> >> Ugh :( >> >> Sorry, I have no more ideas, then. >> >> I hope someone else comes into this thread with a helpful suggestion. >> >> >> If routing was the problem then the SIP trunk would not work. > Usually IAX2 is a little more forgiving about routing than SIP. > > -- > Telecomunicaciones Abiertas de México S.A. de C.V. > Carlos Chávez+52 (55)8116-9161 <+52%2055%208116%209161> > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On 4/20/17 12:45 AM, Kseniya Blashchuk wrote: Can it happen that the routes lead the traffic through another interface? Did you try a packet capture with tcpdump? Do the packets really leave the usb adapter? Can asymmetric routing be in effect? Maybe there were some static routes that disappeared when the adapter was unplugged... On Thu, Apr 20, 2017, 12:41 AM Antony Stone> wrote: On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote: > On 4/19/17 4:23 PM, Antony Stone wrote: > > > > You say the USB ethernet adapter got unplugged and then reconnected... > > > > 1. What's the name of the network device for this adapter? Is it the > > same name as it previously had? > > > > 2. What does 'ifconfig' say the IP address is for this adapter? > > > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and > > 'bindport'? > > > > 4. Do you have SIP connections on the same network interface, and are > > those working as normal? > > > > > > Antony. > > 1- No changes to device names. eth0 is the main link to the network, > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) > goes to another SIP provider. All IAX trunks use eth0 > > 2- ifconfig gives the proper IP and netmask for all interfaces > > 3- We do not specify bindaddr or bindport in the config file as the > default is to bind to 0.0.0.0 > > 4- We had to make new SIP trunks to replace the IAX2 trunks to all > servers. The SIP trunk is working with no problems. Except for two SIP > links to PSTN all internal extensions use the same network interface. Ugh :( Sorry, I have no more ideas, then. I hope someone else comes into this thread with a helpful suggestion. If routing was the problem then the SIP trunk would not work. Usually IAX2 is a little more forgiving about routing than SIP. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)8116-9161 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
Can it happen that the routes lead the traffic through another interface? Did you try a packet capture with tcpdump? Do the packets really leave the usb adapter? Can asymmetric routing be in effect? Maybe there were some static routes that disappeared when the adapter was unplugged... On Thu, Apr 20, 2017, 12:41 AM Antony Stone < antony.st...@asterisk.open.source.it> wrote: > On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote: > > > On 4/19/17 4:23 PM, Antony Stone wrote: > > > > > > You say the USB ethernet adapter got unplugged and then reconnected... > > > > > > 1. What's the name of the network device for this adapter? Is it the > > > same name as it previously had? > > > > > > 2. What does 'ifconfig' say the IP address is for this adapter? > > > > > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and > > > 'bindport'? > > > > > > 4. Do you have SIP connections on the same network interface, and are > > > those working as normal? > > > > > > > > > Antony. > > > > 1- No changes to device names. eth0 is the main link to the network, > > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) > > goes to another SIP provider. All IAX trunks use eth0 > > > > 2- ifconfig gives the proper IP and netmask for all interfaces > > > > 3- We do not specify bindaddr or bindport in the config file as the > > default is to bind to 0.0.0.0 > > > > 4- We had to make new SIP trunks to replace the IAX2 trunks to all > > servers. The SIP trunk is working with no problems. Except for two SIP > > links to PSTN all internal extensions use the same network interface. > > Ugh :( > > Sorry, I have no more ideas, then. > > I hope someone else comes into this thread with a helpful suggestion. > > > Antony. > > -- > The first fifty percent of an engineering project takes ninety percent of > the > time, and the remaining fifty percent takes another ninety percent of the > time. > >Please reply to the > list; > please *don't* CC > me. > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On Wednesday 19 April 2017 at 23:35:24, Carlos Chavez wrote: > On 4/19/17 4:23 PM, Antony Stone wrote: > > > > You say the USB ethernet adapter got unplugged and then reconnected... > > > > 1. What's the name of the network device for this adapter? Is it the > > same name as it previously had? > > > > 2. What does 'ifconfig' say the IP address is for this adapter? > > > > 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and > > 'bindport'? > > > > 4. Do you have SIP connections on the same network interface, and are > > those working as normal? > > > > > > Antony. > > 1- No changes to device names. eth0 is the main link to the network, > eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) > goes to another SIP provider. All IAX trunks use eth0 > > 2- ifconfig gives the proper IP and netmask for all interfaces > > 3- We do not specify bindaddr or bindport in the config file as the > default is to bind to 0.0.0.0 > > 4- We had to make new SIP trunks to replace the IAX2 trunks to all > servers. The SIP trunk is working with no problems. Except for two SIP > links to PSTN all internal extensions use the same network interface. Ugh :( Sorry, I have no more ideas, then. I hope someone else comes into this thread with a helpful suggestion. Antony. -- The first fifty percent of an engineering project takes ninety percent of the time, and the remaining fifty percent takes another ninety percent of the time. Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On 4/19/17 4:23 PM, Antony Stone wrote: On Wednesday 19 April 2017 at 23:14:46, Carlos Chavez wrote: On 4/19/17 4:09 PM, Antony Stone wrote: On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote: I have a server that had been operating for a few years now with IAX2 trunks to several other servers. Since yesterday all IAX2 trunks now say UNREACHABLE. ...snip... So far the only thing different is that the receive queue for port 4569 is not zero like all the other servers: udp 128760 0 0.0.0.0:45690.0.0.0:* Basically all packets for IAX2 are getting stuck in the queue. Any suggestions? Have you tried rebooting the router which connects this machine to the Internet? It sounds like a stale connection-tracking table entry to me. Antony. We have already tried that. One of the servers that has an IAX trunk to this server is on the same local network so that eliminates any firewall/router in the way. We disabled iptables just in case too. Hm :( You say the USB ethernet adapter got unplugged and then reconnected... 1. What's the name of the network device for this adapter? Is it the same name as it previously had? 2. What does 'ifconfig' say the IP address is for this adapter? 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and 'bindport'? 4. Do you have SIP connections on the same network interface, and are those working as normal? Antony. 1- No changes to device names. eth0 is the main link to the network, eth1 (also internal) goes to a SIP provider and eth2 (the USB adapter) goes to another SIP provider. All IAX trunks use eth0 2- ifconfig gives the proper IP and netmask for all interfaces 3- We do not specify bindaddr or bindport in the config file as the default is to bind to 0.0.0.0 4- We had to make new SIP trunks to replace the IAX2 trunks to all servers. The SIP trunk is working with no problems. Except for two SIP links to PSTN all internal extensions use the same network interface. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)8116-9161 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On Wednesday 19 April 2017 at 23:14:46, Carlos Chavez wrote: > On 4/19/17 4:09 PM, Antony Stone wrote: > > On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote: > >>I have a server that had been operating for a few years now with > >> > >> IAX2 trunks to several other servers. Since yesterday all IAX2 trunks > >> now say UNREACHABLE. > > > > ...snip... > > > >> So far the only thing different is that the receive queue for port 4569 > >> is not zero like all the other servers: > >> > >> udp 128760 0 0.0.0.0:45690.0.0.0:* > >> > >>Basically all packets for IAX2 are getting stuck in the queue. > >>Any > >> > >> suggestions? > > > > Have you tried rebooting the router which connects this machine to the > > Internet? > > > > It sounds like a stale connection-tracking table entry to me. > > > > > > Antony. > > We have already tried that. One of the servers that has an IAX > trunk to this server is on the same local network so that eliminates any > firewall/router in the way. We disabled iptables just in case too. Hm :( You say the USB ethernet adapter got unplugged and then reconnected... 1. What's the name of the network device for this adapter? Is it the same name as it previously had? 2. What does 'ifconfig' say the IP address is for this adapter? 3. What do you have in /etc/asterisk/iax.conf for 'bindaddr' and 'bindport'? 4. Do you have SIP connections on the same network interface, and are those working as normal? Antony. -- "It would appear we have reached the limits of what it is possible to achieve with computer technology, although one should be careful with such statements; they tend to sound pretty silly in five years." - John von Neumann (1949) Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On 4/19/17 4:09 PM, Antony Stone wrote: On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote: I have a server that had been operating for a few years now with IAX2 trunks to several other servers. Since yesterday all IAX2 trunks now say UNREACHABLE. ...snip... So far the only thing different is that the receive queue for port 4569 is not zero like all the other servers: udp 128760 0 0.0.0.0:45690.0.0.0:* Basically all packets for IAX2 are getting stuck in the queue. Any suggestions? Have you tried rebooting the router which connects this machine to the Internet? It sounds like a stale connection-tracking table entry to me. Antony. We have already tried that. One of the servers that has an IAX trunk to this server is on the same local network so that eliminates any firewall/router in the way. We disabled iptables just in case too. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez +52 (55)8116-9161 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 getting stuck
On Wednesday 19 April 2017 at 22:54:51, Carlos Chavez wrote: > I have a server that had been operating for a few years now with > IAX2 trunks to several other servers. Since yesterday all IAX2 trunks > now say UNREACHABLE. ...snip... > So far the only thing different is that the receive queue for port 4569 is > not zero like all the other servers: > > udp 128760 0 0.0.0.0:45690.0.0.0:* > > Basically all packets for IAX2 are getting stuck in the queue. Any > suggestions? Have you tried rebooting the router which connects this machine to the Internet? It sounds like a stale connection-tracking table entry to me. Antony. -- "Linux is going to be part of the future. It's going to be like Unix was." - Peter Moore, Asia-Pacific general manager, Microsoft Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users