hi all,
i complie my sems ivr with ser0.9.0,and cvs sems,
FreeBSD5.3,PYTHON 2.4,both PYTHON and perl also get:
*************************************
/usr/bin/ld: cannot find -ldl
gmake[1]: *** [ivr.so] Error 1
gmake[1]: Leaving directory `/usr/src/proxy/answer_machine/plug-in/ivr'
gmake: [all] Error 2 (ignored)
********************************************
all the doc and list no answer,this the same problem
http://lists.iptel.org/pipermail/sems/2004-August/000632.html
Hello all,
I've ran into a dilemma regarding on the call structure is setup for
my system right now. As of current everything goes through asterisk
ie
sip user -> ser -> asterisk -> sip user
what I want to try and accomplish is sip user -> ser -> sip user.
I believe this would remove unnecessary load on asterisk servers and
just connect the call directly.
I'm having a hard time understanding how I will do this thought. as
of right now I have a forward statement
if (uri=~"^sip:[0-9]*@.*") {
forward( 10.0.18.3, 5060 );
break;
};
Say I have multiple companies, how would I setup extensions to call
sip devices and if I wanted to dial into a sales queue how would it
forward to asterisk. Another thing would be voice mail...how would
the extension know to goto voicemail after a certain amount of seconds
and play a custom greeting that they assigned for their box.
and how would they be billed... sip to sip would be billed thru ser,
all zaptel channels thru asterisk??
Best regards,
Patrick
hi all,
i would like here introduce myself my name is ANIL
KUMAR PAL i am working with softphone .actually that
softphone is working with ser i mean SIP express
router but i am configure my softphone different sip
servers like Astrek SIP server and Mora SIP server
which is working my softphone . so pls let me know
these problem how can i start ASAP solution provide me
rest is ok.
your's SER
user
ANIL KUMAR PAL
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
Hi,
I am transfering the database stuff from mysql to dbtext, but is
giving me some problems. So far, after parsing the ":" and the spaces
and all these, it seems all the tables load ok ... till i try to save
a REGISTER into the location database.
It complains that the types of the value and the column where to save
the value are not the same ... i am guessing that setting the
"datetime" mysql-type as a "string" in dbtext is not ok ... what
should i do?
use it as an integer? then ... how do i write the date?
"2005-03-09 12:01:02" ... equals ... 20050309120102??
Tks in advance.
Cesc
Hi all,
I'm tryng to use perl support into ivr plug-in. I've built this plugin
successfully but when I start sems, I receive this error:
(2473) ERROR: loadPlugIn (AmPlugIn.cpp:97): AmPlugIn::loadPlugIn: ivr.so:
undefined symbol: Perl_Tmarkstack_max_ptr
I'm using perl 5.8.4 on a slackware 10.0. Do you have suggestions?
thanks
Andrea
My ivr Makefile is:
plug_in_name = ivr
SCRIPT = Perl
#SCRIPT = Python
TTS = n
ASTERISK_COMPATIBLE = n
ifeq ($(SCRIPT), Python)
#
# Python specific
# (no need to change this if you want to use perl)
#
# PYTHON_VERSION might also be 2.2
# do a ls /usr/include/python2.3/Python.h to see if it's there
PYTHON_VERSION = 2.3
# adjust to point to python include path
# can also be /usr/include/python$(PYTHON_VERSION)
# look for Python.h in the specified path
# Python prefix is what you configured python with
# if you built from source (e.g. ./configure --with-prefix=/usr/local)
# on debian it's often /usr, on SuSE /usr/local
PYTHON_PREFIX = /usr
PYTHON_DIR = $(PYTHON_PREFIX)/include/python$(PYTHON_VERSION)
PYTHON_LIBDIR = $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)
# put used Python modules from lib-dynload here, e.g. time, mysql, _cvs.so etc.
PYTHON_DYNLOAD_MODULES = $(PYTHON_LIBDIR)/lib-dynload/time.so
PYTHON_module_cflags = -I$(PYTHON_DIR)
PYTHON_module_ldflags = -L$(PYTHON_LIBDIR)/config -lpython$(PYTHON_VERSION)
$(PYTHON_DYNLOAD_MODULES)
else
ifeq ($(findstring Perl, $(SCRIPT)), Perl)
#
# perl specific
#
# put used Perl modules here, e.g. time, mysql etc.
ifeq ($(SCRIPT), Perl)
PERL_DYNLOAD_MODULES =
else
PERL_DYNLOAD_MODULES = /usr/lib/perl5/5.8.4/i486-linux/auto/IO/IO.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Fcntl/Fcntl.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Socket/Socket.so \
/usr/lib/perl5/site_perl/5.8.4/i486-linux/auto/DBI/DBI.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Sys/Hostname/Hostname.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Sys/Syslog/Syslog.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Sys/Syslog/Syslog.so \
/usr/lib/perl5/site_perl/5.8.4/i486-linux/auto/Date/Calc/Calc.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/MIME/Base64/Base64.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/POSIX/POSIX.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Time/HiRes/HiRes.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Cwd/Cwd.so \
/usr/lib/perl5/site_perl/5.8.4/i486-linux/auto/Bit/Vector/Vector.so \
/usr/lib/perl5/site_perl/5.8.4/i486-linux/auto/DBD/mysql/mysql.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/Data/Dumper/Dumper.so \
/usr/lib/perl5/5.8.4/i486-linux/auto/File/Glob/Glob.so
endif
PERL_module_ldflags = `perl -MExtUtils::Embed -e ldopts` -DPERL_IMPLICIT_CONTEXT
$(PERL_DYNLOAD_MODULES)
PERL_module_cflags = -DIVR_PERL `perl -MExtUtils::Embed -e ccopts `
-DPERL_IMPLICIT_CONTEXT
else
$(error 'Script language $(SCRIPT) type not supported, options are Python,
Perl*')
endif
endif
ifeq ($(TTS), y)
#
# flite text to speech
#
# uncomment the next lines if you want to have flite text-to-speech
(ivr.say("Hello there"); )
FLITE_DIR = /usr/src/flite-1.2-release
ALT_FLITE_DIR = /usr/include/flite
IVR_TTS_module_ldflags = -L$(FLITE_DIR)/lib -lm -lflite_cmu_us_kal
-lflite_usenglish \
-lflite_cmulex -lflite
IVR_TTS_module_cflags = -I$(FLITE_DIR)/include -I$(ALT_FLITE_DIR)
-DIVR_WITH_TTS
endif
LOCAL_INCLUDES = -I$(FLITE_DIR)/lang/usenglish
LD_FLAGS = -ldl -lpthread -lutil -lm -Xlinker --export-dynamic -Xlinker
--no-strip-discarded
module_ldflags = -ldl -lpthread -lutil -lm -Xlinker --export-dynamic \
$(PYTHON_module_ldflags) \
$(IVR_TTS_module_ldflags) \
$(PERL_module_ldflags)
ifeq ($(ASTERISK_COMPATIBLE), y)
module_additional_cflags = -DIVR_ASTERISK_COMPATIBLE_IDLE
endif
# for perl support:
# -DIVR_PERL `perl -MExtUtils::Embed -e ccopts `
# for flite text-to-speech support -DIVR_WITH_TTS
module_cflags = \
$(PYTHON_module_cflags) \
$(IVR_TTS_module_cflags) \
$(PERL_module_cflags) \
$(module_additional_cflags)
include ../Makefile.app_module
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi guys,
I'm trying to build sip dialer using microsoft api. It's still in beginning phase but I have problem:
dialer disapear from the location after some time. I tried to make it re-register after every five
minutes but sometimes it fails.
Somebody can help me?
Thanks in advance,
Steve Plawer
Hi All.
Can ser-0.9 be used to force re-INVITEs during established call
sessions? I know of the Session-Expires and Min-SE headers, but I'm
very unclear on how to get re-INVITE messages to start being sent to
all SIP clients during a call.
I am trying to come up with a way to handle accounting when we don't
recieve a BYE for a call.
Regards,
Paul
Hi All.
I will not be assigning aliases to any subscribers. Therefore, is it
safe for me to remove lookup("aliases") from my ser.cfg?
I know this will impact serctl, but other than that, is it safe to do so?
Regards,
Paul
Isn't serweb supposed to automatically increment the alias number for
new users? Every user account i've made is given the same alias. What
could be the problem?
Torbjørn Lium
Using SER 0.8.14 with serweb from ftp.berlios.de/pub/ser/latest/contrib/
Hello, when I receive a certain request, I intend to insert a Route header and then forward that request to the URI in the Route header. But when loose_route is called, it prints:
find_first_route(): No Route headers found
loose_route(): There is no Route HF
This is the part of the config file:
# This would be done in a module function of my own, it is simplified:
append_hf("Route: 10.10.10.80:5062");
# loose-route processing
if (loose_route())
{
t_relay();
break;
};
Can anybody help me? How can I forward the request to the URI in the Route header that I previously inserted? It seems loose_route does not take into account changes, it looks at the request as it was received.
Thank you very much.