Hello, After a call is going into voicemail using the standard xml template i receive the following error in freeswitch and wikipbx log. The export python settings are in place. PLeae advice if you have an idea what might be causing this situation.
My dialplan looks like this
<action application="set" data="call_timeout=30"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/arubel/7050%ipaddress"/>
<action application="set" data="vmaction=record"/>
<action application="python" data="wikipbx.ivr.voicemail"/>
the freeswitchlog shows this
2009-03-27 14:58:31 [NOTICE] mod_python.c:107 eval_some_python() Invoking py module: wikipbx.ivr.voicemail
2009-03-27 14:58:32 [ERR] mod_python.c:121 eval_some_python() Error importing module
Traceback (most recent call last):
File "/usr/src/wikipbx/ivr/voicemail.py", line 11, in ?
from wikipbx.wikipbxweb.models import *
File "/usr/src/wikipbx/wikipbxweb/models.py", line 27, in ?
from django.db import models
ImportError: No module named django.db
2009-03-27 14:58:32 [NOTICE] switch_core_state_machine.c:172 switch_core_standard_on_execute() Hangup sofia/arubel/01.411.57.091|1507#01.411.57.091|1507 [CS_EXECUTE] [NORMAL_CLEARING]
and the wikipbx does this
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] |7050| != |^00(\d{10,15})$|
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] |7050| != |1234|
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] |7050| != |outgoing2endpoint-7444972|
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] |7050| == |^7050$| (MATCH!)
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] actions_dom: <?xml version="1.0" ?>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <actions_xml><action application="set" data="call_timeout=30"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application="set" data="continue_on_fail=true"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application="set" data="hangup_after_bridge=true"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application="bridge" data="sofia/arubel/7050%190.75.114.10"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application="set" data="vmaction=record"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application="python" data="wikipbx.ivr.voicemail"/></actions_xml>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] Going to copy elt: <action application="set" data="call_timeout=30"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] Going to copy elt: <action application="set" data="continue_on_fail=true"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] Going to copy elt: <action application="set" data="hangup_after_bridge=true"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] Going to copy elt: <action application="bridge" data="sofia/arubel/7050%190.75.114.10"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] Going to copy elt: <action application="set" data="vmaction=record"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] Going to copy elt: <action application="python" data="wikipbx.ivr.voicemail"/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <?xml version="1.0"?>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <document type="freeswitch/xml">
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <section name="dialplan" description="Various Dialplan">
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1]
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <context name='default'>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <extension name='dynamic_wikipbx_extension'>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <condition field='destination_number'>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='set' data='account_id=1'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='set' data='extension_id=3'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='set' data='call_timeout=30'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='set' data='continue_on_fail=true'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='set' data='hangup_after_bridge=true'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='bridge' data='sofia/arubel/7050%190.75.114.10'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='set' data='vmaction=record'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] <action application='python' data='wikipbx.ivr.voicemail'/>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] </condition>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] </extension>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] </context>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1]
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] </section>
2009-03-27 23:31:42+0000 [HTTPChannel,533,127.0.0.1] </document>
2009-03-27 23:31:42+0000 [-] 127.0.0.1 - - [27/Mar/2009:23:31:42 -0430] "POST /xml_dialplan/ HTTP/1.1" 200 789 "-" "freeswitch-xml/1.0"
2009-03-27 23:31:42+0000 [HTTPChannel,534,127.0.0.1] CDR Added





