Hi friendds, the FS running for serval days, today when i checked the "sofia status", there is no any sip profile existed... then i checked the log as below (sip profile attached), there is errors when creating the sip profiles, and FS detected IP changed to 0.0.0.0 before that, it is very strange... appreciated if anyone provide any hints, thanks. Regards, Charles 2011-04-29 08:16:06.484375 [INFO] mod_sofia.c:4437 EVENT_TRAP: IP change detected 2011-04-29 08:16:06.484375 [INFO] mod_sofia.c:4438 IP change detected [172.28.172.128]->[0.0.0.0] []->[] 2011-04-29 08:16:06.671875 [DEBUG] sofia.c:1614 Write lock internalk 2011-04-29 08:16:06.671875 [NOTICE] sofia.c:1621 Waiting for worker thread 2011-04-29 08:16:06.671875 [DEBUG] sofia.c:1678 Write unlock internal 2011-04-29 08:16:06.906250 [DEBUG] sofia.c:1614 Write lock external 2011-04-29 08:16:06.906250 [NOTICE] sofia.c:1621 Waiting for worker thread 2011-04-29 08:16:06.937500 [DEBUG] sofia.c:1614 Write lock internal_6060 2011-04-29 08:16:06.937500 [NOTICE] sofia.c:1621 Waiting for worker thread 2011-04-29 08:16:06.937500 [DEBUG] sofia.c:1678 Write unlock internal_6060 2011-04-29 08:16:07.140625 [DEBUG] sofia.c:1678 Write unlock external 2011-04-29 08:16:07.203125 [NOTICE] sofia_glue.c:4828 Reload XML [Success] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 debug [0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 debug [0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 debug [0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-trace [no] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-trace [no] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-trace [no] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 watchdog-enabled [no] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 watchdog-enabled [no] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 watchdog-step-timeout [30000] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rfc2833-pt [101] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 watchdog-step-timeout [30000] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 watchdog-event-timeout [30000] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-port [5080] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 watchdog-event-timeout [30000] 2011-04-29 08:16:07.203125 [INFO] mod_pocketsphinx.c:482 PocketSphinx Reloaded 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 log-auth-failures [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dialplan [XML] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 log-auth-failures [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 forward-unsolicited-mwi-notify [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 context [public] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 forward-unsolicited-mwi-notify [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 context [default] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dtmf-duration [2000] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 context [default] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rfc2833-pt [101] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-codec-prefs [G722,PCMU,PCMA,GSM] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rfc2833-pt [101] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-port [6060] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 outbound-codec-prefs [G722,PCMU,PCMA,GSM] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-port [6010] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dialplan [XML] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 hold-music [local_stream://moh] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dialplan [XML] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dialplan [XML] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dtmf-duration [2000] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-timer-name [soft] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 dtmf-duration [2000] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-codec-prefs [G722,PCMU,PCMA,GSM] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 local-network-acl [localnet.auto] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-codec-prefs [G722,PCMU,PCMA,GSM] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 outbound-codec-prefs [G722,PCMU,PCMA,GSM] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 manage-presence [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 outbound-codec-prefs [G722,PCMU,PCMA,GSM] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-timer-name [soft] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-codec-negotiation [generous] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-ip [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-timer-name [soft] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 nonce-ttl [60] 2011-04-29 08:16:07.203125 [WARNING] sofia.c:3260 Invalid IP 0.0.0.0 replaced with 172.28.172.128 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-ip [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-ip [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 auth-calls [false] 2011-04-29 08:16:07.203125 [WARNING] sofia.c:3260 Invalid IP 0.0.0.0 replaced with 172.28.172.128 2011-04-29 08:16:07.203125 [WARNING] sofia.c:3273 Invalid IP 0.0.0.0 replaced with 172.28.172.128 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-ip [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-ip [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 hold-music [local_stream://moh] 2011-04-29 08:16:07.203125 [WARNING] sofia.c:3260 Invalid IP 0.0.0.0 replaced with 172.28.172.128 2011-04-29 08:16:07.203125 [WARNING] sofia.c:3273 Invalid IP 0.0.0.0 replaced with 172.28.172.128 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 apply-nat-acl [nat.auto] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 sip-ip [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 hold-music [local_stream://moh] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 apply-inbound-acl [ 192.168.200.0/24] 2011-04-29 08:16:07.203125 [WARNING] sofia.c:3273 Invalid IP 0.0.0.0 replaced with 172.28.172.128 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 apply-nat-acl [nat.auto] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 local-network-acl [localnet.auto] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 ext-rtp-ip [60.216.3.72] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 apply-inbound-acl [ 172.28.0.0/16] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 record-path [c:\vswitch\recordings] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 local-network-acl [localnet.auto] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 ext-sip-ip [60.216.3.72] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 record-template [${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 record-path [c:\vswitch\recordings] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-timeout-sec [300] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 manage-presence [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 record-template [${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-hold-timeout-sec [1800] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-codec-negotiation [generous] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 manage-presence [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-codec-negotiation [generous] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-bind-params [transport=tls] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-bind-params [transport=tls] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-sip-port [5081] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-sip-port [5061] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-bind-params [transport=tls] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-cert-dir [c:\vswitch/conf/ssl] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-cert-dir [c:\vswitch/conf/ssl] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-sip-port [5061] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-version [tlsv1] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-version [tlsv1] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-cert-dir [c:\vswitch/conf/ssl] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-bypass-media [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 tls-version [tlsv1] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-proxy-media [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-bypass-media [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 nonce-ttl [60] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-proxy-media [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 NDLB-received-in-nat-reg-contact [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 nonce-ttl [60] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 auth-calls [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 NDLB-received-in-nat-reg-contact [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-reg-force-matching-username [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 auth-calls [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 auth-all-packets [false] 2011-04-29 08:16:07.203125 [ERR] sofia.c:2051 ERROR: username param is REQUIRED! 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 inbound-reg-force-matching-username [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 ext-rtp-ip [60.216.3.72] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 auth-all-packets [false] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 ext-sip-ip [60.216.3.72] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 ext-rtp-ip [auto-nat] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-timeout-sec [300] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 ext-sip-ip [auto-nat] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-hold-timeout-sec [1800] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-timeout-sec [300] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 force-register-domain [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 rtp-hold-timeout-sec [1800] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 force-subscription-domain [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 force-register-domain [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 force-register-db-domain [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 force-subscription-domain [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 NDLB-force-rport [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 force-register-db-domain [0.0.0.0] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 challenge-realm [auto_from] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 NDLB-force-rport [true] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:3012 challenge-realm [auto_from] 2011-04-29 08:16:07.203125 [NOTICE] sofia.c:3883 Started Profile external [sofia_reg_external] 2011-04-29 08:16:07.203125 [NOTICE] sofia.c:2219 Adding Alias [0.0.0.0] for profile [internal_6060] 2011-04-29 08:16:07.203125 [WARNING] sofia.c:2221 Alias [0.0.0.0] for profile [internal] (already exists) 2011-04-29 08:16:07.203125 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:1430 Creating agent for external 2011-04-29 08:16:07.203125 [NOTICE] sofia.c:3883 Started Profile internal_6060 [sofia_reg_internal_6060] 2011-04-29 08:16:07.203125 [NOTICE] sofia.c:3883 Started Profile internal [sofia_reg_internal] 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:1430 Creating agent for internal_6060 2011-04-29 08:16:07.203125 [DEBUG] sofia.c:1430 Creating agent for internal 2011-04-29 08:16:07.265625 [ERR] sofia.c:1492 Error Creating SIP UA for profile: external 2011-04-29 08:16:07.265625 [ERR] sofia.c:1492 Error Creating SIP UA for profile: internal_6060 2011-04-29 08:16:07.265625 [ERR] sofia.c:1492 Error Creating SIP UA for profile: internal 2011-04-29 08:17:06.484375 [INFO] mod_sofia.c:4437 EVENT_TRAP: IP change detected 2011-04-29 08:17:06.484375 [INFO] mod_sofia.c:4438 IP change detected [0.0.0.0]->[172.28.172.128] []->[] 2011-04-29 08:17:07.187500 [NOTICE] sofia_glue.c:4828 Reload XML [Success] 2011-04-29 08:17:07.187500 [INFO] mod_pocketsphinx.c:482 PocketSphinx Reloaded 2011-04-29 08:17:07.187500 [INFO] switch_time.c:950 Timezone reloaded 530 definitions
If your box is configured with a static IP do this. conf/autoload_configs/sofia.conf.xml -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-SIP-profiles-crashed-tp6315... Sent from the freeswitch-users mailing list archive at Nabble.com.
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP _address From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Friday, 29 April, 2011 19:35 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FS - SIP profiles crashed On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote: If your box is configured with a static IP do this. conf/autoload_configs/sofia.conf.xml -- Jeff, was there more to this message? -MC
Thanks all for information, it definitely help a lot. i will try... meanwhile, i found this link http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html it looks not so special resolve this issue... i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed? Thanks! Regards, Charles 2011/4/30 Grmt <garmt.noname@gmail.com>
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP...
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Friday, 29 April, 2011 19:35 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FS - SIP profiles crashed
On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
If your box is configured with a static IP do this.
conf/autoload_configs/sofia.conf.xml --
Jeff, was there more to this message?
-MC
_______________________________________________ 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
really want to know what caused that the IP address changed to '0.0.0.0', very odd... i tried even unplug and plugin the network cable, it will not change the IP...let alone 0.0.0.0... 2011/4/30 fieldpeak <fieldpeak@gmail.com>
Thanks all for information, it definitely help a lot. i will try...
meanwhile, i found this link http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html
it looks not so special resolve this issue...
i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed?
Thanks!
Regards, Charles
2011/4/30 Grmt <garmt.noname@gmail.com>
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP...
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Friday, 29 April, 2011 19:35 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FS - SIP profiles crashed
On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
If your box is configured with a static IP do this.
conf/autoload_configs/sofia.conf.xml --
Jeff, was there more to this message?
-MC
_______________________________________________ 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
oh, looks i found the root cause, after i unplug the network cable and wait around 20 seconds, FS show ' IP address changed to '0.0.0.0', then try to load profiles, however, due to wrong IP address, load failure. and then i re-plugin the cable, FS detected the IP change back, and reloadxml, however, did not restart the profiles, so caused profiles crashed... attached is the log for throughout the procedure... the resolution is set in the sofia.conf.xml file: <param name="auto-restart" value="false"/> welcome to any comment, thanks. Regards, Charles 2011/4/30 fieldpeak <fieldpeak@gmail.com>
really want to know what caused that the IP address changed to '0.0.0.0', very odd... i tried even unplug and plugin the network cable, it will not change the IP...let alone 0.0.0.0...
2011/4/30 fieldpeak <fieldpeak@gmail.com>
Thanks all for information, it definitely help a lot. i will try...
meanwhile, i found this link http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html
it looks not so special resolve this issue...
i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed?
Thanks!
Regards, Charles
2011/4/30 Grmt <garmt.noname@gmail.com>
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP...
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Friday, 29 April, 2011 19:35 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FS - SIP profiles crashed
On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
If your box is configured with a static IP do this.
conf/autoload_configs/sofia.conf.xml --
Jeff, was there more to this message?
-MC
_______________________________________________ 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
it looks the same issue as http://jira.freeswitch.org/browse/FS-933?page=com.atlassian.jira.plugin.syst... however, where to add the new parameter: PFLAG_SKIP_RESTART ? 2011/4/30 fieldpeak <fieldpeak@gmail.com>
oh, looks i found the root cause,
after i unplug the network cable and wait around 20 seconds, FS show ' IP address changed to '0.0.0.0', then try to load profiles, however, due to wrong IP address, load failure. and then i re-plugin the cable, FS detected the IP change back, and reloadxml, however, did not restart the profiles, so caused profiles crashed... attached is the log for throughout the procedure...
the resolution is set
in the sofia.conf.xml file:
<param name="auto-restart" value="false"/>
welcome to any comment,
thanks.
Regards, Charles
2011/4/30 fieldpeak <fieldpeak@gmail.com>
really want to know what caused that the IP address changed to '0.0.0.0', very odd... i tried even unplug and plugin the network cable, it will not change the IP...let alone 0.0.0.0...
2011/4/30 fieldpeak <fieldpeak@gmail.com>
Thanks all for information, it definitely help a lot. i will try...
meanwhile, i found this link http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html
it looks not so special resolve this issue...
i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed?
Thanks!
Regards, Charles
2011/4/30 Grmt <garmt.noname@gmail.com>
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP...
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Friday, 29 April, 2011 19:35 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FS - SIP profiles crashed
On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
If your box is configured with a static IP do this.
conf/autoload_configs/sofia.conf.xml --
Jeff, was there more to this message?
-MC
_______________________________________________ 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
sorry, my misunderstanding, it looks this issue fixed by FS-933 on 21/Apr/10, however, my GIT is April 4, 2001, it still exist... strange... 2011/4/30 fieldpeak <fieldpeak@gmail.com>
it looks the same issue as http://jira.freeswitch.org/browse/FS-933?page=com.atlassian.jira.plugin.syst...
however, where to add the new parameter: PFLAG_SKIP_RESTART
?
2011/4/30 fieldpeak <fieldpeak@gmail.com>
oh, looks i found the root cause,
after i unplug the network cable and wait around 20 seconds, FS show ' IP address changed to '0.0.0.0', then try to load profiles, however, due to wrong IP address, load failure. and then i re-plugin the cable, FS detected the IP change back, and reloadxml, however, did not restart the profiles, so caused profiles crashed... attached is the log for throughout the procedure...
the resolution is set
in the sofia.conf.xml file:
<param name="auto-restart" value="false"/>
welcome to any comment,
thanks.
Regards, Charles
2011/4/30 fieldpeak <fieldpeak@gmail.com>
really want to know what caused that the IP address changed to '0.0.0.0', very odd... i tried even unplug and plugin the network cable, it will not change the IP...let alone 0.0.0.0...
2011/4/30 fieldpeak <fieldpeak@gmail.com>
Thanks all for information, it definitely help a lot. i will try...
meanwhile, i found this link http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html
it looks not so special resolve this issue...
i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed?
Thanks!
Regards, Charles
2011/4/30 Grmt <garmt.noname@gmail.com>
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP...
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Friday, 29 April, 2011 19:35 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FS - SIP profiles crashed
On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
If your box is configured with a static IP do this.
conf/autoload_configs/sofia.conf.xml --
Jeff, was there more to this message?
-MC
_______________________________________________ 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
I assume you mean GIT april 4th, 2011 ? I'm almost certain that I also experienced this problem after apr 21st, 2010. And indeed you have to restart/scan sofia sip profiles. I suspect it is related to - Having a multihomed system (multiple network cards, i.e. wifi + fixed Ethernet + virtual adaptors) o Possibly related to running virtual machines (with virtual adaptors) on the same host (e.g. any vmware installation) - Using ipv4 and ipv6 simultaneously On the other hand, I have not seen this problem recently. I changed my vmware player network card installation and also disabled ipv6 and updated the firmware of my router, while still using DHCP (and NAT). Changes to the FS source code in the mean time may also have fixed the issue. As this problem occurred on my dev system, I did not bother going to the bottom of it . In a production system I would recommend using a fixed IP address and the settings as noted in the wiki. Garmt From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of fieldpeak Sent: Saturday, 30 April, 2011 07:39 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FS - SIP profiles crashed sorry, my misunderstanding, it looks this issue fixed by FS-933 on 21/Apr/10, however, my GIT is April 4, 2001, it still exist... strange... 2011/4/30 fieldpeak <fieldpeak@gmail.com> it looks the same issue as http://jira.freeswitch.org/browse/FS-933?page=com.atlassian.jira.plugin.syst em.issuetabpanels%3Aall-tabpanel however, where to add the new parameter: PFLAG_SKIP_RESTART ? 2011/4/30 fieldpeak <fieldpeak@gmail.com> oh, looks i found the root cause, after i unplug the network cable and wait around 20 seconds, FS show ' IP address changed to '0.0.0.0', then try to load profiles, however, due to wrong IP address, load failure. and then i re-plugin the cable, FS detected the IP change back, and reloadxml, however, did not restart the profiles, so caused profiles crashed... attached is the log for throughout the procedure... the resolution is set in the sofia.conf.xml file: <param name="auto-restart" value="false"/> welcome to any comment, thanks. Regards, Charles 2011/4/30 fieldpeak <fieldpeak@gmail.com> really want to know what caused that the IP address changed to '0.0.0.0', very odd... i tried even unplug and plugin the network cable, it will not change the IP...let alone 0.0.0.0... 2011/4/30 fieldpeak <fieldpeak@gmail.com> Thanks all for information, it definitely help a lot. i will try... meanwhile, i found this link http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html it looks not so special resolve this issue... i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed? Thanks! Regards, Charles 2011/4/30 Grmt <garmt.noname@gmail.com> http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP _address From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Friday, 29 April, 2011 19:35 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FS - SIP profiles crashed On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote: If your box is configured with a static IP do this. conf/autoload_configs/sofia.conf.xml -- Jeff, was there more to this message? -MC _______________________________________________ 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
hi garmt, agree with you, in a production system... thanks. Regards, Charles 在 2011-5-1 上午2:23,"Grmt" <garmt.noname@gmail.com>写道:
I assume you mean GIT april 4th, 2011 ? I'm almost certain that I also experienced this problem after apr 21st, 2010.
And indeed you have to restart/scan sofia sip profiles.
I suspect it is related to
- Having a multihomed system (multiple network cards, i.e. wifi + fixed Ethernet + virtual adaptors)
o Possibly related to running virtual machines (with virtual adaptors) on the same host (e.g. any vmware installation)
- Using ipv4 and ipv6 simultaneously
On the other hand, I have not seen this problem recently. I changed my vmware player network card installation and also disabled ipv6 and updated the firmware of my router, while still using DHCP (and NAT). Changes to the FS source code in the mean time may also have fixed the issue. As this problem occurred on my dev system, I did not bother going to the bottom of it . In a production system I would recommend using a fixed IP address and the settings as noted in the wiki.
Garmt
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of fieldpeak Sent: Saturday, 30 April, 2011 07:39 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FS - SIP profiles crashed
sorry, my misunderstanding, it looks this issue fixed by FS-933 on 21/Apr/10, however, my GIT is April 4, 2001, it still exist... strange...
2011/4/30 fieldpeak <fieldpeak@gmail.com>
it looks the same issue as
http://jira.freeswitch.org/browse/FS-933?page=com.atlassian.jira.plugin.syst
em.issuetabpanels%3Aall-tabpanel
however, where to add the new parameter: PFLAG_SKIP_RESTART
?
2011/4/30 fieldpeak <fieldpeak@gmail.com>
oh, looks i found the root cause,
after i unplug the network cable and wait around 20 seconds, FS show ' IP address changed to '0.0.0.0', then try to load profiles, however, due to wrong IP address, load failure. and then i re-plugin the cable, FS detected the IP change back, and reloadxml, however, did not restart the profiles, so caused profiles crashed... attached is the log for throughout the procedure...
the resolution is set
in the sofia.conf.xml file:
<param name="auto-restart" value="false"/>
welcome to any comment,
thanks.
Regards, Charles
2011/4/30 fieldpeak <fieldpeak@gmail.com>
really want to know what caused that the IP address changed to '0.0.0.0', very odd... i tried even unplug and plugin the network cable, it will not change the IP...let alone 0.0.0.0...
2011/4/30 fieldpeak <fieldpeak@gmail.com>
Thanks all for information, it definitely help a lot. i will try...
meanwhile, i found this link
http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003086.html
it looks not so special resolve this issue...
i would like to know what is use for "bind_server_ip=auto" and where and when FS get the value of $${local_ip_v4}? and if it will changed when physical IP changed?
Thanks!
Regards, Charles
2011/4/30 Grmt <garmt.noname@gmail.com>
http://wiki.freeswitch.org/wiki/Sofia#Forcing_SIP_profile_to_use_a_static_IP
_address
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Friday, 29 April, 2011 19:35 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FS - SIP profiles crashed
On Fri, Apr 29, 2011 at 8:22 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
If your box is configured with a static IP do this.
conf/autoload_configs/sofia.conf.xml --
Jeff, was there more to this message?
-MC
_______________________________________________ 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
Hi Michael, No idea what happened there but yes there was. But garmts response has the same content. Jeff-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-SIP-profiles-crashed-tp6315... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
fieldpeak
-
Grmt
-
Jeff Lenk
-
Michael Collins