Freeswitch don't send keepalive
Hello I'm a asterisk user, and i would like to try freeswitch for having a real multi tenant system. I configured FS with fusionpbx. My FS is installed on a VPS ( has a public IP ), my extensions are behind a nat router. After few minutes my phone became unreachable for inbound call. After a outbound call, the phone is again reachable for few minutes. I captured the traffic on server side with tcpdump, unlike my asterisk server, freeswitch never send to the phone a keepalive packet ( SIP OPTIONS ) I added theses options in sip_profiles/internal.xml <param name="aggressive-nat-detection" value="true"/> <param name="enable-timer" value="false"/> <param name="NDLB-received-in-nat-reg-contact" value="true"/> <param name="NDLB-force-rport" value="true"/> <param name="NDLB-broken-auth-hash" value="true"/> <param name="sip-force-expires" value="240"/> <param name="all-reg-options-ping" value="true"/> <param name="registration-thread-frequency" value="30"/> <param name="unregister-on-options-fail" value="true"/> <param name="nat-options-ping" value="true"/> Please note the strange expiry delay. After being powered off, the phone stays registered. freeswitch@internal> sofia status profile internal reg Registrations: ================================================================================================= Call-ID: 24ef-c0a80101-5-1@192.168.0.10 User: 7082@mydomain Contact: "" <sip:7082@192.168.0.10:5090;transport=udp;user=phone;fs_nat=yes;fs_path=sip%3A7082%4086.201.x.x%3A5090%3Btransport%3Dudp%3Buser%3Dphone> Agent: THOMSON ST2030 hw5 fw2.76 00-14-7F-00-4C-1A Status: Registered(UDP-NAT)(unknown) EXP(1907-10-11 18:28:34) EXPSECS(909113102) Ping-Status: Reachable Host: vpsxxxxxx.ovh.net IP: 86.201.x.x Port: 5090 Auth-User: 7082 Auth-Realm: mydomain MWI-Account: 7082@mydomain Any idea ? Best regards
Hello, after a reboot my phones are registering properly, the " sofia status profile internal reg " command display a correct expiry time and freeswitch send "SIP options" every 30 secs. But why did i need to reboot ? NB: Before rebooting, I did not try to restart the freeswitch service only, i only used reloadxml Regards On -10/01/-28163 20:59, Tanguy wrote:
Hello
I'm a asterisk user, and i would like to try freeswitch for having a real multi tenant system. I configured FS with fusionpbx. My FS is installed on a VPS ( has a public IP ), my extensions are behind a nat router.
After few minutes my phone became unreachable for inbound call. After a outbound call, the phone is again reachable for few minutes.
I captured the traffic on server side with tcpdump, unlike my asterisk server, freeswitch never send to the phone a keepalive packet ( SIP OPTIONS )
I added theses options in sip_profiles/internal.xml
<param name="aggressive-nat-detection" value="true"/> <param name="enable-timer" value="false"/> <param name="NDLB-received-in-nat-reg-contact" value="true"/> <param name="NDLB-force-rport" value="true"/> <param name="NDLB-broken-auth-hash" value="true"/> <param name="sip-force-expires" value="240"/> <param name="all-reg-options-ping" value="true"/> <param name="registration-thread-frequency" value="30"/> <param name="unregister-on-options-fail" value="true"/> <param name="nat-options-ping" value="true"/>
Please note the strange expiry delay. After being powered off, the phone stays registered.
freeswitch@internal> sofia status profile internal reg
Registrations: =================================================================================================
Call-ID: 24ef-c0a80101-5-1@192.168.0.10 User: 7082@mydomain Contact: "" <sip:7082@192.168.0.10:5090;transport=udp;user=phone;fs_nat=yes;fs_path=sip%3A7082%4086.201.x.x%3A5090%3Btransport%3Dudp%3Buser%3Dphone> Agent: THOMSON ST2030 hw5 fw2.76 00-14-7F-00-4C-1A Status: Registered(UDP-NAT)(unknown) EXP(1907-10-11 18:28:34) EXPSECS(909113102) Ping-Status: Reachable Host: vpsxxxxxx.ovh.net IP: 86.201.x.x Port: 5090 Auth-User: 7082 Auth-Realm: mydomain MWI-Account: 7082@mydomain
Any idea ?
Best regards
Might be a bug in the phone's firmware. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tanguy Sent: Monday, January 26, 2015 3:55 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Freeswitch don't send keepalive Hello, after a reboot my phones are registering properly, the " sofia status profile internal reg " command display a correct expiry time and freeswitch send "SIP options" every 30 secs. But why did i need to reboot ? NB: Before rebooting, I did not try to restart the freeswitch service only, i only used reloadxml Regards On -10/01/-28163 20:59, Tanguy wrote:
Hello
I'm a asterisk user, and i would like to try freeswitch for having a real multi tenant system. I configured FS with fusionpbx. My FS is installed on a VPS ( has a public IP ), my extensions are behind a nat router.
After few minutes my phone became unreachable for inbound call. After a outbound call, the phone is again reachable for few minutes.
I captured the traffic on server side with tcpdump, unlike my asterisk server, freeswitch never send to the phone a keepalive packet ( SIP OPTIONS )
I added theses options in sip_profiles/internal.xml
<param name="aggressive-nat-detection" value="true"/> <param name="enable-timer" value="false"/> <param name="NDLB-received-in-nat-reg-contact" value="true"/> <param name="NDLB-force-rport" value="true"/> <param name="NDLB-broken-auth-hash" value="true"/> <param name="sip-force-expires" value="240"/> <param name="all-reg-options-ping" value="true"/> <param name="registration-thread-frequency" value="30"/> <param name="unregister-on-options-fail" value="true"/> <param name="nat-options-ping" value="true"/>
Please note the strange expiry delay. After being powered off, the phone stays registered.
freeswitch@internal> sofia status profile internal reg
Registrations: ====================================================================== ===========================
Call-ID: 24ef-c0a80101-5-1@192.168.0.10 User: 7082@mydomain Contact: "" <sip:7082@192.168.0.10:5090;transport=udp;user=phone;fs_nat=yes;fs_path=sip%3A7082%4086.201.x.x%3A5090%3Btransport%3Dudp%3Buser%3Dphone> Agent: THOMSON ST2030 hw5 fw2.76 00-14-7F-00-4C-1A Status: Registered(UDP-NAT)(unknown) EXP(1907-10-11 18:28:34) EXPSECS(909113102) Ping-Status: Reachable Host: vpsxxxxxx.ovh.net IP: 86.201.x.x Port: 5090 Auth-User: 7082 Auth-Realm: mydomain MWI-Account: 7082@mydomain
Any idea ?
Best regards
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello Sorry, my message was not realy clear. Rebooting the phone was useless, i have rebooted the server himself. Regards Quoting Moishe Grunstein <max@nysolutions.com>:
Might be a bug in the phone's firmware.
Thanks,
Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice
------------------------------------------------- VFEmail.net - http://www.vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
participants (3)
-
Moishe Grunstein
-
tanguy
-
Tanguy