This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SIP connection randomly fails

Hello,

I am having issues with my 9.1 up to date UTM regarding SIP connections.

I have a siemens Gigaset C470 IP phone that I want to connect to 2 different SIP providers.

My ISP doesn't require STUN while the other does.

I opened all the needed ports as per both providers documentation, tried to enable/disable the voip parameters in network security without any change:
The registration sometimes works, sometimes not, may for a while after rebooting, or after waiting a fairly long amount of time. [:S]
It failed yesterday evening, was fine this morning and fell again theis afternoon, for example

I checked the firewall and IPS logs and nothing is showing up there...

Does anyone have a suggestion?

I'm particularly surprised it does not behave the same way each and any time I reboot or unplug/replug the phone

Any help will be appreciated


This thread was automatically locked due to age.
Parents
  • Thanks Bob foy the hint, I tried both configuration ways but still got sometimes the phone register then loose registration after a while, or not registering at all...
    I checked all the logs, and nothing really relevant show up - I just added the STUN protocol to the VOIP service definition, but still get random voip registration.

    I currently have a FW rule allowing from my gigaset to any, for protocols SIP (TCP/UDP, 1:65535 ->5060), H323 (TCP/UDP, 1:65535 -> 1719:1720), rtp (RDP, 1:65535 -> 5004:5020) and STUN (TCP/UDP, 1:65535 -> 3478:3479)
    I also have a DNAT rule:
    from internet IPV4
    Using service SIP
    Going to External WAN address
    Change destination to Siemens Gigaset
    No service
    Automatic firewall rule

    I added the RTP service definition as the gigaset mentions port 5004 -> 5020 as defined for RTP

    I tried with the FW rule enabled + Nat without success, also tried disabling nat and adding the voip settings in network protection with sip network as any, any ipv4, the address of the provider, and sip client as the internal network or the gigaset definition without getting things better.
    Of course I tried with both the firewall rule enabled or disabled without any change.

    I have to say it tends to not register in my last attempts, but since I tried the exact same config several times unplugging and plugging back the phone RJ-45 cable and getting different results, I am a bit lost...

    For example, it registered straight away with FW rule + DNAT, then failed while on the phone about an hour after with a registration failure message.

    Does anyone have any suggestion?

    Oh, and just to get this out of the issue list, the phone is working fine for years, and I never had any issue when it was plugged to my tomato firmware router natting to my internal forefront, but since I decided to hook my sophos UTM straight to the fibre channel box and have SIP groing through it, it is unstable.

    Thanks in advance for any advice,
    Félix
Reply
  • Thanks Bob foy the hint, I tried both configuration ways but still got sometimes the phone register then loose registration after a while, or not registering at all...
    I checked all the logs, and nothing really relevant show up - I just added the STUN protocol to the VOIP service definition, but still get random voip registration.

    I currently have a FW rule allowing from my gigaset to any, for protocols SIP (TCP/UDP, 1:65535 ->5060), H323 (TCP/UDP, 1:65535 -> 1719:1720), rtp (RDP, 1:65535 -> 5004:5020) and STUN (TCP/UDP, 1:65535 -> 3478:3479)
    I also have a DNAT rule:
    from internet IPV4
    Using service SIP
    Going to External WAN address
    Change destination to Siemens Gigaset
    No service
    Automatic firewall rule

    I added the RTP service definition as the gigaset mentions port 5004 -> 5020 as defined for RTP

    I tried with the FW rule enabled + Nat without success, also tried disabling nat and adding the voip settings in network protection with sip network as any, any ipv4, the address of the provider, and sip client as the internal network or the gigaset definition without getting things better.
    Of course I tried with both the firewall rule enabled or disabled without any change.

    I have to say it tends to not register in my last attempts, but since I tried the exact same config several times unplugging and plugging back the phone RJ-45 cable and getting different results, I am a bit lost...

    For example, it registered straight away with FW rule + DNAT, then failed while on the phone about an hour after with a registration failure message.

    Does anyone have any suggestion?

    Oh, and just to get this out of the issue list, the phone is working fine for years, and I never had any issue when it was plugged to my tomato firmware router natting to my internal forefront, but since I decided to hook my sophos UTM straight to the fibre channel box and have SIP groing through it, it is unstable.

    Thanks in advance for any advice,
    Félix
Children
No Data