[Freeswitch-dev] strange module loading problem
Hi, I hope i have directed this question to the correct list! I have recently been upgrading a test platform to centos 6.2 (64bit) and upgrading freeswitch in the process. I use a custom module and have noticed since the upgrade that it frequently fails to load and throws this error: 2012-01-10 15:42:48.681677 [ERR] switch_xml_config.c:159 Required parameter [�a��ff.�] is missing I can restart freeswitch (via the init script) and most of the time it will then load correctly. I am fairly sure there is nothing retarded happening in the module - it's been in use for some months with no changes and I have never seen this before. The config file contents are sane which is corroborated by the fact that it sometimes works. My freeswitch is built from a recent git: FreeSWITCH Version 1.0.head (git-5b7e201 2012-01-09 17-17-03 -0600) Any ideas? I am at a loss as to how to debug this further. Sorry this post is a bit light on info but I can supply more if someone wouldn't mind directing me to what I need to supply? Thanks Huw
make sure your config file is properly utf-8 encoded. On Tue, Jan 10, 2012 at 10:43 AM, Huw Selley <huw.selley@netdev.co.uk>wrote:
Hi,
I hope i have directed this question to the correct list! I have recently been upgrading a test platform to centos 6.2 (64bit) and upgrading freeswitch in the process. I use a custom module and have noticed since the upgrade that it frequently fails to load and throws this error:
2012-01-10 15:42:48.681677 [ERR] switch_xml_config.c:159 Required parameter [�a��ff.�] is missing
I can restart freeswitch (via the init script) and most of the time it will then load correctly. I am fairly sure there is nothing retarded happening in the module - it's been in use for some months with no changes and I have never seen this before. The config file contents are sane which is corroborated by the fact that it sometimes works.
My freeswitch is built from a recent git:
FreeSWITCH Version 1.0.head (git-5b7e201 2012-01-09 17-17-03 -0600)
Any ideas? I am at a loss as to how to debug this further. Sorry this post is a bit light on info but I can supply more if someone wouldn't mind directing me to what I need to supply?
Thanks Huw _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On 10 Jan 2012, at 20:56, Anthony Minessale wrote:
make sure your config file is properly utf-8 encoded.
Hmmm, I spoke too soon :( The file is UTF8 encoded (according to vim) and it's only using plain latin chars - nothing funny going on there. However I still have this problem but only sometimes. Considering that this error doesn't always happen that suggests to me that it's not the config file encoding being wrong (I assume if the file was badly encoded it would fail to load 100% of the time?) Is there anything else I can check? Thanks again Huw
participants (2)
-
Anthony Minessale
-
Huw Selley