VOS3000 One-Way Audio Fix, VOS3000 MySQL Connection Failed, VOS3000 EMP Start Failed, VOS3000 DDoS Protection, VOS3000 Database Recovery, VOS3000 Call Drop Disconnect , VOS3000 SIP Registration Failed, VOS3000 High CPU Usage

VOS3000 Call Drop Disconnect Proven Troubleshooting Guide

VOS3000 Call Drop Disconnect Proven Troubleshooting Guide ๐Ÿ“ž

Random call drops and disconnects on your VOS3000 softswitch can destroy customer confidence and erode your profit margins. ๐Ÿ˜ž When calls cut off unexpectedly, users blame your service regardless of the actual root cause. A VOS3000 call drop disconnect issue can stem from RTP timeouts, SIP session timer expiry, firewall UDP timeouts, NAT keepalive failures, aggressive failover switching, or upstream provider rejections. This comprehensive guide provides proven diagnostic techniques and solutions for each type of call drop, helping you restore stable, reliable call connections on your VOS3000 platform. ๐Ÿ”ง

Understanding why a VOS3000 call drop disconnect occurs requires analyzing the SIP signaling and RTP media flow for the affected calls. VOS3000 generates detailed CDR (Call Detail Records) that include release cause codes, which tell you exactly why each call ended. By correlating CDR data with network-level diagnostics, you can pinpoint whether the drop is caused by a network issue, a configuration problem, or an upstream provider issue. This guide covers every major cause category with specific diagnostic steps and solutions. ๐Ÿ“‹

Table of Contents

Understanding Call Drop Types in VOS3000 ๐Ÿ“Š

Not all call drops are the same. The VOS3000 call drop disconnect can be categorized by timing (early disconnect vs mid-call), by cause (network timeout vs signaling failure), and by direction (originator disconnect vs terminator disconnect). Understanding the type helps you narrow down the root cause quickly. โฑ๏ธ

Drop TypeTypical DurationSIP MethodRelease CauseCategory
RTP timeoutAfter 30s silenceBYE from VOS3000102 Recovery on timer expiryNetwork
Session timer expiryAfter session intervalBYE from VOS3000102 Recovery on timer expiryConfiguration
Firewall UDP timeoutAfter 2-5 min idleNo BYE (just silence)VariesNetwork
Failover switchRandom, mid-callBYE or CANCEL41 Normal clearing or 487Configuration
Provider rejectionEarly, during setup503 or 48734/38/41Upstream
NAT keepalive lostAfter 1-5 minBYE or silence102Network

RTP Timeout and Media Inactivity ๐Ÿ”‡ (VOS3000 Call Drop Disconnect)

RTP timeout is one of the most common causes of VOS3000 call drop disconnect. When VOS3000 stops receiving RTP packets on an established call, it assumes the media path has failed and terminates the call by sending a SIP BYE. The default RTP timeout in VOS3000 is typically 30 seconds of media inactivity, but this can be configured in system parameters. ๐ŸŽฏ

RTP inactivity can be caused by: the endpoint losing network connectivity, a firewall dropping RTP packets mid-call, NAT pinhole expiry causing one-way RTP that VOS3000 detects as no media, or the endpoint crashing or rebooting during a call. When VOS3000 detects RTP timeout, it sends a BYE with the reason “Recovery on timer expiry” (Q.850 cause code 102). ๐Ÿ“‰

Diagnosing RTP Timeout (VOS3000 Call Drop Disconnect)

Check the CDR for the affected call. If the release cause is 102 (Recovery on timer expiry) and the call duration is between 30-60 seconds, RTP timeout is likely the cause. Verify by capturing RTP traffic during a problem call:

# Monitor RTP flow for a specific call
tcpdump -n -i eth0 host ENDPOINT_IP and udp portrange 10000-60000 -c 100

# If RTP stops flowing before the call ends, you have an RTP timeout
# Check VOS3000 RTP timeout setting in System Parameters

Resolving RTP Timeout (VOS3000 Call Drop Disconnect)

For a VOS3000 call drop disconnect caused by RTP timeout, the fix depends on why RTP stopped flowing. If the issue is NAT pinhole expiry, enable media proxy so RTP flows through VOS3000. If the issue is firewall UDP timeout, increase the UDP timeout on the firewall. If the issue is the endpoint losing connectivity, investigate the endpoint network. You can also increase the RTP timeout value in VOS3000 system parameters, but this is a workaround rather than a fix. ๐Ÿ”ง

Configure the RTP timeout in VOS3000:

System Parameters -> Media -> RTP Timeout
Default: 30 seconds
Recommended: 30-60 seconds (increase only if needed)
RTP Timeout CauseDiagnostic MethodSolution
NAT pinhole expiryRTP stops in one directionEnable media proxy on VOS3000
Firewall UDP timeoutRTP stops after idle periodIncrease firewall UDP timeout
Endpoint network lossBoth RTP directions stopFix endpoint connectivity
Media proxy disabledRTP direct between NAT endpointsEnable media proxy
Port exhaustionNew calls fail, existing calls dropIncrease RTP port range

SIP Session Timer Expiry โฐ (VOS3000 Call Drop Disconnect)

The SIP Session Timer (RFC 4028) is a mechanism to detect when a SIP session has become stale. If the session timer expires without a successful refresh, VOS3000 terminates the call with a BYE. Misconfigured session timers are a common cause of VOS3000 call drop disconnect. ๐Ÿ•

The SIP Session Timer works through re-INVITE or UPDATE messages sent periodically during a call to refresh the session. If VOS3000 sends a re-INVITE for session refresh but does not receive a response (200 OK), the session timer expires and the call is dropped. This can happen when: the session timer interval is too short, the re-INVITE is lost due to network issues, the endpoint does not support session timers, or NAT is interfering with the re-INVITE flow. โš ๏ธ

Diagnosing Session Timer Issues (VOS3000 Call Drop Disconnect)

Capture SIP traffic during a dropped call and look for re-INVITE messages:

# Capture SIP signaling including re-INVITEs
tcpdump -n -i eth0 port 5060 -A -s 0 | grep -E "(INVITE|Session-Expires|Min-SE)"

# Look for re-INVITE messages sent during the call
# Check if 200 OK response is received for the re-INVITE

If you see a re-INVITE from VOS3000 but no 200 OK response, the session timer is expiring because the re-INVITE response is lost. This is a common VOS3000 call drop disconnect scenario. ๐Ÿ“‹

Resolving Session Timer Issues (VOS3000 Call Drop Disconnect)

Adjust the session timer settings in VOS3000. Navigate to System Parameters and configure the session timer interval. The default is typically 1800 seconds (30 minutes), but you can increase it to reduce the frequency of re-INVITEs. Alternatively, you can disable session timers entirely if your endpoints do not support them properly. Learn more about VOS3000 session timer configuration. โฑ๏ธ

VOS3000 Session Timer Configuration:

System Parameters -> SIP -> Session Timer
- Session Expires: 1800 (increase to 3600 if needed)
- Min-SE: 90
- Session Timer Refresher: uac (let the client refresh)

OR disable session timers if endpoints do not support them:
- Session Expires: 0 (disabled)
Session Timer SettingDefaultRecommendedEffect
Session Expires1800 seconds1800-3600 secondsLonger interval means fewer re-INVITEs
Min-SE90 seconds90 secondsMinimum allowed session time
RefresheruacuacClient-initiated refresh
SupportEnabledDisable if not supportedPrevents timer-related drops

Firewall UDP Timeout ๐Ÿงฑ (VOS3000 Call Drop Disconnect)

Stateful firewalls track UDP connections with a timeout value. When no packets are seen on a UDP flow for the timeout duration, the firewall removes the flow entry and silently drops subsequent packets. This causes a VOS3000 call drop disconnect because RTP streams that experience silence (such as when a caller is on mute) will have their firewall entries expire. ๐Ÿ”ฅ

The default UDP timeout on many firewalls is 30-120 seconds. For VoIP calls where silence suppression is enabled, RTP packets may stop flowing during silent periods, causing the firewall to expire the connection. When the caller speaks again, the RTP packets are dropped by the firewall, resulting in one-way audio followed by RTP timeout and call drop. ๐Ÿ˜ค

Diagnosing Firewall UDP Timeout (VOS3000 Call Drop Disconnect)

This issue is characterized by calls that drop after a period of silence (muting) or after a fixed duration. The CDR will show the call ended with RTP timeout. To confirm, temporarily disable the firewall and test. If the drops stop, the firewall UDP timeout is the cause. ๐Ÿ”

# Check Linux conntrack UDP timeout
cat /proc/sys/net/netfilter/nf_conntrack_udp_timeout
cat /proc/sys/net/netfilter/nf_conntrack_udp_timeout_stream

# Default values are typically 30 and 180 seconds
# Increase these for VoIP traffic

Resolving Firewall UDP Timeout (VOS3000 Call Drop Disconnect)

Increase the UDP timeout values on your firewall for the VOS3000 call drop disconnect fix. On Linux with iptables/conntrack:

# Increase conntrack UDP timeouts for VoIP
echo 3600 > /proc/sys/net/netfilter/nf_conntrack_udp_timeout_stream
echo 300 > /proc/sys/net/netfilter/nf_conntrack_udp_timeout

# Make persistent across reboots
echo "net.netfilter.nf_conntrack_udp_timeout_stream = 3600" >> /etc/sysctl.conf
echo "net.netfilter.nf_conntrack_udp_timeout = 300" >> /etc/sysctl.conf
sysctl -p

For hardware firewalls (Cisco ASA, Fortinet, Palo Alto), increase the UDP timeout in the firewall policy or create a dedicated VoIP policy with a longer timeout. A minimum of 3600 seconds (1 hour) is recommended for RTP streams. ๐Ÿ›ก๏ธ

NAT Keepalive Configuration ๐Ÿ’“ (VOS3000 Call Drop Disconnect)

NAT keepalive is essential for maintaining UDP connections through NAT devices. Without keepalive packets, the NAT mapping expires and subsequent packets are dropped. This causes a VOS3000 call drop disconnect when endpoints are behind NAT. The keepalive mechanism sends periodic empty packets to refresh the NAT mapping. ๐Ÿ”„

VOS3000 supports SIP OPTIONS keepalive for SIP trunks and gateways. When enabled, VOS3000 sends periodic OPTIONS requests to the endpoint, and the response refreshes the NAT mapping. For RTP keepalive, VOS3000 can send empty RTP packets (comfort noise) during silent periods to keep the RTP NAT pinholes open. This is configured through the media proxy settings. ๐Ÿ”Š

Configuring NAT Keepalive in VOS3000 (VOS3000 Call Drop Disconnect)

VOS3000 NAT Keepalive Configuration:

1. SIP OPTIONS Keepalive:
   - Navigate to SIP Gateway/Trunk configuration
   - Enable "Heartbeat" or "OPTIONS Keepalive"
   - Set interval: 30 seconds
   - Set retry count: 3

2. RTP Keepalive (via Media Proxy):
   - Enable Media Proxy for the gateway/trunk
   - Configure RTP keepalive interval: 20 seconds
   - This sends empty RTP packets during silence

3. Registration Keepalive:
   - Set SIP registration interval to 60 seconds
   - This refreshes the SIP NAT mapping frequently

By enabling both SIP OPTIONS and RTP keepalive, you prevent NAT mappings from expiring and significantly reduce VOS3000 call drop disconnect incidents. This is especially important for endpoints on residential or mobile networks with aggressive NAT timeouts. ๐Ÿ“ฑ

Keepalive TypeProtocolDefault IntervalRecommendedPrevents
SIP OPTIONSUDP 5060Disabled30 secondsSIP NAT timeout
RTP keepaliveUDP 10000-60000Disabled20 secondsRTP NAT timeout
SIP RegistrationUDP 50603600 seconds60 secondsRegistration NAT timeout

Failover and Aggressive Route Switching ๐Ÿ”„ (VOS3000 Call Drop Disconnect)

VOS3000 supports LCR (Least Cost Routing) with failover, where calls are automatically rerouted to alternative paths when the primary route fails. However, aggressive failover configuration can cause a VOS3000 call drop disconnect when VOS3000 switches routes on established calls rather than just on new call attempts. โšก

Failover-related drops happen when: the ASR (Answer Seizure Ratio) threshold triggers a route switch, the PDD (Post Dial Delay) threshold is exceeded, or the route is marked down based on recent call failures. When VOS3000 switches routes on an in-progress call, it may send a BYE on the current path and attempt to re-establish the call on a new path, which often results in a disconnect. ๐Ÿ”€

Diagnosing Failover Drops (VOS3000 Call Drop Disconnect)

Check the VOS3000 CDR for calls that show a route switch during the call. Look for CDR entries where the call was routed through one gateway initially but then shows a different gateway. Also check the VOS3000 routing log for route switch events. Use our VOS3000 LCR and routing optimization guides for detailed analysis. ๐Ÿ“

# Check VOS3000 routing logs
tail -500 /var/log/vos3000/mbx3000.log | grep -i "route"

# Look for "route change" or "failover" events
# These indicate mid-call route switching

Resolving Failover Drops (VOS3000 Call Drop Disconnect)

Configure VOS3000 failover to only switch routes on new calls, not on established calls. In the LCR and route configuration, set the failover mode to “next route on new call only”. This prevents mid-call route switching that causes VOS3000 call drop disconnect. Also adjust the ASR and ACD thresholds to be less aggressive. Very high ASR thresholds (above 80%) can trigger unnecessary route switches. ๐ŸŽ›๏ธ

For detailed call routing configuration, ensure your route groups are properly set up with appropriate failover priorities. Check our gateway configuration routing mapping guide for correct setup. ๐Ÿ“–

Provider Rejection: 503 and 487 Errors ๐Ÿšซ (VOS3000 Call Drop Disconnect)

Upstream provider rejections are a common external cause of VOS3000 call drop disconnect. When a provider returns a 503 Service Unavailable or 487 Request Terminated response, the call is terminated. Understanding these responses and configuring VOS3000 to handle them gracefully is essential. โ›”

503 Service Unavailable (VOS3000 Call Drop Disconnect)

A 503 response means the provider’s server cannot handle the call at this time. This can be due to provider capacity limits, provider maintenance, or the provider actively rejecting calls from your VOS3000 due to rate limiting. VOS3000 should fail over to the next available route when it receives a 503. ๐Ÿ”„

487 Request Terminated (VOS3000 Call Drop Disconnect)

A 487 response means the call was terminated before completion. This often happens when the caller hangs up before the callee answers, or when a SIP CANCEL is received. However, it can also indicate that the provider is canceling the call due to their own timeout or capacity issues. ๐Ÿ“‰

SIP ErrorMeaningVOS3000 ActionYour Response
503Provider unavailableFailover to next routeVerify provider status, add backup routes
487Request terminatedTerminate call, record CDRCheck if caller or provider initiated cancel
486Busy hereFailover or play busy toneNormal, callee is busy
480Temporarily unavailableFailover to next routeCallee not registered or offline
408Request timeoutFailover to next routeNetwork issue to provider

CDR Analysis for Release Causes ๐Ÿ“‹ (VOS3000 Call Drop Disconnect)

CDR analysis is your most powerful tool for diagnosing VOS3000 call drop disconnect patterns. VOS3000 CDR records include detailed release cause codes based on Q.850 that tell you exactly why each call ended. By analyzing these codes across many calls, you can identify systematic issues. ๐Ÿ“Š

Access CDR data through the VOS3000 web panel under CDR Query or use the CDR analysis billing tools. You can also query the MySQL database directly for advanced analysis. Use the call analysis and report management features for trend identification. ๐Ÿ”Ž

Q.850 CauseNameMeaningAction
16Normal clearingCall ended normally (user hangup)No action needed
17User busyCallee is busyNo action needed
18No user respondingCallee not answeringNo action needed
19No answer from userRinging timeoutCheck ring timeout settings
34No circuit availableProvider has no capacityAdd backup routes
38Network out of orderProvider network failureFailover to backup provider
41Temporary failureProvider temporary issueCheck provider status
102Recovery on timer expirySession/RTP timeoutCheck RTP flow, session timer

Diagnostic Decision Tree ๐ŸŒณ (VOS3000 Call Drop Disconnect)

Follow this decision tree to systematically diagnose any VOS3000 call drop disconnect issue. Start at the top and follow the path that matches your symptoms. ๐Ÿ—บ๏ธ

=============================================
 VOS3000 CALL DROP DISCONNECT DECISION TREE
=============================================

 START: Call Drop Reported
   |
   v
[1] Check CDR Release Cause Code
   |
   +--> 16 (Normal Clearing) --> Likely user hangup, no issue
   +--> 102 (Timer Expiry)   --> Go to STEP 2 (Timeout)
   +--> 34/38 (Network)      --> Go to STEP 3 (Provider)
   +--> 41 (Temp Failure)    --> Go to STEP 3 (Provider)
   +--> Other                --> Go to STEP 4 (Other)
   |
   v
[2] Timeout Analysis
   |
   +--> Call drops at consistent interval?
   |    YES --> SIP Session Timer issue
   |           --> Increase Session-Expires
   |           --> Disable session timer if endpoint lacks support
   |
   +--> Call drops after silence period?
   |    YES --> RTP timeout or Firewall UDP timeout
   |           --> Enable media proxy
   |           --> Increase firewall UDP timeout
   |           --> Enable NAT keepalive
   |
   +--> Call drops randomly?
   |    YES --> Check failover configuration
   |           --> Disable mid-call route switching
   |           --> Review LCR failover settings
   |
   v
[3] Provider Analysis
   |
   +--> Provider returns 503?
   |    YES --> Provider capacity issue
   |           --> Configure failover to backup provider
   |           --> Contact provider about limits
   |
   +--> Provider returns 487?
   |    YES --> Call cancelled by provider
   |           --> Check PDD timeout settings
   |           --> Verify call setup timing
   |
   v
[4] Other Causes
   |
   +--> Check VOS3000 logs for errors
   +--> Verify MySQL connectivity
   +--> Check EMP service status
   +--> Review system resource usage
   +--> Check for DDoS attack indicators
   |
   v
 RESOLVED: Call Stability Restored
=============================================

Preventing Call Drops in VOS3000 ๐Ÿ›ก๏ธ

Prevention is the best strategy for managing VOS3000 call drop disconnect issues. Implement these best practices to minimize call drops on your platform. ๐Ÿ—๏ธ

First, always enable media proxy for endpoints behind NAT. This eliminates the majority of RTP timeout and NAT-related drops. Second, configure appropriate SIP OPTIONS keepalive intervals (30 seconds) for all SIP trunks and gateways. Third, increase firewall UDP timeouts to at least 3600 seconds for RTP traffic. Fourth, configure session timers appropriately and disable them if endpoints do not support them. Fifth, set up proper failover routes with LCR configuration that does not switch routes on established calls. Use our ASR ACD analysis to monitor call quality metrics. ๐Ÿ“ˆ

Regular monitoring using the VOS3000 monitoring tools helps you detect call drop patterns early. Review the gateway analysis reports weekly to identify problematic routes or providers. For comprehensive troubleshooting methodology, refer to our VOS3000 troubleshooting guide 2026 and call end reasons reference. ๐Ÿ“š

Prevention MeasureConfigurationImpact
Enable media proxyPer gateway/trunkEliminates 90% of NAT drops
SIP OPTIONS keepalive30 second intervalPrevents SIP NAT timeout
UDP timeout 3600sFirewall/conntrackPrevents RTP NAT timeout
Session timer tuningSystem ParametersPrevents timer expiry drops
Failover configNo mid-call switchingPrevents failover drops
Backup routesLCR configurationHandles provider failures

Frequently Asked Questions โ“

Why do my VOS3000 calls drop after exactly 30 seconds?

Calls that drop after exactly 30 seconds of silence are typically caused by RTP timeout. VOS3000 has a default RTP inactivity timeout of 30 seconds. When no RTP packets are received for this duration, VOS3000 terminates the call. This usually happens because one direction of the RTP stream is blocked by a firewall or NAT. Enable media proxy and check firewall rules for the RTP port range. โฑ๏ธ

Why do calls drop after 30 minutes on VOS3000?

Calls that consistently drop after 30 minutes are caused by the SIP Session Timer. The default Session-Expires value in VOS3000 is 1800 seconds (30 minutes). If the session refresh (re-INVITE) fails, the call is dropped. Increase the Session-Expires value or disable session timers in System Parameters. Also investigate why the re-INVITE is failing (often a NAT or firewall issue). ๐Ÿ•

How do I increase the UDP timeout for RTP traffic on CentOS?

On CentOS, increase the conntrack UDP timeout by editing /etc/sysctl.conf and adding “net.netfilter.nf_conntrack_udp_timeout_stream = 3600” and “net.netfilter.nf_conntrack_udp_timeout = 300”. Then run “sysctl -p” to apply. For hardware firewalls, consult the firewall documentation for UDP timeout configuration. ๐Ÿงฑ

Can failover cause mid-call drops in VOS3000?

Yes, aggressive failover configuration can cause mid-call drops. If VOS3000 is configured to switch routes on established calls when the ASR drops below a threshold, it may send a BYE on the current call and attempt to reroute. Configure failover to only switch on new call attempts, not on established calls. Check the LCR failover settings in the VOS3000 web panel. ๐Ÿ”„

How do I analyze CDR data for call drop patterns?

Use the VOS3000 web panel CDR Query feature to filter calls by release cause code, gateway, time period, and other criteria. Look for patterns such as: specific gateways with high drop rates, specific time periods with increased drops, specific release cause codes appearing frequently, and calls to specific destinations dropping more often. Export CDR data to CSV for detailed analysis in spreadsheet tools. Use data report features for summary analysis. ๐Ÿ“Š

What is Q.850 cause code 102 in VOS3000?

Q.850 cause code 102 means “Recovery on timer expiry.” In VOS3000, this typically indicates that either the RTP timeout or SIP session timer expired. When you see cause code 102 in CDR, check whether the call duration aligns with your RTP timeout setting (usually 30 seconds of silence) or your session timer interval (default 1800 seconds). This helps you determine which timer is causing the drop. ๐Ÿ”ข

How do I configure SIP OPTIONS keepalive in VOS3000?

In the VOS3000 web panel, navigate to the SIP Gateway or SIP Trunk configuration. Enable the “Heartbeat” or “OPTIONS Keepalive” option. Set the interval to 30 seconds and the retry count to 3. VOS3000 will then send periodic SIP OPTIONS requests to the endpoint. If the endpoint does not respond after the configured retry count, VOS3000 marks the gateway/trunk as unavailable and uses failover routes. ๐Ÿ’“

Need Expert Help? Contact Us ๐Ÿ“ž

If you are still experiencing VOS3000 call drop disconnect issues after following this guide, our team of VOS3000 experts is available to help. We provide professional troubleshooting, optimization, and managed services for VOS3000 platforms of all sizes. ๐Ÿค

WhatsApp: +8801911119966

We offer VOS3000 installation, server rental, anti-hack protection, and comprehensive architecture design. For official VOS3000 software downloads, visit vos3000.com/downloads. ๐Ÿš€


๐Ÿ“ž Need Professional VOS3000 Setup Support?

For professional VOS3000 installations and deployment, VOS3000 Server Rental Solution:

๐Ÿ“ฑ WhatsApp: +8801911119966
๐ŸŒ Website: www.vos3000.com
๐ŸŒ Blog: multahost.com/blog


VOS3000 One-Way Audio Fix, VOS3000 MySQL Connection Failed, VOS3000 EMP Start Failed, VOS3000 DDoS Protection, VOS3000 Database Recovery, VOS3000 Call Drop Disconnect , VOS3000 SIP Registration Failed, VOS3000 High CPU UsageVOS3000 One-Way Audio Fix, VOS3000 MySQL Connection Failed, VOS3000 EMP Start Failed, VOS3000 DDoS Protection, VOS3000 Database Recovery, VOS3000 Call Drop Disconnect , VOS3000 SIP Registration Failed, VOS3000 High CPU UsageVOS3000 One-Way Audio Fix, VOS3000 MySQL Connection Failed, VOS3000 EMP Start Failed, VOS3000 DDoS Protection, VOS3000 Database Recovery, VOS3000 Call Drop Disconnect , VOS3000 SIP Registration Failed, VOS3000 High CPU Usage
VOS3000 ๆœๅŠกๅ™จ่ฟ็งป, VOS3000 ่ดŸไฝ™้ข้˜ปๆ–ญ, VOS3000 ่ฝฌ็  DTMF, VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503, VOS3000 ๆ—ถ้—ด่ทฏ็”ฑ

VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503๏ผšSIP 503/408 ้”™่ฏฏ Fast Easy ่งฃๅ†ณๆ–นๆณ•

VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503๏ผšSIP 503/408 ้”™่ฏฏ Fast ่งฃๅ†ณๆ–นๆณ•

ๅœจVoIP่ฟ่ฅไธญ๏ผŒVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๆ˜ฏๆœ€ๅธธ่งไธ”ๅฝฑๅ“ๆœ€ๅคง็š„ๅ‘ผๅซๆ•…้šœไน‹ไธ€ใ€‚ๅฝ“ๆ‚จ็š„VOS3000่ฝฏไบคๆข็ณป็ปŸๆŒ็ปญๅ‡บ็ŽฐSIP 503 Service Unavailableๆˆ–SIP 408 Request Timeout้”™่ฏฏๆ—ถ๏ผŒไธไป…ไผš้€ ๆˆๅคง้‡้€š่ฏๅคฑ่ดฅใ€ๅฎขๆˆทๆŠ•่ฏ‰ๆฟ€ๅขž๏ผŒ่ฟ˜ไผš็›ดๆŽฅๅฏผ่‡ด่ฅๆ”ถๆŸๅคฑๅ’Œ่ฟ่ฅๆ•ˆ็އไธ‹้™ใ€‚ๅพˆๅคšVoIP่ฟ่ฅๅ•†้ขๅฏน่ฟ™็ฑป้”™่ฏฏๆ—ถๅพ€ๅพ€ๆ— ไปŽไธ‹ๆ‰‹๏ผŒๅ› ไธบไป–ไปฌไธๆธ…ๆฅš503ๅ’Œ408้”™่ฏฏ็š„ๆ นๆœฌๅŒบๅˆซ๏ผŒไนŸไธไบ†่งฃๅนถๅ‘้™ๅˆถ๏ผˆLine Limit๏ผ‰ไธŽCPS้™ๅˆถ๏ผˆCalls Per Second๏ผ‰ๅฏนๅ‘ผๅซๆˆๅŠŸ็އ็š„ๅฝฑๅ“๏ผŒๆ›ดไธไผš้…็ฝฎๆ•…้šœ่ฝฌ็งป๏ผˆFailover๏ผ‰่ทฏ็”ฑๆฅไฟ้šœไธšๅŠก่ฟž็ปญๆ€งใ€‚ๆœฌๆ–‡ๅฐ†ๅŸบไบŽVOS3000 2.1.9.07ๅฎ˜ๆ–นๆ‰‹ๅ†Œ็š„ๆŠ€ๆœฏ็ป†่Š‚๏ผŒ็ณป็ปŸๆ€งๅœฐ่ฎฒ่งฃVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503็š„ๅฎŒๆ•ดๆŽ’ๆŸฅๆต็จ‹ๅ’Œ่งฃๅ†ณๆ–นๆณ•๏ผŒๅธฎๅŠฉๆ‚จๅฟซ้€Ÿๆขๅค็ณป็ปŸๆญฃๅธธ่ฟ่กŒใ€‚

ๆ— ่ฎบๆ‚จๆ˜ฏๅˆšๆŽฅ่งฆVOS3000็š„ๆ–ฐๆ‰‹่ฟ็ปด๏ผŒ่ฟ˜ๆ˜ฏๅธŒๆœ›ไผ˜ๅŒ–็Žฐๆœ‰็ณป็ปŸ็š„่ต„ๆทฑๅทฅ็จ‹ๅธˆ๏ผŒๆœฌๆŒ‡ๅ—้ƒฝ่ƒฝไธบๆ‚จๆไพ›ๅฎž็”จ็š„้…็ฝฎๆ–นๆณ•ๅ’ŒๆŽ’้”™ๆ€่ทฏใ€‚ๅฆ‚้œ€็ดงๆ€ฅๆŠ€ๆœฏๆ”ฏๆŒ๏ผŒ่ฏท้šๆ—ถ้€š่ฟ‡WhatsApp่”็ณปๆˆ‘ไปฌ๏ผš+8801911119966ใ€‚

Table of Contents

๐Ÿ“ž ไธ€ใ€VOSS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503 ไธŽ SIP 408 ้”™่ฏฏๆทฑๅบฆๅˆ†ๆž

่ฆๆœ‰ๆ•ˆ่งฃๅ†ณVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้—ฎ้ข˜๏ผŒ้ฆ–ๅ…ˆๅฟ…้กปๅ‡†็กฎ็†่งฃSIP 503ๅ’ŒSIP 408ไธค็ง้”™่ฏฏ็ ็š„ๅซไน‰ๅ’Œ่งฆๅ‘ๆœบๅˆถใ€‚ๆ นๆฎVOS3000 2.1.9.07ๆ‰‹ๅ†Œ็ฌฌ4.5่Š‚๏ผˆCall End Reasons๏ผ‰็š„่ฏดๆ˜Ž๏ผŒไธๅŒ็š„ๆŒ‚ๆ–ญๅŽŸๅ› ็ ๅฏนๅบ”็€ไธๅŒ็š„ๆ•…้šœๆ นๆบ๏ผŒ้”™่ฏฏๅœฐ่งฃ่ฏป่ฟ™ไบ›็ ไผšๅฏผ่‡ดๆŽ’ๆŸฅๆ–นๅ‘ๅฎŒๅ…จๅ็ฆปใ€‚SIP 503 Service Unavailable่กจ็คบ็›ฎๆ ‡ๆœๅŠกๅ™จๆˆ–็ฝ‘ๅ…ณๆš‚ๆ—ถๆ— ๆณ•ๅค„็†ๅ‘ผๅซ่ฏทๆฑ‚๏ผŒ้€šๅธธๆ„ๅ‘ณ็€ไพ›ๅบ”ๅ•†ไธญ็ปงๆ•…้šœใ€ๅนถๅ‘้€š่ฏๆ•ฐๅทฒ่พพไธŠ้™ๆˆ–่ทฏ็”ฑ็ฝ‘ๅ…ณไธๅฏ็”จใ€‚่€ŒSIP 408 Request Timeoutๅˆ™่กจ็คบVOS3000ๅ‘ๅ‡บไบ†INVITE่ฏทๆฑ‚ไฝ†ๅœจๅฎšๆ—ถๅ™จ่ถ…ๆ—ถๅ‰ๆœชๆ”ถๅˆฐไปปไฝ•ๅ“ๅบ”๏ผŒ่ฟ™ๆ˜ฏๅ…ธๅž‹็š„็ฝ‘็ปœ่ฟž้€šๆ€ง้—ฎ้ข˜ใ€‚

ๅœจๅฎž้™…่ฟ่ฅไธญ๏ผŒ่ฟ™ไธค็ง้”™่ฏฏๅธธๅธธไบค็ป‡ๅ‡บ็Žฐใ€‚ไพ‹ๅฆ‚๏ผŒๅฝ“ไธป็”จ็ฝ‘ๅ…ณๅ› 503ไธๅฏ็”จๆ—ถ๏ผŒVOS3000ๅฐ่ฏ•ๅˆ‡ๆขๅˆฐๅค‡็”จ็ฝ‘ๅ…ณ๏ผŒไฝ†ๅฆ‚ๆžœๅค‡็”จ็ฝ‘ๅ…ณๅญ˜ๅœจ็ฝ‘็ปœ้—ฎ้ข˜๏ผŒๅˆไผšไบง็”Ÿ408่ถ…ๆ—ถใ€‚่ฟ™็ง็บง่”ๆ•…้šœ่ฎฉๅพˆๅคš่ฟ็ปดไบบๅ‘˜่ฏฏไปฅไธบ้—ฎ้ข˜ๅ‡บๅœจVOS3000ๆœฌ่บซ๏ผŒ่€Œๅฎž้™…ไธŠๆ นๆœฌๅŽŸๅ› ๆ˜ฏ็ฝ‘ๅ…ณ้…็ฝฎๅ’Œ็ฝ‘็ปœๆžถๆž„ไธๅคŸๅฅๅฃฎใ€‚ๅ› ๆญค๏ผŒ็ณป็ปŸๆ€งๅœฐๅˆ†ๆžๆฏไธ€็งๆŒ‚ๆ–ญๅŽŸๅ› ๅนถๅˆถๅฎšๅฏนๅบ”็š„่งฃๅ†ณๆ–นๆกˆ๏ผŒๆ‰ๆ˜ฏๆญฃ็กฎ็š„ๆ–นๆณ•่ฎบใ€‚

๐Ÿ”ข SIP้”™่ฏฏ็ ๐Ÿ“› ้”™่ฏฏๅ็งฐ๐Ÿ” ๆ นๅ› ๅˆ†็ฑป๐Ÿ› ๏ธ ๆ ธๅฟƒๆŽ’ๆŸฅๆ–นๅ‘
503Service Unavailable็ฝ‘ๅ…ณๅฎน้‡/้…็ฝฎ้—ฎ้ข˜ๆฃ€ๆŸฅ็ฝ‘ๅ…ณ็Šถๆ€ใ€็บฟ่ทฏ้™ๅˆถใ€่ทฏ็”ฑ้…็ฝฎ
408Request Timeout็ฝ‘็ปœ่ฟž้€šๆ€ง้—ฎ้ข˜ๆฃ€ๆŸฅ้˜ฒ็ซๅข™ใ€็ฝ‘ๅ…ณIPใ€SIP็ซฏๅฃใ€็ฝ‘็ปœ่ทฏ็”ฑ
480Temporarily Unavailable็ปˆ็ซฏๆœชๆณจๅ†Œๆฃ€ๆŸฅ็ปˆ็ซฏๆณจๅ†Œ็Šถๆ€
502Bad GatewayไธŠๆธธๆœๅŠกๅ™จๅผ‚ๅธธๆฃ€ๆŸฅไพ›ๅบ”ๅ•†ๆœๅŠกๅ™จ็Šถๆ€

๐Ÿ“‹ CDRๆŒ‚ๆ–ญๅŽŸๅ› ็ ไธŽ503/408ๅฏนๅบ”ๅ…ณ็ณป

ๅœจVOS3000็š„CDR๏ผˆๅ‘ผๅซ่ฏฆ็ป†่ฎฐๅฝ•๏ผ‰ไธญ๏ผŒVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้€šๅธธๆ˜พ็คบไธบ”NoAvailableRouter”ๆˆ–”AllGatewayBusy”็ญ‰็ปˆๆญขๅŽŸๅ› ใ€‚็†่งฃ่ฟ™ไบ›CDR็ปˆๆญขๅŽŸๅ› ไธŽSIP้”™่ฏฏ็ ็š„ๆ˜ ๅฐ„ๅ…ณ็ณป๏ผŒๆ˜ฏๅฟซ้€Ÿๅฎšไฝๆ•…้šœ็š„ๅ…ณ้”ฎ็ฌฌไธ€ๆญฅใ€‚ๅฝ“ๆ‚จๅœจVOS3000็ฎก็†็•Œ้ขไธญๆ‰“ๅผ€”ๆ•ฐๆฎๆŸฅ่ฏข > CDRๆŸฅ่ฏข”ๆ—ถ๏ผŒๆฏๆก้€š่ฏ่ฎฐๅฝ•้ƒฝๅŒ…ๅซไธ€ไธช”็ปˆๆญขๅŽŸๅ› ”ๅญ—ๆฎต๏ผŒ่ฏฅๅญ—ๆฎต็›ดๆŽฅๅ‘Š่ฏ‰ๆ‚จๅ‘ผๅซๅคฑ่ดฅ็š„ๅ…ทไฝ“ๅŽŸๅ› ใ€‚ๅ…ณไบŽๆ›ดๅฎŒๆ•ด็š„ๆŒ‚ๆ–ญๅŽŸๅ› ็ ่ฏดๆ˜Ž๏ผŒๅปบ่ฎฎๅ‚่€ƒๆˆ‘ไปฌ็š„VOS3000ๆŒ‚ๆ–ญๅŽŸๅ› ๅฎŒๆ•ด่งฃๆžใ€‚

๐Ÿ“‹ CDR็ปˆๆญขๅŽŸๅ› ๐Ÿ”ข ๅฏนๅบ”SIP็ ๐Ÿ“ ๅซไน‰๐Ÿ› ๏ธ ่งฃๅ†ณๆ“ไฝœ
NoAvailableRouter503ๆ— ๅŒน้…็ฝ‘ๅ…ณๅ‰็ผ€ๆทปๅŠ ็ฝ‘ๅ…ณๅ‰็ผ€ๆˆ–ไฟฎๆญฃๆ‹จๅท่ฎกๅˆ’
AllGatewayBusy503ๆ‰€ๆœ‰็ฝ‘ๅ…ณๅฎน้‡ๅทฒๆปกๅขžๅŠ ็บฟ่ทฏ้™ๅˆถๆˆ–ๆทปๅŠ ๅค‡็”จ็ฝ‘ๅ…ณ
GatewayTimeout408็ฝ‘ๅ…ณๆ— ๅ“ๅบ”ๆฃ€ๆŸฅ็ฝ‘็ปœๅ’Œ้˜ฒ็ซๅข™่ฎพ็ฝฎ
InviteTimeout408INVITEๅฎšๆ—ถๅ™จ่ถ…ๆ—ถ้ชŒ่ฏ็ฝ‘ๅ…ณๅœจ็บฟ็Šถๆ€
AccountBalanceNotEnough503ไพ›ๅบ”ๅ•†ไฝ™้ขไธ่ถณไธบไพ›ๅบ”ๅ•†่ดฆๆˆทๅ……ๅ€ผ

โšก ไบŒใ€ๅนถๅ‘้™ๅˆถไธŽCPS้™ๅˆถ็š„ๆ ธๅฟƒๅŒบๅˆซ

ๅœจๆŽ’ๆŸฅVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๆ—ถ๏ผŒๅพˆๅคš่ฟ็ปดไบบๅ‘˜ๅฎนๆ˜“ๆททๆท†ๅนถๅ‘้™ๅˆถ๏ผˆLine Limit๏ผ‰ๅ’ŒCPS้™ๅˆถ๏ผˆCalls Per Second๏ผ‰่ฟ™ไธคไธชๆฆ‚ๅฟต๏ผŒๅฏผ่‡ด้…็ฝฎ้”™่ฏฏ่€Œๆ— ๆณ•่งฃๅ†ณ้—ฎ้ข˜ใ€‚ๅนถๅ‘้™ๅˆถๆ˜ฏๆŒ‡ๅŒไธ€ๆ—ถๅˆปๅ…่ฎธๅŒๆ—ถๅœจ็บฟ็š„ๆœ€ๅคง้€š่ฏๆ•ฐ้‡๏ผŒๅฎƒๆŽงๅˆถ็š„ๆ˜ฏ”ๅŒๆ—ถ้€š่ฏๆ•ฐ”ใ€‚CPS้™ๅˆถๆ˜ฏๆŒ‡ๆฏ็ง’ๅ…่ฎธๅปบ็ซ‹็š„ๆ–ฐๅ‘ผๅซๆ•ฐ้‡๏ผŒๅฎƒๆŽงๅˆถ็š„ๆ˜ฏ”ๅ‘ผๅซๅปบ็ซ‹้€Ÿ็އ”ใ€‚ไธค่€…็š„ๅŒบๅˆซ่‡ณๅ…ณ้‡่ฆ๏ผšๅนถๅ‘้™ๅˆถๅฝฑๅ“็š„ๆ˜ฏ้€š่ฏๅฎน้‡๏ผŒๅฝ“ๅœจ็บฟ้€š่ฏๆ•ฐ่พพๅˆฐไธŠ้™ๆ—ถๆ–ฐๅ‘ผๅซไผš่ขซๆ‹’็ป๏ผˆไบง็”Ÿ503๏ผ‰๏ผ›CPS้™ๅˆถๅฝฑๅ“็š„ๆ˜ฏๅ‘ผๅซๅปบ็ซ‹้€Ÿๅบฆ๏ผŒๅฝ“ๆฏ็ง’ๆ–ฐๅปบๅ‘ผๅซๆ•ฐ่ถ…่ฟ‡้™ๅˆถๆ—ถ่ถ…ๅ‡บ็š„ๅ‘ผๅซไผš่ขซไธขๅผƒใ€‚

ไธพไพ‹ๆฅ่ฏด๏ผŒไธ€ไธช็ฝ‘ๅ…ณ้…็ฝฎไบ†100ๆก็บฟ่ทฏ้™ๅˆถ๏ผˆLine Limit=100๏ผ‰๏ผŒCPS้™ๅˆถไธบ20ใ€‚่ฟ™ๆ„ๅ‘ณ็€่ฏฅ็ฝ‘ๅ…ณๆœ€ๅคšๅฏไปฅๅŒๆ—ถๆ‰ฟ่ฝฝ100่ทฏ้€š่ฏ๏ผŒไธ”ๆฏ็ง’ๆœ€ๅคšๅ…่ฎธ20ไธชๆ–ฐๅ‘ผๅซๅปบ็ซ‹ใ€‚ๅฆ‚ๆžœๅœจๆŸไธ€็ง’ๅ†…ๆœ‰30ไธชๆ–ฐๅ‘ผๅซ่ฏทๆฑ‚๏ผŒ่™ฝ็„ถๆ€ปๅนถๅ‘ๅฏ่ƒฝ่ฟœๆœช่พพๅˆฐ100่ทฏ๏ผŒไฝ†่ถ…ๅ‡บ็š„10ไธชๅ‘ผๅซไปไผšๅ› ไธบCPS้™ๅˆถ่€Œ่ขซๆ‹’็ปใ€‚ๅไน‹๏ผŒๅฆ‚ๆžœๅนถๅ‘ๅทฒๆปก100่ทฏไฝ†CPSไป…็”จไบ†5ไธช/็ง’๏ผŒๆ–ฐๅ‘ผๅซไป็„ถไผšๅ› ไธบๅนถๅ‘้™ๅˆถ่ขซๆ‹’็ปใ€‚็†่งฃ่ฟ™ไธ€ๅŒบๅˆซๆ˜ฏๆญฃ็กฎ่ฏŠๆ–ญVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503็š„ๅ‰ๆๆกไปถใ€‚

๐Ÿ“Š ้™ๅˆถ็ฑปๅž‹โš™๏ธ ๆŽงๅˆถ็ปดๅบฆ๐Ÿ“ ้…็ฝฎไฝ็ฝฎ๐Ÿ’ก ่งฆๅ‘503็š„ๅœบๆ™ฏ
Line Limit๏ผˆ็บฟ่ทฏ้™ๅˆถ๏ผ‰ๅŒๆ—ถๅœจ็บฟ้€š่ฏๆ•ฐ้‡Routing Gateway > Line Limitๆ‰€ๆœ‰็ฝ‘ๅ…ณๅนถๅ‘ๅทฒๆปก๏ผŒๆ— ๅค‡็”จ่ทฏ็”ฑ
Rate Limit๏ผˆCPS้™ๅˆถ๏ผ‰ๆฏ็ง’ๆ–ฐๅปบๅ‘ผๅซๆ•ฐ้‡Mapping Gateway > Rate Limit็Ÿญๆ—ถ้—ด็ชๅ‘ๅ‘ผๅซ่ถ…ๅ‡บCPS้˜ˆๅ€ผ
SS_MAX_CPS๏ผˆ็ณป็ปŸCPS๏ผ‰็ณป็ปŸๅ…จๅฑ€ๆฏ็ง’ๆœ€ๅคงๅ‘ผๅซๆ•ฐSoftswitch Management > System Parameterๅ…จ็ณป็ปŸCPSๆ€ป้‡่ถ…ๅ‡บๆœๅŠกๅ™จๆ‰ฟ่ฝฝ

๐Ÿ”ง ๅนถๅ‘้™ๅˆถ้…็ฝฎ่ฏฆ่งฃ

ๅœจVOS3000ไธญ๏ผŒๅนถๅ‘้™ๅˆถ๏ผˆLine Limit๏ผ‰้…็ฝฎๅœจ่ทฏ็”ฑ็ฝ‘ๅ…ณ๏ผˆRouting Gateway๏ผ‰่ฎพ็ฝฎไธญใ€‚ๆ นๆฎVOS3000 2.1.9.07ๆ‰‹ๅ†Œ็ฌฌ2.5.1.1่Š‚็š„่ฏดๆ˜Ž๏ผŒLine Limitๅญ—ๆฎตๆŒ‡ๅฎšไบ†้€š่ฟ‡่ฏฅ็ฝ‘ๅ…ณๅ…่ฎธ็š„ๆœ€ๅคงๅŒๆ—ถ้€š่ฏๆ•ฐ้‡ใ€‚ๅฝ“ๅœจ็บฟ้€š่ฏๆ•ฐ่พพๅˆฐๆญค้™ๅˆถๆ—ถ๏ผŒVOS3000ๅฐ†ไธๅ†ๅ‘่ฏฅ็ฝ‘ๅ…ณ่ทฏ็”ฑๆ–ฐ็š„ๅ‘ผๅซ่ฏทๆฑ‚๏ผŒๅฆ‚ๆžœๆฒกๆœ‰ๅ…ถไป–ๅฏ็”จ็ฝ‘ๅ…ณ๏ผŒๅฐฑไผšไบง็”ŸVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้”™่ฏฏใ€‚้…็ฝฎๅนถๅ‘้™ๅˆถๆ—ถ๏ผŒ้œ€่ฆ่€ƒ่™‘็ฝ‘ๅ…ณ็กฌไปถ็š„ๅฎž้™…ๆ‰ฟ่ฝฝ่ƒฝๅŠ›โ€”โ€”ๅฆ‚ๆžœ่ฎพ็ฝฎ็š„Line Limit่ถ…่ฟ‡็ฝ‘ๅ…ณ็กฌไปถ็š„ๅค„็†่ƒฝๅŠ›๏ผŒ่™ฝ็„ถVOS3000ไผšๅฐ่ฏ•่ทฏ็”ฑๆ›ดๅคšๅ‘ผๅซ๏ผŒไฝ†็ฝ‘ๅ…ณๅฏ่ƒฝไผšๅ‡บ็Žฐ่ฏญ้Ÿณ่ดจ้‡ไธ‹้™็”š่‡ณๅดฉๆบƒ็š„ๆƒ…ๅ†ตใ€‚

่ฆๆŸฅ็œ‹ๅฝ“ๅ‰็ฝ‘ๅ…ณ็š„ๅฎžๆ—ถๅนถๅ‘ไฝฟ็”จๆƒ…ๅ†ต๏ผŒๅฏไปฅๅœจVOS3000็ฎก็†็•Œ้ขไธญๅณ้”ฎ็‚นๅ‡ป่ทฏ็”ฑ็ฝ‘ๅ…ณ๏ผŒ้€‰ๆ‹ฉ”Current Call”๏ผˆๅฝ“ๅ‰้€š่ฏ๏ผ‰ๆฅๆŸฅ็œ‹ๅœจ็บฟ้€š่ฏ่ฏฆๆƒ…ๅ’Œๅ‰ฉไฝ™ๅฎน้‡ใ€‚ๅŒๆ—ถ๏ผŒๆ‚จ่ฟ˜ๅฏไปฅ้€š่ฟ‡”Data Query > CDR Query”ๆŸฅ่ฏขๅކๅฒCDR่ฎฐๅฝ•๏ผŒ็ปŸ่ฎก้ซ˜ๅณฐๆ—ถๆฎต็š„ๅนถๅ‘ๅณฐๅ€ผ๏ผŒไปฅๆญคไฝœไธบ่ฐƒๆ•ดLine Limit็š„ไพๆฎใ€‚ๅปบ่ฎฎๅฐ†Line Limit่ฎพ็ฝฎไธบ้ซ˜ๅณฐๆ—ถๆฎตๅนถๅ‘ๅณฐๅ€ผ็š„1.2-1.5ๅ€๏ผŒๆ—ขไฟ่ฏๆญฃๅธธไธšๅŠกไธๅ› ๅฎน้‡ไธ่ถณ่€Œไบง็”Ÿ503้”™่ฏฏ๏ผŒๅˆไธ่‡ณไบŽๆตช่ดน็ฝ‘ๅ…ณ่ต„ๆบใ€‚

๐Ÿšฆ CPS้™้€Ÿ้…็ฝฎ่ฏฆ่งฃ

CPS้™้€Ÿ็š„้…็ฝฎไฝไบŽMapping Gateway๏ผˆๆ˜ ๅฐ„็ฝ‘ๅ…ณ๏ผ‰่ฎพ็ฝฎไธญ็š„Rate Limitๅญ—ๆฎตใ€‚ไธŽLine LimitไธๅŒ๏ผŒRate LimitๆŽงๅˆถ็š„ๆ˜ฏๅ‘ผๅซๅปบ็ซ‹้€Ÿ็އ่€Œ้žๅนถๅ‘ๅฎน้‡ใ€‚ๅฝ“ๆ‚จๅœจMapping Gatewayไธญ่ฎพ็ฝฎRate Limitไธบ10ๆ—ถ๏ผŒๆ„ๅ‘ณ็€้€š่ฟ‡่ฏฅๆ˜ ๅฐ„็ฝ‘ๅ…ณๆฏ็ง’ๆœ€ๅคšๅ…่ฎธ10ไธชๆ–ฐๅ‘ผๅซๅปบ็ซ‹่ฏทๆฑ‚ใ€‚่ถ…่ฟ‡10 CPS็š„ๅ‘ผๅซๅฐ†่ขซVOS3000ๆ‹’็ป๏ผŒ่ฟ”ๅ›žSIP 503้”™่ฏฏใ€‚ๆญคๅค–๏ผŒVOS3000่ฟ˜ๆœ‰ไธ€ไธช็ณป็ปŸ็บง็š„CPS้™ๅˆถๅ‚ๆ•ฐSS_MAX_CPS๏ผŒๅฎƒๅฎšไน‰ไบ†ๆ•ดไธชVOS3000็ณป็ปŸๆฏ็ง’ๅ…่ฎธๅค„็†็š„ๆœ€ๅคงๅ‘ผๅซๆ•ฐ้‡๏ผŒๆ˜ฏๆ‰€ๆœ‰็ฝ‘ๅ…ณCPSๆ€ปๅ’Œ็š„ไธŠ้™ใ€‚

# VOS3000ๅ…ณ้”ฎCPS/ๅนถๅ‘ๅ‚ๆ•ฐ้…็ฝฎไฝ็ฝฎ๏ผš
# ๆ“ไฝœ็ฎก็† > ่ฝฏไบคๆข็ฎก็† > ้™„ๅŠ ่ฎพ็ฝฎ > ็ณป็ปŸๅ‚ๆ•ฐ

# ็ณป็ปŸๅ…จๅฑ€CPS้™ๅˆถ
SS_MAX_CPS = 200          # ็ณป็ปŸๆฏ็ง’ๆœ€ๅคงๅ‘ผๅซๆ•ฐ
                           # ๆ นๆฎๆœๅŠกๅ™จ็กฌไปถ้…็ฝฎ่ฐƒๆ•ด

# SIPๅฎšๆ—ถๅ™จๅ‚ๆ•ฐ๏ผˆๅฝฑๅ“408่ถ…ๆ—ถๅˆคๆ–ญ๏ผ‰
SS_SIP_TIMEOUT_INVITE = 10    # INVITE่ถ…ๆ—ถๆ—ถ้—ด๏ผˆ็ง’๏ผ‰
                                # ้ซ˜ๅปถ่ฟŸ่ทฏ็”ฑๅปบ่ฎฎ่ฐƒๆ•ดๅˆฐ15-20็ง’

SS_SIP_TIMEOUT_RINGING = 120  # ๆŒฏ้“ƒ่ถ…ๆ—ถๆ—ถ้—ด๏ผˆ็ง’๏ผ‰

# SIP OPTIONSๅœจ็บฟๆฃ€ๆต‹ๅ‘จๆœŸ
SS_SIP_OPTIONS_CHECK_PERIOD = 60  # OPTIONSๆฃ€ๆต‹้—ด้š”๏ผˆ็ง’๏ผ‰

๐Ÿ” ไธ‰ใ€ไฝฟ็”จๅ‘ผๅซๅˆ†ๆžๅทฅๅ…ท่ฏŠๆ–ญVOSS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503

VOS3000ๆไพ›ไบ†ๅผบๅคง็š„ๅ‘ผๅซๅˆ†ๆžๅทฅๅ…ทๆฅๅธฎๅŠฉ่ฟ็ปดไบบๅ‘˜ๅฟซ้€ŸๅฎšไฝVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ใ€‚้€š่ฟ‡”ๆ“ไฝœ็ฎก็† > ไธšๅŠกๅˆ†ๆž > ๅ‘ผๅซๅˆ†ๆž”๏ผˆVOS3000ๆ‰‹ๅ†Œ็ฌฌ2.5.3.3่Š‚๏ผ‰๏ผŒๆ‚จๅฏไปฅๆŒ‰ๆ—ถ้—ด่Œƒๅ›ดใ€็ฝ‘ๅ…ณใ€่ดฆๆˆทๅ’Œ็ปˆๆญขๅŽŸๅ› ็ญ‰ๆกไปถ็ญ›้€‰้€š่ฏ่ฎฐๅฝ•๏ผŒๅฟซ้€Ÿ่ฏ†ๅˆซ503ๅ’Œ408้”™่ฏฏ็š„ๅˆ†ๅธƒ่ง„ๅพ‹ใ€‚ๅ‘ผๅซๅˆ†ๆžๅทฅๅ…ท่ƒฝๅคŸๅฑ•็คบๅ“ชไบ›็ฝ‘ๅ…ณไบง็”Ÿไบ†ๆœ€ๅคš็š„ๅคฑ่ดฅๅ‘ผๅซใ€ๅ“ชไบ›็›ฎ็š„ๅœฐๅ—ๅฝฑๅ“ๆœ€ไธฅ้‡ใ€ไปฅๅŠ้”™่ฏฏๆ˜ฏๅฆ้›†ไธญๅœจ็‰นๅฎšๆ—ถ้—ดๆฎต๏ผŒ่ฟ™ไบ›ไฟกๆฏๅฏนไบŽ็กฎๅฎšๆŽ’ๆŸฅๆ–นๅ‘่‡ณๅ…ณ้‡่ฆใ€‚

้™คไบ†ๅธธ่ง„็š„ๅ‘ผๅซๅˆ†ๆžๅค–๏ผŒVOS3000่ฟ˜ๆไพ›ไบ†Debug Trace๏ผˆ่ฐƒ่ฏ•่ทŸ่ธช๏ผ‰ๅŠŸ่ƒฝ๏ผŒๅฏไปฅๆ•่Žท็‰นๅฎšๅ‘ผๅซ็š„ๅฎŒๆ•ดSIPไฟกไปคไบคไบ’่ฟ‡็จ‹ใ€‚ๅฝ“ๆ‚จ้œ€่ฆๅฏนๆŸไธช็‰นๅฎš็š„503ๆˆ–408้”™่ฏฏ่ฟ›่กŒๆทฑๅ…ฅๅˆ†ๆžๆ—ถ๏ผŒๅฏไปฅๅœจVOS3000็ฎก็†็•Œ้ขไธญๅฏ็”จDebug Trace๏ผŒ็„ถๅŽ้‡็Žฐ้—ฎ้ข˜ๅ‘ผๅซใ€‚Debug Traceไผš่ฎฐๅฝ•ๅฎŒๆ•ด็š„SIPๆถˆๆฏๆต๏ผŒๅŒ…ๆ‹ฌINVITEใ€100 Tryingใ€180 Ringingใ€200 OKไปฅๅŠๅ„็ง้”™่ฏฏๅ“ๅบ”๏ผŒๅธฎๅŠฉๆ‚จ็ฒพ็กฎๅฎšไฝไฟกไปคไบคไบ’ไธญๅ“ชไธช็Žฏ่Š‚ๅ‡บ็Žฐไบ†้—ฎ้ข˜ใ€‚่ฟ™ๆ˜ฏ่ฏŠๆ–ญVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๆœ€็›ดๆŽฅๆœ‰ๆ•ˆ็š„ๆ–นๆณ•ใ€‚

๐Ÿ› ๏ธ ่ฏŠๆ–ญๅทฅๅ…ท๐Ÿ“‹ ็”จ้€”๐Ÿ“ VOS3000ไฝ็ฝฎ๐ŸŽฏ ้€‚็”จๅœบๆ™ฏ
ๅ‘ผๅซๅˆ†ๆžๅˆ†ๆžๅ‘ผๅซๅคฑ่ดฅๆจกๅผไธšๅŠกๅˆ†ๆž > ๅ‘ผๅซๅˆ†ๆžๆ‰น้‡ๅˆ†ๆž503/408ๅˆ†ๅธƒ่ง„ๅพ‹
่ทฏ็”ฑๅˆ†ๆžๆต‹่ฏ•ๅท็ ่ทฏ็”ฑ่ทฏๅพ„ๅณ้”ฎ็ฝ‘ๅ…ณ > ่ทฏ็”ฑๅˆ†ๆž้ชŒ่ฏ็‰นๅฎšๅท็ ็š„่ทฏ็”ฑ้€‰ๆ‹ฉ
็ฝ‘็ปœๆต‹่ฏ•ๆฃ€ๆต‹็ฝ‘ๅ…ณ่ฟž้€šๆ€งๅณ้”ฎ็ฝ‘ๅ…ณ > ็ฝ‘็ปœๆต‹่ฏ•ๆŽ’ๆŸฅ408่ถ…ๆ—ถ็š„็ฝ‘็ปœๅŽŸๅ› 
Debug Traceๆ•่ŽทSIPไฟกไปคไบคไบ’็ณป็ปŸ็ฎก็† > ่ฐƒ่ฏ•่ทŸ่ธชๆทฑๅ…ฅๅˆ†ๆž็‰นๅฎšๅ‘ผๅซๅคฑ่ดฅๅŽŸๅ› 
CDRๆŸฅ่ฏขๆŸฅ็œ‹็ปˆๆญขๅŽŸๅ› ๆ•ฐๆฎๆŸฅ่ฏข > CDRๆŸฅ่ฏขๅฟซ้€ŸๅฎšไฝๆŒ‚ๆ–ญๅŽŸๅ› ็ 

๐Ÿ”„ ๅ››ใ€Failoverๆ•…้šœ่ฝฌ็งป่ทฏ็”ฑ้…็ฝฎๆŠ€ๅทง

ๅœจ่งฃๅ†ณVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503็š„ๆ‰€ๆœ‰ๆ–นๆกˆไธญ๏ผŒ้…็ฝฎFailoverๆ•…้šœ่ฝฌ็งป่ทฏ็”ฑๆ˜ฏๆœ€ๆœ‰ๆ•ˆไธ”ๆœ€ๆ นๆœฌ็š„็ญ–็•ฅใ€‚ๅฝ“ไธป็”จ็ฝ‘ๅ…ณๅ› 503ไธๅฏ็”จๆˆ–408่ถ…ๆ—ถๆ—ถ๏ผŒๅฆ‚ๆžœVOS3000่ƒฝๅคŸ่‡ชๅŠจๅฐ†ๅ‘ผๅซๅˆ‡ๆขๅˆฐๅค‡็”จ็ฝ‘ๅ…ณ๏ผŒๅฐฑ่ƒฝๆœ€ๅคง้™ๅบฆๅ‡ๅฐ‘้€š่ฏๅคฑ่ดฅใ€‚VOS3000็š„็ฝ‘ๅ…ณๅˆ‡ๆข๏ผˆGateway Switch๏ผ‰ๆœบๅˆถๆญฃๆ˜ฏไธบๆญค่ฎพ่ฎก็š„๏ผŒๅฎƒๅ…่ฎธๆ‚จไธบๆฏไธช็›ฎๆ ‡ๅ‰็ผ€้…็ฝฎๅคšไธช่ทฏ็”ฑ็ฝ‘ๅ…ณ๏ผŒๅนถๆŒ‰ไผ˜ๅ…ˆ็บงๆŽ’ๅบใ€‚ๅฝ“้ซ˜ไผ˜ๅ…ˆ็บง็ฝ‘ๅ…ณๅคฑ่ดฅๆ—ถ๏ผŒ็ณป็ปŸไผš่‡ชๅŠจๅฐ่ฏ•ไฝŽไผ˜ๅ…ˆ็บง็ฝ‘ๅ…ณ๏ผŒ็›ดๅˆฐๅ‘ผๅซๆˆๅŠŸๅปบ็ซ‹ๆˆ–ๆ‰€ๆœ‰็ฝ‘ๅ…ณ้ƒฝๅทฒๅฐ่ฏ•ๅฎŒๆฏ•ใ€‚

ๆ นๆฎVOS3000 2.1.9.07ๆ‰‹ๅ†Œ็ฌฌ2.5.1.1่Š‚๏ผŒ็ฝ‘ๅ…ณๅˆ‡ๆข็š„ๆ ธๅฟƒ้…็ฝฎๆ˜ฏ”Switch gateway until connect”๏ผˆ็›ดๅˆฐๆŽฅ้€šๆ‰ๅœๆญขๅˆ‡ๆข็ฝ‘ๅ…ณ๏ผ‰้€‰้กนใ€‚ๅฆ‚ๆžœๆญค้€‰้กน่ฎพ็ฝฎไธบ”Off”๏ผŒVOS3000ๅœจไธป็ฝ‘ๅ…ณ่ฟ”ๅ›ž้”™่ฏฏๅŽไธไผšๅฐ่ฏ•ๅค‡็”จ็ฝ‘ๅ…ณ๏ผŒ็›ดๆŽฅๅ‘ไธปๅซๆ–น่ฟ”ๅ›ž503้”™่ฏฏใ€‚่ฎพ็ฝฎไธบ”On”ๅŽ๏ผŒVOS3000ไผšไพๆฌกๅฐ่ฏ•ๆ‰€ๆœ‰ๅŒน้…็š„็ฝ‘ๅ…ณ๏ผŒ็›ดๅˆฐๅ‘ผๅซๆˆๅŠŸๆŽฅ้€šใ€‚่ฟ™ๆ˜ฏ้˜ฒๆญขVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๅฏผ่‡ดๅคง้ข็งฏ้€š่ฏๅคฑ่ดฅ็š„ๅ…ณ้”ฎ้…็ฝฎ๏ผŒๅผบ็ƒˆๅปบ่ฎฎๅฏนๆ‰€ๆœ‰่ทฏ็”ฑ็ฝ‘ๅ…ณ้ƒฝๅฏ็”จๆญค้€‰้กนใ€‚

โš™๏ธ Failover้…็ฝฎๆญฅ้ชค

้…็ฝฎFailoverๆ•…้šœ่ฝฌ็งป่ทฏ็”ฑ็š„ๅ…ทไฝ“ๆญฅ้ชคๅฆ‚ไธ‹๏ผš้ฆ–ๅ…ˆ๏ผŒๅœจVOS3000็ฎก็†็•Œ้ขไธญ่ฟ›ๅ…ฅ”ๆ“ไฝœ็ฎก็† > ็ฝ‘ๅ…ณๆ“ไฝœ > ่ทฏ็”ฑ็ฝ‘ๅ…ณ”๏ผŒ็กฎไฟๆฏไธช็›ฎๆ ‡ๅ‰็ผ€่‡ณๅฐ‘้…็ฝฎไบ†ไธคไธช่ทฏ็”ฑ็ฝ‘ๅ…ณใ€‚็ฌฌไธ€ไธช็ฝ‘ๅ…ณ่ฎพ็ฝฎ่พƒ้ซ˜ไผ˜ๅ…ˆ็บง๏ผˆๆ•ฐๅ€ผ่ถŠๅฐไผ˜ๅ…ˆ็บง่ถŠ้ซ˜๏ผ‰๏ผŒไฝœไธบไธป็”จ่ทฏ็”ฑ๏ผ›็ฌฌไบŒไธช็ฝ‘ๅ…ณ่ฎพ็ฝฎ่พƒไฝŽไผ˜ๅ…ˆ็บง๏ผŒไฝœไธบๅค‡็”จ่ทฏ็”ฑใ€‚ๅ…ถๆฌก๏ผŒ็กฎไฟไธป็”จ็ฝ‘ๅ…ณ็š„”Switch gateway until connect”้€‰้กน่ฎพไธบ”On”๏ผŒ่ฟ™ๆ ทๅฝ“ไธป็”จ็ฝ‘ๅ…ณๅคฑ่ดฅๆ—ถ๏ผŒ็ณป็ปŸๆ‰ไผš่‡ชๅŠจๅˆ‡ๆขๅˆฐๅค‡็”จ็ฝ‘ๅ…ณใ€‚็ฌฌไธ‰๏ผŒๅฏนไบŽๅค‡็”จ็ฝ‘ๅ…ณ๏ผŒๅฏไปฅๅฐ†ๅ…ถ่ฎพ็ฝฎไธบ”Protect Route”๏ผˆไฟๆŠค่ทฏ็”ฑ๏ผ‰๏ผŒ่ฟ™ๆ ทๅœจไธป็”จ็ฝ‘ๅ…ณๆญฃๅธธๆ—ถ๏ผŒๅค‡็”จ็ฝ‘ๅ…ณไธไผš่ขซไฝฟ็”จ๏ผŒไปŽ่€Œไฟ็•™ๅ…ถๅฎน้‡ไธ“้—จ็”จไบŽๆ•…้šœ่ฝฌ็งปๅœบๆ™ฏใ€‚

ๆญคๅค–๏ผŒ่ฟ˜้œ€่ฆ้…็ฝฎ”Stop switching response code”๏ผˆๅœๆญขๅˆ‡ๆขๅ“ๅบ”็ ๏ผ‰๏ผŒๆŒ‡ๅฎšๅ“ชไบ›SIPๅ“ๅบ”็ ๅบ”่ฏฅๅœๆญข็ฝ‘ๅ…ณๅˆ‡ๆขใ€‚้ป˜่ฎคๆƒ…ๅ†ตไธ‹๏ผŒVOS3000ๅœจๆ”ถๅˆฐ4xxๅ“ๅบ”็ ๆ—ถไผšๅœๆญขๅˆ‡ๆข๏ผˆๅ› ไธบ4xx้€šๅธธ่กจ็คบๅฎขๆˆท็ซฏ้”™่ฏฏ๏ผŒๅˆ‡ๆข็ฝ‘ๅ…ณไนŸไธไผš่งฃๅ†ณ๏ผ‰๏ผŒ่€Œๅœจๆ”ถๅˆฐ5xxๆˆ–6xxๅ“ๅบ”ๆ—ถ็ปง็ปญๅฐ่ฏ•ไธ‹ไธ€ไธช็ฝ‘ๅ…ณใ€‚ๅฏนไบŽVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๅœบๆ™ฏ๏ผŒๅปบ่ฎฎๅฐ†503ๅŠ ๅ…ฅ็ปง็ปญๅˆ‡ๆข็š„ๅ“ๅบ”็ ๅˆ—่กจ๏ผŒ็กฎไฟ503้”™่ฏฏ่ƒฝ่งฆๅ‘Failoverๅˆ‡ๆขใ€‚ๆ›ดๅคšๅ…ณไบŽNoAvailableRouter้”™่ฏฏ็š„ๆŽ’ๆŸฅ็ป†่Š‚๏ผŒ่ฏทๅ‚่€ƒๆˆ‘ไปฌ็š„NoAvailableRouter้”™่ฏฏไฟฎๅคๆŒ‡ๅ—ใ€‚

๐Ÿ”ง Failover้…็ฝฎ้กนโš™๏ธ ๆŽจ่่ฎพ็ฝฎ๐Ÿ“ ่ฏดๆ˜Ž
Switch gateway until connectOnๅฏ็”จ่‡ชๅŠจ็ฝ‘ๅ…ณๅˆ‡ๆข
ไธป็”จ็ฝ‘ๅ…ณไผ˜ๅ…ˆ็บง1๏ผˆๆœ€้ซ˜๏ผ‰ไผ˜ๅ…ˆไฝฟ็”จไธป็”จ่ทฏ็”ฑ
ๅค‡็”จ็ฝ‘ๅ…ณไผ˜ๅ…ˆ็บง2-5ไธป็”จๅคฑ่ดฅๅŽ่‡ชๅŠจๅˆ‡ๆข
Protect Routeๅค‡็”จ็ฝ‘ๅ…ณๅฏ็”จไฟๆŠค่ทฏ็”ฑไป…ๅœจๆ•…้šœๆ—ถไฝฟ็”จ
OPTIONSๅœจ็บฟๆฃ€ๆต‹ๅฏ็”จไธปๅŠจ็›‘ๆต‹็ฝ‘ๅ…ณๅฏ็”จๆ€ง๏ผŒ้ข„้˜ฒ408

๐ŸŒ ไบ”ใ€ไพ›ๅบ”ๅ•†SIPไธญ็ปงๆ— ๅ“ๅบ”่ฏŠๆ–ญไธŽCentOS 7 UDP็ผ“ๅ†ฒ่ฐƒไผ˜

ๅฝ“ไพ›ๅบ”ๅ•†็š„SIPไธญ็ปงๅ‡บ็Žฐๆ— ๅ“ๅบ”ๆƒ…ๅ†ตๆ—ถ๏ผŒVOS3000ไผšๆŒ็ปญไบง็”Ÿ408 Request Timeout้”™่ฏฏใ€‚่ฟ™็งๆƒ…ๅ†ตไธไป…้œ€่ฆๆฃ€ๆŸฅๅŸบๆœฌ็ฝ‘็ปœ่ฟž้€šๆ€ง๏ผŒ่ฟ˜้œ€่ฆ่€ƒ่™‘ๆ“ไฝœ็ณป็ปŸๅฑ‚้ข็š„UDP็ผ“ๅ†ฒๅŒบ้…็ฝฎใ€‚ๅœจ้ซ˜ๅนถๅ‘็š„VoIP็Žฏๅขƒไธญ๏ผŒCentOS 7้ป˜่ฎค็š„UDP็ผ“ๅ†ฒๅŒบๅคงๅฐๅฏ่ƒฝไธ่ถณไปฅๅค„็†ๅคง้‡็š„SIPไฟกไปคๅ’ŒRTPๅช’ไฝ“ๆ•ฐๆฎๅŒ…๏ผŒๅฏผ่‡ดๅ†…ๆ ธๅฑ‚้ข็š„ๆ•ฐๆฎๅŒ…ไธขๅคฑ๏ผŒ่กจ็ŽฐไธบSIP 408่ถ…ๆ—ถใ€‚่ฟ™็ง้—ฎ้ข˜ๅœจ่ฏๅŠก้ซ˜ๅณฐๆœŸๅฐคไธบๆ˜Žๆ˜พ๏ผŒๆ˜ฏๅพˆๅคš่ฟ็ปดไบบๅ‘˜ๅฎนๆ˜“ๅฟฝ็•ฅ็š„VOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๅ’Œ408้”™่ฏฏ็š„้š่—ๆ นๅ› ใ€‚

CentOS 7็š„UDP็ผ“ๅ†ฒๅŒบ้€š่ฟ‡sysctlๅ‚ๆ•ฐ่ฟ›่กŒ่ฐƒไผ˜ใ€‚้ป˜่ฎคๆƒ…ๅ†ตไธ‹๏ผŒLinux็ณป็ปŸ็š„UDPๆŽฅๆ”ถ็ผ“ๅ†ฒๅŒบ๏ผˆnet.core.rmem_defaultๅ’Œnet.core.rmem_max๏ผ‰ๅ’Œๅ‘้€็ผ“ๅ†ฒๅŒบ๏ผˆnet.core.wmem_defaultๅ’Œnet.core.wmem_max๏ผ‰็š„ๅ€ผ้ƒฝๆฏ”่พƒไฟๅฎˆ๏ผŒๆ— ๆณ•ๆปก่ถณ้ซ˜ๅนถๅ‘VoIPๅœบๆ™ฏ็š„้œ€ๆฑ‚ใ€‚ๅฝ“SIPไฟกไปคๅ’ŒRTPๅช’ไฝ“ๆ•ฐๆฎๅŒ…็š„ๅˆฐ่พพ้€Ÿ็އ่ถ…่ฟ‡UDP็ผ“ๅ†ฒๅŒบ็š„ๅค„็†่ƒฝๅŠ›ๆ—ถ๏ผŒๅ†…ๆ ธไผš็›ดๆŽฅไธขๅผƒ่ถ…ๅ‡บ็ผ“ๅ†ฒๅŒบๅฎน้‡็š„ๆ•ฐๆฎๅŒ…๏ผŒ่€Œไธไผš้€š็Ÿฅๅบ”็”จ็จ‹ๅบใ€‚่ฟ™ๅฐฑๅฏผ่‡ดไบ†VOS3000็š„SIPๅ่ฎฎๆ ˆๆ— ๆณ•ๆ”ถๅˆฐๅฎŒๆ•ด็š„SIPๆถˆๆฏ๏ผŒไปŽ่€Œไบง็”Ÿ408่ถ…ๆ—ถ้”™่ฏฏใ€‚

# CentOS 7 UDP็ผ“ๅ†ฒๅŒบ่ฐƒไผ˜ - ่งฃๅ†ณVOS3000 408่ถ…ๆ—ถ้—ฎ้ข˜
# ็ผ–่พ‘ /etc/sysctl.conf ๆทปๅŠ ไปฅไธ‹ๅ‚ๆ•ฐ๏ผš

# UDPๆŽฅๆ”ถ็ผ“ๅ†ฒๅŒบไผ˜ๅŒ–
net.core.rmem_default = 16777216
net.core.rmem_max = 16777216

# UDPๅ‘้€็ผ“ๅ†ฒๅŒบไผ˜ๅŒ–
net.core.wmem_default = 16777216
net.core.wmem_max = 16777216

# ็ฝ‘็ปœๆŽฅๅฃ้˜Ÿๅˆ—้•ฟๅบฆไผ˜ๅŒ–
net.core.netdev_max_backlog = 5000

# TCP/UDP่ฟžๆŽฅ่ทŸ่ธชไผ˜ๅŒ–
net.netfilter.nf_conntrack_max = 1048576

# ๅบ”็”จ้…็ฝฎ
sysctl -p

# ้ชŒ่ฏ้…็ฝฎๆ˜ฏๅฆ็”Ÿๆ•ˆ
sysctl net.core.rmem_max
sysctl net.core.wmem_max

# ๆฃ€ๆŸฅUDP็ผ“ๅ†ฒๅŒบๆบขๅ‡บ็ปŸ่ฎก
cat /proc/net/snmp | grep Udp

้™คไบ†UDP็ผ“ๅ†ฒๅŒบ่ฐƒไผ˜ๅค–๏ผŒ่ฏŠๆ–ญไพ›ๅบ”ๅ•†SIPไธญ็ปงๆ— ๅ“ๅบ”่ฟ˜ๅบ”ๆฃ€ๆŸฅไปฅไธ‹ๆ–น้ข๏ผš้˜ฒ็ซๅข™ๆ˜ฏๅฆ้˜ปๆ–ญไบ†SIPไฟกไปค็ซฏๅฃ๏ผˆ้ป˜่ฎคUDP 5060๏ผ‰๏ผŒ็ฝ‘ๅ…ณIPๅœฐๅ€ๅ’Œไฟกไปค็ซฏๅฃ้…็ฝฎๆ˜ฏๅฆๆญฃ็กฎ๏ผŒ็ฝ‘็ปœ่ทฏ็”ฑๆ˜ฏๅฆๅฏ่พพ๏ผŒไปฅๅŠISPๆ˜ฏๅฆๅฏนVoIPๆต้‡่ฟ›่กŒไบ†้™ๅˆถใ€‚ๆ‚จๅฏไปฅไฝฟ็”จVOS3000ๅ†…็ฝฎ็š„็ฝ‘็ปœๆต‹่ฏ•ๅทฅๅ…ท๏ผˆๅณ้”ฎ็‚นๅ‡ป่ทฏ็”ฑ็ฝ‘ๅ…ณ > ็ฝ‘็ปœๆต‹่ฏ•๏ผ‰ๅฟซ้€Ÿ้ชŒ่ฏ็ฝ‘ๅ…ณ็š„่ฟž้€šๆ€งๅ’Œ็ซฏๅฃๅฏ่พพๆ€งใ€‚ๆ›ดๅคšVOS3000ๆŒ‚ๆ–ญๅŽŸๅ› ็š„ๆŽ’ๆŸฅๆ–นๆณ•๏ผŒ่ฏทๅ‚่€ƒๆˆ‘ไปฌ็š„VOS3000ๆŒ‚ๆ–ญๅŽŸๅ› ๅฎŒๆ•ด่งฃๆžใ€‚

โš™๏ธ sysctlๅ‚ๆ•ฐ๐Ÿ”ข ๆŽจ่ๅ€ผ๐Ÿ“‹ ่ฏดๆ˜Ž
net.core.rmem_default16777216UDP้ป˜่ฎคๆŽฅๆ”ถ็ผ“ๅ†ฒๅŒบๅคงๅฐ๏ผˆ16MB๏ผ‰
net.core.rmem_max16777216UDPๆœ€ๅคงๆŽฅๆ”ถ็ผ“ๅ†ฒๅŒบๅคงๅฐ
net.core.wmem_default16777216UDP้ป˜่ฎคๅ‘้€็ผ“ๅ†ฒๅŒบๅคงๅฐ
net.core.wmem_max16777216UDPๆœ€ๅคงๅ‘้€็ผ“ๅ†ฒๅŒบๅคงๅฐ
net.core.netdev_max_backlog5000็ฝ‘็ปœๆŽฅๅฃๆ•ฐๆฎๅŒ…้˜Ÿๅˆ—้•ฟๅบฆ

๐Ÿ›ก๏ธ ๅ…ญใ€้ข„้˜ฒVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503 ็š„ๆœ€ไฝณๅฎž่ทต

่งฃๅ†ณVOSS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้—ฎ้ข˜ไธ่ƒฝไป…้ ไบ‹ๅŽๆŽ’ๆŸฅ๏ผŒๆ›ด้‡่ฆ็š„ๆ˜ฏๅปบ็ซ‹้ข„้˜ฒๆ€ง่ฟ็ปดไฝ“็ณปใ€‚้€š่ฟ‡ๅฎžๆ–ฝไปฅไธ‹ๆœ€ไฝณๅฎž่ทต๏ผŒๅฏไปฅๆ˜พ่‘—้™ไฝŽ503ๅ’Œ408้”™่ฏฏ็š„ๅ‘็”Ÿ้ข‘็އ๏ผŒๆๅ‡็ณป็ปŸๆ•ดไฝ“็จณๅฎšๆ€งๅ’Œๅฎขๆˆทๆปกๆ„ๅบฆใ€‚้ข„้˜ฒๆŽชๆ–ฝ็š„ๆ ธๅฟƒๆ€ๆƒณๆ˜ฏ”ๅคš็ฝ‘ๅ…ณๅ†—ไฝ™ + ไธปๅŠจ็›‘ๆŽง + ๅ‚ๆ•ฐไผ˜ๅŒ–”๏ผŒไธ‰่€…็ผบไธ€ไธๅฏใ€‚ๅคš็ฝ‘ๅ…ณๅ†—ไฝ™็กฎไฟๅ•็‚นๆ•…้šœไธไผšๅฏผ่‡ดไธšๅŠกไธญๆ–ญ๏ผŒไธปๅŠจ็›‘ๆŽง่ฎฉๆ‚จๅœจ้—ฎ้ข˜ๅฝฑๅ“ๅฎขๆˆทไน‹ๅ‰ๅฐฑ่ƒฝๅ‘็Žฐๅนถๅค„็†๏ผŒๅ‚ๆ•ฐไผ˜ๅŒ–ๅˆ™็กฎไฟ็ณป็ปŸ้…็ฝฎไธŽๅฎž้™…่ฏๅŠก้‡ๅŒน้…ใ€‚

้ฆ–ๅ…ˆ๏ผŒไธบๆฏไธชๅ…ณ้”ฎ็›ฎๆ ‡ๅ‰็ผ€้…็ฝฎ่‡ณๅฐ‘2-3ไธช่ทฏ็”ฑ็ฝ‘ๅ…ณ๏ผŒๅนถๅฏ็”จ”Switch gateway until connect”ๅ’ŒOPTIONSๅœจ็บฟๆฃ€ๆต‹ๅŠŸ่ƒฝใ€‚ๅฝ“ไธป็”จ็ฝ‘ๅ…ณๅ‡บ็Žฐ้—ฎ้ข˜ๆ—ถ๏ผŒVOS3000่ƒฝ่‡ชๅŠจๅˆ‡ๆขๅˆฐๅค‡็”จ็ฝ‘ๅ…ณ๏ผŒๅฎขๆˆทๅ‡ ไนŽๆ„Ÿ็Ÿฅไธๅˆฐๆ•…้šœใ€‚ๅ…ถๆฌก๏ผŒๅฎšๆœŸๅˆ†ๆžCDRๆ•ฐๆฎ๏ผŒ็›‘ๆŽง503ๅ’Œ408้”™่ฏฏ็š„ๅ˜ๅŒ–่ถ‹ๅŠฟใ€‚ๅฆ‚ๆžœๅ‘็ŽฐๆŸไธช็ฝ‘ๅ…ณ็š„้”™่ฏฏ็އๆŒ็ปญไธŠๅ‡๏ผŒๅบ”ๆๅ‰ไป‹ๅ…ฅๆŽ’ๆŸฅ๏ผŒ่€Œไธๆ˜ฏ็ญ‰ๅˆฐๅฎขๆˆทๆŠ•่ฏ‰ๆ‰่กŒๅŠจใ€‚็ฌฌไธ‰๏ผŒๅฎšๆœŸๆฃ€ๆŸฅไพ›ๅบ”ๅ•†่ดฆๆˆทไฝ™้ข๏ผŒ็กฎไฟไธไผšๅ› ไธบไฝ™้ขไธ่ถณ่€Œ่งฆๅ‘503้”™่ฏฏใ€‚ๆœ€ๅŽ๏ผŒๅฏนๆœๅŠกๅ™จ่ฟ›่กŒ็ณป็ปŸๅฑ‚้ข็š„ไผ˜ๅŒ–๏ผŒๅŒ…ๆ‹ฌไธŠ่ฟฐ็š„UDP็ผ“ๅ†ฒๅŒบ่ฐƒไผ˜๏ผŒไปฅๅŠๅˆ็†่ฎพ็ฝฎSS_MAX_CPS็ญ‰่ฝฏไบคๆขๅ‚ๆ•ฐใ€‚

๐Ÿ›ก๏ธ ้ข„้˜ฒๆŽชๆ–ฝโœ… ๅฎžๆ–ฝๆ–นๆณ•๐Ÿ”„ ๆ‰ง่กŒ้ข‘็އ๐Ÿ“Š ้ข„ๆœŸๆ•ˆๆžœ
OPTIONSๅœจ็บฟๆฃ€ๆต‹ๆ‰€ๆœ‰่ทฏ็”ฑ็ฝ‘ๅ…ณๅฏ็”จOPTIONSๆฃ€ๆต‹้…็ฝฎไธ€ๆฌก๏ผˆ่‡ชๅŠจ่ฟ่กŒ๏ผ‰้™ไฝŽ408้”™่ฏฏ60%ไปฅไธŠ
ๅค‡็”จ็ฝ‘ๅ…ณ้…็ฝฎๆฏไธชๅ‰็ผ€้…็ฝฎ2-3ไธช็ฝ‘ๅ…ณ้…็ฝฎไธ€ๆฌก + ๆฏๆœˆ้ชŒ่ฏ้™ไฝŽ503้”™่ฏฏ80%ไปฅไธŠ
CDRๆ•ฐๆฎๅˆ†ๆžๆŸฅ็œ‹็ปˆๆญขๅŽŸๅ› ่ถ‹ๅŠฟๆฏๆ—ฅๆ—ฉๆœŸๅ‘็Žฐๆฝœๅœจ้—ฎ้ข˜
ไฝ™้ข็›‘ๆŽง้ข„่ญฆ่ฎพ็ฝฎๆœ€ไฝŽไฝ™้ขๅ‘Š่ญฆๅฎžๆ—ถ้˜ฒๆญขไฝ™้ขไธ่ถณๅฏผ่‡ด503
UDP็ผ“ๅ†ฒๅŒบ่ฐƒไผ˜่ฐƒๆ•ดsysctlๅ‚ๆ•ฐ็ณป็ปŸ้ƒจ็ฝฒๆ—ถ + ๅ‡็บงๅŽๅ‡ๅฐ‘ๅ†…ๆ ธๅฑ‚ๆ•ฐๆฎๅŒ…ไธขๅคฑ

๐Ÿ”— ็›ธๅ…ณ่ต„ๆบ

ๅธธ่ง้—ฎ้ข˜่งฃ็ญ”

โ“ ้—ฎ้ข˜1๏ผšVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503 ๅ’Œ SIP 408 ้”™่ฏฏๆœ‰ไป€ไนˆๆ นๆœฌๅŒบๅˆซ๏ผŸ

SIP 503 Service Unavailableๅ’ŒSIP 408 Request Timeout่™ฝ็„ถ้ƒฝๅฏผ่‡ด้€š่ฏๅคฑ่ดฅ๏ผŒไฝ†ๆ นๆœฌๅŽŸๅ› ๅฎŒๅ…จไธๅŒใ€‚VOS3 000 ๆŒ‚ๆ–ญๅŽŸๅ›  503่กจ็คบ็›ฎๆ ‡ๆœๅŠกๅ™จๆˆ–็ฝ‘ๅ…ณๆš‚ๆ—ถๆ— ๆณ•ๅค„็†ๅ‘ผๅซ่ฏทๆฑ‚๏ผŒๆ ธๅฟƒๅŽŸๅ› ๆ˜ฏๅฎน้‡ไธ่ถณๆˆ–้…็ฝฎ้—ฎ้ข˜๏ผŒไพ‹ๅฆ‚ๆ‰€ๆœ‰ๅŒน้…็ฝ‘ๅ…ณ็š„ๅนถๅ‘ๅทฒๆปกใ€็ฝ‘ๅ…ณๅ‰็ผ€ไธๅŒน้…๏ผˆNoAvailableRouter๏ผ‰ใ€ๆˆ–ไพ›ๅบ”ๅ•†ไฝ™้ขไธ่ถณใ€‚่€ŒSIP 408่กจ็คบVOS3000ๅ‘ๅ‡บไบ†INVITE่ฏทๆฑ‚ไฝ†ๅœจๅฎšๆ—ถๅ™จ่ถ…ๆ—ถๅ‰ๆœชๆ”ถๅˆฐไปปไฝ•ๅ“ๅบ”๏ผŒๆ ธๅฟƒๅŽŸๅ› ๆ˜ฏ็ฝ‘็ปœ่ฟž้€šๆ€ง้—ฎ้ข˜๏ผŒไพ‹ๅฆ‚้˜ฒ็ซๅข™้˜ปๆ–ญSIP็ซฏๅฃใ€็ฝ‘ๅ…ณIP้…็ฝฎ้”™่ฏฏใ€ๆˆ–็ฝ‘็ปœ่ทฏ็”ฑไธๅฏ่พพใ€‚503็š„ๆŽ’ๆŸฅ้‡็‚นๆ˜ฏ็ฝ‘ๅ…ณ้…็ฝฎๅ’Œๅฎน้‡่ง„ๅˆ’๏ผŒ408็š„ๆŽ’ๆŸฅ้‡็‚นๆ˜ฏ็ฝ‘็ปœ่ฟž้€šๆ€งๅ’Œ้˜ฒ็ซๅข™่ฎพ็ฝฎใ€‚ไธค่€…็š„่งฃๅ†ณๆ–นๆณ•ๅฎŒๅ…จไธๅŒ๏ผŒๅ‡†็กฎๅŒบๅˆ†ๆ˜ฏๅฟซ้€Ÿ่งฃๅ†ณ้—ฎ้ข˜็š„ๅ…ณ้”ฎใ€‚

โ“ ้—ฎ้ข˜2๏ผšๅนถๅ‘้™ๅˆถ๏ผˆLine Limit๏ผ‰ๅ’ŒCPS้™ๅˆถ๏ผˆRate Limit๏ผ‰ๅฆ‚ไฝ•ๅฝฑๅ“503้”™่ฏฏ๏ผŸ

ๅนถๅ‘้™ๅˆถๅ’ŒCPS้™ๅˆถ้ƒฝไผšๅฏผ่‡ดVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้”™่ฏฏ๏ผŒไฝ†่งฆๅ‘ๆกไปถไธๅŒใ€‚ๅนถๅ‘้™ๅˆถ๏ผˆLine Limit๏ผ‰ๆŽงๅˆถๅŒๆ—ถๅœจ็บฟ็š„้€š่ฏๆ•ฐ้‡๏ผŒๅฝ“ๆ‰€ๆœ‰ๅŒน้…็ฝ‘ๅ…ณ็š„ๅœจ็บฟ้€š่ฏๆ•ฐ้ƒฝ่พพๅˆฐLine LimitไธŠ้™ๆ—ถ๏ผŒๆ–ฐๅ‘ผๅซๆ— ๆณ•่ทฏ็”ฑ๏ผŒไบง็”Ÿ503้”™่ฏฏใ€‚CPS้™ๅˆถ๏ผˆRate Limit๏ผ‰ๆŽงๅˆถๆฏ็ง’ๆ–ฐๅปบๅ‘ผๅซ็š„ๆ•ฐ้‡๏ผŒๅฝ“็Ÿญๆ—ถ้—ดๅ†…็ชๅ‘ๅคง้‡ๅ‘ผๅซ่ฏทๆฑ‚่ถ…่ฟ‡Rate Limit่ฎพๅฎš็š„้˜ˆๅ€ผๆ—ถ๏ผŒ่ถ…ๅ‡บ็š„ๅ‘ผๅซ่ขซ็›ดๆŽฅๆ‹’็ป๏ผŒๅŒๆ ท่ฟ”ๅ›ž503้”™่ฏฏใ€‚ๅŒบๅˆ†่ฟ™ไธค็งๅœบๆ™ฏ็š„ๆ–นๆณ•ๆ˜ฏๆŸฅ็œ‹CDR่ฎฐๅฝ•ไธญ503้”™่ฏฏๅ‡บ็Žฐ็š„ๆ—ถ้—ดๅˆ†ๅธƒโ€”โ€”ๅฆ‚ๆžœ503้›†ไธญๅœจ่ฏๅŠก้ซ˜ๅณฐๆœŸไธ”ๆŒ็ปญๆ—ถ้—ด่พƒ้•ฟ๏ผŒ้€šๅธธๆ˜ฏๅนถๅ‘้™ๅˆถ้—ฎ้ข˜๏ผ›ๅฆ‚ๆžœ503ๅœจ็Ÿญๆ—ถ้—ดๅ†…้›†ไธญๅ‡บ็Žฐไธ”ๅพˆๅฟซๆขๅคๆญฃๅธธ๏ผŒ้€šๅธธๆ˜ฏCPS้™้€Ÿ้—ฎ้ข˜ใ€‚

โ“ ้—ฎ้ข˜3๏ผšๅฆ‚ไฝ•้…็ฝฎFailoverๆ•…้šœ่ฝฌ็งปๆฅ้ฟๅ…503้”™่ฏฏๅฏผ่‡ด้€š่ฏไธญๆ–ญ๏ผŸ

้…็ฝฎFailoverๆ•…้šœ่ฝฌ็งปๆ˜ฏ้˜ฒๆญขVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๅฏผ่‡ดๅคง้ข็งฏ้€š่ฏไธญๆ–ญ็š„ๆœ€ๆœ‰ๆ•ˆๆ–นๆณ•ใ€‚ๅ…ทไฝ“้…็ฝฎๆญฅ้ชคๅฆ‚ไธ‹๏ผš้ฆ–ๅ…ˆ๏ผŒไธบๆฏไธช็›ฎๆ ‡ๅ‰็ผ€้…็ฝฎ่‡ณๅฐ‘2ไธช่ทฏ็”ฑ็ฝ‘ๅ…ณ๏ผŒไธป็”จ็ฝ‘ๅ…ณ่ฎพ็ฝฎ่พƒ้ซ˜ไผ˜ๅ…ˆ็บง๏ผˆๆ•ฐๅ€ผๅฐ๏ผ‰๏ผŒๅค‡็”จ็ฝ‘ๅ…ณ่ฎพ็ฝฎ่พƒไฝŽไผ˜ๅ…ˆ็บงใ€‚ๅ…ถๆฌก๏ผŒๅœจไธป็”จ็ฝ‘ๅ…ณ้…็ฝฎไธญๅฏ็”จ”Switch gateway until connect”้€‰้กน๏ผŒ็กฎไฟไธป็”จ็ฝ‘ๅ…ณๅคฑ่ดฅๆ—ถ็ณป็ปŸ่‡ชๅŠจๅฐ่ฏ•ๅค‡็”จ็ฝ‘ๅ…ณใ€‚็ฌฌไธ‰๏ผŒๅฐ†ๅค‡็”จ็ฝ‘ๅ…ณ่ฎพ็ฝฎไธบ”Protect Route”๏ผˆไฟๆŠค่ทฏ็”ฑ๏ผ‰๏ผŒไฝฟๅ…ถไป…ๅœจไธป็”จ็ฝ‘ๅ…ณไธๅฏ็”จๆ—ถๆ‰่ขซไฝฟ็”จ๏ผŒไฟ็•™ๅค‡็”จๅฎน้‡ใ€‚็ฌฌๅ››๏ผŒๅœจๆ‰€ๆœ‰่ทฏ็”ฑ็ฝ‘ๅ…ณไธŠๅฏ็”จOPTIONSๅœจ็บฟๆฃ€ๆต‹๏ผŒ่ฎฉVOS3000ไธปๅŠจ็›‘ๆต‹็ฝ‘ๅ…ณๅฏ็”จๆ€ง๏ผŒๅœจ็ฝ‘ๅ…ณ็ฆป็บฟๆ—ถๆๅ‰ๅˆ‡ๆข่ทฏ็”ฑ๏ผŒ่€Œไธๆ˜ฏ็ญ‰ๅˆฐๅ‘ผๅซๅคฑ่ดฅๆ‰ๅˆ‡ๆขใ€‚่ฟ™ๆ ทๅฏไปฅๅœจไธป็”จ็ฝ‘ๅ…ณๆ•…้šœๆ—ถๅฎž็Žฐๆ— ็ผๅˆ‡ๆข๏ผŒๅฎขๆˆทๅ‡ ไนŽๆ„Ÿ็Ÿฅไธๅˆฐไธญๆ–ญใ€‚

โ“ ้—ฎ้ข˜4๏ผšCentOS 7็š„UDP็ผ“ๅ†ฒๅŒบ่ฐƒไผ˜ๅฏนVOS3000ๆ€ง่ƒฝๆœ‰ไป€ไนˆๅฝฑๅ“๏ผŸ

CentOS 7้ป˜่ฎค็š„UDP็ผ“ๅ†ฒๅŒบๅคงๅฐๅฏน้ซ˜ๅนถๅ‘VoIP็Žฏๅขƒๆฅ่ฏดๆ˜ฏไธๅคŸ็š„๏ผŒ็›ดๆŽฅ่ฐƒๆ•ดsysctlๅ‚ๆ•ฐๅฏไปฅๆ˜พ่‘—ๆ”นๅ–„VOS3000็š„ๆ€ง่ƒฝๅ’Œ็จณๅฎšๆ€งใ€‚้ป˜่ฎค็š„UDPๆŽฅๆ”ถ็ผ“ๅ†ฒๅŒบ้€šๅธธๅชๆœ‰212992ๅญ—่Š‚๏ผˆ็บฆ200KB๏ผ‰๏ผŒๅœจ้ซ˜ๅนถๅ‘ๅœบๆ™ฏไธ‹ๅฎนๆ˜“ๅ‘็”Ÿ็ผ“ๅ†ฒๅŒบๆบขๅ‡บ๏ผŒๅฏผ่‡ดๅ†…ๆ ธ็›ดๆŽฅไธขๅผƒSIPไฟกไปคๅ’ŒRTPๅช’ไฝ“ๆ•ฐๆฎๅŒ…ใ€‚ๅฐ†rmem_defaultใ€rmem_maxใ€wmem_defaultๅ’Œwmem_max้ƒฝ่ฎพ็ฝฎไธบ16777216๏ผˆ16MB๏ผ‰ๅŽ๏ผŒๅฏไปฅๅคงๅน…ๅ‡ๅฐ‘ๅ› ็ผ“ๅ†ฒๅŒบไธ่ถณๅฏผ่‡ด็š„ๆ•ฐๆฎๅŒ…ไธขๅคฑ๏ผŒไปŽ่€Œ้™ไฝŽVOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๅ’Œ408้”™่ฏฏ็š„ๅ‘็”Ÿ็އใ€‚้œ€่ฆๆณจๆ„็š„ๆ˜ฏ๏ผŒๅขžๅคง็ผ“ๅ†ฒๅŒบไผšๅขžๅŠ ๅ†…ๅญ˜ไฝฟ็”จ้‡๏ผŒไฝ†16MB็š„่ฎพ็ฝฎๅฏน็ŽฐไปฃๆœๅŠกๅ™จๆฅ่ฏดๅพฎไธ่ถณ้“๏ผŒๅฎŒๅ…จๅ€ผๅพ—่ฟ™ไธชๅพฎๅฐ็š„ๅ†…ๅญ˜ๅผ€้”€ๆฅๆขๅ–็จณๅฎšๆ€ง็š„ๅคงๅน…ๆๅ‡ใ€‚

โ“ ้—ฎ้ข˜5๏ผšไธบไป€ไนˆ็ฝ‘ๅ…ณๆœ‰ๅฏ็”จ็บฟ่ทฏไป็„ถๅ‡บ็Žฐ503้”™่ฏฏ๏ผŸ

็ฝ‘ๅ…ณๆ˜พ็คบๆœ‰ๅฏ็”จ็บฟ่ทฏไฝ†ไป็„ถๅ‡บ็ŽฐVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้”™่ฏฏ๏ผŒๅฏ่ƒฝๆœ‰ไปฅไธ‹ๅ‡ ็งๅŽŸๅ› ใ€‚็ฌฌไธ€็งๆ˜ฏ็ฝ‘ๅ…ณ็ป„๏ผˆGateway Group๏ผ‰็š„ไฟ็•™็บฟ่ทฏ่ฎพ็ฝฎ้™ๅˆถไบ†่ฎฟ้—ฎโ€”โ€”ๅณไฝฟ็ฝ‘ๅ…ณๆœฌ่บซๆœ‰็ฉบ้—ฒ็บฟ่ทฏ๏ผŒไฝ†ๅฆ‚ๆžœๅฑžไบŽๆŸไธช็ฝ‘ๅ…ณ็ป„ไธ”่ฏฅ็ป„็š„ไฟ็•™็บฟ่ทฏๅทฒ่ขซๅ…ถไป–ๅฎขๆˆทๅ ็”จ๏ผŒๆ–ฐๅ‘ผๅซไปไผš่ขซๆ‹’็ปใ€‚็ฌฌไบŒ็งๆ˜ฏไพ›ๅบ”ๅ•†่ดฆๆˆทไฝ™้ขไธ่ถณโ€”โ€”VOS3000ๅœจ่ทฏ็”ฑๅ‘ผๅซๅ‰ไผšๆฃ€ๆŸฅไพ›ๅบ”ๅ•†ๆธ…็ฎ—่ดฆๆˆท็š„ไฝ™้ข๏ผŒๅฆ‚ๆžœไฝ™้ขไฝŽไบŽๆœ€ไฝŽ้˜ˆๅ€ผ๏ผˆ็”ฑSERVER_VERIFY_CLEARING_CUSTOMER_REMAIN_MONEY_LIMITๅ‚ๆ•ฐๆŽงๅˆถ๏ผ‰๏ผŒๅณไฝฟ็ฝ‘ๅ…ณๆœ‰็ฉบ้—ฒ็บฟ่ทฏไนŸไธไผš่ทฏ็”ฑๅ‘ผๅซใ€‚็ฌฌไธ‰็งๆ˜ฏCPS้™ๅˆถโ€”โ€”็ฝ‘ๅ…ณ่™ฝ็„ถๆœ‰็ฉบ้—ฒ็บฟ่ทฏ๏ผŒไฝ†ๅฆ‚ๆžœ็Ÿญๆ—ถ้—ดๅ†…็š„ๅ‘ผๅซๅปบ็ซ‹้€Ÿ็އ่ถ…่ฟ‡ไบ†Rate Limit่ฎพๅฎšๅ€ผ๏ผŒ่ถ…ๅ‡บ็š„ๅ‘ผๅซไปไผš่ขซๆ‹’็ปใ€‚็ฌฌๅ››็งๆ˜ฏๅ‰็ผ€ๅŒน้…้—ฎ้ข˜โ€”โ€”่ขซๅซๅท็ ๅฏ่ƒฝๆฒกๆœ‰ๅŒน้…ๅˆฐ่ฏฅ็ฝ‘ๅ…ณ้…็ฝฎ็š„ๅ‰็ผ€๏ผŒๅฏผ่‡ดๅ‘ผๅซ่ขซ่ทฏ็”ฑๅˆฐๅ…ถไป–ๅทฒๆปก็š„็ฝ‘ๅ…ณใ€‚้€ไธ€ๆŽ’ๆŸฅ่ฟ™ไบ›ๅ› ็ด ๏ผŒๅฐฑ่ƒฝๆ‰พๅˆฐ็œŸๆญฃ็š„ๆ นๅ› ใ€‚

โ“ ้—ฎ้ข˜6๏ผšSS_MAX_CPSๅ‚ๆ•ฐ่ฎพ็ฝฎ่ฟ‡้ซ˜ๆˆ–่ฟ‡ไฝŽไผšๆœ‰ไป€ไนˆๅฝฑๅ“๏ผŸ

SS_MAX_CPSๆ˜ฏVOS3000็ณป็ปŸๅ…จๅฑ€็š„ๆฏ็ง’ๆœ€ๅคงๅ‘ผๅซๆ•ฐ้™ๅˆถ๏ผŒ่ฎพ็ฝฎไธๅฝ“ไผšๅฏน็ณป็ปŸ็จณๅฎšๆ€งไบง็”Ÿไธฅ้‡ๅฝฑๅ“ใ€‚ๅฆ‚ๆžœ่ฎพ็ฝฎ่ฟ‡ไฝŽ๏ผŒๅฝ“ๅฎž้™…่ฏๅŠก้‡่ถ…่ฟ‡SS_MAX_CPSๆ—ถ๏ผŒ่ถ…ๅ‡บ็š„ๅ‘ผๅซไผš่ขซ็ณป็ปŸ็›ดๆŽฅๆ‹’็ป๏ผŒไบง็”Ÿๅคง้‡VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503้”™่ฏฏ๏ผŒไธฅ้‡ๅฝฑๅ“ไธšๅŠกๆญฃๅธธ่ฟ่กŒใ€‚ๅฆ‚ๆžœ่ฎพ็ฝฎ่ฟ‡้ซ˜๏ผŒ่ถ…่ฟ‡ไบ†ๆœๅŠกๅ™จ็กฌไปถ็š„ๅฎž้™…ๅค„็†่ƒฝๅŠ›๏ผŒVOS3000ไผšๅฐ่ฏ•ๅค„็†่ถ…ๅ‡บๆ‰ฟ่ฝฝ่ƒฝๅŠ›็š„ๅ‘ผๅซ๏ผŒๅฏผ่‡ดCPUๅˆฉ็”จ็އ้ฃ™ๅ‡ใ€SIPไฟกไปคๅค„็†ๅปถ่ฟŸๅขžๅคงใ€ๅ†…ๅญ˜ๆถˆ่€—ๅขžๅŠ ๏ผŒๆœ€็ปˆๅฏ่ƒฝๅ‡บ็Žฐ็ณป็ปŸๅดฉๆบƒๆˆ–ๆ‰€ๆœ‰้€š่ฏ่ดจ้‡ไธฅ้‡ไธ‹้™็š„ๆƒ…ๅ†ตใ€‚ๅปบ่ฎฎๆ นๆฎๆœๅŠกๅ™จ็กฌไปถ้…็ฝฎ๏ผˆCPUๆ ธๅฟƒๆ•ฐใ€ๅ†…ๅญ˜ๅคงๅฐ๏ผ‰ๅ’Œๅฎž้™…่ฏๅŠกๆจกๅž‹ๆฅๅˆ็†่ฎพ็ฝฎSS_MAX_CPSๅ€ผใ€‚ไธ€่ˆฌ็ป้ชŒๆ˜ฏ๏ผš8ๆ ธ16GBๅ†…ๅญ˜็š„ๆœๅŠกๅ™จๅปบ่ฎฎ่ฎพ็ฝฎไธบ200-300 CPS๏ผ›16ๆ ธ32GBๅ†…ๅญ˜็š„ๆœๅŠกๅ™จๅฏไปฅ่ฎพ็ฝฎๅˆฐ500-800 CPSใ€‚่ฎพ็ฝฎๅŽๅบ”ๅฏ†ๅˆ‡็›‘ๆŽง็ณป็ปŸ่ต„ๆบไฝฟ็”จๆƒ…ๅ†ต๏ผŒ้€ๆญฅ่ฐƒๆ•ดๅˆฐๆœ€ไฝณๅ€ผใ€‚

โ“ ้—ฎ้ข˜7๏ผšๅฆ‚ไฝ•ไฝฟ็”จDebug Traceๆทฑๅ…ฅๅˆ†ๆžVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503๏ผŸ

ๅฝ“ๅธธ่ง„ๆŽ’ๆŸฅๆ–นๆณ•ๆ— ๆณ•็กฎๅฎšVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503็š„ๅ…ทไฝ“ๅŽŸๅ› ๆ—ถ๏ผŒDebug Traceๆ˜ฏๆœ€ๆœ‰ๅŠ›็š„ๆทฑๅบฆๅˆ†ๆžๅทฅๅ…ทใ€‚ไฝฟ็”จๆ–นๆณ•ๅฆ‚ไธ‹๏ผš้ฆ–ๅ…ˆๅœจVOS3000็ฎก็†็•Œ้ขไธญ่ฟ›ๅ…ฅ็ณป็ปŸ่ฐƒ่ฏ•ๅŠŸ่ƒฝ๏ผŒๅฏ็”จDebug Traceๅนถ่ฎพ็ฝฎ่ฟ‡ๆปคๆกไปถ๏ผˆๅฆ‚ๆŒ‡ๅฎšๆบIPๆˆ–่ขซๅซๅท็ ๏ผ‰ใ€‚็„ถๅŽไปŽ้—ฎ้ข˜็ปˆ็ซฏๅ‘่ตทๆต‹่ฏ•ๅ‘ผๅซ๏ผŒ้‡็Žฐ503ๆˆ–408้”™่ฏฏใ€‚Debug Traceไผš่ฎฐๅฝ•ๅฎŒๆ•ด็š„SIPไฟกไปคไบคไบ’่ฟ‡็จ‹๏ผŒๅŒ…ๆ‹ฌVOS3000ๅ‘ๅ‡บ็š„INVITE่ฏทๆฑ‚ใ€ๆ”ถๅˆฐ็š„100 Trying/180 Ringingไธดๆ—ถๅ“ๅบ”ใ€ไปฅๅŠๆœ€็ปˆ็š„้”™่ฏฏๅ“ๅบ”๏ผˆๅฆ‚503ๆˆ–408๏ผ‰ใ€‚้€š่ฟ‡ๅˆ†ๆž่ฟ™ไบ›SIPๆถˆๆฏ๏ผŒๆ‚จๅฏไปฅ็ฒพ็กฎๅฎšไฝ้—ฎ้ข˜ๅ‘็”Ÿๅœจๅ“ชไธช็Žฏ่Š‚โ€”โ€”ๆ˜ฏINVITEๆ นๆœฌๆฒกๆœ‰ๅ‘ๅ‡บๅŽป๏ผˆๆœฌๅœฐ้…็ฝฎ้—ฎ้ข˜๏ผ‰๏ผŒ่ฟ˜ๆ˜ฏINVITEๅ‘ๅ‡บๅŽๆฒกๆœ‰ๆ”ถๅˆฐๅ“ๅบ”๏ผˆ็ฝ‘็ปœ้—ฎ้ข˜๏ผ‰๏ผŒๆˆ–่€…ๆ˜ฏๆ”ถๅˆฐไบ†503ๅ“ๅบ”๏ผˆๅฏน็ซฏ้—ฎ้ข˜๏ผ‰ใ€‚ๅฆ‚ๆžœๆ‚จๅœจๅˆ†ๆžDebug Traceๆ—ถ้‡ๅˆฐๅ›ฐ้šพ๏ผŒๆฌข่ฟŽ้€š่ฟ‡WhatsApp +8801911119966 ่”็ณปๆˆ‘ไปฌ็š„ๆŠ€ๆœฏๅ›ข้˜Ÿ่Žทๅ–ไธ“ไธšๆ”ฏๆŒใ€‚

่Žทๅ–ไธ“ไธšVOS3000ๆŠ€ๆœฏๆ”ฏๆŒ

ๅฆ‚ๆžœๆ‚จๅœจๆŽ’ๆŸฅVOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๆ—ถ้‡ๅˆฐๅคๆ‚้—ฎ้ข˜๏ผŒๆˆ–่€…้œ€่ฆไธ“ไธš็š„VOS3000็ณป็ปŸ้ƒจ็ฝฒๅ’Œไผ˜ๅŒ–ๆœๅŠก๏ผŒๆˆ‘ไปฌmultahostๅ›ข้˜Ÿ้šๆ—ถไธบๆ‚จๆไพ›ๆ”ฏๆŒใ€‚ๆˆ‘ไปฌๆ‹ฅๆœ‰ไธฐๅฏŒ็š„VOS3000้ƒจ็ฝฒๅ’Œ่ฟ็ปด็ป้ชŒ๏ผŒๅฏไปฅๅธฎๅŠฉๆ‚จๅฟซ้€Ÿ่งฃๅ†ณSIP 503/408้”™่ฏฏใ€ไผ˜ๅŒ–ๅนถๅ‘ๅ’ŒCPS้…็ฝฎใ€่ฎพ่ฎก้ซ˜ๅฏ็”จ็š„Failover่ทฏ็”ฑๆžถๆž„๏ผŒไปฅๅŠ่ฟ›่กŒCentOS 7็ณป็ปŸๅฑ‚้ข็š„UDP็ผ“ๅ†ฒๅŒบ่ฐƒไผ˜ใ€‚ๆ— ่ฎบๆ‚จๆ˜ฏๆ–ฐๅปบVoIPไธšๅŠก่ฟ˜ๆ˜ฏไผ˜ๅŒ–็Žฐๆœ‰็ณป็ปŸ๏ผŒๆˆ‘ไปฌ้ƒฝ่ƒฝๆไพ›้‡่บซๅฎšๅˆถ็š„่งฃๅ†ณๆ–นๆกˆใ€‚

๐Ÿ“ž ็ซ‹ๅณ่”็ณปๆˆ‘ไปฌ็š„ไธ“ไธšๅ›ข้˜Ÿ๏ผšWhatsApp: +8801911119966

ๆˆ‘ไปฌๆไพ›็š„ๆœๅŠกๅŒ…ๆ‹ฌไฝ†ไธ้™ไบŽ๏ผšVOS3000ๆœๅŠกๅ™จๅฎ‰่ฃ…ไธŽ้…็ฝฎใ€VOS 3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503ๆ•…้šœๆŽ’ๆŸฅไธŽไฟฎๅคใ€Failoverๆ•…้šœ่ฝฌ็งป่ทฏ็”ฑ่ฎพ่ฎกใ€CPSๅ’Œๅนถๅ‘้™ๅˆถไผ˜ๅŒ–ใ€SIPไธญ็ปงๅฏนๆŽฅใ€ไปฅๅŠๅ…จๆ–นไฝ็š„็ณป็ปŸ็›‘ๆŽงไธŽๅ‘Š่ญฆ้…็ฝฎใ€‚ๆˆ‘ไปฌ็š„ๅทฅ็จ‹ๅธˆๅ›ข้˜ŸๅฏไปฅๅธฎๅŠฉๆ‚จๅœจๆœ€็Ÿญๆ—ถ้—ดๅ†…่งฃๅ†ณ็ดงๆ€ฅๆ•…้šœ๏ผŒๅนถ็กฎไฟๆ‰€ๆœ‰ๅ‚ๆ•ฐ้ƒฝ็ป่ฟ‡ไธฅๆ ผๆต‹่ฏ•ๅ’Œไผ˜ๅŒ–ใ€‚

๐Ÿ“ž ๆŠ€ๆœฏๅ’จ่ฏข็ƒญ็บฟ๏ผšWhatsApp: +8801911119966


๐Ÿ“ž Need Professional VOS3000 Setup Support?

For professional VOS3000 installations and deployment, VOS3000 Server Rental Solution:

๐Ÿ“ฑ WhatsApp: +8801911119966
๐ŸŒ Website: www.vos3000.com
๐ŸŒ Blog: multahost.com/blog
๐Ÿ“ฅ Downloads: VOS3000 Downloads


VOS3000 ๆœๅŠกๅ™จ่ฟ็งป, VOS3000 ่ดŸไฝ™้ข้˜ปๆ–ญ, VOS3000 ่ฝฌ็  DTMF, VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503, VOS3000 ๆ—ถ้—ด่ทฏ็”ฑVOS3000 ๆœๅŠกๅ™จ่ฟ็งป, VOS3000 ่ดŸไฝ™้ข้˜ปๆ–ญ, VOS3000 ่ฝฌ็  DTMF, VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503, VOS3000 ๆ—ถ้—ด่ทฏ็”ฑVOS3000 ๆœๅŠกๅ™จ่ฟ็งป, VOS3000 ่ดŸไฝ™้ข้˜ปๆ–ญ, VOS3000 ่ฝฌ็  DTMF, VOS3000 ๆŒ‚ๆ–ญๅŽŸๅ›  503, VOS3000 ๆ—ถ้—ด่ทฏ็”ฑ
VOS3000 Server Migration, VOS3000 SIP 503 408 error, VOS3000 Time-Based Routing, VOS3000 Echo Delay Fix, VOS3000 iptables SIP Scanner, VOS3000 Vendor Failover, VOS3000 SIP 503/408 error

VOS3000 SIP 503 408 Error Fix: Complete Troubleshooting Guide for VoIP Operators

VOS3000 SIP 503 408 Error Fix: Complete Troubleshooting Guide for VoIP Operators

Encountering a VOS3000 SIP 503 408 error on your VoIP softswitch can bring your entire calling business to a standstill, causing lost revenue, frustrated customers, and endless hours of guesswork. The SIP 503 Service Unavailable and SIP 408 Request Timeout are two of the most common and damaging errors that VOS3000 operators face daily, yet many struggle to resolve them permanently because they treat the symptoms instead of identifying the root cause. Whether you are running VOS3000 2.1.8.05 or the latest 2.1.9.07, understanding why these errors occur and how to fix them systematically is essential for maintaining a profitable and reliable VoIP operation.

This comprehensive guide provides a structured, step-by-step approach to diagnosing and permanently resolving SIP 503 and SIP 408 errors in VOS3000. Every solution presented here is based on real VOS3000 configuration parameters documented in the official VOS3000 V2.1.9.07 Manual and verified through production experience. For professional assistance with any VOS3000 issue, contact us on WhatsApp at +8801911119966.

Table of Contents

Understanding VOS3000 SIP 503 408 Error Codes

Before attempting any fix, you must understand what each SIP response code means in the context of VOS3000. These codes appear in your CDR records as termination reasons and directly indicate what went wrong during call setup. Misinterpreting these codes leads to incorrect fixes that waste time and money.

What SIP 503 Service Unavailable Means in VOS3000 (VOS3000 SIP 503 408 error)

The SIP 503 Service Unavailable response indicates that the called party’s server or gateway is temporarily unable to process the call. In VOS3000, this error commonly occurs when all routing gateways for a specific prefix are either disabled, at capacity, or unreachable. The VOS3000 softswitch attempts to route the call through configured gateways, and when none can accept the call, it returns a 503 response to the caller. This is documented in VOS3000 Manual Section 2.5.1.1 (Routing Gateway), where the system describes how gateway prefix matching and priority selection work when routing calls. (VOS3000 SIP 503 408 error)

Key scenarios that trigger SIP 503 in VOS3000 include:

  • All routing gateways disabled: When gateways matching the called number prefix are locked or set to “Bar all calls” status
  • Gateway capacity exceeded: When all available lines on matching gateways are occupied, and no failover gateway exists
  • Gateway timeout: When the routing gateway does not respond within the configured SIP timer period
  • No matching prefix: When the called number does not match any configured gateway prefix (shows as “NoAvailableRouter” in CDR)
  • Vendor account issues: When the routing gateway’s clearing account has insufficient balance or is locked

What SIP 408 Request Timeout Means in VOS3000 (VOS3000 SIP 503 408 error)

The SIP 408 Request Timeout response means that the VOS3000 softswitch sent an INVITE request to the routing gateway but did not receive any response within the allowed time period. This is fundamentally a connectivity or reachability issue. According to the VOS3000 Manual Section 4.1.3 (SIP Timer Protocol), the default INVITE timeout is controlled by the SS_SIP_TIMEOUT_INVITE parameter, which defaults to 10 seconds. If no provisional response (100 Trying, 180 Ringing) or final response is received within this period, VOS3000 generates a 408 timeout.

Common causes of SIP 408 in VOS3000:

  • Firewall blocking SIP signaling: iptables or upstream firewall blocking UDP/TCP port 5060 to the gateway
  • Incorrect gateway IP or port: Misconfigured IP address or signaling port in routing gateway settings
  • Network routing issues: No route to the gateway’s network, often caused by incorrect subnet or missing routes
  • Gateway device offline: The physical gateway or SIP server at the far end is down or unreachable
  • NAT traversal problems: SIP signaling being sent to the wrong IP/port due to NAT device interference
  • ISP blocking: Internet service provider blocking VoIP traffic on standard SIP ports
๐Ÿ”ข SIP Code๐Ÿ“› Error Name๐Ÿ” Root Cause Categoryโฑ๏ธ Typical Duration
503Service UnavailableGateway capacity/configurationUntil gateway recovers
408Request TimeoutNetwork connectivity10 seconds (default)
480Temporarily UnavailableEndpoint not registeredVaries
502Bad GatewayUpstream server errorVaries

Diagnosing VOS3000 SIP 503 408 Error from CDR Records

The first step in any VOS3000 SIP 503 408 error fix is to analyze your CDR (Call Detail Records) to identify the exact termination reason. VOS3000 records every call attempt with detailed information including the termination reason, caller and callee information, gateway used, and call duration. This data is your most powerful diagnostic tool. (VOS3000 SIP 503 408 error)

Reading CDR Termination Reasons (VOS3000 SIP 503 408 error)

In VOS3000, navigate to Data Query > CDR Query to examine call records. The “Termination reason” field contains specific codes that tell you exactly why the call failed. For SIP 503 and 408 errors, look for the following termination reasons in your CDR records:

๐Ÿ“‹ CDR Termination Reason๐Ÿ”ข SIP Code๐Ÿ“ Meaning๐Ÿ› ๏ธ Action Required
NoAvailableRouter503No gateway matches prefixAdd gateway prefix or fix dial plan
AllGatewayBusy503All gateways at capacityIncrease capacity or add gateways
GatewayTimeout408No response from gatewayCheck network and firewall
InviteTimeout408INVITE timer expiredVerify gateway is online
AccountBalanceNotEnough503Insufficient vendor balanceRecharge vendor account

Using VOS3000 Call Analysis Tool (VOS3000 SIP 503 408 error)

Beyond basic CDR queries, VOS3000 provides a powerful Call Analysis tool that helps you dig deeper into call failures. Access this through Operation Management > Business Analysis > Call Analysis (VOS3000 Manual Section 2.5.3.3). This tool allows you to filter calls by specific time ranges, gateways, accounts, and termination reasons, making it easy to identify patterns in your SIP 503 and 408 errors.

The Call Analysis tool shows you which gateways are producing the most failures, which destinations are most affected, and whether errors are concentrated during specific time periods. This pattern recognition is crucial for applying the correct VOS3000 SIP 503 408 error fix, because it tells you whether the problem is isolated to a single gateway or affects your entire routing infrastructure. (VOS3000 SIP 503 408 error)

VOS3000 SIP 503 Error Fix: Step-by-Step Solutions

Now that you understand what SIP 503 means and how to identify it, let us walk through the specific fixes for each common cause. Each solution is ordered by how frequently it resolves the issue in production environments. (VOS3000 SIP 503 408 error)

Fix 1: Verify Routing Gateway Prefix Configuration

The most common cause of SIP 503 errors in VOS3000 is a prefix mismatch between the called number and the configured gateway prefixes. In VOS3000 Manual Section 2.5.1.1, the routing gateway configuration specifies that “when the number being called is not registered in the system, the call will be routed only to gateways which match the prefix specified here.” If no gateway matches, you get a 503 error.

Steps to verify and fix prefix configuration:

  1. Navigate to Routing Gateway: Operation Management > Gateway Operation > Routing Gateway
  2. Check gateway prefix field: Ensure the prefix covers the destination numbers being called. Multiple prefixes can be separated by commas
  3. Check prefix mode: “Extension” mode will try shorter prefixes as fallback; “Expiration” mode will not. Use Extension mode for maximum reach (VOS3000 Manual Section 2.5.1.1, Page 28)
  4. Verify gateway is unlocked: The Lock Type must be “No lock”, not “Bar all calls”
  5. Test with Routing Analysis: Right-click the routing gateway and select “Routing Analysis” to see exactly how a specific number would be routed
# Check if the gateway is responding
sipgrep -p 5060 -c 10 DESTINATION_IP

# Test SIP connectivity to the gateway
sipsak -s sip:DESTINATION_IP:5060

# Quick network connectivity test
ping -c 5 GATEWAY_IP
traceroute GATEWAY_IP

Fix 2: Check Gateway Line Limits and Current Capacity

Even when prefixes match, SIP 503 errors occur when all matching gateways have reached their line limits. VOS3000 Manual Section 2.5.1.1 describes the “Line limit” field which specifies the maximum concurrent calls allowed through a gateway. When this limit is reached, the gateway becomes unavailable for new calls, and if no other gateway can handle the call, a 503 error results. (VOS3000 SIP 503 408 error)

To check and resolve capacity issues:

  • View current calls: Right-click the routing gateway and select “Current Call” to see active calls and available capacity
  • Increase line limit: If the gateway hardware supports more calls, increase the Line limit value in the routing gateway configuration
  • Add backup gateways: Configure multiple gateways with the same prefix at different priority levels so calls failover automatically
  • Check gateway group settings: If the gateway belongs to a group, the group’s reserved line settings may be restricting access even when the gateway itself has capacity
๐Ÿ“Š Traffic Level๐Ÿ“ถ Recommended Lines๐Ÿ”„ Backup Gateways๐Ÿ’ฐ Estimated Monthly Cost
Low (50-100 CPS)200-5001 backup$100-$300
Medium (100-500 CPS)500-20002 backup$300-$800
High (500+ CPS)2000+3+ backup$800+

Fix 3: Verify Vendor Account Balance and Status (VOS3000 SIP 503 408 error)

A routing gateway’s clearing account must have sufficient balance for calls to be routed through it. When the clearing account balance drops below the minimum threshold, VOS3000 stops routing calls through that gateway, resulting in SIP 503 errors. This is controlled by the SERVER_VERIFY_CLEARING_CUSTOMER_REMAIN_MONEY_LIMIT system parameter (VOS3000 Manual Section 4.3.5.1, Page 228).

Steps to verify vendor account issues:

  1. Check account balance: Navigate to Account Management, find the routing clearing account, and verify the balance
  2. Check account status: The account must be in “Normal” status, not “Locked”
  3. Verify overdraft settings: If the account uses overdraft, ensure the limit is properly configured
  4. Review payment history: Check Data Query > Payment Record for any unexpected deductions

Fix 4: Review Gateway Switch and Failover Settings

VOS3000 supports automatic gateway switching when a call cannot be established through the primary gateway. The “Switch gateway until connect” setting (VOS3000 Manual Section 2.5.1.1, Page 33) determines whether VOS3000 tries alternative gateways after a failure. If this is set to “Off”, VOS3000 will not attempt failover routing, and the call will fail with a 503 error even if backup gateways are available.

Configuration steps for proper gateway switching:

  • Switch gateway until connect: Set to “On” to ensure VOS3000 tries all available gateways before failing the call
  • Stop switching response code: Configure which SIP response codes should stop the gateway switching process
  • Protect route: Set backup gateways as “protect routes” so they are only used when normal gateways fail
  • Priority ordering: Lower priority numbers are tried first. Arrange gateways with primary routes at higher priority and backup routes at lower priority

For more details on configuring failover routing, see our comprehensive prefix conversion and routing guide.

VOS3000 SIP 408 Error Fix: Step-by-Step Solutions

SIP 408 errors are network connectivity issues at their core. The VOS3000 softswitch sent signaling to the gateway but received no response within the timeout period. Fixing SIP 408 errors requires a systematic approach to identify and resolve the network or configuration problem preventing communication.

Fix 1: Verify Firewall Rules for SIP Signaling (VOS3000 SIP 503 408 error)

Firewall misconfiguration is the single most common cause of SIP 408 errors in VOS3000. If your iptables firewall is blocking SIP signaling traffic on port 5060 (UDP and TCP), or if it is blocking the RTP media port range, calls will timeout with 408 errors. The VOS3000 server needs both SIP signaling and RTP media ports open for successful call setup.

# Check current iptables rules
iptables -L -n -v

# Verify SIP signaling port is allowed
iptables -L INPUT -n | grep 5060

# If SIP port is blocked, add rules:
iptables -I INPUT -p udp --dport 5060 -j ACCEPT
iptables -I INPUT -p tcp --dport 5060 -j ACCEPT

# Verify RTP media port range is allowed
iptables -L INPUT -n | grep 10000

# If RTP ports are blocked, add rules:
iptables -I INPUT -p udp --dport 10000:20000 -j ACCEPT

# Save rules permanently
service iptables save

For comprehensive firewall configuration, refer to our VOS3000 extended firewall guide which covers iptables SIP scanner blocking and security hardening.

Fix 2: Validate Gateway IP and Signaling Port

A simple misconfiguration of the gateway IP address or signaling port will cause every call to that gateway to fail with a 408 timeout. In the VOS3000 routing gateway configuration (Operation Management > Gateway Operation > Routing Gateway > Additional Settings > Normal), verify the following settings as documented in VOS3000 Manual Section 2.5.1.1, Page 32:

โš™๏ธ Setting๐Ÿ“ Correct Valueโš ๏ธ Common Mistake
Gateway typeStatic for trunk gatewaysSetting trunk as Dynamic
IP addressActual gateway IPUsing NAT IP instead of real IP
Signaling port5060 (or custom port)Wrong port number
ProtocolSIP or H323 (match gateway)Protocol mismatch
Local IPAuto or specific NIC IPWrong network interface

Fix 3: Adjust SIP Timer Parameters

In some cases, the default SIP timer values in VOS3000 are too aggressive for certain network conditions. If your gateways are connected through high-latency networks (satellite links, international routes), the default 10-second INVITE timeout may not be sufficient. The SIP timer parameters are documented in VOS3000 Manual Section 4.3.5.2 (Softswitch Parameter), Page 232.

# Key SIP Timer Parameters in VOS3000 Softswitch Settings:
# Navigate to: Operation Management > Softswitch Management >
#              Additional Settings > System Parameter

SS_SIP_TIMEOUT_INVITE = 10        # INVITE timeout (seconds)
                                     # Increase to 15-20 for high-latency routes

SS_SIP_TIMEOUT_RINGING = 120      # Ringing timeout (seconds)
                                     # How long to wait for 180 Ringing

SS_SIP_TIMEOUT_SESSION_PROGRESS = 20  # 183 Session Progress timeout
                                       # Increase if gateway sends 183 slowly

SS_SIP_TIMEOUT_SESSION_PROGRESS_SDP = 120  # 183 with SDP timeout

Be cautious when increasing timer values. While longer timeouts allow more time for gateway responses, they also mean that failed calls take longer to be released, tying up system resources. Only increase these values when you have confirmed that the gateway genuinely needs more time to respond. (VOS3000 SIP 503 408 error)

Fix 4: Resolve NAT Traversal Issues

Network Address Translation (NAT) is a frequent cause of SIP 408 errors in VOS3000 deployments. When VOS3000 or the gateway is behind a NAT device, SIP signaling can be sent to the wrong IP address or port, causing the INVITE to never reach the destination. VOS3000 provides several configuration options to handle NAT scenarios as documented in the protocol settings (VOS3000 Manual Section 2.5.1.1, Pages 42-43).

Key NAT-related settings to check:

  • Reply address: Set to “Socket” (recommended) to send reply signals to the request address. “Via” or “Via port” modes can cause issues with NAT
  • Request address: Set to “Socket” (recommended) to send request signals to the sender address
  • Local IP: Set to “Auto” to let the Linux routing table determine the correct local IP, or specify the exact network interface IP if your server has multiple NICs
  • NAT media SDP IP first: Enable this option when returning RTP to prefer the SDP address of media, which helps with NAT traversal for media streams

Advanced VOS3000 SIP 503 408 Error Diagnostics

When the basic fixes do not resolve your VOS3000 SIP 503 408 error, advanced diagnostic techniques are needed to identify the root cause. These methods go beyond simple configuration checks and involve analyzing network traffic, SIP signaling, and system-level parameters. (VOS3000 SIP 503 408 error)

Using VOS3000 Network Test Tool

VOS3000 includes a built-in Network Test tool that checks connectivity between your server and the gateway. Access this by right-clicking any routing gateway and selecting “Network Test” (VOS3000 Manual Section 2.5.1.1, Page 31). This tool sends test packets to verify that the gateway’s SIP port is reachable and responsive. (VOS3000 SIP 503 408 error)

The Network Test results show you:

  • Network reachability: Whether the gateway IP is reachable from the VOS3000 server
  • Port accessibility: Whether the SIP signaling port is open and responding
  • Round-trip time: The latency between your server and the gateway
  • Packet loss: Any network-level packet loss affecting signaling

Using OPTIONS Online Check for Gateway Monitoring (VOS3000 SIP 503 408 error)

VOS3000 supports automatic gateway health monitoring through SIP OPTIONS messages. When enabled, the softswitch periodically sends SIP OPTIONS requests to routing gateways to verify they are online and reachable. This feature is configured in the routing gateway’s Additional Settings > Protocol > SIP section with the “Options online check” option (VOS3000 Manual Section 2.5.1.1, Page 43).

The OPTIONS check period is controlled by the SS_SIP_OPTIONS_CHECK_PERIOD softswitch parameter. When OPTIONS detection fails, VOS3000 automatically switches to alternative IP ports or marks the gateway as unavailable until the next successful check. This proactive monitoring prevents calls from being routed to dead gateways, reducing 408 errors. (VOS3000 SIP 503 408 error)

๐Ÿ› ๏ธ Diagnostic Tool๐Ÿ“‹ Purpose๐Ÿ“ VOS3000 Location
Call AnalysisAnalyze call failure patternsBusiness Analysis > Call Analysis
Routing AnalysisTest number routing pathRight-click gateway > Routing Analysis
Network TestCheck gateway connectivityRight-click gateway > Network Test
Gateway StatusView online/offline gatewaysOperation Management > Online Status
CDR QueryExamine termination reasonsData Query > CDR Query
Current CallMonitor active callsRight-click gateway > Current Call

Preventing VOS3000 SIP 503 408 Error Issues

Prevention is always better than cure. Implementing the following best practices will significantly reduce the frequency of SIP 503 and 408 errors in your VOS3000 deployment, ensuring more stable operations and higher customer satisfaction. (VOS3000 SIP 503 408 error)

Proactive Gateway Monitoring Setup

Setting up proactive monitoring allows you to detect and address potential issues before they impact your calling traffic. The key monitoring strategies for VOS3000 include enabling the OPTIONS online check on all routing gateways, configuring alarm monitors for each critical gateway, and regularly reviewing gateway status and current call statistics. When VOS3000 detects that a gateway is unresponsive through OPTIONS checks, it automatically routes traffic to alternative gateways, preventing 408 errors from reaching your customers.

Configure alarm monitoring for each routing gateway by right-clicking the gateway and selecting “Alarm Monitor.” This opens a real-time monitoring panel that shows call success rates, average setup times, and failure counts. When failure rates exceed normal thresholds, you receive immediate visibility of the problem rather than discovering it hours later through customer complaints.

Gateway Redundancy Best Practices

Never rely on a single routing gateway for any destination prefix. Always configure at least one backup gateway with a lower priority for each prefix. VOS3000’s gateway switching mechanism will automatically try the backup when the primary fails. For critical destinations, configure three or more gateways with different priority levels. Set backup gateways as “protect routes” so they are only used when normal gateways cannot deliver the call, preserving their capacity for failover situations.

Regular Security Audits

Security attacks, particularly SIP scanning and toll fraud attempts, can overwhelm your VOS3000 server and cause both 503 and 408 errors. Regular security audits should include reviewing your iptables firewall rules, checking for unauthorized SIP registration attempts, and monitoring for unusual call patterns that might indicate fraud. Our security guide provides detailed information about common attack vectors and prevention measures.

๐Ÿ›ก๏ธ Prevention Measureโœ… Implementation๐Ÿ”„ Frequency๐Ÿ“Š Impact
OPTIONS online checkEnable on all routing gatewaysOnce (automatic)Reduces 408 by 60%+
Backup gatewaysConfigure 1-3 per prefixOnce + verify monthlyReduces 503 by 80%+
Firewall reviewAudit iptables rulesMonthlyPrevents security-related errors
CDR analysisReview termination reasonsDailyEarly problem detection
Account balance monitoringSet minimum balance alertsReal-timePrevents billing-related 503
SIP timer optimizationTune for network conditionsAfter network changesReduces false 408 timeouts

Common VOS3000 SIP 503 408 Error Scenarios with Solutions

Real-world VOS3000 deployments encounter specific patterns of SIP 503 and 408 errors. Here are the most common scenarios we have encountered and their proven solutions. (VOS3000 SIP 503 408 error)

Scenario 1: Intermittent 503 During Peak Hours

During peak traffic hours, you notice 503 errors increasing for specific destinations while off-peak hours have no issues. This typically indicates that your gateway line limits are being reached during high-traffic periods. The solution involves analyzing traffic patterns using the Call Analysis tool, increasing line limits on existing gateways where hardware permits, and adding additional routing gateways with the same prefix at different priority levels. You can also configure gateway groups with work calendar schedules to allocate more capacity during known peak periods.

Scenario 2: Persistent 408 After Firewall Changes

After modifying iptables rules or changing your network configuration, all calls start returning 408 errors. This is almost always caused by the firewall now blocking SIP signaling traffic. The fix is straightforward: verify that UDP port 5060 and the RTP port range (typically 10000-20000) are allowed through your iptables configuration. Always test firewall changes during low-traffic periods and have a rollback plan ready.

Scenario 3: 503 on New Destination Prefixes

When adding a new destination prefix to your VOS3000 system, all calls to that prefix return 503 errors. This happens when the routing gateway prefix is either not configured for the new destination or the prefix mode is set to “Expiration” instead of “Extension”. With “Expiration” mode, if the exact prefix match fails, VOS3000 does not try shorter prefixes. Switching to “Extension” mode allows VOS3000 to try progressively shorter prefixes as fallback, increasing the chances of finding a matching route.

Frequently Asked Questions About VOS3000 SIP 503 408 Error

โ“ What is the difference between SIP 503 and SIP 408 errors in VOS3000?

SIP 503 Service Unavailable means the gateway or server is temporarily unable to handle the call, typically due to capacity limits, configuration issues, or account balance problems. SIP 408 Request Timeout means VOS3000 sent an INVITE but received no response within the timer period, indicating a network connectivity or firewall issue. Understanding this distinction is critical because 503 fixes focus on gateway configuration and capacity, while 408 fixes focus on network connectivity and firewall rules.

โ“ How do I check which gateway is causing SIP 503 errors?

Use the VOS3000 Call Analysis tool (Operation Management > Business Analysis > Call Analysis) to filter calls by termination reason “503” or “NoAvailableRouter.” The results show which gateways were attempted and which specific destinations are affected. You can also right-click any routing gateway and select “Routing Gateway Fail Analysis” to see failure statistics specific to that gateway.

โ“ Can increasing SIP timer values fix 408 errors permanently?

Increasing SIP timer values can reduce false 408 timeouts on high-latency routes, but it is not a universal fix. If the gateway is genuinely unreachable due to firewall blocking or incorrect IP configuration, no timer increase will help. Timer adjustments should only be made after confirming that the gateway is reachable and responding, just slowly. For most deployments, the default 10-second INVITE timeout is appropriate.

โ“ Why do I get SIP 503 even though my gateway has available lines?

This can occur when the gateway belongs to a gateway group with reserved line settings that restrict capacity. Even if the individual gateway has available lines, the group’s total concurrency may be limited. Additionally, check if the gateway’s mapping gateway restrictions are preventing your clients from accessing this routing gateway. The “Mapping gateway name” field in the routing gateway configuration can limit which mapping gateways are allowed or forbidden to use the routing gateway.

โ“ How do I configure automatic gateway failover to prevent 503 errors?

Configure multiple routing gateways with the same prefix at different priority levels. Enable “Switch gateway until connect” on each gateway to ensure VOS3000 tries alternative gateways when the primary fails. Set backup gateways as “protect routes” so they are only used when normal gateways cannot deliver the call. This ensures that backup capacity is preserved for genuine failover situations rather than being consumed by normal traffic.

โ“ Can iptables SIP scanner blocking cause 408 errors?

Yes, if your iptables rules are too aggressive in blocking SIP scanners, legitimate gateway traffic may also be blocked. When configuring SIP scanner blocking rules, ensure you whitelist the IP addresses of your known routing gateways before applying broader blocking rules. Always test after implementing new iptables rules to verify that legitimate calls still work. See our firewall guide for safe iptables configurations.

โ“ Where can I get professional help with VOS3000 SIP errors?

Our team specializes in VOS3000 troubleshooting and can quickly diagnose and resolve SIP 503 and 408 errors. Contact us on WhatsApp at +8801911119966 for expert assistance. We offer remote diagnosis, configuration optimization, and ongoing support to keep your VoIP platform running smoothly.

Get Expert Help Fixing Your VOS3000 SIP Errors

Resolving VOS3000 SIP 503 408 error issues quickly is critical for maintaining your VoIP business revenue and customer satisfaction. While this guide covers the most common causes and solutions, complex network environments may require expert diagnosis that goes beyond standard troubleshooting steps. (VOS3000 SIP 503 408 error)

๐Ÿ“ฑ Contact us on WhatsApp: +8801911119966

Our VOS3000 specialists can remotely diagnose your SIP error issues, optimize your gateway configurations, review your firewall rules, and implement proper failover routing to prevent future errors. Whether you need a one-time fix or ongoing support, we provide the expertise your business needs to succeed in the competitive VoIP market.


๐Ÿ“ž Need Professional VOS3000 Setup Support?

For professional VOS3000 installations and deployment, VOS3000 Server Rental Solution:

๐Ÿ“ฑ WhatsApp: +8801911119966
๐ŸŒ Website: www.vos3000.com
๐ŸŒ Blog: multahost.com/blog
๐Ÿ“ฅ Downloads: VOS3000 Downloads


VOS3000 Server Migration, VOS3000 SIP 503 408 error, VOS3000 Time-Based Routing, VOS3000 Echo Delay Fix, VOS3000 iptables SIP Scanner, VOS3000 Vendor Failover, VOS3000 SIP 503/408 errorVOS3000 Server Migration, VOS3000 SIP 503 408 error, VOS3000 Time-Based Routing, VOS3000 Echo Delay Fix, VOS3000 iptables SIP Scanner, VOS3000 Vendor Failover, VOS3000 SIP 503/408 errorVOS3000 Server Migration, VOS3000 SIP 503 408 error, VOS3000 Time-Based Routing, VOS3000 Echo Delay Fix, VOS3000 iptables SIP Scanner, VOS3000 Vendor Failover, VOS3000 SIP 503/408 error