Question about centos install script
Forum » WikiPBX / Technical Support » Question about centos install script
Started by: tjaracastjaracas
On: 1237842937|%e %b %Y, %H:%M %Z|agohover
Number of posts: 10
rss icon RSS: New posts
Summary:
Question about configuration settings following installation script and installation manual for installing wikipbx on centos 5.2
Question about centos install script
tjaracastjaracas 1237842937|%e %b %Y, %H:%M %Z|agohover

After trying to install wikipbx on centos 5.2 using the manual and the script. I ran into the following questions:

1. After installing MySQL-python-1.2.2 module you have to nano the ez_setup.py. The scripts says:

nano ez_setup.py
#CHANGE TO v9
#wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg

It is not clear here what one should do to perform the correct action. Please advice what to do here exactly.

2. While in the scripts after the command "svn co http://svn.wikipbx.org/svn/wikipbx/trunk wikipbx" you copy the setting_template.py to settings.py followed in the script by the remark #EDIT FILE TO SPECIFICATIONS. nano settings.py. In the installation manual there is a reference to an example that is not physically there. According to the indication in the top of the settings.py file only 3 adjustments need to be made. Later in the scrip the command GRANT ALL PRIVILEGES ON wikipbx.* TO wikipbx@localhost IDENTIFIED BY 'password'; leads me to the assumption that the values in the settings.py should read:

  1. INSTRUCTIONS
  2. 1. Change DATABASE_USER = wikipbx
  3. 2. Change DATABASE_PASSWORD = password
  4. 3. Change INSTALL_ROOT /usr/src/wikipbx

I took password as the real mysql password for the moment.

Please advice what should be the correct settings there.

3. Next the command "python manage.py syncdb" is used to sync the mysql dbase but seems something missing:

The following error code is returning
root@pbx:/usr/src/wikipbx $ python manage.py syncdb
/usr/local/lib/python2.6/site-packages/django/core/management.py:12: DeprecationWarning: the sets module is deprecated
from sets import Set as set
Traceback (most recent call last):
File "manage.py", line 39, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/site-packages/django/core/management.py", line 1669, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/usr/local/lib/python2.6/site-packages/django/core/management.py", line 1568, in execute_from_command_line
action_mapping[action](int(options.verbosity), options.interactive)
File "/usr/local/lib/python2.6/site-packages/django/core/management.py", line 466, in syncdb
from django.db import connection, transaction, models, get_creation_module
File "/usr/local/lib/python2.6/site-packages/django/db/init.py", line 11, in <module>
backend = import('django.db.backends.%s.base' % settings.DATABASE_ENGINE, {}, {}, [''])
File "/usr/local/lib/python2.6/site-packages/django/db/backends/mysql/base.py", line 12, in <module>
raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

Most certainly this is the result of the latter 2 actions so for some reason mysql module can not be found. Mysql is up and running and the dbase has been properly created and all the actions from the script and the installation manual have been installed besides the configuration issues mentioned above.

Please advice.

Reply  |  Options
Unfold Question about centos install script by tjaracastjaracas, 1237842937|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tleydentleyden 1237847111|%e %b %Y, %H:%M %Z|agohover

The author of that script is recommending to make the MySQL package installer to use setuptools 0.6c9 by modifying the script. In the MySQL-python-1.2.2 package I just downloaded that would be done by modifying the DEFAULT_VERSION variable.

Not sure why this is needed, I think it should be possible to just let it use setuptools 0.6c5 (the default). Try that and see if it works.

NOTE that you'll need to run python setup.py build python setup.py install in the MySQL-python directory, from the error message it looks like that was not done.

Editing the settings.py file:

First you copy the settings_template.py file to settings.py, and then customize it for your
setup.

  • Change DATABASE_ENGINE to use mysql
  • Change DATABASE_NAME to whatever you decided to name your database
  • Change DATABASE_USER to the mysql user you created
  • Change DATABASE_PASSWORD to the password of DATABASE_USER

Hope that helps

Reply  |  Options
Unfold Re: Question about centos install script by tleydentleyden, 1237847111|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tjaracastjaracas 1237912808|%e %b %Y, %H:%M %Z|agohover

Hi, OK I am nearly there. fixed the issues in the installation script and did the following.

1. ran ./initserver.py and left everything default (port 8086 and 127.0.0.1)
2. started ./wikipbx.sh and all is starting according log hereunder
3. started freeswitch

The log shows that wikipbx is started correctly and waiting for freeswitch to become active. The centos script is using port 80 but I used default values when setting up the initserver.py scrupt so it should read 8086. When I start freeswitch it will stop in adding API function "xml_curl" after loading mod_xml_curl successfully. At this moment the wikiserver log wil show the values like shown hereunder.

The values of my mod_xml_curl file are like this:

<configuration name="xml_curl.conf" description="cURL XML Gateway">
<bindings>
<binding name="example">
<!— The url to a gateway cgi that can generate xml similar to
what's in this file only on-the-fly (leave it commented if you dont
need it) >
<!
one or more |-delim of configuration|directory|dialplan >
<param name="gateway-url" value="http://127.0.0.1:8086/xml_dialplan" bindings="configuration,dialplan,directory"/> —>
<!
set this to provide authentication credentials to the server >
<!
<param name="gateway-credentials" value="muser:mypass"/>>
<!
set to true to disable Expect: 100-continue lighttpd requires this setting >
<!
<param name="disable-100-continue" value="true"/>—>

<!— optional: if enabled this will disable CA root certificate checks by libcurl >
<!
note: default value is disabled. only enable if you want this! >
<!
<param name="ignore-cacert-check" value="true" /> >
<!
one or more of these imply you want to pick the exact variables that are transmitted >
<!
<param name="enable-post-var" value="Unique-ID"/>—>
</binding>
</bindings>
</configuration>

The log is this with some remarks from me at the moment I start freeswitch.
·START WIKIPBX.SH
root@pbx:/usr/src/wikipbx $ ./wikipbx.sh
/usr/local/lib/python2.6/site-packages/django/contrib/sessions/models.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import base64, md5, random, sys, datetime
2009-03-24 20:40:24+0000 [-] Log opened.
2009-03-24 20:40:24+0000 [-] twistd 8.2.0 (/usr/local/bin/python 2.6.1) starting up.
2009-03-24 20:40:24+0000 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2009-03-24 20:40:24+0000 [-] twisted.web2.channel.http.HTTPFactory starting on 8086
2009-03-24 20:40:24+0000 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x8caa54c>
2009-03-24 20:40:24+0000 [Uninitialized] Connection to 127.0.0.1:8021 refused, retrying attempt #1 in 5 seconds
2009-03-24 20:40:24+0000 [Uninitialized] Stopping factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
2009-03-24 20:40:29+0000 [-] Starting factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
2009-03-24 20:40:29+0000 [Uninitialized] Connection to 127.0.0.1:8021 refused, retrying attempt #2 in 5 seconds
2009-03-24 20:40:29+0000 [Uninitialized] Stopping factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
STARTING FREESWITCH
2009-03-24 20:40:32+0000 [HTTPChannel,0,127.0.0.1] Unhandled error in Deferred:
2009-03-24 20:40:32+0000 [HTTPChannel,0,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/Twisted-8.2.0_r26520-py2.6-linux-i686.egg/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "wikipbxweb/twisteddjango.py", line 126, in run
result.addErrback( eb )
File "/usr/local/lib/python2.6/site-packages/Twisted-8.2.0_r26520-py2.6-linux-i686.egg/twisted/internet/defer.py", line 202, in addErrback
errbackKeywords=kw)
File "/usr/local/lib/python2.6/site-packages/Twisted-8.2.0_r26520-py2.6-linux-i686.egg/twisted/internet/defer.py", line 184, in addCallbacks
self._runCallbacks()
- <exception caught here> -
File "/usr/local/lib/python2.6/site-packages/Twisted-8.2.0_r26520-py2.6-linux-i686.egg/twisted/internet/defer.py", line 326, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "wikipbxweb/twisteddjango.py", line 123, in eb
self.handleResult( ["ERROR"] )
File "/usr/local/lib/python2.6/site-packages/Twisted-8.2.0_r26520-py2.6-linux-i686.egg/twisted/web2/wsgi.py", line 278, in handleResult
self.writeAll(result)
File "/usr/local/lib/python2.6/site-packages/Twisted-8.2.0_r26520-py2.6-linux-i686.egg/twisted/web2/wsgi.py", line 238, in writeAll
"Application didn't call startResponse before writing data!")
exceptions.RuntimeError: Application didn't call startResponse before writing data!

2009-03-24 20:40:34+0000 [-] Starting factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
2009-03-24 20:40:34+0000 [Uninitialized] Connection to 127.0.0.1:8021 refused, retrying attempt #3 in 5 seconds
2009-03-24 20:40:34+0000 [Uninitialized] Stopping factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
2009-03-24 20:40:39+0000 [-] Starting factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
2009-03-24 20:40:39+0000 [Uninitialized] Connection to 127.0.0.1:8021 refused, retrying attempt #4 in 5 seconds
2009-03-24 20:40:39+0000 [Uninitialized] Stopping factory <freepy.fseventlistener.FreeswitchEventListenerFactory instance at 0x8cbb2ec>
2009-03-24 20:40:40+0000 [-] Received SIGINT, shutting down.
2009-03-24 20:40:40+0000 [-] (Port 8086 Closed)
2009-03-24 20:40:40+0000 [-] Stopping factory <twisted.web2.channel.http.HTTPFactory instance at 0x8caa54c>
2009-03-24 20:40:40+0000 [-] Main loop terminated.
2009-03-24 20:40:40+0000 [-] Server Shut Down.

PLease advice.

If all is working I will provide a correctly working installation scripts for centos. :-)

Reply  |  Options
Unfold Re: Question about centos install script by tjaracastjaracas, 1237912808|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tleydentleyden 1238003258|%e %b %Y, %H:%M %Z|agohover

What happens when you go to http://host:8086 in the web browser? Does the page render or are there errors? Is there a link under the login saying [Add root]?

Also, please try the following:

  • Shutdown wikipbx and freeswitch
  • In same dir as wikipbx.sh file, run
python manage.py runserver 0.0.0.0:8086  (rather than using wikipbx.sh to start server)
  • In this case, any console errors when you go to http://host:8086 in the web browser?
  • Start freeswitch and paste any errors you see
Reply  |  Options
Unfold Re: Question about centos install script by tleydentleyden, 1238003258|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tjaracastjaracas 1238008527|%e %b %Y, %H:%M %Z|agohover

I cant access the webserver at host:8086

An error listing pasted here

root@pbx:/usr/src/wikipbx $ python manage.py runserver 0.0.0.0:8086
/usr/local/lib/python2.6/site-packages/django/core/management.py:12: DeprecationWarning: the sets module is deprecated
from sets import Set as set
/usr/local/lib/python2.6/site-packages/django/core/management.py:12: DeprecationWarning: the sets module is deprecated
from sets import Set as set
Validating models…
/usr/local/lib/python2.6/site-packages/django/contrib/sessions/models.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import base64, md5, random, sys, datetime
0 errors found.

Django version 0.97-pre, using settings 'wikipbx.settings'
Development server is running at http://0.0.0.0:8086/
Quit the server with CONTROL-C.

NOW IS STARTED FREESWITCH and FOLLOWING INFO IS DISPLAYED in the runserver screen:

got post: <MultiValueDict: {'key_value': ['xml_cdr.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="configuration" description="Various Configuration">

<configuration name='xml_cdr.conf' description='XML CDR CURL logger'>
<settings>
<param name='retries' value='1'/>
<param name='url' value='http://127.0.0.1:8086/add_cdr/'/>
<param name='delay' value='30'/>
<param name='log-dir' value='/usr/src/wikipbx/cdr'/>
<param name='encode' value='True'/>
<param name='cred' value='user:pass'/>
<param name='err-log-dir' value='/usr/src/wikipbx/cdr/err'/>
</settings>
</configuration>

</section>
</document>
[25/Mar/2009 23:34:26] "POST /xml_dialplan/ HTTP/1.1" 200 603
got post: <MultiValueDict: {'key_value': ['cdr_csv.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:26] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'FreeSWITCH-IPv4': ['190.75.114.10'], 'key_value': ['sofia.conf'], 'FreeSWITCH-IPv6': ['::1'], 'Event-Date-Local': ['2009-03-25 19:04:26'], 'Event-Calling-Line-Number': ['1827'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'Event-Date-GMT': ['Wed, 25 Mar 2009 23:34:26 GMT'], 'Event-Name': ['REQUEST_PARAMS'], 'tag_name': ['configuration'], 'FreeSWITCH-Hostname': ['pbx.local'], 'Event-Date-Timestamp': ['1238024066618314'], 'Event-Calling-Function': ['config_sofia'], 'Event-Calling-File': ['sofia.c'], 'Core-UUID': ['2552cb16-c815-4740-b7f8-cc387a27fcc2']}>
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="configuration" description="Various Configuration">

<configuration name='sofia.conf' description='sofia endpoint'>
<profiles/>
</configuration>

</section>
</document>
[25/Mar/2009 23:34:26] "POST /xml_dialplan/ HTTP/1.1" 200 240
got post: <MultiValueDict: {'FreeSWITCH-IPv4': ['190.75.114.10'], 'key_value': ['conference.conf'], 'FreeSWITCH-IPv6': ['::1'], 'Event-Date-Local': ['2009-03-25 19:04:28'], 'Event-Calling-Line-Number': ['5543'], 'presence': ['true'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'Event-Date-GMT': ['Wed, 25 Mar 2009 23:34:28 GMT'], 'Event-Name': ['COMMAND'], 'tag_name': ['configuration'], 'FreeSWITCH-Hostname': ['pbx.local'], 'Event-Date-Timestamp': ['1238024068413555'], 'Event-Calling-Function': ['send_presence'], 'Event-Calling-File': ['mod_conference.c'], 'Core-UUID': ['2552cb16-c815-4740-b7f8-cc387a27fcc2']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['fifo.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['voicemail.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['limit.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['shout.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['local_stream.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['spidermonkey.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['python.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['lua.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['post_load_modules.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['acl.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
ERROR!!
Error generating directory: No profile name given, cannot lookup account
Traceback (most recent call last):
File "/usr/src/wikipbx/wikipbxweb/views.py", line 1895, in xml_dialplan
xml_snippet = directorybuilder.build_xml(request)
File "/usr/src/wikipbx/directorybuilder.py", line 94, in build_xml
raise Exception("No profile name given, cannot lookup account")
Exception: No profile name given, cannot lookup account
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 53
got post: <MultiValueDict: {'key_value': ['post_load_switch.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23
got post: <MultiValueDict: {'key_value': ['event_socket.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="configuration" description="Various Configuration">

<configuration name='event_socket.conf' description='Socket Client'>
<settings>
<param name='listen-ip' value='127.0.0.1'/>
<param name='password' value='C1uC0m'/>
<param name='listen-port' value='8021'/>
</settings>
</configuration>

</section>
</document>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 200 396
got post: <MultiValueDict: {'key_value': ['switch.conf'], 'key_name': ['name'], 'section': ['configuration'], 'hostname': ['pbx.local'], 'tag_name': ['configuration']}>
[25/Mar/2009 23:34:28] "POST /xml_dialplan/ HTTP/1.1" 404 23

IN FREESWITCH THE FOLLOWING OUTPUT OCCURS

root@pbx:/home/tjaracas $ /usr/local/freeswitch/bin/freeswitch -waste
2009-03-25 19:14:49 [INFO] switch_core_sqldb.c:490 switch_core_sqldb_start() Opening DB
2009-03-25 19:14:49 [DEBUG] switch_scheduler.c:214 switch_scheduler_add_task() Added task 1 heartbeat (core) to run at 1238024689
2009-03-25 19:14:49 [CONSOLE] switch_core.c:1305 switch_core_init_and_modload() Bringing up environment.
2009-03-25 19:14:49 [CONSOLE] switch_core.c:1306 switch_core_init_and_modload() Loading Modules.
2009-03-25 19:14:49 [INFO] switch_time.c:656 switch_load_timezones() Timezone loaded 530 definitions
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [CORE_SOFTTIMER_MODULE]
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:222 switch_loadable_module_process() Adding Timer 'soft'

2009-03-25 19:14:49 [NOTICE] switch_scheduler.c:166 switch_scheduler_task_thread() Starting task thread
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_console]
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'console'
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_logfile]
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_enum]
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:204 switch_loadable_module_process() Adding Dialplan 'enum'
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'enum'
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'enum'
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'enum_auto'
2009-03-25 19:14:49 [NOTICE] mod_xml_curl.c:396 do_config() Binding [example] XML Fetch Function [configuration,dialplan,directory
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_xml_curl]
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'xml_curl'
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_xml_cdr]
2009-03-25 19:14:49 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=cdr_csv.conf]
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_cdr_csv]
2009-03-25 19:14:49 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_event_socket]
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'socket'
2009-03-25 19:14:49 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'event_sink'
2009-03-25 19:14:50 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_sofia]
2009-03-25 19:14:50 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'sofia'
2009-03-25 19:14:50 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sofia'
2009-03-25 19:14:50 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sofia_contact'
2009-03-25 19:14:50 [NOTICE] switch_loadable_module.c:355 switch_loadable_module_process() Adding Chat interface 'sip'
2009-03-25 19:14:50 [NOTICE] switch_loadable_module.c:395 switch_loadable_module_process() Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1]
2009-03-25 19:14:50 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_loopback]
2009-03-25 19:14:50 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'loopback'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_commands]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'group_call'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'in_group'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_flush_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'md5'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'hupall'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'strftime_tz'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'originate'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'tone_detect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_kill'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_park'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'reloadacl'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'reloadxml'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'unload'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'reload'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'load'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_transfer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'pause'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'break'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'show'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'complete'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'alias'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'status'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_session_heartbeat'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_bridge'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_setvar'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_setvar_multi'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_getvar'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_dump'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'global_setvar'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'global_getvar'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_displace'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_record'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_broadcast'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_hold'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_display'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_media'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'fsctl'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'help'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'version'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sched_hangup'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sched_broadcast'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sched_transfer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'create_uuid'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sched_api'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'unsched_api'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'bgapi'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'sched_del'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'xml_wrap'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'is_lan_addr'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'cond'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'regex'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'acl'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_chat'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_deflect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'find_user_xml'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'user_exists'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'xml_locate'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'user_data'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'url_encode'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'url_decode'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'module_exists'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'domain_exists'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'uuid_send_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'eval'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'system'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'time_test'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=conference.conf&Event-Name=COMMAND&Core-UUID=0b81bb5c-6fb3-41f8-9207-3025bf6d89e5&FreeSWITCH-Hostname=pbx.local&FreeSWITCH-IPv4=190.75.114.10&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2009-03-25%2019%3A14%3A51&Event-Date-GMT=Wed,%2025%20Mar%202009%2023%3A44%3A51%20GMT&Event-Date-Timestamp=1238024691083883&Event-Calling-File=mod_conference.c&Event-Calling-Function=send_presence&Event-Calling-Line-Number=5543&presence=true]
2009-03-25 19:14:51 [CONSOLE] sofia_presence.c:675 sofia_presence_event_thread_run() Event Thread Started
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_conference]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'conference'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'conference_set_auto_outcall'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'conference'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:355 switch_loadable_module_process() Adding Chat interface 'conf'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_dptools]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'error'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'group'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'user'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:204 switch_loadable_module_process() Adding Dialplan 'inline'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'privacy'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'flush_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'hold'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'unhold'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'transfer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'check_acl'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'verbose_events'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'sleep'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'delay_echo'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'strftime'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'phrase'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'eval'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'pre_answer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'answer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'hangup'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'set_name'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'presence'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'log'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'info'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'event'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'sound_test'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'export'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'set'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'set_global'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'set_profile_var'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'unset'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'ring_ready'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'remove_bugs'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'break'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'detect_speech'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'ivr'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'redirect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'send_display'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'respond'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'deflect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'queue_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'send_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'sched_hangup'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'sched_broadcast'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'sched_transfer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'execute_extension'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'sched_heartbeat'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'enable_heartbeat'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'mkdir'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'soft_hold'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'bind_meta_app'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'unbind_meta_app'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'intercept'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'eavesdrop'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'three_way'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'set_user'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'stop_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'start_dtmf'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'stop_dtmf_generate'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'start_dtmf_generate'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'stop_tone_detect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'fax_detect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'tone_detect'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'echo'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'park'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'park_state'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'gentones'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'playback'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'att_xfer'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'read'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'play_and_get_digits'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'stop_record_session'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'record_session'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'record'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'stop_displace_session'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'displace_session'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'speak'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'clear_speech_cache'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'bridge'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'system'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'say'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'wait_for_silence'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'strepoch'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'chat'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'strftime'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'presence'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:355 switch_loadable_module_process() Adding Chat interface 'event'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:355 switch_loadable_module_process() Adding Chat interface 'api'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_expr]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'expr'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=fifo.conf]
2009-03-25 19:14:51 [INFO] mod_fifo.c:1836 load_config() 01.411.57.091|ofif_looc#01.411.57.091|ofif_looc configured
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_fifo]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'fifo'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'fifo'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'fifo_member'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=voicemail.conf]
2009-03-25 19:14:51 [INFO] mod_voicemail.c:807 load_config() Added Profile default
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_voicemail]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'voicemail'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'voicemail'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'voicemail_inject'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'vm_boxcount'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=limit.conf]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_limit]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'limit'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'limit_hash'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'db'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'hash'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'group'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'limit_hash_usage'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'limit_usage'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'db'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'hash'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'group'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_esf]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'esf_page_group'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_fsv]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'play_fsv'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'record_fsv'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_dialplan_xml]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:204 switch_loadable_module_process() Adding Dialplan 'XML'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_dialplan_asterisk]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'SIP'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:142 switch_loadable_module_process() Adding Endpoint 'IAX2'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:204 switch_loadable_module_process() Adding Dialplan 'asterisk'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'Dial'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'Goto'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'AvoidingDeadlock'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_voipcodecs]

2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=shout.conf]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_shout]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'telecast'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:282 switch_loadable_module_process() Adding File Format 'shout'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:282 switch_loadable_module_process() Adding File Format 'mp3'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=local_stream.conf]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_local_stream]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'stop_local_stream'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'start_local_stream'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:282 switch_loadable_module_process() Adding File Format 'local_stream'
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_tone_stream]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:282 switch_loadable_module_process() Adding File Format 'tone_stream'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:282 switch_loadable_module_process() Adding File Format 'silence_stream'
2009-03-25 19:14:51 [CONSOLE] mod_local_stream.c:142 read_stream_thread() Can't open directory: /usr/local/freeswitch/sounds/music/16000
2009-03-25 19:14:51 [CONSOLE] mod_local_stream.c:142 read_stream_thread() Can't open directory: /usr/local/freeswitch/sounds/music/32000
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=spidermonkey.conf]
2009-03-25 19:14:51 [CONSOLE] mod_spidermonkey.c:948 sm_load_file() Successfully Loaded [/usr/local/freeswitch/mod/mod_spidermonkey_teletone.so]
2009-03-25 19:14:51 [CONSOLE] mod_spidermonkey.c:948 sm_load_file() Successfully Loaded [/usr/local/freeswitch/mod/mod_spidermonkey_core_db.so]
2009-03-25 19:14:51 [CONSOLE] mod_spidermonkey.c:948 sm_load_file() Successfully Loaded [/usr/local/freeswitch/mod/mod_spidermonkey_socket.so]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_spidermonkey]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'javascript'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'jsrun'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'jsapi'
2009-03-25 19:14:51 [NOTICE] mod_python.c:389 mod_python_load() Python Framework Loading…
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=python.conf]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_python]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'python'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'pyrun'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'python'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=lua.conf]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_lua]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:240 switch_loadable_module_process() Adding Application 'lua'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'luarun'
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:260 switch_loadable_module_process() Adding API Function 'lua'
2009-03-25 19:14:51 [CRIT] switch_loadable_module.c:845 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
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:863 switch_loadable_module_load_file() Successfully Loaded [mod_say_en]
2009-03-25 19:14:51 [NOTICE] switch_loadable_module.c:373 switch_loadable_module_process() Adding Say interface 'en'
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=post_load_modules.conf]
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:120 switch_loadable_module_runtime() Starting runtime thread for CORE_SOFTTIMER_MODULE
2009-03-25 19:14:51 [CONSOLE] switch_loadable_module.c:120 switch_loadable_module_runtime() Starting runtime thread for mod_event_socket
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=acl.conf]
2009-03-25 19:14:51 [CONSOLE] switch_core.c:898 switch_load_network_lists() Created ip list dl-candidates default (allow)
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 10.0.0.0/8 (deny) to list dl-candidates
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 172.16.0.0/12 (deny) to list dl-candidates
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 192.168.0.0/16 (deny) to list dl-candidates
2009-03-25 19:14:51 [CONSOLE] switch_core.c:898 switch_load_network_lists() Created ip list rfc1918 default (deny)
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 10.0.0.0/8 (allow) to list rfc1918
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 172.16.0.0/12 (allow) to list rfc1918
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 192.168.0.0/16 (allow) to list rfc1918
2009-03-25 19:14:51 [CONSOLE] switch_core.c:898 switch_load_network_lists() Created ip list lan default (allow)
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 192.168.42.0/24 (deny) to list lan
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 192.168.42.42/32 (allow) to list lan
2009-03-25 19:14:51 [CONSOLE] switch_core.c:898 switch_load_network_lists() Created ip list strict default (deny)
2009-03-25 19:14:51 [NOTICE] switch_core.c:981 switch_load_network_lists() Adding 208.102.123.124/32 (allow) to list strict
2009-03-25 19:14:51 [CONSOLE] switch_core.c:898 switch_load_network_lists() Created ip list domains default (deny)
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=directory&tag_name=domain&key_name=name&key_value=190.75.114.10&Event-Name=GENERAL&Core-UUID=0b81bb5c-6fb3-41f8-9207-3025bf6d89e5&FreeSWITCH-Hostname=pbx.local&FreeSWITCH-IPv4=190.75.114.10&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2009-03-25%2019%3A14%3A51&Event-Date-GMT=Wed,%2025%20Mar%202009%2023%3A44%3A51%20GMT&Event-Date-Timestamp=1238024691552681&Event-Calling-File=switch_core.c&Event-Calling-Function=switch_load_network_lists&Event-Calling-Line-Number=921&domain=190.75.114.10&purpose=network-list]
2009-03-25 19:14:51 [NOTICE] switch_core.c:965 switch_load_network_lists() Adding 192.0.2.0/24 (allow) [01.411.57.091|nairb#01.411.57.091|nairb] to list domains
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=post_load_switch.conf]
2009-03-25 19:14:51 [CONSOLE] switch_core.c:1322 switch_core_init_and_modload()
FreeSWITCH Version 1.0.trunk (12706) Started.
Crash Protection [Disabled]
Max Sessions[1000]
Session Rate[30]
SQL [Enabled]
2009-03-25 19:14:51 [ERR] mod_xml_curl.c:252 xml_url_fetch() Received HTTP error 404 trying to fetch http://127.0.0.1:8086/xml_dialplan/
data: [hostname=pbx.local&section=configuration&tag_name=configuration&key_name=name&key_value=switch.conf]
lacol.xbp|hctiwseerf#lacol.xbp|hctiwseerf>

Reply  |  Options
Unfold Re: Question about centos install script by tjaracastjaracas, 1238008527|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tleydentleyden 1238018955|%e %b %Y, %H:%M %Z|agohover

Sorry, host means your hostname or ip address. http://127.0.0.1:8086 if you are on the same machine, otherwise use the ip address of the machine running wikipbx.

Please post the console output of wikipbx, not freeswitch.

Reply  |  Options
Unfold Re: Question about centos install script by tleydentleyden, 1238018955|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tjaracastjaracas 1238020890|%e %b %Y, %H:%M %Z|agohover

Hi, I have fixed it already with the debug output from your python runserver command. The problem was that port 8086 was blocked by my local ISP. I selected 18086 and now it is working like a charm. BTW the console output of the wikipbx was in the previous message. But nevermind all is working now. I am still having lots of 404's in the freeswitch console output but according to the faq's this is normal. As far as I am concerned I can add endpoints and all looks like working ok.

Reply  |  Options
Unfold Re: Question about centos install script by tjaracastjaracas, 1238020890|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tleydentleyden 1238024440|%e %b %Y, %H:%M %Z|agohover

Great!

Yes those 404's can be ignored .. that needs to be fixed in wikipbx, it needs to return a special "not found xml" rather than a 404, and those errors will go away.

Unfold Re: Question about centos install script by tleydentleyden, 1238024440|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
HostRailHostRail 1248219555|%e %b %Y, %H:%M %Z|agohover

On centos 5.3 I have freeswitch installed and running.

But wikipbx wont start.


[root@pbx1 wikipbx]# ./wikipbx.sh
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 694, in run
runApp(config)
File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 411, in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 494, in createOrGetApplication
application = getApplication(self.config, passphrase)
- <exception caught here> -
File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 505, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/lib/python2.4/site-packages/twisted/application/service.py", line 390, in loadApplication
application = sob.loadValueFromFile(filename, 'application', passphrase)
File "/usr/lib/python2.4/site-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile
exec fileObj in d, d
File "wikipbxweb/twisteddjango.py", line 45, in ?
from wikipbx import fseventlogger
File "/usr/src/wikipbx/fseventlogger.py", line 39, in ?
from freepy.fseventlistener import FreeswitchEventListener
exceptions.SyntaxError: invalid syntax (init.py, line 85)

Failed to load application: invalid syntax (init.py, line 85)


can you tell what the prob is?

Unfold Re: Question about centos install script by HostRailHostRail, 1248219555|%e %b %Y, %H:%M %Z|agohover
Re: Question about centos install script
tleydentleyden 1248221859|%e %b %Y, %H:%M %Z|agohover

That line its complaining about is not compatible with python2.4 .. you'll need python2.5 or later. I updated the docs ..

Reply  |  Options
Unfold Re: Question about centos install script by tleydentleyden, 1248221859|%e %b %Y, %H:%M %Z|agohover
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License