Hi guys, I have a doubt. Is it possible to use radius related modules
with out using db related modules at all?
Which are going to be the side effects If I don't use db modules?
For example I tried to load mediaproxy module and it is claiming for
commands like "is_uri_host_local()" or "is_from_local()" in order to be
load it but these commands are only available if I load the db modules.
Who can help me to clarify the relationship between radius modules,
mediaproxy module and db modules?
Regards
Alberto Cruz
I have configured two server one with ser and dispacher and the second with mediaproxy server.
I didn't set the dns records but i choosed to use a default proxy.
Everything seems to work fine:
1. into the dispacher machine i can log the closing of the media session
2. the audio from and to private ip is fine
BUT when I execute sessions.py on the server machine i get NO RTP SESSIONS, even if i am still calling! the same if i use the script to generat the web page.
what is going on?
Rosario
Hi,
I have a problem with the device Linksys PAP2NA. I'm using the mediaproxy server
and the mediaproxy module with ser.cfg from mediaproxy modules.
I have Linksys behind a NAT and I comunicate with a x-lite user agent using a
public IP. I can get outgoing comunications but I can't get incoming
comunications because the server add so many via headers with the server IP. As
a result, I get the response "too many hops".
I have proved replacing the linksys with a x-lite user agent and it works.
Anyone knows what is the problem?
Thanks in advanced.
Gustavo Salvucci
Rio Cuarto. Cordoba.
Argentina.
----------------------------------------------------------------
Este mensaje ha sido enviado usando el servicio de Webmail de
la Universidad Nacional de Río Cuarto.
Basado en Horde/IMP
Hello,
I am trying to implement sequential forking using to_on_failure and failure_route blocks. Is there a way to configure SER or tm module to execute the 'failure-route' blocks using the same process as was used for executing the main route script? If it was possible, I would not need to share state information between different SER processes
Thank you in advance,
Dmitry
Dear All,
Does anyone know how to load balance SER call control signaling. I meant
how to get multiple copies of SER running on different machine. Is it
through Virtual Linux Server or something else. Please advise.
Thank for any help available.
Regards,
TC Chan
Hey all,
Can anyone tell me a good and reliable way to restrict registrations to 1
per username?
I was thinking that I could do something like this:
if (method=="REGISTER") {
if (!www_authorize("proxy.mydomain.net", "subscriber")) {
www_challenge("proxy.mydomain.net", "0");
break;
};
};
if (!lookup("location")) {
save("location");
} else {
## instead of saving with a 200 OK - send error
## Not sure the best error to return here
sl_send_reply("403","Forbidden");
}
break;
};
The problem is that we use static routes for voicemail, and so there will
always be at least one static route in the locations table for each of our
customers and thus the method above won't work.
Is there a way that I can not only check whether a location exists, but also
do a Search() against the URI's of the returned destination set?
Or is there another (possibly better) way to do this?
Thanks for your help!!
Darren Nay
Ionosphere, Inc.
VoIP Network Development
dnay(a)ionosphere.net
hi all
can u tell me what is the wrong in my mechine i am
using radiusclient-ng
make[1]: Entering directory
`/ser-0.9.0/modules/auth_radius'
../../Makefile.rules:77: authorize.d: No such file or
directory
../../Makefile.rules:77: authrad_mod.d: No such file
or directory
../../Makefile.rules:77: sterman.d: No such file or
directory
make[1]: Leaving directory
`/ser-0.9.0/modules/auth_radius'
make[1]: Entering directory
`/ser-0.9.0/modules/auth_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
-Wall -minline-all-stringops -malign-double
-falign-loops -mtune=athlon
-I/opt/axxany/siprouter/radiusclient/include
-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386
-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -I/usr/local/include -c authorize.c -o
authorize.o
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
-Wall -minline-all-stringops -malign-double
-falign-loops -mtune=athlon
-I/opt/axxany/siprouter/radiusclient/include
-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386
-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -I/usr/local/include -c authrad_mod.c
-o authrad_mod.o
authrad_mod.c: In function `mod_init':
authrad_mod.c:110: error: `DICT_VENDOR' undeclared
(first use in this function)
authrad_mod.c:110: error: (Each undeclared identifier
is reported only once
authrad_mod.c:110: error: for each function it appears
in.)
authrad_mod.c:110: error: `vend' undeclared (first use
in this function)
authrad_mod.c:134: warning: assignment makes pointer
from integer without a cast
authrad_mod.c:139: error: too many arguments to
function `rc_conf_str'
authrad_mod.c:139: error: too many arguments to
function `rc_read_dictionary'
authrad_mod.c:144: warning: implicit declaration of
function `rc_dict_findvend'
authrad_mod.c:159: error: too many arguments to
function `rc_dict_findattr'
authrad_mod.c:159: error: too many arguments to
function `rc_dict_findval'
make[1]: *** [authrad_mod.o] Error 1
make[1]: Leaving directory
`/ser-0.9.0/modules/auth_radius'
make[1]: Entering directory
`/ser-0.9.0/modules/group_radius'
../../Makefile.rules:77: group.d: No such file or
directory
../../Makefile.rules:77: grouprad_mod.d: No such file
or directory
make[1]: Leaving directory
`/ser-0.9.0/modules/group_radius'
make[1]: Entering directory
`/ser-0.9.0/modules/group_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
-Wall -minline-all-stringops -malign-double
-falign-loops -mtune=athlon
-I/opt/axxany/siprouter/radiusclient/include
-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386
-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -I/usr/local/include -c group.c -o
group.o
group.c: In function `radius_is_user_in':
group.c:194: warning: passing arg 2 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:194: warning: passing arg 3 of `rc_avpair_add'
makes pointer from integer without a cast
group.c:194: warning: passing arg 4 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:194: error: too many arguments to function
`rc_avpair_add'
group.c:203: warning: passing arg 2 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:203: warning: passing arg 3 of `rc_avpair_add'
makes pointer from integer without a cast
group.c:203: warning: passing arg 4 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:203: error: too many arguments to function
`rc_avpair_add'
group.c:209: warning: passing arg 2 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:209: warning: passing arg 3 of `rc_avpair_add'
makes pointer from integer without a cast
group.c:209: warning: passing arg 4 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:209: error: too many arguments to function
`rc_avpair_add'
group.c:215: warning: passing arg 1 of `rc_auth' makes
integer from pointer without a cast
group.c:215: warning: passing arg 3 of `rc_auth' from
incompatible pointer type
group.c:215: warning: passing arg 4 of `rc_auth' from
incompatible pointer type
group.c:215: error: too many arguments to function
`rc_auth'
make[1]: *** [group.o] Error 1
make[1]: Leaving directory
`/ser-0.9.0/modules/group_radius'
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi All.
Here's a bit more info on the usrloc "flags" bug.
This register message was flagged at NATed eventhough my "nat_flag" was not
set.
U 2005/06/10 11:01:27.853890 71.9.17.51:5060 <http://71.9.17.51:5060> ->
10.3.0.221:5060 <http://10.3.0.221:5060>
REGISTER sip:sipdev.mycompany.net <http://sipdev.mycompany.net> SIP/2.0.
Via: SIP/2.0/UDP 71.9.17.51:5060 <http://71.9.17.51:5060>
;branch=z9hG4bK1106535059.
From: Paul <sip:3215590000@sipdev.company.net>;tag=3843647257.
To: Paul <sip:3215590000@sipdev.company.net>.
Call-ID: 1846387046(a)71.9.17.51.
CSeq: 778 REGISTER.
Contact: <sip:3215590000@71.9.17.51:5060>.
Authorization: Digest username="3215590000",
realm="sipdev.mycompany.net<http://sipdev.mycompany.net>",
nonce="42a9ac7341e18f72830c3cd553fecfbd0c9fc6", uri="sip:
sipdev.company.net:5060 <http://sipdev.company.net:5060>",
response="5443dedef7bfa7fb4a033af66a2392c", algorithm=MD5,
cnonce="3dc4445e42acd47873ca563a9942104a", qop=auth, nc=00000193.
max-forwards: 70.
expires: 900.
Content-Length: 0.
Another thing I see is that all usrloc records end up having the flag column
set to 1 wheather the client is NATed or not. I'm setting the registrar
modules nat_flag using client_nat_test("7") when processing REGISTER
messages, however usrloc is not correctly setting the NAT_FLAG.
Regards,
Paul
Hi All.
I've identified a bug in the usrloc module (I think). This can be
reproduced.
When a non-NATed client registers, usrloc will write an entry to the MySQL
location table.
If I manually change the "flags" column from 0 to 1 (which indicates a NATed
client) and then restart SER, the next time the non-NATed client registers
and usrloc refreshes the location table it does not update the flags column.
Regards,
Paul