[Serusers] Re: [Sems] IVR module can't be built

Stefan Sayer stefan.sayer at iptego.de
Thu Apr 19 16:20:08 CEST 2007


Hello,

Python 2.2 won't work, you need at least Python 2.3, but I would 
recommend 2.4 or 2.5.

If you have various versions installed, you can choose the version to 
build with
PYTHON_VERSION=2.4 make all

voicemail application does send the voicemail as attachment to a 
(configurable) email via SMTP server. mailbox application stores the 
voicemail in an IMAP server and the users can dial in to check the 
messages. have a look at the modules documentation:
http://ftp.iptel.org/pub/sems/doc/current/AppDoc.html

hth
Stefan

Meidiana Ten wrote:
> Hi Sumin,
> Thanx for replying my mail.
> I failed to compile ivr module.
> btw I'm using sems.0.10.0-rc2 as media server. Below is the error log:
>  
> python2.2 py_comp -l py &&\
> cp py/*.pyc ../../core/lib
> Listing py ...
> make[1]: Entering directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
> g++ -MM IvrAudio.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' 
> -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 
> -fno-strict-aliasing    > IvrAudio.d
> g++ -MM Ivr.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG 
> -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' 
> -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    > Ivr.d
> g++ -MM IvrDialogBase.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' 
> -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 
> -fno-strict-aliasing    > IvrDialogBase.d
> g++ -MM IvrSipDialog.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' 
> -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 
> -fno-strict-aliasing    > IvrSipDialog.d
> g++ -MM IvrSipReply.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' 
> -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 
> -fno-strict-aliasing    > IvrSipReply.d
> g++ -MM IvrSipRequest.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' 
> -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 
> -fno-strict-aliasing    > IvrSipRequest.d
> g++ -MM IvrUAC.cpp -I ../../core -Wall -Wno-reorder -fPIC -g -O2 
> -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' 
> -DARCH='"i386"' -DOS='"linux"'  -I/usr/include/python2.2 
> -fno-strict-aliasing    > IvrUAC.d
> make[1]: Leaving directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
> make[1]: Entering directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
> g++ -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG 
> -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' 
> -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    -c 
> IvrAudio.cpp -o IvrAudio.o
> g++ -I ../../core -Wall -Wno-reorder -fPIC -g -O2 -D_DEBUG 
> -D_THREAD_SAFE -D_REENTRANT -DVERSION='"0.10.0-rc2"' -DARCH='"i386"' 
> -DOS='"linux"'  -I/usr/include/python2.2 -fno-strict-aliasing    -c 
> Ivr.cpp -o Ivr.o
> Ivr.cpp:54: 'PyGILState_STATE' is used as a type, but is not defined as 
> a type.
> Ivr.cpp: In constructor `PythonGIL::PythonGIL()':
> Ivr.cpp:56: `gst' undeclared (first use this function)
> Ivr.cpp:56: (Each undeclared identifier is reported only once for each 
> function
>    it appears in.)
> Ivr.cpp:56: `PyGILState_Ensure' undeclared (first use this function)
> Ivr.cpp: In destructor `PythonGIL::~PythonGIL()':
> Ivr.cpp:57: `PyGILState_Release' undeclared (first use this function)
> Ivr.cpp: In member function `bool IvrFactory::loadScript(const 
> std::string&)':
> Ivr.cpp:363: invalid conversion from `const char*' to `char*'
> Ivr.cpp: In member function `bool IvrDialog::callPyEventHandler(char*, 
> char*,
>    ...)':
> Ivr.cpp:640: `PyBool_Check' undeclared (first use this function)
> make[1]: *** [Ivr.o] Error 1
> make[1]: Leaving directory `/usr/local/src/sems-0.10.0-rc2/apps/ivr'
> make: [all] Error 2 (ignored)
> echo "Installing Python object files..."
> Installing Python object files...
> for f in log.pyc ; do \
>         if [ -n "py/$f" ]; then \
>                 touch           /usr/local/lib/sems/plug-in//$f; \
>                 install  -m 755 py/$f /usr/local/lib/sems/plug-in//$f; \
>         fi ; \
> done
> mkdir -p /usr/local/lib/sems/plug-in/
> touch           /usr/local/lib/sems/plug-in//ivr.so ; \
> install  -m 755 ivr.so /usr/local/lib/sems/plug-in/
> install: cannot stat `ivr.so': No such file or directory
> make: *** [install] Error 1
>  
> I used "make install" to compile the module.
> I'd like to ask another question too...Where does SEMS voicemail usually 
> store voice message? And what is the type of the message store (wav or 
> text file)?
> Thanx before
>  
> Regards,
>  
> Meidiana
> 
> */seo <giganti71 at gmail.com>/* wrote:
> 
>     Hi Meidiana,
>      
>     Do you mean that you failed to compile ivr module OR you failed to
>     load ivr plug-in for mailbox application?
>     If you failed to compile ivr module, could you send compile error log?
>     If you didn't see any compile error , I think you have to check if
>     there is ivr.so file on your system and then check if ivr.so file is
>     in the plug-in path which is defined in sems.conf file.
>     If you still have an issue even though all plug-in files are in the
>     plug-in path, could you attach sems logs?
>      
>     Thanks.
>     Sumin
> 
>      
>     On 4/17/07, *Meidiana Ten* <gotcha_em at yahoo.com
>     <mailto:gotcha_em at yahoo.com>> wrote:
> 
>         Hi there,
>         Thanx before for my past questions.
>         Now, I want to add mailbox application on my server but I cannot
>         find IVR plugin
>         Then, I read some tutorial that I must make the plugin itself
>         I've followed the step but it failed.
>         What should I do then?
>         Please advise
>         Thanx
>          
>         Regards,
>         Meidiana
>          
>         ------------------------------------------------------------------------
>         Ahhh...imagining that irresistible "new car" smell?
>         Check out new cars at Yahoo! Autos.
>         <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM->
> 
> 
>         _______________________________________________
>         Sems mailing list
>         Sems at lists.iptel.org <mailto:Sems at lists.iptel.org>
>         http://lists.iptel.org/mailman/listinfo/sems
> 
> 
> 
> ------------------------------------------------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos. 
> <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers

-- 
Stefan Sayer
Media Services Development

stefan.sayer at iptego.de
www.iptego.de

iptego GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann



More information about the sr-users mailing list