> Hi list,
>
> I'm new to OpenSER, and I'm trying to compile the XMPP module.
>
> So far, I've checkd out the CVS version and compiled it successfully.
> However, the XMPP module wouldn't compile, even though I have taken it
> out of the exclude list in the Makefile. The only way to compile it
> was to run "make" in the modules/xmpp directory (I know, I'm not
> supposed to, but it worked...).
>
> I now have the following in my configuration file:
>
> [...]
> loadmodule "/usr/local/openser-1.2/lib/openser/modules/xmpp.so"
>
> modparam("xmpp", "backend", "component")
> modparam("xmpp", "domain_separator", "*")
> modparam("xmpp", "gateway_domain", "xmpp.test.int")
> modparam("xmpp", "xmpp_domain", "openser.test.int")
> modparam("xmpp", "xmpp_host", "im.test.int")
> modparam("xmpp", "xmpp_port", "10015")
> modparam("xmpp", "xmpp_password", "password")
> [...]
>
> But running OpenSER results in:
>
> 0(24041) set_mod_param_regex: parameter <xmpp_port> not found in
> module <xmpp>
> 0(24041) parse error (86,20-21): Can't set module parameter
> ERROR: bad config file (1 errors)
>
> Anyone can help?
>
> Thank you for your help,
>
> Silviu
Hello all,
I have a file txt and a variable.
I need to do this in ser.cfg:
$variable = cat /tmp/file.txt
Replace_all("bobobo", "%$variable");
But It`s not run.
How can I do this?
Thank you very much.
_________________________________________________________________
Llama a tus amigos de PC a PC: ¡Es GRATIS!
http://get.live.com/messenger/overview
Hi!
I have SER running on 5060, and Asterisk on 5061, so if Asterisk passes
it to @localhost there should be no problem there.
The remaining problem seems to be the passing on of the call. The
mentioned dialplan does send the entered extension to SER, and the phone
on that SER-account rings. However, when the called phone anwers the
call, the calling phone does not notice this, and keeps on ringing...
No connection is established.
I am not sure whether this is caused by Asterisk or SER, so I am sending
this to the SER-group as well... :-)
Regards,
Evert
William Piper wrote:
> Does your variable ${SERADDRESS} have the port number defined? If you
> replace it with localhost, I believe port 5060 will pick up the call by
> default.
>
> Try making sure that your ${SERADDRESS} has the IP like the following:
> 127.0.0.1:5070 <http://127.0.0.1:5070> (replace 5070 with whatever port
> your SER is listening on).
>
> I've never tried sending the call through loopback but it seems like it
> should work.
>
> bp
>
>
> On 11/6/06, *Evert* <evert(a)poboxes.info <mailto:evert@poboxes.info>> wrote:
>
> SERADDRESS is a variable that points to a SER-server (currently running
> on the same IP as Asterisk, but on a different port).
>
> I noticed that it helped to replace @${SERADDRESS} with @localhost
>
> I now have:
>
> exten => 998,1,Answer
> exten => 998,2,Background(agent-newlocation)
> exten => 998,3,Set(TIMEOUT(digit)=15)
> exten => 998,4,WaitExten(10)
> exten => _XXXX,1,Dial(SIP/${EXTEN}@localhost,60,o)
>
>
> This does send the entered extension to SER, and the phone rings.
> However, when the called phone anwers the call, the calling phone does
> not notice this, and keeps on ringing...
>
>
>
>
> Regards,
> Evert
>
> Leo Ann Boon wrote:
> > Evert wrote:
> >> Hi! :)
> >>
> >> Thanks for the tip. I'm almost there now, the only problem that I
> have
> >> left is that I do NOT want Asterisk to check whether the extension
> >> entered is valid. In the current setup Asterisk will refuse to
> forward
> >> the call since it thinks the extension is invalid... :-/
> >>
> >>
> > Is ${SERADDRESS} the name of a valid SIP peer or just plain ole IP
> > address? It should be a SIP peer.
> >
> > Leo
Hi All
In current scenario when a sip invite message comes to SER from my SIP_AS; SER take this massage trusted (as I defined in trusted table) but after this in my INVITE route(3) it sends it to route(1) default message handler. I am enclosing my ser.cfg; please take a glance on it.
Thanks in anticipation
Kamal Mann
-----Original Message-----
From: John Shellhouse [mailto:jwshel@hotmail.com]
Sent: Friday, November 03, 2006 9:17 PM
To: Mann, Kamal
Subject: RE: [serusers]: trusted table(permissions module)
Hi,
you've already tried something more filled in like this...
if (!proxy_authorize("somedomain.com","subscriber")) {
proxy_challenge("somedomain.com","0");
break;
} else if (method == "INVITE" & !check_from()) {
log("from!=digest\n");
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
T
>From: <Kamal.Mann(a)t-systems.com>
>To: <andrey.kouprianov(a)gmail.com>, <serusers(a)iptel.org>
>Subject: RE: [serusers]: trusted table(permissions module)
>Date: Fri, 3 Nov 2006 15:40:26 +0100
>
>Hi All
>Now SER is trusting packates from trusted table IP and in the following
>part of route(3) of Invite message handler allow_trusted results 'true' and
>it directly bypasses this code.
>if (!allow_trusted())
>{
> if (!proxy_authorize("","subscriber"))
> {
> proxy_challenge("","0");
> break;
> }
> else if (!check_from())
> {
> sl_send_reply("403", "Use From=ID");
> break;
> };
> consume_credentials();
>};
>But after in route(1) its sending 407-proxy auth required to trusted ip of
>sip_AS. Please help me out of this dilemma.
>
>Thanks in anticipation
>Kamal Mann
>
>-----Original Message-----
>From: serusers-bounces(a)lists.iptel.org
>[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Andrey Kuprianov
>Sent: Thursday, November 02, 2006 1:13 PM
>To: serusers(a)iptel.org
>Subject: Re: [serusers]: trusted table(permissions module)
>
>The one you attached, didnt have a semicolon. Anyway, try using a
>fresh copy of a ready made ser.cfg.
>
> Bests,
>
> Andrey.
>
>On 11/2/06, Kamal.Mann(a)t-systems.com <Kamal.Mann(a)t-systems.com> wrote:
> > Yup I always do the same, Might be copy paste error. Its having
>semicolon & working fine here.
> >
> > Regards
> > Kamal Mann
> >
> > -----Original Message-----
> > From: Andrey Kuprianov [mailto:andrey.kouprianov@gmail.com]
> > Sent: Thursday, November 02, 2006 10:34 AM
> > To: serusers(a)iptel.org
> > Subject: Re: [serusers]: trusted table(permissions module)
> >
> > Hi Kamal,
> >
> > Whenever you modified your ser.cfg did you restart SER after? Did you
> > check your ser.cfg for errors using "ser -c" command? I found some
> > errors in your ser.cfg code. For instance, inside the main route
> > block, your "if", which processes INVITEs, is missing a semicolon at
> > the end of the block.
> >
> > if (method=="INVITE")
> > {
> > # sl_send_reply("404", "INVITE ");
> > route(3);
> > break;
> > } <----- missing semicolon here
> >
> >
> > If you are comfortable with your current ser.cfg, that's ok, but I'd
> > suggest you start with a fresh one, make your trusted table work, and
> > then add a "REFER" processing, like in your currect ser.cfg. Just
> > download one fresh ser.cfg from iptel.org site and add your
> > allow_trusted() "if" clause there.
> >
> > Regards,
> >
> > Andrey.
> >
> >
> > On 11/2/06, Kamal.Mann(a)t-systems.com <Kamal.Mann(a)t-systems.com> wrote:
> > > Hi
> > > Please find ser.cfg enclosed.
> > >
> > > Trusted table entry:
> > > +---------------+-------+--------------+
> > > | src_ip | proto | from_pattern |
> > > +---------------+-------+--------------+
> > > | 10.25.119.156 | any | ^sip:.*$ |
> > > +---------------+-------+--------------+
> > > 1 row in set (0.00 sec)
> > >
> > > Thanks in anticipation
> > > Kamal Mann
> > > -----Original Message-----
> > > From: serusers-bounces(a)lists.iptel.org
>[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Andrey Kuprianov
> > > Sent: Wednesday, November 01, 2006 7:03 PM
> > > To: serusers(a)iptel.org
> > > Subject: Re: [serusers]: trusted table(permissions module)
> > >
> > > Hi Kamal,
> > >
> > > I understand your setup. Nevertheless, it will be difficult to figure
> > > out your problem, w/o your ser.cfg file at hand. Also, send a trusted
> > > table query result (i.e. that row which contains entry for your
> > > SIP-AS).
> > >
> > > Regards,
> > >
> > > Andrey.
> > >
> > > On 11/1/06, Kamal.Mann(a)t-systems.com <Kamal.Mann(a)t-systems.com> wrote:
> > > > Hi All
> > > > In my scenario I need ser to communicate with my SIP-AS. This SIP-AS
>is having an application xyz running on it. This XYZ sends an invite to URI
>"A(a)xcv.de" which is a subscriber in SER and this is in TO header of Invite
>msg & FROM header contains another URI test(a)xcv.de but this URI
>(test(a)xcv.de) isn't registered / subscribed to SER. I need SER trust all
>packets from SIP-AS ip. BUT SER is sending 407 reply of INVITE to XYZ
>application! IP in trusted table is of SIP-AS on top of which XYZ
>application is running.
> > > >
> > > > Thanks in anticipation
> > > > Kamal Mann
> > > >
> > > > -----Original Message-----
> > > > From: Maciej ¯wirski [mailto:mzwirek@poczta.fm]
> > > > Sent: Wednesday, November 01, 2006 3:20 PM
> > > > To: serusers(a)lists.iptel.org
> > > > Subject: Re: [serusers]: trusted table(permissions module)
> > > >
> > > > Kamal.Mann(a)t-systems.com wrote:
> > > >
> > > > > Hi All
> > > > >
> > > > > I made an entry /"10.25.119.156, any, ^sip:.*$"/ into trusted
>table so
> > > > > that any packet sent from 10.25.119.156 would be trusted by SER
>and
> > > > > don't ask for its credentials. But SER is replying *407- proxy*
>auth
> > > > > needed!! After this I tried with permissions.allow file:
> > > > >
> > > > Hi,
> > > > I had the same issue while interconnecting SER and Asterisk. It
>turned
> > > > out to be an issue on Asterisk side (I had the same user added for
>SER
> > > > and Asterisk, so the poor thing couldn't authorize either :)) So you
> > > > could check if the 407 you're getting is from SER or from the remote
>host.
> > > >
> > > > Regards,
> > > > Maciej Zwirski
> > > >
> > > >
>----------------------------------------------------------------------
> > > > Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e
> > > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > Serusers(a)lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > Serusers(a)lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > >
> > >
> > >
> > >
> >
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Live
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
Hi,
I am getting following errors as seen in /var/log/message while
running openser with radius integration,
*****************************************************************************************
Nov 6 20:33:45 lx-dev monit[13565]: 'openser' start: /etc/init.d/openser
Nov 6 20:33:45 lx-dev monit[13565]: 'openser' failed to start
Nov 6 20:33:45 lx-dev openser: init_tcp: using epoll_lt as the io
watch method (auto detected)
Nov 6 20:33:45 lx-dev openser: INFO: statistics manager successfully
initialized
Nov 6 20:33:45 lx-dev openser: StateLess module - initializing
Nov 6 20:33:45 lx-dev openser: TM - initializing...
Nov 6 20:33:46 lx-dev openser: Maxfwd module- initializing
Nov 6 20:33:46 lx-dev openser: AVPops - initializing
Nov 6 20:33:46 lx-dev openser: TextOPS - initializing
Nov 6 20:33:46 lx-dev openser: ACC - initializing
Nov 6 20:33:46 lx-dev openser: AUTH module - initializing
Nov 6 20:33:46 lx-dev openser: xl_parse_item: error - bad parameters
Nov 6 20:33:46 lx-dev openser: ERROR:avpops:fixup_check_avp: unable
to get pseudo-variable in P1
Nov 6 20:33:46 lx-dev openser: ERROR: fix_actions: fixing failed
(code=-2) at cfg line 146
Nov 6 20:33:46 lx-dev openser: ERROR: fix_expr : fix_actions error
*****************************************************************************************
I am using openser (Version: openser-1.1.0-tls) and radius server
(freeradius-1.1.3) along with radiusclient-ng (radiusclient-ng-0.5.2).
I exactly followed the following radius integration documentation
from openser web site,
http://openser.org/docs/openser-radius-1.0.x.html
If I remove the radius integration related part from openser.cfg then
my openser server starts fine, I have tested it with kphone SIP UA and
it works fine.
One other question is I get parse error for following 2 statements in
openser.cfg (I commented them to make forward progress). Please advice
the right syntax to use following modparam statements.
modparam("acc", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp")
modparam("avpops", "avp_aliases", "day=i:101;time=i:102")
This is kind of urgent for me and I am clueless at this point so
really appreciate all your help.
Thanks,
- San
P.S. For your reference here is the openser.cfg file that I am using,
#
# $Id$
#
# radius config script
#
# ----------- global configuration parameters ------------------------
debug=9 # debug level (cmd line: -dddddddddd)
fork=no
log_stderror=no # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
listen=udp:192.168.0.5
alias="192.168.0.5"
#fifo="/tmp/openser_fifo"
# ------------------ module loading ----------------------------------
mpath="/usr/local/lib/openser/modules"
loadmodule "mysql.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "avpops.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "xlog.so"
loadmodule "uri.so"
loadmodule "acc.so"
loadmodule "auth.so"
loadmodule "auth_radius.so"
loadmodule "group_radius.so"
loadmodule "avp_radius.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc","db_url","mysql://openser:openserrw@localhost/openser")
modparam("usrloc", "db_mode", 2)
# -- acc params --
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 1)
modparam("acc", "service_type", 15)
#modparam("acc", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp")
modparam("acc|auth_radius|group_radius|avp_radius", "radius_config",
"/etc/radiusclient-ng/radiusclient.conf")
# -- group_radius params --
modparam("group_radius", "use_domain", 1)
# -- avpops params --
#modparam("avpops", "avp_aliases", "day=i:101;time=i:102")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
};
if (msg:len >= 2048 ) {
sl_send_reply("513", "Message too big");
exit;
};
# check if user is suspended
if(is_method("REGISTER|INVITE|MESSAGE|OPTIONS|SUBSCRIBE"))
{
if (radius_is_user_in("From", "suspended")) {
sl_send_reply("403", "Forbidden - suspended");
exit;
};
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER")
record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
if(is_method("BYE"))
{ # log it all the time
acc_rad_request("200 ok");
acc_log_request("200 ok");
}
route(1);
};
if(is_method("INVITE") && !has_totag())
{ # set the acc flags
setflag(1);
setflag(2);
};
if (!uri==myself) {
# check if user is allowed to do voip calls to other domains
if(is_method("INVITE|MESSAGE")) {
if (!radius_is_user_in("From", "voip")) {
sl_send_reply("403", "Forbidden VoIP");
exit;
};
};
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
};
# 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==myself) {
# authenticate registers
if (method=="REGISTER") {
if (!radius_www_authorize("192.168.0.5")) {
www_challenge("192.168.0.5", "0");
exit;
};
# check the src ip address
if(!avp_check("i:2", "eq/$src_ip/ig"))
{
sl_send_reply("403", "Forbidden IP");
exit;
};
save("location");
exit;
};
# calls to pstn
if(uri=~"sip:00[1-9][0-9]+@") {
if(is_method("INVITE") && !has_totag()) {
if (!radius_is_user_in("From", "pstn")) {
sl_send_reply("403", "Forbidden PSTN");
exit;
};
};
# set gateway address
rewritehostport("10.10.10.10:5090");
route(1);
};
# load callee's avps
if(avp_load_radius("callee"))
{
# check if user has time filter enabled
if(avp_check("i:3", "eq/i:1"))
{
# print time in an avp
avp_printf("i:100", "$Tf");
# extract day
avp_subst("i:100/i:101", "/(.{3}) .+/*\1*/");
if(!avp_check("i:6", "fm/$day")) {
sl_send_reply("403", "Forbidden - day");
exit;
};
# extract 'hours:minutes'
avp_subst("i:100/i:102", "/(.{10}) (.{5}):.+/\2/");
if((is_avp_set("i:4") && avp_check("i:4", "gt/$time"))
|| (is_avp_set("i:5") && avp_check("i:5", "lt/$time"))) {
sl_send_reply("403", "Forbidden - time");
exit;
};
};
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
# log to acc as missed call
acc_rad_request("404 Not Found");
acc_log_request("404 Not Found");
sl_send_reply("404", "Not Found");
exit;
};
append_hf("P-hint: usrloc applied\r\n");
};
route(1);
}
# generic forward
route[1] {
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
exit;
}
#
I am using flatstore module for capturing stateful call records. This
gives much faster performance than mysql inserts into acc. However, I'd
like to do batch inserts so that I can still use the mysql acc table
structure for accounting and billing. Unfortunately the data fields do
not match up exactly. Is there a document that explains what data fields
are being generated by flatstore and how to correlate them to acc?
thanks,
matt
Hello,
Can anyone provide me with a basic implementation of confrencing and voicemail with sems? For the life of me I can't seem to figure out a few loose ends and get it working correctly, well thankyou for any advice or help you may have.
Regards,
Brandon Armstead
Sent via BlackBerry from T-Mobile
Dear all,
we are using the NAT - mediaproxy solution.
Is there a way to avoid using mediaproxy in case both sides (client and
server) are located behind the same NAT (something like comparing
private and receiving from (NAT) IP's - and in case they are equal -
don't call use_mediaproxy.
Thanks
Irena
You can just install the dev packages and afterwards compile SER again.
Samuel
2006/11/6, tezet(a)touk.pl <tezet(a)touk.pl>:
> Thank u!!
>
> So i have to install mysql from the beginning or it is possible just to
> install this missing packages? I mean would it be enough to download the
> source instead of binary distribution or this development version is
> separate distribution or extra package??
>
> Tomasz.
> > When this kind of error appear in the compilation (missing .h file) it
> > usually means you have to install the developement version of the
> > packet. In your case it means you have to install mysql dev pacakges.
> >
> > Samuel.
> > 2006/11/6, tzieleniewski <tzieleniewski(a)o2.pl>:
> >> Hi all
> >>
> >> I've installed ser as it is written in the Getting started manuall with
> >> ser source 0.9.7-pre1. I've also installed the mysql5.0 binary
> >> distribution.
> >> unfortunatelly i've encountered a strange problem. At think that this
> >> may be caused by the fact that i used o binary distribution od mysql
> >> instead of source.
> >> Any way i'm just starting my adventure with ser:) so i ask u ser guru's
> >> to help me;)
> >>
> >> When i tried to compile the source again including mysql package the
> >> mysql.co file did not appeared?
> >> and the log contained only such lines regarding mysql:
> >> make[1]: Wej��cie do katalogu
> >> `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
> >> make[1]: Opuszczenie katalogu
> >> `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
> >> make[1]: Wej��cie do katalogu
> >> `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
> >> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> >> -minline-all-stringops -malign-double -falign-loops -ftree-vectorize
> >> -mtune=athlon64 -DNAME='"ser"' -DVERSION='"0.9.7-pre1"'
> >> -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -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 -DF_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 -I/usr/local/include/mysql
> >> -I/usr/local/mysql/include -I/usr/include/mysql -c dbase.c -o dbase.o
> >> make[1]: Opuszczenie katalogu
> >> `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
> >>
> >> When i tried to compile the package manually using Makefile in the
> >> "source"/modules/myqsl directory i got plenty of errors:):
> >> dbase.c:34:25: error: mysql/mysql.h: Nie ma takiego pliku ani katalogu
> >> dbase.c:35:26: error: mysql/errmsg.h: Nie ma takiego pliku ani katalogu
> >> In file included from dbase.c:39:
> >> val.h:44: error: expected ���)��� before ���*���
> >> token
> >> In file included from dbase.c:40:
> >> my_con.h:39: error: expected specifier-qualifier-list before
> >> ���MYSQL_RES���
> >> dbase.c: In function ���submit_query���:
> >> dbase.c:67: error: ���struct my_con��� has no member named
> >> ���timestamp���
> >> dbase.c:68: warning: implicit declaration of function
> >> ���mysql_ping���
> >> dbase.c:68: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:72: error: ���struct my_con��� has no member named
> >> ���timestamp���
> >> dbase.c:90: warning: implicit declaration of function
> >> ���mysql_query���
> >> dbase.c:90: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:93: warning: implicit declaration of function
> >> ���mysql_errno���
> >> dbase.c:93: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:94: error: ���CR_SERVER_GONE_ERROR��� undeclared
> >> (first use in this function)
> >> dbase.c:94: error: (Each undeclared identifier is reported only once
> >> dbase.c:94: error: for each function it appears in.)
> >> dbase.c:94: error: ���CR_SERVER_LOST��� undeclared (first
> >> use in this function)
> >> dbase.c:98: warning: implicit declaration of function
> >> ���mysql_error���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:98: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:98: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c: At top level:
> >> dbase.c:138: error: expected ���)��� before
> >> ���*��� token
> >> dbase.c:166: error: expected ���)��� before
> >> ���*��� token
> >> dbase.c:207: error: expected ���)��� before
> >> ���*��� token
> >> dbase.c: In function ���store_result���:
> >> dbase.c:304: error: ���struct my_con��� has no member named
> >> ���res���
> >> dbase.c:304: warning: implicit declaration of function
> >> ���mysql_store_result���
> >> dbase.c:304: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:305: error: ���struct my_con��� has no member named
> >> ���res���
> >> dbase.c:306: warning: implicit declaration of function
> >> ���mysql_field_count���
> >> dbase.c:306: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c:311: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:311: warning: format ���%s��� expects type
> >> ���char *���, but argument 3 has type ���int���
> >> dbase.c: In function ���db_free_result���:
> >> dbase.c:348: warning: implicit declaration of function
> >> ���mysql_free_result���
> >> dbase.c:348: error: ���struct my_con��� has no member named
> >> ���res���
> >> dbase.c:349: error: ���struct my_con��� has no member named
> >> ���res���
> >> dbase.c: In function ���db_query���:
> >> dbase.c:398: warning: implicit declaration of function
> >> ���print_where���
> >> dbase.c:398: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c: In function ���db_insert���:
> >> dbase.c:471: warning: implicit declaration of function
> >> ���print_values���
> >> dbase.c:471: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c: In function ���db_delete���:
> >> dbase.c:516: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c: In function ���db_update���:
> >> dbase.c:559: warning: implicit declaration of function
> >> ���print_set���
> >> dbase.c:559: error: ���struct my_con��� has no member named
> >> ���con���
> >> dbase.c:568: error: ���struct my_con��� has no member named
> >> ���con���
> >> make: *** [dbase.o] B����d 1
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Serusers mailing list
> >> Serusers(a)lists.iptel.org
> >> http://lists.iptel.org/mailman/listinfo/serusers
> >>
> >
>
>
>
Thank you very much.
I am now in learning phase, can someone possibly bring me to the speed
and explain how SER compares to OPENSER. I only found this:
http://openser.org/index.php?option=com_content&task=view&id=44
and it seems to be outdated now.
rr
P.S.: excuse my crossposting but I think this is relevant with this question.
----- Original Message ----
From: Jiri Kuthan <jiri(a)iptel.org>
To: serusers(a)iptel.org
Sent: Monday, November 6, 2006 12:02:24 PM
Subject: [Serusers] new major SER pre-release, Ottendorf, is out for testing
Ladies and gentlemen, girls and boys,
the new testing pre-release of the best SIP proxy server ever, SER, is out!
This major pre-release, codenamed Ottendorf, includes fundamental improvements
to the software. The improvements allow SER users to achieve significantly higher
managability and reliability by better data mode, interop features, security, etc.
They recollect voluminous feedback we have received from iptel customers and open
source users. In particular, the new features include but are not limited to:
- improved data model which eliminates any possible ambiguities.
- key under-the-hood changes with impact on performance: timer subsystem
overhaul (now fast, with fine resolution, high accuracy and variability),
TCP processing overhaul (higher scalability)
- key reliability changes: DNS cache and IP blacklisting
- key interop changes: support for STUN-bis, presence server aligned to latest
IETF development, sanity module for early detection of invalid messages
- more management: management features are now available via XML-RPC remotely,
as well as via an alternative binary protocol
- more security: ratelimit module, more check types in permissions module
- scripting features: select operator in combination with revised AVPs,
named flags and routes, more types of routes (onsend, timer, branch)
- applications: presence has been greatly updated to keep pace with
development in the IETF/SIMPLE (includes asynchronous subscription
authorization, extended PIDF); web interface includes many new managibility
features (multidomain, templates and multilanguage to name some). New
scripting flexibility allows safely for features like individual ringing
timers and direct access to SIP message elements.
- new tools: Nils's script execution tree tool
http://lists.iptel.org/pipermail/serdev/2006-October/008124.html
and refurbished ser_ctl
see the following links for some additional details:
- http://www.iptel.org/ser/doc/010whatsnew
- http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/NEWS?rev=HEAD
Accompanying software, SEMS and SERWEB have been greatly overhauled as well.
SEMS now features improved performance (single-threaded model now), service
composition via python-IVR-scripting and B2BUA, adaptive playout buffer for
better voice quality, and more. SERWEB features new multilevel administrative
access system, multidomain support, per-domain customization, remote xml-rpc
access, multilanguage support, and more. The new command-line utility,
SER_CTL, provides also many great improvements over the previous tool.
Interop
-------
Shortly, we have been keeping the bar high through our participation in the IETF
and SIPITs. SER implements latest interop changes from the IETF (STUN-bis, presence
+ XCAP, to name the most important ones) and both new features and legacy features
were extensively and successfully tested middle of October in SIPit.
Next Steps
-----------
Keep in mind, this is a pre-release for testing purposes. It is now call on
users to test the software hard and provide feedback. In the meantime, the
codebase remains frozen and we only commit patches fixing various bugs. Once
we get good confidence that Ottendorf has stabilized and is being adequately
documented, we will declare the final release. No date has been determined yet.
Also, we consider changing CVS to SVN.
Again, and this is very important: the final release will be as good as the
feedback we obtain for this pre-release. Please do spend your time sending
solid feedback back to [serusers].
Roadmap
-------
We keep rolling. We are still debating with our generous contributors what is
the next possible good things to work on, the topics include but are not limited
to as of now:
- documentation.
- databases are important. LDAP and BDB, DB-API revision.
- interop: identity, TLS revision
- advanced scripting (scripting engine, vars returns, AVPs)
- uncountable improvements (futex, dev/rtc, tm/refcnts, tcp fd cache, .....)
Trivia
--------
The release name Ottendorf is coming from a place in Saxonian Switzerland, where
many iptel fellows and their friends spent a weekend during this Indian summer.
http://www.iptel.org/jan/gallery/saxonian_switzerland_2006/http://www.iptel.org/~andi/2006-09-22-Ottendorf/http://www.iptel.org/~vlada/saxon_switzerland/index.htmlhttp://www.ohlmeier.de/albums/ottendorf_2006/index.html
Acknowledgments
---------------
This grand achievement is result of extremely many folks who did lot
of hard work. Out of folks affiliated with iptel, Andrei and Jan spent
immense effort on moving SER forward, with great support from Hallik
(command-line tool), Michal, Miklos, Nils, Tomas, Vaclav (presence),
Vlada (new STUN). In this context, I would like to thank to our company
for the great support. Recently, Bogdan Pintea greatly helped to make
the upcoming release better and more stable under sponsorship of his
company, iptego. transnexus provided osp support.
SEMS has been greatly improved thanks to Stefan and Raphael.
Credits for serweb go to Karel.
Same importantly, SER has been immensely benefitting of contributors,
to name in alphabetic order at least the 'top-of-the-iceberg' fellows:
Bogdan Pintea, Cesc Santa, Greg Fausak, Greger Teigre, Hendrik Scholz,
<http://tutpro.com/>Juha Heinänen, Klaus Darilion, Maxim Sobolev, Peter Nixon, Uli Abend.
Great support on the mailing list has been provided by Greger V. Teigre,
Java Rockx, Klaus Darilion, Zeus Ng, and more.
Simply, this list is too short and incomplete to capture all the
generous contributions that came in -- my appologies for everyone
else I have missed.
Warnings and Disclaimers
------------------------
This is a TESTING version. We are encouraging people to give it intense
testing and provide us with feedback, so that we can properly assess
what it takes to declare it final. The volume and number of changes
is big, caution is advised.
All GPL warnings and disclaimers apply.
This is SER, which is not the derivate software known as openser. We
have no ideas of in what extent and timeline derivate projects follow
(or not) SER.
-------------------------------------------------------------------------------
To Give it a Try
-----------------
warning: this is just a 'jump-start' for black-belt users. It is not
a replacement for documentation or a detailed step-by-step installation
guide. It assumes knowledge of operating system, SIP, and SER.
PREPARATION
- make sure mysql is running. In the default configuration, SER assumes it
to be running on localhost, if this does not hold, you need to change
ser.cfg.
- make sure python is installed (needed for new command-line utilities)
SER INSTALLATION FROM CVS
- Download from CVS/HEAD using instructions at http://www.iptel.org/downloads
- Compile it: make include_modules="mysql xmlrpc" all
- Install it the default way of your administrative privileges allow to:
make include_modules="mysql xmlrpc" install
- Download command-line tool (see more documentation under
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/serctl/README?rev=…)
- cvs co serctl
- Initiate database:
./scripts/mysql/ser_mysql.sh create
START
- Start it. Call: ser
- Begin provisioning users with the new serctl (the capital word are just place holders)
# ser_ctl domain add DOMAINNAME
# ser_ctl user add USERNAME@DOMAINNAME -p PASSWORD
# If you want to have Asserted Identity header for your user
# - ser_attr add uid=UID asserted_id="PID"
# If you want to have gateway support
# - ser_db add attr_types name=gw_ip rich_type=string raw_type=2 \
description="The gateway IP for the default ser.cfg" default_flags=33
# - ser_attr add global gw_ip=GATEWAY-IP
- more things you may wish to do:
- familiarize yourself with current ser.cfg
- send us feedback.
--
Jiri Kuthan http://iptel.org/~jiri/
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers