-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Anyone knows what the 'confirmation' column in the openser sql database (pgsql)
is? What is it used for and how is it computed?
thanks,
Christoph
- --
Dipl.-Ing. Kurt Krenn - IT-Beratung
Franz-Josef-Strasse 33/4/43, 5020 Salzburg
Tel: +43 662 879512 Fax: +43 662 875960
IP-Tel: +43 780 kkrenn (557366)
Email: c.fuerstaller(a)kurtkrenn.com
sip: c.fuerstaller(a)kurtkrenn.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
iD8DBQFGd+quR0exH8dhr/YRArxJAJ4j9yDVvaqu+B75O1JNBpy96WgO7wCfVaLW
bLhwqsJUyzlCKFTQ5odhUNQ=
=bAuy
-----END PGP SIGNATURE-----
Hey everyone,
I am using OpenSER 1.1.1 and FreeRADIUS 1.1.3, as it seems this problem:
Info: rlm_sql (sql): Unsupported Acct-Status-Type = 15
is quite familiar and from my bit of googling it mentions that the problem
is that tha radiusclient in openser sends
the kind of status type which is not supported in freeradius's rlm_sql
module.
Is this issue already fixed in newer versions?
I would very appreciate it if someone can tell me the status of this
problem.
Thanks,
Regards, Liran.
Hello list,
I am trying to put up and ready a system based on openser. I am using
Openser 1.2.1 from the SVN.
The problem is that the system crashes continously without an aparent reason
when is managing an INVITE request from X-Lite. Openser is able to manage a
couple of calls and after that it crashes.
I dont really know if the configuration script has something to do with this
behaviour (I put the script attached).
The problem seems to be located in the avp.c function as per the following
backtrace generated from a coredump. I put also below the logs. If you need
more information, please let me know.
Thanks very much for your help.
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/i686/cmov/libthread_db.so.1".
warning: Can't read pathname for load map: Error de entrada/salida.
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/openser/modules/mysql.so...done.
Loaded symbols for //lib/openser/modules/mysql.so
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libmysqlclient.so.15...done.
Loaded symbols for /usr/lib/libmysqlclient.so.15
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/openser/modules/sl.so...done.
Loaded symbols for //lib/openser/modules/sl.so
Reading symbols from /lib/openser/modules/tm.so...done.
Loaded symbols for //lib/openser/modules/tm.so
Reading symbols from /lib/openser/modules/rr.so...done.
Loaded symbols for //lib/openser/modules/rr.so
Reading symbols from /lib/openser/modules/maxfwd.so...done.
Loaded symbols for //lib/openser/modules/maxfwd.so
Reading symbols from /lib/openser/modules/usrloc.so...done.
Loaded symbols for //lib/openser/modules/usrloc.so
Reading symbols from /lib/openser/modules/registrar.so...done.
Loaded symbols for //lib/openser/modules/registrar.so
Reading symbols from /lib/openser/modules/auth.so...done.
Loaded symbols for //lib/openser/modules/auth.so
Reading symbols from /lib/openser/modules/auth_db.so...done.
Loaded symbols for //lib/openser/modules/auth_db.so
Reading symbols from /lib/openser/modules/uri.so...done.
Loaded symbols for //lib/openser/modules/uri.so
Reading symbols from /lib/openser/modules/uri_db.so...done.
Loaded symbols for //lib/openser/modules/uri_db.so
Reading symbols from /lib/openser/modules/domain.so...done.
Loaded symbols for //lib/openser/modules/domain.so
Reading symbols from /lib/openser/modules/textops.so...done.
Loaded symbols for //lib/openser/modules/textops.so
Reading symbols from /lib/openser/modules/avpops.so...done.
Loaded symbols for //lib/openser/modules/avpops.so
Reading symbols from /lib/openser/modules/permissions.so...done.
Loaded symbols for //lib/openser/modules/permissions.so
Reading symbols from /lib/openser/modules/enum.so...done.
Loaded symbols for //lib/openser/modules/enum.so
Reading symbols from /lib/openser/modules/acc.so...done.
Loaded symbols for //lib/openser/modules/acc.so
Reading symbols from /lib/openser/modules/dialog.so...done.
Loaded symbols for //lib/openser/modules/dialog.so
Reading symbols from /lib/openser/modules/mi_fifo.so...done.
Loaded symbols for //lib/openser/modules/mi_fifo.so
Reading symbols from /lib/openser/modules/snmpstats.so...done.
Loaded symbols for //lib/openser/modules/snmpstats.so
Reading symbols from /usr/local/lib/libnetsnmpmibs.so.15...done.
Loaded symbols for /usr/local/lib/libnetsnmpmibs.so.15
Reading symbols from /usr/local/lib/libnetsnmpagent.so.15...done.
Loaded symbols for /usr/local/lib/libnetsnmpagent.so.15
Reading symbols from /usr/local/lib/libnetsnmphelpers.so.15...done.
Loaded symbols for /usr/local/lib/libnetsnmphelpers.so.15
Reading symbols from /usr/local/lib/libnetsnmp.so.15...done.
Loaded symbols for /usr/local/lib/libnetsnmp.so.15
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libsensors.so.3...done.
Loaded symbols for /usr/lib/libsensors.so.3
Reading symbols from /lib/libsysfs.so.2...done.
Loaded symbols for /lib/libsysfs.so.2
Reading symbols from /lib/openser/modules/xlog.so...done.
Loaded symbols for //lib/openser/modules/xlog.so
Reading symbols from /lib/openser/modules/lcr.so...done.
Loaded symbols for //lib/openser/modules/lcr.so
Reading symbols from /lib/openser/modules/pdt.so...done.
Loaded symbols for //lib/openser/modules/pdt.so
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_dns.so.2
Core was generated by `openser -f 4.cfg'.
Program terminated with signal 11, Segmentation fault.
#0 search_next_avp (avp=0x82, val=0xbfef3ca8) at usr_avp.c:235
235 if ( id==avp->id && (avp->flags&AVP_NAME_STR)==0
(gdb) backtrace
#0 search_next_avp (avp=0x82, val=0xbfef3ca8) at usr_avp.c:235
#1 0xb7b00866 in legs2strar (legs=0x81932c8, rq=0xb58d4e48,
val_arr=0xb7b134b8) at acc_extra.c:313
#2 0xb7aff696 in acc_db_request (rq=0xb58d4e48) at acc.c:383
#3 0xb7b015d7 in tmcb_func (t=0xb58ca420, type=128, ps=0xb7bdfe14)
at acc_logic.c:376
#4 0xb7bba513 in run_trans_callbacks (type=128, trans=0xb58ca420,
req=0xb58d4e48, rpl=0x819bc90, code=200) at t_hooks.c:205
#5 0xb7bcffa5 in relay_reply (t=0xb58ca420, p_msg=0x819bc90,
branch=<value optimized out>, msg_status=200, cancel_bitmap=0xbfef3f00)
at t_reply.c:1150
#6 0xb7bd1a8c in reply_received (p_msg=0x819bc90) at t_reply.c:1383
#7 0x0805fd3f in forward_reply (msg=0x819bc90) at forward.c:489
#8 0x08083486 in receive_msg (
buf=0x813daa0 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 192.168.1.129;branch=
z9hG4bK6f62.874d7d27.0;received=192.168.1.129\r\nVia: SIP/2.0/UDP
192.168.222.86:27880;branch=z9hG4bK-d87543-714c824f3363f248-1--d87543-\r\nRecord-Rou"...,
len=850, rcv_info=0xbfef3ff8) at receive.c:195
#9 0x080b409a in udp_rcv_loop () at udp_server.c:451
#10 0x0806f587 in main_loop () at main.c:834
#11 0x08070d55 in main (argc=3, argv=0xbfef41b4) at main.c:1393
The following lines are the log generated:
Jun 7 10:42:04 marge openser[1545]: receive_msg: cleaning up
Jun 7 10:42:04 marge openser[1565]: ERROR: receive_fd: EOF on 8
Jun 7 10:42:04 marge openser[1565]: DBG: handle_ser_child: dead child 2, pid
1546 (shutting down?)
Jun 7 10:42:04 marge openser[1565]: DBG: io_watch_del (0x812d720, 8, -1,
0x0) fd_no=23 called
Jun 7 10:42:04 marge openser[1544]: child process 1546 exited by a signal 11
Jun 7 10:42:04 marge openser[1544]: core was generated
Jun 7 10:42:04 marge openser[1544]: INFO: terminating due to SIGCHLD
Jun 7 10:42:04 marge openser[1552]: INFO: signal 15 received
Jun 7 10:42:04 marge openser[1552]: Memory status (pkg):
Jun 7 10:42:04 marge openser[1552]: fm_status (0x816e3e0):
Jun 7 10:42:04 marge openser[1552]: heap size= 1048576
Jun 7 10:42:04 marge openser[1552]: used= 155064, used+overhead=186160,
free=862416
Jun 7 10:42:04 marge openser[1552]: max used (+overhead)= 186376
Jun 7 10:42:04 marge openser[1552]: dumping free list:
Jun 7 10:42:04 marge openser[1552]: hash = 3 fragments no.: 1, unused: 0
bucket size: 24 - 24 (first 24)
Jun 7 10:42:04 marge openser[1552]: hash = 5 fragments no.: 1, unused: 0
bucket size: 40 - 40 (first 40)
Jun 7 10:42:04 marge openser[1552]: hash = 19 fragments no.: 1, unused: 0
bucket size: 152 - 152 (first 152)
Jun 7 10:42:04 marge openser[1552]: hash = 2054 fragments no.: 1, unused: 0
bucket size: 524288 - 1048576 (first 862336)
Jun 7 10:42:04 marge openser[1552]: TOTAL: 4 free fragments = 862552 free
bytes
Jun 7 10:42:04 marge openser[1552]: -----------------------------
Jun 7 10:42:04 marge openser[1565]: INFO: signal 15 received
Jun 7 10:42:04 marge openser[1565]: Memory status (pkg):
Jun 7 10:42:04 marge openser[1565]: fm_status (0x816e3e0):
.......
Asterisk is used for voicemail, conference(meetme) and
auto dial using auto dial file from asterisk agi-bin.
Is there easy way to register at asterisk after registering
openser?
The old windows version(v.2.0) and linux version of
xlite could have two sip accounts.
I can register to openser using on sip.conf of asterisk:
[general]
register => 001:password@sip_proxy/001
register => 002:password@sip_proxy/002
..........
[sip]
[001]
type=friend
host=dynamic
...
[002]
type=friend
host=dynamic
...
in this way, if a user changed his/her password using
serweb, the password in subscriber table of openser data
base will be changed, but the user can not change hard-coded
his/her password in sip.conf.
Regards,
Zen
Dear all,
I can use Openser to set up the Presence Server and connect it to my IMS
platform.
My question is:
1. It is possible to add the additional functionnality for Presence into
Presence Server? Should i modify the code source directly?
2. Because in a environment IMS, higher application can be developped based
on Enabling Services which include Presence, IM, etc. So can Openser be
interact with other SIP AS? How?
Thanks for give some hint or documentation lien, i am not very familiar with
Openser.
Best Regards,
li
_________________________________________________________________
Gagnez des écrans plats avec Live.comhttp://www.image-addict.fr/
Hi Jai,
That's the mean I used to provide call forward :
In route[3] :
# ----------------------------------- Mark the CFU
----------------------------------
if (avp_db_load("$ruri/username", "s:cfu/usr_callfw")) {
setflag(22);
avp_pushto("$ruri", "s:cfu");
route(30);
route(1);
break;
};
# ----------------------------------- Mark the CFB
-----------------------------------
if (avp_db_load("$ruri/username", "s:cfb/usr_callfw")) {
if (!avp_check("s:cfb", "eq/$ruri/i")) {
setflag(20);
};
};
# ----------------------------------- Mark the CFNA
-----------------------------------
if (avp_db_load("$ruri/username", "s:cfna/usr_callfw")) {
if (!avp_check("s:cfna", "eq/$ruri/i")) {
setflag(21);
};
};
For CFU I put the result taken from DB directly in URI and route to
PSTN.
For CFB & CFNA I do the same treatment but with an other way with a
flag. In the failure route :
if (isflagset(20) && t_check_status("486")) {
if (avp_pushto("$ruri", "s:cfb")) {
avp_delete("s:cfb");
resetflag(20);
setflag(23);
xlog("L_WARN","time=[%Tf] call id=[%ci] call seq=[%cs] contact
header=[%ct] from uri=[%fu] from tag=[%ft] request's method=[%rm]
request's uri=[%ru] to uri=[%tu] to tag=[%tt] sip message id=[%mi]
process id=[%pp] ip source=[%is] flags=[%mf], Forward on busy\n");
route(30);
route(1);
break;
};
};
Sincerely,
Adrien
Le vendredi 15 juin 2007 à 08:34 -0700, Jai Rangi a écrit :
> Hello Igne,
> Can you please share the piece of code for this.
>
> Thank you,
> -Jai
> On 6/15/07, inge <inge(a)legos.fr> wrote:
> Hi Jai,
>
> I don't have problems with caller ID. In a case of CFNA/CFB or
> CFU, I
> see on the terminal the right caller id.
>
> I think thanks to unchange sip_from/sip_to URI, wich were use
> for
> signalisation maybe.
>
>
> Le mardi 12 juin 2007 à 16:28 -0700, Jai Rangi a écrit :
> > Not only billing part, but for caller id also. The final
> destination
> > should see the right caller id (Original call generator).
> > Can you please share where I can find such a plugin. I have
> been
> > looking for something like that.
> >
> > Thank you,
> > -Jai
> >
> >
> > On 6/11/07, inge <inge(a)legos.fr> wrote:
> > Hi Greger,
> >
> > Thanks for you answer and sorry for mine, I was away
> from my
> > office
> > since some days.
> >
> > In fact, it's a very special case. But finally I can
> see the
> > forward
> > with i_uri and o_uri in my acc table. So I just have
> to add a
> > plugin in
> > my script for use i_uri and o_uri instead of
> sip_from/to
> > according to
> > some rules.
> >
> > Regards
> >
> > Le mardi 22 mai 2007 à 07:06 +0200, Greger V. Teigre
> a écrit :
> > > Well, call forwarding is always a special case
> because you
> > need to get
> > > the billing right according to how your billing
> app needs
> > it. Look at
> > > the INVITE that comes for call forwarding and test
> for it in
> > your
> > > script.
> >
> > _______________________________________________
> > Serusers mailing list
> > Serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
Hi,
I am using freeradius with SER and oracle. Currently i have one domain for my SER. I want my SER to support another domain and separate database for second domain. Is it possible to configure Radius server to connect with two databases and perform queries based on URI or some other criteria eg. user(a)domainA.com should go to domainA database and user(a)domainB.com should go to domainB database.
Thanking you all in advance.
Best Regards,
Abdul Qadir
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
Hi,
I want to permit IP based REGISTER requests so i created register.allow
and register.deny. But i couldn't success permission to REGISTER.
Also I check register.allow and register.deny file on SVN trunk but it's
very simple.
register.allow;
"^sip:555[0-9]{7}@" : 1.2.3.4
register.deny;
ALL:ALL
Regards,
Ibrahim Tunali