Hi,
We have compiled SER. Now ser sends accounting request to radius and its get updated in database. But we didn't get accounting stop request. (We have included setflag() in both INVITE and BYE request).
Please help us.
Thanks in advance,
Regards,
Xten India
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Hi to all,
I've found this problem during the compilation of mysql module. The command
was
make include_modules="mysql mangler" modules
the output was:
make[1]: Entering directory `/root/ser-0.8.11/modules/mysql'
gcc -fPIC -DPIC -g -O9
-funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double
-falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.11"'
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386
-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include
-I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/pkg/include -c
dbase.c -o dbase.o
In file included from dbase.c:39:
con_mysql.h:33:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:39:
con_mysql.h:39: parse error before "MYSQL_RES"
con_mysql.h:39: warning: no semicolon at end of struct or union
con_mysql.h:40: warning: type defaults to `int' in declaration of `con'
con_mysql.h:40: warning: data definition has no type or storage class
con_mysql.h:41: parse error before "row"
con_mysql.h:41: warning: type defaults to `int' in declaration of `row'
con_mysql.h:41: warning: data definition has no type or storage class
dbase.c: In function `connect_db':
dbase.c:88: dereferencing pointer to incomplete type
dbase.c:88: `MYSQL' undeclared (first use in this function)
dbase.c:88: (Each undeclared identifier is reported only once
dbase.c:88: for each function it appears in.)
dbase.c:88: parse error before ')' token
dbase.c:89: dereferencing pointer to incomplete type
dbase.c:95: warning: implicit declaration of function `mysql_init'
dbase.c:95: dereferencing pointer to incomplete type
dbase.c:97: warning: implicit declaration of function `mysql_real_connect'
dbase.c:97: dereferencing pointer to incomplete type
dbase.c:98: warning: implicit declaration of function `mysql_error'
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:99: warning: implicit declaration of function `mysql_close'
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:101: dereferencing pointer to incomplete type
dbase.c: In function `disconnect_db':
dbase.c:126: dereferencing pointer to incomplete type
dbase.c:128: dereferencing pointer to incomplete type
dbase.c: In function `submit_query':
dbase.c:148: warning: implicit declaration of function `mysql_query'
dbase.c:148: dereferencing pointer to incomplete type
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c:149: dereferencing pointer to incomplete type
dbase.c:149: warning: format argument is not a pointer (arg 3)
dbase.c: In function `db_init':
dbase.c:284: sizeof applied to an incomplete type
dbase.c:289: sizeof applied to an incomplete type
dbase.c:289: sizeof applied to an incomplete type
dbase.c:289: sizeof applied to an incomplete type
dbase.c:289: sizeof applied to an incomplete type
dbase.c:289: sizeof applied to an incomplete type
dbase.c:289: sizeof applied to an incomplete type
dbase.c: In function `db_close':
dbase.c:315: dereferencing pointer to incomplete type
dbase.c:316: warning: implicit declaration of function `mysql_free_result'
dbase.c:316: dereferencing pointer to incomplete type
dbase.c: In function `get_result':
dbase.c:343: dereferencing pointer to incomplete type
dbase.c:343: warning: implicit declaration of function `mysql_store_result'
dbase.c:343: dereferencing pointer to incomplete type
dbase.c:344: dereferencing pointer to incomplete type
dbase.c:345: warning: implicit declaration of function `mysql_field_count'
dbase.c:345: dereferencing pointer to incomplete type
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c:350: dereferencing pointer to incomplete type
dbase.c:350: warning: format argument is not a pointer (arg 3)
dbase.c: In function `db_free_query':
dbase.c:388: dereferencing pointer to incomplete type
dbase.c:389: dereferencing pointer to incomplete type
make[1]: *** [dbase.o] Error 1
make[1]: Leaving directory `/root/ser-0.8.11/modules/mysql'
hi guys,
our university is using ldap as password storage for the authentication of several services like webmail, webproxy, etc. there are so little info regarding the implementation of ldap and http digest authentication (which sip use). we are trying to implement scenario where ser would authenticate vs a radius server, which in turn would query the ldap.
so far, we have only done authentication between
ser<------->radius and radius<------->ldap,
but not ser-->radius-->ldap
i know that basic authentication would work but poses a big risk of the sip passwords being sniffed out of the network. now my question is, has anybody tried this kind of approach? still i think the best solution would be an ldap module for ser, probably a basic authentication over tls, coz ldap's digest auth support requires an sasl database which i think adds another point of failure. do you guys have any suggestion on how to approach this challenge?
~kelvin
Hi,
a user, we say yang, is registered from different locations, therefor there
are multiple contacts in the location table like this:
---------------------------------
aor : 'yang@domain'
Contact: 'sip:10.20.0.100:5060'
q: 1.00
aor :'yang@domain'
Contact: 'sip:192.44.30.122:16621'
q: 0.00
-----------------------------------
I have configured SER as following:
---------------------------
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
if (!uri=~"^sip:(.+@)?(10\.20\.).*") {
forward("192.168.252.2");
break;
};
t_relay();
------------------------------
That says the INVITE should be forwarded to an outbound proxy 192.168.252.2
if the user is not located in our internal network, e.g. 10.20.0.0/24.
However, the Request-URI will be overwritten with the highest-q rated
contact, in this case with the contact 'sip:10.20.0.100:5060' and the
if-block will be skiped. This induces the INVITE to
'sip:192.44.30.122:16621' will be also directly sent but not via our
outbound proxy 192.168.252.2, what means the messages will be discarded by
the firewall.
Is there any chance to resolve this problem?
Thanks
Yang
Hello there,
We are trying to put together a script that executes an external program when
receiving a certain failure code.
The current script looks like:
/*********************** start script ********************************/
route {
[........]
if (method==INVITE) {
log(1, "INVITE\n");
t_on_failure("1");
};
[........]
t_relay();
}
[......]
failure_route[1] {
log(1, "Retry...\n");
if (status=~"48[0-9]") {
log(1, "Called when busy!!!\n");
exec_msg('./switchboard_server/send_request "127.0.0.1" "9002"
"STORE_SESSION" "$SIP_HF_FROM" "$SIP_HF_TO"');
};
append_branch();
t_relay();
break;
}
/***************************** end of script *****************************/
"exec_msg" does never get called with this configuration. What is the syntax to
catch "48x" in failed replies?
Thanks in advance,
Jaime
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
Hi everybody,
^^^^^^^^^^^^^
I started to use ser 0.8.11 on my server (Debian/SID). After start of ser MySQL
server accepts about 95 - 100 connections per loaded module. I use auth_db
module and msilo module and I found 300 connections in logfile of my MySQL
server. I think, this is not normal behaviour, is it?
I use MySQL server 4.0.15a-1 from SID distribution.
Thank you very much for your reactions.
Best regards
Michal
--
Michal Tarana
Oddelenie projektu Infovek
Ustav informacii a prognoz skolstva SR
Stare Grunty 36
Bratislava
ICQ: 146757226
Folks,
I've noticed that documentation available at
http://www.iptel.org/ser/doc/serdev/serdev.html incorrectly describes
db_query() function. Particularly, third db_op_t parameter is missed.
Also, db_op_t is not listed among other standard db_xxx_t types.
Obviously this need to be fixed.
-Maxim
Hi,
I want to thank you for your interest in Touch Typing Now!
We have a special deal for the program at www.nikasoft.com:
Pro version - US$ 25.90 instead of US$ 39.95
Deluxe CD-ROM version - US$ 29.90 instead of US$ 55.90
You may even get another US$ 5.00 off the special price if you pay with
PayPal !
This special deal will be available in the next 3 days at www.nikasoft.com
Touch Typing Now! is a fun interactive guide that will help you through the
painstaking process of learning how to type professionally super-fast.
This course is a MUST for anyone who wastes too much time, trying to locate
the keys on their keyboard while typing e-mails, letters, or business
documents!
I am so confident that you will be completely satisfied with your software
that a 100% money-back guarantee insures your purchase.
Our system is so easy to use and so easy to set up. The only thing you will
think about after you use this software is how come you didn't find this
remarkable software, sooner.
Click here for details about this special deal: www.nikasoft.com
Kind regards,
www.nikasoft.com sales team
***********
If you no longer wish to receive emails from us, simply reply to this
email.
Hello Gavin,
i will try to answer a part of the problem, concerning to following error
mesage from Sems
> >Oct 13 12:36:07 jiffypop Sems[23889]: Error: while getting return code
from Ser
The message means that Ser could treat a request from Sems. It could be
everything...
The best way to see what's happens, is to run Sems in debug mode:
start 'sems -f your_configuration_file -E -D 3' and send me the output.
Additionnally, it would be necessary that you record the SIP messages on
both interface (eth0 and loopback). I would like take a look at your Sems
configuration file.
-Raphael.
In response for frequent questions how to configure SER to operate
as voicemail2email server, I created an example file. Note that this
example operates as a stand-alone UAS, i.e., the configuration does
not operate in proxy mode -- it needs a proxy fronting it. (I will
try to look at the combined mode too, as soon as time allows.) Also,
the example needs to have sems up and running.
The example is on our CVS, see
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/sip_router/example…
-jiri
--
Jiri Kuthan http://iptel.org/~jiri/