Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


bapujidaladla

1 post

Wannabe Geek


#310659 10-Nov-2023 11:32
Send private message

Hi Team, 
We have clients with 2 different Internet connections running through MikroTik routers. What we have noticed is happening for these clients, that the phones will start dropping out the connections for phones on UDP protocol. Session timeout even is setup for 3600 in the phone will only be staying under 10. We feel something is forcing the connection to only have a session timeout of 10 seconds or below and then will drop the connection. Problem will be resolved if we change the protocol to TCP, but we want to stick to UDP for VoIP for better communications. Can you please suggest any troubleshooting for this issue?


Create new topic
darylblake
1162 posts

Uber Geek

Trusted

  #3158001 10-Nov-2023 12:51
Send private message

Most likely they are on fibre, and the SBC would be somewhat very close to (a few ms away) so I don't suspect its a packet loss issue.

Have you tried using other phones? Different models... I suspect that is the common denominator here? I suspect an issue with the handset itself?




MadEngineer
4306 posts

Uber Geek

Trusted

  #3158006 10-Nov-2023 13:11
Send private message

Have you got the helper enabled? Do your VoIP devices require it?





You're not on Atlantis anymore, Duncan Idaho.

speed
293 posts

Ultimate Geek


  #3158063 10-Nov-2023 14:44
Send private message

Enable 'SIP options' keep-alives in the PBX configuration and set the interval to less than 10 seconds.

 

To be honest though, if your firewall's NAT timeouts are so aggressive that your ports are only open for 10 seconds post last-data then you might as well just move to TCP. You shouldn't see any real-world degradation of quality using TCP as long as the latency between your PBX and phones isn't too great and you're not being affected by constant unreasonable (eg >1%) packet loss.




RunningMan
8965 posts

Uber Geek


  #3158069 10-Nov-2023 15:03
Send private message

In the Mikrotik

 

IP/Firewall/Service Ports and enable the sip helper. Default is 1 hour.


MadEngineer
4306 posts

Uber Geek

Trusted

  #3158130 10-Nov-2023 21:55
Send private message

Don't blindly go enabling or disabling it however.  You need to check if the devices your using require it, many require it turned off.





You're not on Atlantis anymore, Duncan Idaho.

muppet
2572 posts

Uber Geek

Trusted

  #3158224 11-Nov-2023 10:40
Send private message

Just change to TCP, that'll just be signalling (SIP)

The actual voice traffic will still be RTP, which is UDP.




RunningMan
8965 posts

Uber Geek


  #3158230 11-Nov-2023 10:54
Send private message

MadEngineer:

 

Don't blindly go enabling or disabling it however.  You need to check if the devices your using require it, many require it turned off.

 

 

From memory the default is enabled, but the time may need to be tweaked.


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
MadEngineer
4306 posts

Uber Geek

Trusted

  #3158434 11-Nov-2023 22:40
Send private message

Is it running on port 5060 or 5061?





You're not on Atlantis anymore, Duncan Idaho.

raytaylor
4017 posts

Uber Geek

Trusted

  #3158454 12-Nov-2023 09:17
Send private message

If you change your sip transport to TCP that will help with registration, but the audio is still a separate UDP stream.      

 

Things to consider

 

  • How does your router perform the load balancing?    
  • Sip registration should be every 5 minutes however something to note is that if your randomly registering via a different upstream each time it would cause problems
  • I would suggest setting rules that send voip out one upstream and have that switch to another only as a failover rather than load balancing
  • That could be achieved with a static /32 route with monitoring enabled 
  • Assign RTP audio ports for each voip phone within the local network and set up the appropriate UDP port forward rules in the router.  
    You dont need to do sip rules for each phone if you are using TCP for sip transport     




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here


Create new topic





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.