500 and 404 errors in SIP

Any and all non-support discussions

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

500 and 404 errors in SIP

Postby glenewhittenberg » Wed Jan 15, 2014 3:49 am

Hello again. I am getting a fair share of 500 and 404 errors when calling overseas. My vicidial_carrier_log shows 38-CONGESTION and 1-CHANUNAVAIL on about 20% of my calls tonight. Here is a link from a tcpdump on a 404 call.

wont let me post a url. Bummer. i can send if you need to see it. it shows the flow of

1. i send invite
2. carrier sends my call is important
3. carrier sends 404 not found
4. i send ACK

I can run a dump and get a 500 error if needed also.

Any insight would be appreciated. I am pretty sure it is a carrier issue but i don't want to start throwing hand grenades until i get some feedback.

Thanks guys!
Single Server:
SuSE 12.3 (x86_64) : ViciBox v.5.0.2-130821 : Asterisk 1.8.26.1-vici : astGUI 2.8b0.5 : SVN = 2088
Mysql 5.5.33-MariaDB-log : Xeon E5-2620, 4x 8GB ECC 1600 RAM, 4x 2TB WD RE4 SATA3 RAID10
glenewhittenberg
 
Posts: 54
Joined: Fri Jan 03, 2014 1:15 am

Re: 500 and 404 errors in SIP

Postby williamconley » Wed Jan 15, 2014 5:12 am

1) use another carrier (if you only have ONE carrier and paychecks are riding on this ... you are doing everyone a disfavor). Professionals have Two providers. Best practices requires Three (two capable of full load and a 3rd for emergencies and quality test comparisons).

2) If your server isn't overloaded, and your internet connection is solid (ie: calls to anywhere else work just fine), then it's likely your provider. Nothin' you can do to fix it if that's the case except get a new one.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: 500 and 404 errors in SIP

Postby glenewhittenberg » Wed Jan 15, 2014 11:46 am

I completely agree with you. We mostly do US calls during the day and we have three carriers for this. Our calls International are for a few countries and we have struck a deal with the carrier that makes this affordable. The service, connect rate and sound quality, are better than the 4 others we tested with. We are unable to use the best of the best based on cost. Thanks for the confirmation on the carrier side though.
Single Server:
SuSE 12.3 (x86_64) : ViciBox v.5.0.2-130821 : Asterisk 1.8.26.1-vici : astGUI 2.8b0.5 : SVN = 2088
Mysql 5.5.33-MariaDB-log : Xeon E5-2620, 4x 8GB ECC 1600 RAM, 4x 2TB WD RE4 SATA3 RAID10
glenewhittenberg
 
Posts: 54
Joined: Fri Jan 03, 2014 1:15 am

Re: 500 and 404 errors in SIP

Postby telecomdude1776 » Thu Jan 16, 2014 5:37 pm

Some reasons that your other carriers wouldn't accept the calls and issue a 404 error code are:
A SIP 404 is a generic error for failed to establish call (It can mean anything from "This number doesn't exist", to "You're not allowed to call this number (but it does exist)" to "System error making call")

As other numbers work, and this is a SIP trunk, you might want to check with your provider that they accept 999 calls.
You may find that you're stripping the leading 9 and asking the SIP provider to dial "99" which will fail...
telecomdude1776
 
Posts: 5
Joined: Sat Oct 19, 2013 4:50 pm

Re: 500 and 404 errors in SIP

Postby glenewhittenberg » Thu Jan 16, 2014 7:52 pm

I spoke with my provider yesterday night on this. We are sending the proper digits to them. It appears that the numbers we called a few days back are just bad numbers. The lead brokers are crooks :evil: I will try and do some more testing next week and get a better idea.

I am also starting to use tcpdump and wireshark. It lets me follow the flow of the VoIP calls between my end and theirs. I can see drop packets per call, amount of jitter per call, view the entire conversation between both ends from call setup to tear-down, all error codes, etc. i can even play the conservation between both parties for calls that I captured. Pretty slick i think.

Thanks guys.
Single Server:
SuSE 12.3 (x86_64) : ViciBox v.5.0.2-130821 : Asterisk 1.8.26.1-vici : astGUI 2.8b0.5 : SVN = 2088
Mysql 5.5.33-MariaDB-log : Xeon E5-2620, 4x 8GB ECC 1600 RAM, 4x 2TB WD RE4 SATA3 RAID10
glenewhittenberg
 
Posts: 54
Joined: Fri Jan 03, 2014 1:15 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 39 guests