Hi all,
here is my problem when i use serctl to add a account the domain name is
extract from email address and insert to domain field of subscriber
table.
I added two domains (support.example.com and example.com) but if i use
digest authentication (!www...) the client send is domain and SER look
at its subscriber domain field so it's right for example.com's clients.
I have to change domain name in subscriber table for all
support.example.com's clients or don't use digest authentication!
is it possible to avoid changing domain field of subscriber table for
accounts of others domains?
What about dns srv may I have to add srv recording for each domain or
using outbound proxy?
Regards
Harry
Hi,
Just for other people's reference, to get
ser to compile with radiusclient 0.4.x you need
to get the latest source from CVS.
Now as per the 'radius_howto' testing between
freeradius and the client worked fine.
However, after modifying ser.cfg, the following
comes up and i would appreciate any help.
0(0) ERROR: acc: error reading radius dictionary
0(0) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
If i do not load module 'acc' then a similar error message
appears with 'auth_radius' not initialising.
I have appended dictionary.ser to dictionary and included
it from raddb. The permissions for dictionary are set to
rw/r/r and the relevant parts in ser.cfg are:
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "password")
modparam("acc", "radius_config", "/usr/local/etc/radiusclient/radiusclient.conf
")
modparam("auth_radius", "radius_config", "/usr/local/etc/radiusclient/radiuscli
ent.conf")
modparam("auth_radius", "service_type", 15)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
#modparam ("acc", "log_level", 1)
#modparam ("acc", "radius_flag", 1)
Hi!
I've successfully tested a handful CPL based services on SER 0.8.12 and most of them are working correctly. Only call forward on busy and/or no answer doesn't work. Enabling logging (debug=9) I get no error messages in the log file, but a NOTICE message that no lookup domain is given ("cpl_init: no lookup_domain given -> disable lookup node"). It seems to me that all services with blocking (i.e. call screening, time of day screening) and direct redirection to another host (i.e. call forward unconditional, time of day routing) are working correctly. When SER first tries to reach a client before redirecting to another host (i.e. call forward busy or no answer) it seems that the proxy server doesn't returns to CPL script execution.
Does anybody no a reason for this behaviour or has a correct working CPL implementation for call forward on busy or no answer?
many thanks,
Oliver
Ahh, sorry, my fault, I confused two commands. domain_dump command is in
domain module, so you need to load and configure that module to be able to
use this command.
Jan.
On 18-04 18:44, gaillac harry wrote:
> Hi ,
> Sorry i downloaded unstable sip_router from cvs and "serctl domain show"
> command send me back "500 command 'domain_dump' not available".
> I'll wait for ser-0.8.13 stable release.
>
> harry
>
> rLe dim 18/04/2004 ?? 18:24, Jan Janak a ??crit :
> > I don't know what exactly are you trying to do, but there is not such
> > command, only ul_dump
> >
> > Jan.
> >
> > On 16-04 17:22, gaillac harry wrote:
> > > Hi,
> > >
> > > I've still ap problem with serctl domain show.
> > > here is the response"500 command 'domain_dump' not available".
> > >
> > > What may i do ?????
> > >
> > > Harry
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
>
Hi all
how to get an configuration example for Cisco ATA186 which works with SER?
1) as UA ?
2) as Gateway in with port 1 and Out with port 2 ?
which ATA OS is the better? v 2.16 or more?
thank for your help
JML
Then, there is not router Cisco (adsl) that support registration sip?
and I must configure ser.cfg for this router
Thanks
>On Sat, 17 Apr 2004, Tomas Tomas wrote:
>Hello,
>> Hi,i do not get registrer C827-4v in ser. I know registrar ATA but i think
that
>> is not possible. Someone know how?
>> Tkanks at all.
>You can't do it. Cisco IOS for 827-4v is not able to register.
>Saludos
>JesusR.
>-------------------------------
>Jesus Rodriguez
>VozTelecom Sistemas, S.L.
><a href="javascript:sendMsg
('jesusr(a)voztele.com');">jesusr(a)voztele.com</a>
><a href="/app/message?l=es&o=8&url=http%3A%2F%2Fwww%2Evoztele%
2Ecom" target="_blank">http://www.voztele.com</a>
>Tel. 902360305
>-------------------------------
---------------------------------------------------------
Comparte tus vacaciones con los amigos y nuestro album de fotos: http://fotos.ya.comYa.com ADSL Router Wi-Fi: Sólo 29,90 /mes + IVA*. Router + Antivirus y firewall ¡Gratis!
http://ir.ya.com/app/redir?o=is2&prefix=isp_ya_com_&tgt810&afiliado=fofooter
Hi,
i'm pretty new to ser and I'd love to know has anybody came across
making SER to work with Cisco ACS RADIUS server?
So far I can see they talking to each other, but Cisco loggs an error :
"Bad Request from NAS". I can see that username is passed
to the RADIUS server but SER shows an error:
5(15475) receive_msg: cleaning up
5(15475) tcp_read_req: content-length= 0
5(15475) SIP Request:
5(15475) method: <REGISTER>
5(15475) uri: <sip:sip.fns.ru>
5(15475) version: <SIP/2.0>
5(15475) parse_headers: flags=1
5(15475) end of header reached, state=5
5(15475) parse_headers: Via found, flags=1
5(15475) parse_headers: this is the first via
5(15475) After parse_msg...
5(15475) preparing to run routing scripts...
5(15475) DEBUG : is_maxfwd_present: searching for max_forwards header
5(15475) parse_headers: flags=128
5(15475) DEBUG: is_maxfwd_present: value = 70
5(15475) parse_headers: flags=8
5(15475) DEBUG: add_param: tag=3de46d9fa4774112b66632d744e28ea5
5(15475) DEBUG: add_param: epid=442289156c
5(15475) end of header reached, state=29
5(15475) parse_headers: flags=256
5(15475) end of header reached, state=9
5(15475) DEBUG: get_hdr_field: <To> [25]; uri=[sip:222333@sip.fns.ru]
5(15475) DEBUG: to body [<sip:222333@sip.fns.ru>
]
5(15475) get_hdr_field: cseq <CSeq>: <2> <REGISTER>
5(15475) DEBUG: get_hdr_body : content_length=0
5(15475) found end of header
5(15475) find_first_route(): No Route headers found
5(15475) loose_route(): There is no Route HF
5(15475) check_self - checking if host==us: 10==13 && [sip.fns.ru] ==
[192.168.14.18]
5(15475) check_self - checking if port 5060 matches port 5060
5(15475) check_self - checking if host==us: 10==9 && [sip.fns.ru] ==
[127.0.0.1]
5(15475) check_self - checking if port 5060 matches port 5060
5(15475) check_nonce(): comparing
[407f0b2e50ed56354282e03c50b13d45299cf105] and
[407f0b2e50ed56354282e03c50b13d45299cf105]
5(15475) res: -2
5(15475) radius_authorize_sterman(): Failure
5(15475) build_auth_hf(): 'WWW-Authenticate: Digest realm="sip.fns.ru",
nonce="407f0b2e50ed56354282e03c50b13d45299cf105"
'
5(15475) parse_headers: flags=-1
5(15475) check_via_address(192.168.14.20, 192.168.14.20, 0)
5(15475) tcp_send: tcp connection found (0x2832fde8), acquiring fd
6(15476) tcp_main_loop: read response= 2832fde8, 1 from 5 (15475)
5(15475) tcp_send, c= 0x2832fde8, n=8
5(15475) tcp_send: after receive_fd: c= 0x2832fde8 n=4 fd=16
5(15475) tcp_send: sending...
5(15475) tcp_send: after write: c= 0x2832fde8 n=638 fd=16
5(15475) tcp_send: buf=
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 192.168.14.20:13032
From:
<sip:222333@sip.fns.ru>;tag=3de46d9fa4774112b66632d744e28ea5;epid=442289
156c
To: <sip:222333@sip.fns.ru>;tag=ec4c46ea134bd13f46d10e4005923970.4590
Call-ID: 3b6cf7a1117541f38ed499a4b2c6b815(a)192.168.14.20
CSeq: 2 REGISTER
WWW-Authenticate: Digest realm="sip.fns.ru",
nonce="407f0b2e50ed56354282e03c50b13d45299cf105"
Server: Sip EXpress router ACS Build(0.8.12 (i386/freebsd))
Content-Length: 0
Warning: 392 192.168.14.18:5060 "Noisy feedback tells: pid=15475
req_src_ip=192.168.14.20 req_src_port=2004 in_uri=sip:sip.fns.ru
out_uri=sip:sip.fns.ru via_cnt==1"
5(15475) receive_msg: cleaning up
5(15475) tcp_read: EOF on 0x2832fde8, FD 12
5(15475) tcp_read_req: EOF
5(15475) releasing con 0x2832fde8, state -1, fd=12, id=1
5(15475) extra_data 0x0
6(15476) tcp_main_loop: reader response= 2832fde8, -1 from 0
6(15476) tcp_main_loop: destroying connection
Any help will be greatly appreciated!
Thanks,
Ilya
Hi,
I have been testing an idea where a gateway failure will not rely on invite
timeouts before a call is tried on another gateway.
The idea is that the gateways register with a user i.e. vgw1 this appears in
usrloc, before I try to route that call to the gateway I lookup the user in
usrloc, if it is not there I start a failure route.
In the route statement I have the following:
if (uri=~"^sip:20[0-9]@10.96.1.48") {
route(2);
break;
};
route[2] {
#route to E2 PBX
log(1,"IM AT ROUTE 2");
lookup("vgw1"); # no registered contact
sl_send_reply("404", "Not Found");
#};
forward( 10.96.1.168, 5060 );
# break;
# }
t_on_failure("1");
if (!t_relay()) {
sl_reply_error();
break;
};
}
However the test number I dial is 201, running ser in debug I see that the
lookup is for 201 not vgw1.
Is there a way to lookup a name in usrloc as part of the route?
TIA
Regards,
Steven Godfrey
Network Development Manager
Phone 01423 850007
steven.godfrey(a)intechnology.co.uk
==============================================
InTechnology plc - Secure Offsite Data
Head Office: Nidderdale House, Beckwith Knowle, Harrogate, HG3 1SA.
Main: 01423 850000
Fax: 01423 858855
www.intechnology.co.uk
________________________________________________________________________
This message has been checked for all known viruses by the
CitC Virus Scanning Service powered by SkyLabs. For further information visit
http://www.citc.it
___
it seems having negotiated the install of nathelper from cvs tree, am now
needing to progress with the similar task for rtpproxy.
given that i am very new to freebsd and certainly not understanding the cvs
system was wondering if anyone could give me the "idiots guide" for the
installation of rtpproxy from cvs
there was a very helpful note for the cvs version of ser at
www.iptel.org/ser/cvs by comparison
GT
Hi,
I have the following problem:
I've compiled and installed SER (0.8.12) on RedHat 8.0 box and
it starts ok without mysql.so module, but if I add this module
to config file (as it's described in INSTALL) I have the
following problem:
SER seems to be starting, but right after the fork dies without
any error message. Even if I use debug level 9 I still have no
error, but it's not starting...
The same setup works find in Red Hat 9.
Any ideas?
Thanks in advance,
--
//========================================================================\\
Sergey Gribov | A specialist is someone who
E-Mail: sergey(a)pulver.com | learns more and more about less
WWW: http://www.sergey.com/ | and less, and ends up knowing
FWD#: 251410 | everything about nothing...
\\========================================================================//