Hi
Is there any order these should be placed in config file. Is a failure
response also considered a reply in t_on_reply, if so, then placing
reply above failure will mean failure never gets caught
Iqbal
Hi,
After de-registration, a contact in the location table is marked as zombie, and after some time, it is deleted from the table. Right?
Ok, what happens when this user receives a call ... i mean, he is in the location table (as zombie), but he is not registered really on the phone?
What do the lookup('location") and registered('location") in this scenario return?
In my config ... a first call to lookup(loc) returns false, and then calling registered(loc) returns true. Is that right? Shouldn't the two functions do the same, just lookup rewrites the uri?
Tks!
Cesc
Unclassified
hello --
some time ago i extended ser to support tls, basically
i implemented functions needed by the existing tls
api. i polished the code a bit and i am giving it away
freely. there are still some things to fix, but it
mostly works.
to use the code, copy tls directory into your ser tree
and optionally patch cfg.lex and cfg.y, then recompile
ser with TLS=on.
if you also patch cfg.lex and cfg.y then you can use
extended cfg syntax and specify different keys and
certificates for different listen sockets. this is
similar to apache virtual servers with ssl. without
the patches you can only use the default configuration
directives.
to iptel: would be great to have it in cvs, what do
you think ?
-- peter
-----------
example ser.cfg:
listen=tls:127.0.0.1:5061
listen=tls:127.0.0.1:5062
# defaults for outgoing tls connections
tls_certificate="default.crt"
tls_private_key = "default.key"
# domain1.com
tls_domain[127.0.0.1:5061] {
tls_certificate="domain1.crt"
tls_private_key = "domain1.key"
tls_method = sslv2
}
# domain2.com
tls_domain[127.0.0.1:5062] {
tls_certificate="domain2.crt"
tls_private_key="domain2.key"
}
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
Hey Guys,
I need some advice. We have been running SER 0.8.12 since it was released
almost a year ago. However, we have decided recently that we need to
upgrade for some of the features in the newer versions.
What is the most stable later release? I see releases of 10.99, and 0.9.x,
and IPTels webpage even says that 0.8.14 is the most stable production
release ??
I just need some clarification on which version actually -is- stable enough
for production use.
Thanks for your help!
Darren Nay
VoIP Network Development
Ionosphere, Inc
dnay(a)ionosphere.net
Hi All. This section of the RFC states this:
8.2.6.1 <http://8.2.6.1> Sending a Provisional Response
One largely non-method-specific guideline for the generation of
responses is that UASs SHOULD NOT issue a provisional response for a
non-INVITE request. Rather, UASs SHOULD generate a final response to
a non-INVITE request as soon as possible.
Does this mean SER should never send a 1xx response for anything except
INVITE messages?
Regards,
Paul
Hi, ALL:
I set the following line on my ser.cfg to limit the max registers.
modparam("registrar", "max_contacts", 3)
Then I restart my ser.
I find that I can register more than 3 UACs to my ser. So I guess that
the parameter max_contacts is not workable. Is it true?
Does anybody have any idea/solution about it?
--
Best Regards
Charles
Hello all,
we have a SIP Express Router located in 172.16.0.0/16 and several Windows Messenger clients, located in the same subnet as well, as in 192.168.190.0/24.
All clients can establish successfully connections to other clients in the first subnet, but connections to clients in the second subnet end with "404 Not Found".
The behaviour is very strange, since I got it to work with some clients in the second subnet, but then after a restart of the SER process it didn't work again. I definitely have changed nothing!
Here is the conf file:
# $Id: ser.cfg,v 1.11 2002/10/04 21:40:31 jiri Exp $
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes# (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/print.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwars==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# Do strict routing if pre-loaded route headers present
rewriteFromRoute();
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri=~"sip.####.de") {
if (method=="REGISTER") {
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
}
Thanks,
Hendrik Utsch
Dipl.-Ing. (FH)
Systemtechnik
eMail: hendrik.utsch(a)tecsphere.com
TecSphere AG
Standort Köln
Claudiastraße 2b
D-51149 Köln
Deutschland
Fon: +49 (2203) 89 11 506
Fax: +49 (2203) 89 11 111
http://www.tecsphere.com
I want to compile ACC module with Radius Accounting but uncommenting theese
two lines as said in modules/acc/Makefile makes the "acc.so" disapear (it
simply does not compile)
1.I have downloaded the SER v.0.9-0 from developer at berlios.de (not the
cvs one).
2. I have built a *deb package since i have debian. Maybe it's debian
specific ?
3. After a build I see whats in the ser_8.0-12.deb (the version is invalid
:) ) and there's no module with that name.
============fragment from modules/acc/Makefile==============
...
# uncomment the next two lines if you wish to enable RADIUS accounting
#
DEFS+=-DRAD_ACC -I/usr/include
LIBS=-L/usr/lib -lradiusclient
...
=============end of the fragment==========================
--
Pozdrawiam,
Wojciech Ziniewicz
Optocomp sp.z.o.o, www.optocomp.pl
mailto: wojtekz(a)optocomp.pl
+48(0)691031535
Hello,
I have ser locally installed on 192.168.1.223 and asterisk on 192.168.1.222.
I have two softphones: sip:13@192.168.1.222 (asterisk) and
sip:14@192.168.1.223 (ser)
If I want to call 14(a)192.168.1.223 (asterisk -> ser) it works perfectly, but
if I want to call 13(a)192.168.1.222 (ser -> asterisk) the call fails (Call
rejected: 403 forbidden).
What do I make wrong??
Thanks!
Sebastian
--
+++ GMX - die erste Adresse f�r Mail, Message, More +++
10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail