I have been trying to get FS + wikipbx installed and working in a container of openvz running centos 5.2. I am mostly there … using mysql … but getting an error on WikiPBX when it tries to register on port 8021 and / or FS tries to pull the config.
Here is the error from Wikipbx:
2009-02-14 00:58:28+0000 [-] Starting factory <freepy.fseventlistener.FreeswitchEventListenerFactory
instance at 0x90e7b2c>
2009-02-14 00:58:28+0000 [FreeswitchEventLogger,client] FREEPY: got Reply-Text
2009-02-14 00:58:28+0000 [FreeswitchEventLogger,client] setRequestFinished called. response_content: -ERR invalid
2009-02-14 00:58:28+0000 [FreeswitchEventLogger,client] General error: [Failure instance: Traceback
(failure with no frames): <type 'exceptions.Exception'>: [Failure instance: Traceback (failure with
no frames): <type 'exceptions.Exception'>: Login failed, most likely a bad password
2009-02-14 00:58:28+0000 [FreeswitchEventLogger,client] ]
2009-02-14 00:58:28+0000 [FreeswitchEventLogger,client] ]
2009-02-14 00:58:28+0000 [FreeswitchEventLogger,client] ERROR!!
In the initserver.py file I have removed the password for port binding with this line:
- password = "C1uC0m"
password = ""
Here is my /usr/local/freeswitch/conf/autoload_configs/xml_curl.conf.xml:
<configuration name="xml_curl.conf" description="cURL XML Gateway">
<bindings>
<binding name="example">
<param name="gateway-url" value="http://127.0.0.1:8021/xml_dialplan/" bindings="configuration,dialplan,directory"/>
<!— <param name="gateway-credentials" value="username:password"/> —>
</binding>
</bindings>
</configuration>
When I run FS, mod_curl_xml load correctly …
2009-02-14 00:58:19 [CONSOLE] switch_loadable_module.c:857 switch_loadable_module_load_file() Successfully Loaded [mod_xml_curl]
2009-02-14 00:58:19 [NOTICE] switch_loadable_module.c:259 switch_loadable_module_process() Adding API Function 'xml_curl'
But I receive HTTP errors everytime it tries to load config data from wikipbx as follows:
2009-02-14 00:58:19 [ERR] mod_xml_curl.c:230 xml_url_fetch() Received HTTP error 0 trying to fetch http://127.0.0.1:8021/xml_dialplan/data: [hostname=wikifs1.telivo.net§ion=configuration&tag_name=configuration&key_name=name&key_value=sofia.conf]
and 2 of these —-
2009-02-14 00:58:19 [ERR] mod_xml_curl.c:230 xml_url_fetch() Received HTTP error 0 trying to fetch http://127.0.0.1:8021/xml_dialplan/
data: [hostname=wikifs1.telivo.net§ion=directory&tag_name=&key_name=&key_value=]
As a side note … I do have 1 critical error I don't think is relevant … as follows -
2009-02-14 00:58:26 [CRIT] switch_loadable_module.c:839 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_cepstral.so libswift.so.5: cannot open shared object file: No such file or directory
Thanks for any pointers … JJG