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
1158 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
4245 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
8913 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
4245 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
2555 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
8913 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). Note that to use Quic Broadband you must be comfortable with configuring your own router.
MadEngineer
4245 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
4009 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 »

Amazfit Expands Active 2 Lineup with the New Active 2 Square
Posted 23-Jun-2025 14:49


Logitech G522 Gaming Headset Review
Posted 18-Jun-2025 17:00


Māori Artists Launch Design Collection with Cricut ahead of Matariki Day
Posted 15-Jun-2025 11:19


LG Launches Upgraded webOS Hub With Advanced AI
Posted 15-Jun-2025 11:13


One NZ Satellite IoT goes live for customers
Posted 15-Jun-2025 11:10


Bolt Launches in New Zealand
Posted 11-Jun-2025 00:00


Suunto Run Review
Posted 10-Jun-2025 10:44


Freeview Satellite TV Brings HD Viewing to More New Zealanders
Posted 5-Jun-2025 11:50


HP OmniBook Ultra Flip 14-inch Review
Posted 3-Jun-2025 14:40


Flip Phones Are Back as HMD Reimagines an Iconic Style
Posted 30-May-2025 17:06


Hundreds of School Students Receive Laptops Through Spark Partnership With Quadrent's Green Lease
Posted 30-May-2025 16:57


AI Report Reveals Trust Is Key to Unlocking Its Potential in Aotearoa
Posted 30-May-2025 16:55


Galaxy Tab S10 FE Series Brings Intelligent Experiences to the Forefront with Premium, Versatile Design
Posted 30-May-2025 16:14


New OPPO Watch X2 Launches in New Zealand
Posted 29-May-2025 16:08


Synology Premiers a New Lineup of Advanced Data Management Solutions
Posted 29-May-2025 16:04









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.