Thanks Jan, I Have probed the
record_route_preset("200.24.99.131:lr")
The server answers with a 200(OK) to the INVITE
Method,
but it doesn't to the BYE method, it responds a
408(Request Timeout).
The ACK takes the route perfectly and it runs from UA
to UA without any problems, however the Bye is
received by the server(192.168.0.1) an then is sent to
its public IP address (200.24.99.131) there is
something I think is a problem!!
The server is unable to extract from the via field the
public IP address in the BYE so, it keeps sending the
BYE package to itself instead of the next hop that
it's supposed to do.
Do you have any suggestions regarding this issue?
Is there something wrong with the way i'm seeing
things?
I've been reading over and over the SIP RFC and i
don't
understand the behaveour of the SIP Proxy in this
particular case;
I'm currently using the 0.8.14. Should i use the CVS
updated version??might there be a bug in the ftp
version??
I have tested the (set_)advertised_address without
success.
Thanks a lot for any information you could give me.
I'll be waiting for your reply
Andres Parra
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
Hi all,
I'm running ser and rtpproxy on a public IP, I have several clients
registered that are behind different NAT firewalls.
I have been having the issue that occasionally when a user makes a call
they the called (or sometimes the callee I believe) gets a period of a
couple seconds without audio, the line is dead, and then after 5/10
seconds.
Has anyone come across similar problems? I have had this issue with just
the basic nathelper.cfg that comes with ser, and running ser from the
0.8.14 and CVS HEAD branches. rtpproxy is the latest from cvs also,
running with no extra flags.
It appears that rtp gets sent from UA1 to rtpproxy and gets dropped by
the NAT in front of UA2, this continues for a couple seconds, and then a
RTP packet comes from UA2, and two way rtp is established. As I said
earlier this is an intermittent issue.
I have a full network trace of this behaviour which I will be happy to
provide on request.
Thanks,
-Jev
Hi all,
I am experiencing some problems while configuring SER in order to
fork between different contacts (a SIP UA and a SIP Gateway) and passing
through a mediaproxy:
The scenario is the following:
UA1 -> SER : INVITE sip:bonda@inet.it
SER forks:
SER -> UA2 : INVITE sip:bonda@[local-ip] {SDP is changed by mediaproxy module}
SER -> GW: INVITE sip:PSTN-NUMBER@[gateway-ip] {SDP is changed by mediaproxy module}
GW -> SER: 183 Session Progress
SER -> UA1: 183 Session Progress {SDP is changed by mediaproxy module}
Audio session with the mediaproxy is Active
UA2 -> SER: 180 Ringing
SER -> UA1: 180 Ringing
UA2 -> SER: 200 OK
SER -> UA1: 200 OK {SDP is changed by mediaproxy module}
Audio session with the mediaproxy is Active, but is not updated !
SER -> GW: CANCEL
....
The call gets connected, but the problem is that the audio session is mute:
the audio session parameters are not updated by the mediaproxy module.
My reply route is:
onreply_route[1] {
if (status=~"(183)|2[0-9][0-9]") {
if (client_nat_test("1")) {
fix_contact();
};
use_media_proxy();
};
if (status=~"[3-6]0[0-9]") {
end_media_session();
break;
};
}
so, during my session I call twice the use_media_proxy() function (with the some Call-Id), but the
audio sessions parameters (IP addr, port) are those specified by the
'183 Session Progress' sent by the GW and not those specified by the
'200 OK' sent by UA2.
Can you help me on this ?
Thank you a lot in advance,
Andrea Bondavalli
hello friends,
i have a problem in implementing the ivr with sems
i have downloaded the ivr , answer_machine with cvs
then in answer_machine/plugin/ivr
i have the following files
-rw-r--r-- 1 root root 11746 Aug 10
17:43 Ivr.cpp
-rw-r--r-- 1 root root 0 Sep 4
18:12 Ivr.d
-rwxr-xr-x 1 root root 12516 Aug 10
16:06 IvrDtmfDetector.cpp
-rw-r--r-- 1 root root 0 Sep 4
18:13 IvrDtmfDetector.d
-rwxr-xr-x 1 root root 2490 Jul 26
03:30 IvrDtmfDetector.h
-rw-r--r-- 1 root root 1926 Aug 10
16:06 IvrEvents.cpp
-rw-r--r-- 1 root root 245 Sep 4
18:42 IvrEvents.d
-rw-r--r-- 1 root root 2633 Aug 10
16:06 IvrEvents.h
-rw-r--r-- 1 root root 2953 Sep 4
20:13 Ivr.h
-rw-r--r-- 1 root root 12799 Jul 29
15:31 IvrMediaHandler.cpp
-rw-r--r-- 1 root root 0 Sep 4
18:42 IvrMediaHandler.d
-rw-r--r-- 1 root root 4190 Aug 10
16:06 IvrMediaHandler.h
-rw-r--r-- 1 root root 39724 Aug 10
16:33 IvrPython.cpp
-rw-r--r-- 1 root root 0 Sep 4
19:27 IvrPython.d
-rw-r--r-- 1 root root 6751 Aug 10
16:33 IvrPython.h
-rw-r--r-- 1 root root 2718 Sep 4
18:12 Makefile
I have also installed the flite-1.2-release.tar.gz
and flite.h file is present at
/usr/local/include/flite/flite.h
/root/flite-1.2-release/include/flite.h
the Makefile is like this
---------------------------
[root@server ivr]# cat Makefile
plug_in_name = ivr
#
# 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.2
# adjust to point to python include path
# can also be /usr/include/python$(PYTHON_VERSION)
# look for Python.h in the specified path
PYTHON_DIR = /usr/include/python$(PYTHON_VERSION)
PYTHON_LIBDIR = /usr/lib/python$(PYTHON_VERSION)
# put used Python modules from lib-dynload here, e.g.
time, mysql 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) $(P
YTHON_DYNLOAD_MODULES)
#
# perl specific
#
# uncomment the next lines if you want to script the
ivr with perl scripts
# put used Perl modules here, e.g. time, mysql etc.
PERL_DYNLOAD_MODULES = /usr/lib/perl/5.8/auto/IO/IO.so
/usr/lib/perl/5.8/auto/Fc
ntl/Fcntl.so \
/usr/lib/perl/5.8/auto/Socket/Socket.so
/usr/lib/perl/5.8/auto/DBI/DBI.so \
/usr/lib/perl/5.8/auto/Sys/Hostname/Hostname.so
/usr/lib/perl/5.8/auto/Sys/Sys
log/Syslog.so \
/usr/lib/perl/5.8/auto/Sys/Syslog/Syslog.so
/usr/lib/perl5/auto/Date/Calc/Calc
.so \
/usr/lib/perl/5.8/auto/MIME/Base64/Base64.so
/usr/lib/perl/5.8/auto/POSIX/POSI
X.so \
/usr/lib/perl/5.8/auto/Time/HiRes/HiRes.so
/usr/lib/perl/5.8/auto/Cwd/Cwd.so \
/usr/lib/perl5/auto/Bit/Vector/Vector.so
/usr/lib/perl5/auto/DBD/mysql/mysql.s
o \
/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so
/usr/lib/perl/5.8/auto/File/Glob/
Glob.so
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_IMPLI
CIT_CONTEXT
#
# flite text to speech
#
# uncomment the next lines if you want to have flite
text-to-speech (ivr.say("He
llo 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_us
english \
-lflite_cmulex -lflite
IVR_TTS_module_cflags = -I$(FLITE_DIR)/include
-I$(ALT_FLITE_DIR) -DIVR_WITH_TT
[root@server ivr]# cat Makefile
plug_in_name = ivr
#
# 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.2
# adjust to point to python include path
# can also be /usr/include/python$(PYTHON_VERSION)
# look for Python.h in the specified path
PYTHON_DIR = /usr/include/python$(PYTHON_VERSION)
PYTHON_LIBDIR = /usr/lib/python$(PYTHON_VERSION)
# put used Python modules from lib-dynload here, e.g.
time, mysql 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)
#
# perl specific
#
# uncomment the next lines if you want to script the
ivr with perl scripts
# put used Perl modules here, e.g. time, mysql etc.
PERL_DYNLOAD_MODULES = /usr/lib/perl/5.8/auto/IO/IO.so
/usr/lib/perl/5.8/auto/Fcntl/Fcntl.so \
/usr/lib/perl/5.8/auto/Socket/Socket.so
/usr/lib/perl/5.8/auto/DBI/DBI.so \
/usr/lib/perl/5.8/auto/Sys/Hostname/Hostname.so
/usr/lib/perl/5.8/auto/Sys/Syslog/Syslog.so \
/usr/lib/perl/5.8/auto/Sys/Syslog/Syslog.so
/usr/lib/perl5/auto/Date/Calc/Calc.so \
/usr/lib/perl/5.8/auto/MIME/Base64/Base64.so
/usr/lib/perl/5.8/auto/POSIX/POSIX.so \
/usr/lib/perl/5.8/auto/Time/HiRes/HiRes.so
/usr/lib/perl/5.8/auto/Cwd/Cwd.so \
/usr/lib/perl5/auto/Bit/Vector/Vector.so
/usr/lib/perl5/auto/DBD/mysql/mysql.so \
/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so
/usr/lib/perl/5.8/auto/File/Glob/Glob.so
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
#
# 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
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)
# 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)
include ../Makefile.app_module
____________________________________________________
and when i make the system
i got this error can any body say where iam doing
wrong
*******************************************************
[root@server ivr]# make
make[1]: Entering directory
`/root/answer_machine/plug-in/ivr'
make[1]: Nothing to be done for `deps'.
make[1]: Leaving directory
`/root/answer_machine/plug-in/ivr'
make[1]: Entering directory
`/root/answer_machine/plug-in/ivr'
g++ -I ../.. -Wall -Wno-reorder -D_DEBUG -g
-DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -fPIC
-I/usr/src/flite-1.2-release/include
-I/usr/include/flite -DIVR_WITH_TTS -DIVR_PERL `perl
-MExtUtils::Embed -e ccopts ` -DPERL_IMPLICIT_CONTEXT
-c Ivr.cpp -o Ivr.o
In file included from IvrMediaHandler.h:29,
from IvrPython.h:47,
from Ivr.cpp:22:
Ivr.h:52:20: flite.h: No such file or directory
In file included from IvrMediaHandler.h:29,
from IvrPython.h:47,
from Ivr.cpp:22:
Ivr.h:88: syntax error before `*' token
In file included from Ivr.cpp:22:
IvrPython.h:55:20: flite.h: No such file or directory
In file included from Ivr.cpp:22:
IvrPython.h:91: syntax error before `*' token
Ivr.cpp:35: syntax error before `*' token
Ivr.cpp: In constructor
`IvrDialog::IvrDialog(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
bool)':
Ivr.cpp:173: `flite_init' undeclared (first use this
function)
Ivr.cpp:173: (Each undeclared identifier is reported
only once for each
function it appears in.)
Ivr.cpp:174: `tts_voice' undeclared (first use this
function)
Ivr.cpp:174: `register_cmu_us_kal' undeclared (first
use this function)
Ivr.cpp: In member function `virtual void
IvrDialog::onSessionStart(AmRequest*)':
Ivr.cpp:201: `class IvrPython' has no member named
`tts_voice'
Ivr.cpp:243: no matching function for call to
`IvrPython::cancel()'
make[1]: *** [Ivr.o] Error 1
make[1]: Leaving directory
`/root/answer_machine/plug-in/ivr'
make: [all] Error 2 (ignored)
*******************************************************
with regards
serdiehard
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi I am getting the following error:
_default_ User Management
400 Table 'aliases' not found in memory, use save("aliases") or
lookup("aliases") in the configuration script first
We regret but your _default_ confirmation attempt failed.
Shiran Guez
Hi,
I have a problem with the Cisco 7905G IP Phone.
I can't set the digest realm in the phone. The phone always uses the
proxy (ser) IP or Adress as realm!
If the Phone tries to register with ser, ser denies the request, because
there is no user in the database with the realm "@ser_ip_adress".
The user in the database is "user@my_domain".
Creating an additional user (user@ser_ip_adress) wouldn't be a problem,
but that's not what I want, because I want users from multiple domains
being able to register.
I tried to set the login name to "user@my_domain" in the phone, but this
stupid thing uses "user@my_domain@ser_ip_adress".....
I know that it's a problem of the phone, but maybe someone has a
solution for this?
Jan Jankowski