carrier randomly becomes unreachable

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

carrier randomly becomes unreachable

Postby B.lee2 » Mon Feb 25, 2013 7:09 pm

Today, I noticed that my carriers become randomly unreachable.

I tried to put qualify = no, but it doesn't make a difference (only difference it makes is that in the CLI, it will attempt to dial, but nada). It can ping the carrier just fine, which is strange.

I just switched router to a D-link N150 recently,I am behind a NAT, is there anything I should for?
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby B.lee2 » Mon Feb 25, 2013 10:10 pm

Could this be the culprit?

http://www.voip-info.org/wiki/view/Routers+SIP+ALG

It sure is strange, I know my new router has this feature but I have no idea why it would work 80% of the time and break the remaining 20

EDIT: It makes no sense, it can`t be it, why would it break 20% of the time only???
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby B.lee2 » Tue Feb 26, 2013 11:24 am

Im starting to think that the DIR601 I am using is crap and the solution is to return it to the store
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby B.lee2 » Tue Feb 26, 2013 12:01 pm

OK, I disabled the "SPI" setting and enabled the "SIP ALG" setting in the firewall tab of the router. It works so far.

Hopefully it's not just coincidence and that was actually the solution but I'll see how it goes.
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby B.lee2 » Tue Feb 26, 2013 2:57 pm

Ok it's not it, it just randomly became unreachable again
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby DomeDan » Wed Feb 27, 2013 8:41 am

do "sip show peers" in the asterisk CLI a little now and then and check if there is high latency under "status" for the carrier
also find out if its only related to the carrier or if its the whole network that is going down
run mtr or any other tool, point it to any table server like googles dns at 8.8.8.8 and check if you get dropped packages when the carrier goes unteachable
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: carrier randomly becomes unreachable

Postby williamconley » Wed Feb 27, 2013 11:34 am

If you lose registration "20% of the time" it is usually because a firewall is closing a port before "re-registration" occurs. Then, when re-registration happens, a new rport is opened to keep the connection alive. Try to reduce your time between registration renewals by 50%.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: carrier randomly becomes unreachable

Postby B.lee2 » Wed Feb 27, 2013 5:47 pm

OK I narrowed it down.

Each time ekiga/softphone (sip peer 201) fails or is closed, the carriers invariably becomes unreachable.

I have to turn down the the SIP ALG feature inside the router, and then turn it back up again for it to work.

If you lose registration "20% of the time" it is usually because a firewall is closing a port before "re-registration" occurs. Then, when re-registration happens, a new rport is opened to keep the connection alive. Try to reduce your time between registration renewals by 50%.


How do I do this?
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby williamconley » Wed Feb 27, 2013 8:51 pm

Play with these values in sip.conf or for these particular sip accounts experiencing the problems:

;maxexpiry=3600 ; Maximum allowed time of incoming registrations
;minexpiry=60 ; Minimum length of registrations/subscriptions (default 60)
;defaultexpiry=120 ; Default length of incoming/outgoing registration
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: carrier randomly becomes unreachable

Postby B.lee2 » Thu Mar 07, 2013 11:13 am

Ok I halved each value and that doesn't change anything.

Then I halved them again, and it isn't really helping either
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby williamconley » Thu Mar 07, 2013 12:24 pm

take 'em down to 30 seconds each. as a test.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: carrier randomly becomes unreachable

Postby B.lee2 » Fri Mar 08, 2013 11:10 am

Doesn't change anything.
Vicibox Redux v3.1.14 from iso | Vicidial 2.4-355a BUILD 120118-2113 | Asterisk 1.14.39.2| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | No clue what the motherboard is | Intel Pentium(R) 4 CPU 3.00 Ghz
B.lee2
 
Posts: 116
Joined: Mon Dec 19, 2011 1:25 pm

Re: carrier randomly becomes unreachable

Postby williamconley » Fri Mar 08, 2013 1:02 pm

Perhaps it is new router time. Or you should turn off features in the router that are interfering.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 66 guests