Hi,
Got couple of questions:
1. Where is the sql file, which would prepare ser-0.9.6 DB for PA
module. I just could not find it.
2. Is PA module working ok on 0.9.6? Would 0.9.7-pre8 work better?
Andrey.
P.S. - I know I should use Ottendorf for presence, but I'm bound to
use 0.9.x for now :)
Hi users
I'm New to Radiator Radius, but Am familar in Free radius server,
for avp_load_radius("callee") or caller it getting only one value .
my guess there is problem in Radiator Server ,
hanndler in part in radiator
<Handler Service-Type=SIP-Callee-AVPs>
#<AuthBy Group>
PreAuthHook file:"/etc/radiator/user_domain.pl"
# PostAuthHook file:"/etc/radiator/user_preferences.pl"
# <AuthBy Group>
AuthByPolicy ContinueWhileIgnore
<AuthBy SQL>
DBSource dbi:mysql:openser:localhost
DBUsername openser
DBAuth openserrw
AuthSelect select value from usr_preferences where
username='%{CheckGroup-User}'
AuthSelect select value as value2 from usr_preferences where
username='%{CheckGroup-User}'
AuthColumnDef 0, SIP-AVP, reply
NoDefault
</AuthBy>
<AuthBy INTERNAL>
DefaultResult REJECT
</AuthBy>
</Handler>
Radius reply only one sip-avp attribute , so i need to get multiple
attribute gort sip-avp
did any one help me ... in this.........
--
Thanks &Regards
Ravi Prakash Sunkara
Greetings to the list,
In a previous thread
(http://lists.iptel.org/pipermail/serusers/2006-April/027961.html)
SER and mysql 5.0 issues were discussed. The main idea was that if MySQL was
restarted, SER should be able to do auto-reconnect to the database server.
According to the thread (Jan Janak), the latest SER version
(0.9.6) should contain a fix to the problem.
However, we recently upgraded MySQL from version 4.1 to 5.0 as part of an upgade
of Debian Sarge to Etch in our servers. We had no problems with SER and MySQL 4.1.
We recompiled SER and linked mysql module with the MySQL 5 client library
(libmysqlclient.so.15). The auto-reconnect problem seems to persist.
We start MySQL, then SER and after a few SIP clients get registered,
we restart the MySQL server (using Debian init scripts).
We then see the following messages in ser's log:
./ser[24006]: submit_query(): MySQL server has gone away
./ser[24006]: db_insert: Error while submitting query
./ser[24006]: db_insert_ucontact(): Error while inserting contact
./ser[24006]: insert_ucontact(): Error while inserting in database
Our SER config contains the following lines:
fifo_db_url="mysql://ser:XXXXXX@localhost/ser"
# --------------------------------------------------------------------
# Modules Section
# --------------------------------------------------------------------
...
loadmodule "/opt/ser-0.9.6/lib/ser/modules/mysql.so"
loadmodule "/opt/ser-0.9.6/lib/ser/modules/usrloc.so"
loadmodule "/opt/ser-0.9.6/lib/ser/modules/uri_db.so"
...
modparam("usrloc", "db_url", "mysql://ser:XXXXXX@localhost/ser")
modparam("uri_db", "db_url", "mysql://ser:XXXXXX@localhost/ser")
...
Our MySQL version is 5.0.32 (standard Debian etch packages) and we
have compiled ourselves the latest stable SER version (0.9.6).
Any comments are highly welcome, since we are thinking of deploying a
large scale SER setup.
thanks,
Kostas
I am trying to configure the ser.cfg file so I can forward invites from
a user registered on the SER to a ACME session border. I HAVE HAD NO
SUCCESS. I have a IP adress for the SBC. Does anyone have a sample
ser.cfg file that illustrates the "if then else' statements to effect
this.
Thanks in advance
Greg Wroclawski
Hi,everone.
now I am using openser1.1 and linphone1.6 and 1.7
version, after I configure linphone: ./configure
--disable-strict, it displays :Now type 'make' to
compile, and then 'make install' as root to install
it.
but when I execute make command, I get the errors as
follows:
gcc -DENABLE_TRACE -D_ORTP_SOURCE -g -O2 -o
.libs/linphonec linphonec.o commands.o
../coreapi/.libs/liblinphone.so -lreadline -lncurses
-Wl,--rpath -Wl,/usr/local/linphone/lib
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `av_crc04C11DB7'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `av_realloc'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `av_log'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `ff_sqrt_tab'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `lzo1x_decode'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `av_d2q'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to
`av_random_generate_untempered_numbers'
/root/linphone-1.6.0/mediastreamer2/src/.libs/libmediastreamer.so.0:
undefined reference to `av_init_lls'
I have serached a lot of materials, but they seems to
be no help to solve this problem. Now I have no idea.
And another question is :
How to enable IPv6 from the settings?
Any advice from you will be appreciated.
Jacky
___________________________________________________________
抢注雅虎免费邮箱3.5G容量,20M附件!
http://cn.mail.yahoo.com
hi, all:
I've got such a problem recently. For our SIP client test, I must
simulate a specific 180 message. There is a user-defined parameter in
the Contact header field. I want to construct this message in openser
server when it forwards the message to the caller. So I wonder there
is some functions which can append a string parameter to the Contact
header field. If it does, I can just add a process script into the
configuration file of openser.cfg.
Can anyone give some suggestions? Thanks.
andy
Can someone help me with translating this ser config snippet to openser?
Thanks.
if (avp_db_load("$ruri/username", "s:anonreject")) {
if (avp_check("s:anonreject", "eq/y/i)") &&
search("^(f|F)rom:.*(a|A)nonymous")) {
avp_delete("$avp(s:anonreject)");
- Jeremy
Hi Guys,
I able the authentication in my openser based in mysql. The method is perfect, but I perceived that the same user can authenticate many time using the same user :-(
Somebody knows as permit only one register by user ?
Regards
Jeferson
Hi,
First index.phtml opens with "document.forms:0.0 is null or not an object"
script error in IE 6.0.
Then subsequent login attempts just repeat the same login page.
Password never been changed since the installation. Can someone guide me
where to start looking at?
Thanks in advance.
CDRTool: 4.7-7
PHP: 4.4
John C Kim
Hello All!
I want to do something like this (using svn checkout of OpenSER):
switch ($src_ip)
{
case $var(ip1):
# do smth
break;
case $var(ip2):
# do smth
break;
default:
# do smth
}
I've got an error message (syntax error).
Is it possible to use variables in such manner at all?
--
With best regards!