Hi,
We need Presence Server for testing purpose. Which version of SER has
support for Presence Server and is it stable.
Any pointers in this direction will be helpful.
Thanks,
Gauri
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Hi all,
I'm using ser-0.9.7 with mysql authentication.
This is the INVITE handling section of my ser.cfg
# -----------------------------------------------------------------
# INVITE Message Handler
# -----------------------------------------------------------------
if (nat_uac_test("19")) {
setflag(6);
}
if (!allow_trusted()) {
if (!proxy_authorize("sip.keeptelecom.com","subscriber")) {
proxy_challenge("sip.keeptelecom.com","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
};
# ------ Logging calls after succesfully auth -----------
if (isflagset(6)) {
xlog("L_INFO", "<%is> CH <%ct> R-URI <%ru> autenticato: NAT
detected\n");
} else {
xlog("L_INFO", "<%is> CH <%ct> R-URI <%ru> autenticato: no
NAT detected\n");
}
As you cas see, I've added just after authentication section some lines to
log every succesfully authenticated attemp to make a call, with NAT
detection info.
I'd like, in the same way, add a single line to log every wrong user or
wrong password attempt.
My question is: which is the correct place to set this in the configuration
file ?
My first idea was to place xlog instruction just inside the
if(!proxy_authorize){ . , but this produces multiple line in log, because in
a call first invite is sent without proxy_authorization section.
Is there a way, with xlog, to show the client sent password in clear for an
easy troubleshoot ?
Many thanks for any suggestion.
Fabio
hello all
I am loading the following 10 modules that use an oracle database
through unixodbc.
modparam("usrloc|acc", "db_url", "unixodbc://user:pass@/OracleODBC-10g")
modparam("auth_db|alias_db|uri_db|group|permissions|lcr|domain",
"db_url", "unixodbc://user:pass@/OracleODBC-10g")
modparam("avpops", "avp_url", "unixodbc://user:pass@/OracleODBC-10g")
In my config I have fork=yes and tcp is enabled
With 5 listen addresses and
children=1 : 10 connections in the database.
children=2 : 16 connections
children=3 : 22 connections
With 4 listen address and
children=1 : 9 connections in the database.
children=2 : 14 connections
children=3 : 19 connections
Could anyone help me understand the relation between listen addresses,
number of children and number of modules that use the db?
Also these numbers are the same whether I use MySQL both through the
mysql module and the unixodbc module. Looking into the code, it seems
like there is connection pooling into the unixodbc module. However I get
all these connections. What am I doing wrong?
thank you for any help
George
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
Hi all.
I have 2 xlite phone with ser server. when establshing call only for example user3 can hear user4 voice and user4 can hear the voice of itself too!and user3 should be on speakerphone mode.
what's wrong?when we should be on speaker phone?
---------------------------------
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
The core, binaries and the full log are in
ftp://ftp.procergs.com.br/pub/procergs/openser
This is the backtrace:
....
#0 0x00c63b87 in strchr () from /lib/libc.so.6
#1 0x0033dc53 in krb5_kt_resolve () from /usr/lib/libkrb5.so.3
#2 0x003cf5a0 in kssl_keytab_is_available () from /lib/libssl.so.5
#3 0x003bbc4c in ssl3_choose_cipher () from /lib/libssl.so.5
#4 0x003b73c0 in ssl3_accept () from /lib/libssl.so.5
#5 0x003c4eba in SSL_accept () from /lib/libssl.so.5
#6 0x080e1dc9 in tls_accept (c=0xb616b490) at tls/tls_server.c:236
#7 0x080e35cc in tls_fix_read_conn (c=0xb616b490) at tls/tls_server.c:872
#8 0x0809c428 in tcp_read_req (con=0xb616b490, bytes_read=0xbfad8448)
at tcp_read.c:411
#9 0x0809c7a7 in handle_io (fm=0x814e1b0, idx=-1) at tcp_read.c:772
#10 0x0809dbf3 in io_wait_loop_epoll (h=0x8113020, t=Variable "t" is not
available.
) at io_wait.h:722
#11 0x0809df67 in tcp_receive_loop (unix_sock=17) at tcp_read.c:893
#12 0x08093969 in tcp_init_children (chd_rank=0x810dcd4) at
tcp_main.c:1745
#13 0x0806ce1e in main_loop () at main.c:1009
#14 0x0806e8cb in main (argc=1, argv=0xbfad86f4) at main.c:1477
My version of krb5-libs is krb5-libs-1.4.1-5
Please, any help?
Thanks
Paulo Angonese
>>>
>>> Paulo Angonese wrote:
>>>> Ok.
>>>>
>>>> The core (two files was generated) and the full log (debug=9) are in
>>>> ftp://ftp.procergs.com.br/pub/procergs/openser
>>>>
>>>>
>>>>
>>>> Bogdan-Andrei Iancu escreveu:
>>>>> Hi Paulo,
>>>>>
>>>>> some suggestion :) - could you provide full log (debug) and
>>>>> core+binaries (for download) ? Or backtrace?
>>>>>
>>>>> regards,
>>>>> bogdan
>>>>>
>>>>> Paulo Angonese wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have the same problem.
>>>>>> When the SNOM ( 360 SIP 6.5.2 ) sends the REGISTER using TLS
>>>>>> OpenSER crashes.
>>>>>> I´m using
>>>>>> OpenSer (1.1.1-tls (i386/linux)),
>>>>>> openssl-0.9.7f-7.10
>>>>>> openssl-devel-0.9.7f-7.10
>>>>>> Fedora 2.6.11-1.1369_FC4
>>>>>>
>>>>>> Any help?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Paulo Angonese
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> [Users] CVS 31.03, TLS and dead tcp child
>>>>>> Bogdan-Andrei Iancu bogdan at voice-system.ro
>>>>>> Tue Oct 31 17:13:43 CET 2006
>>>>>>
>>>>>> * Previous message: [Users] CVS 31.03, TLS and dead tcp child
>>>>>> * Next message: [Users] Q:ABOUTE:SET UP MESSAGE FLOW
>>>>>> * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>>>>>
>>>>>> Hi Frank,
>>>>>>
>>>>>> can you pack the cores + binaries (lib + exe) + sources+logs(in
>>>>>> debug
>>>>>> mode) and put it somewhere for download?
>>>>>> I will try to take a look.
>>>>>>
>>>>>> regards,
>>>>>> Bogdan
>>>>>>
>>>>>> Frank DInnocenzo wrote:
>>>>>>
>>>>>> > Bogdan,
>>>>>> >
>>>>>> > I am using openser-1.1.0-tls_src. I actually get two core files
>>>>>> after
>>>>>> > the crash. Can I post them somehow?
>>>>>> >
>>>>>> >
>>>>>> > # openser -V
>>>>>> > version: openser 1.1.0-tls (i386/linux)
>>>>>> > flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE,
>>>>>> > USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
>>>>>> > FAST_LOCK-ADAPTIVE_WAIT
>>>>>> > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
>>>>>> MAX_LISTEN 16,
>>>>>> > MAX_URI_SIZE 1024, BUF_SIZE 65535
>>>>>> > poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>>>>>> > @(#) $Id: main.c,v 1.20 2006/07/04 17:25:54 bogdan_iancu Exp $
>>>>>> > main.c compiled on 14:27:50 Oct 24 2006 with gcc 4.0.0
>>>>>> >
>>>>>> > Thanks
>>>>>> > Frank
>>>>>> >
>>>>>> >
>>>>>> > */Bogdan-Andrei Iancu <bogdan at voice-system.ro>/* wrote:
>>>>>> >
>>>>>> > Hi Frank,
>>>>>> >
>>>>>> > I'm successfully using a SNOM 320 with TLS and no problem so
>>>>>> far.....
>>>>>> > What openser version are you using?...do you get any core file
>>>>>> > after the
>>>>>> > crash??
>>>>>> >
>>>>>> > regards,
>>>>>> > bogdan
>>>>>> >
>>>>>> > Frank DInnocenzo wrote:
>>>>>> >
>>>>>> > > Hello,
>>>>>> > >
>>>>>> > > I'm new to openSer and wondered if there was any
>>>>>> resolution to this
>>>>>> > > post??? I'm hitting this same crash with openSer (with TLS
>>>>>> enabled)
>>>>>> > > using a Snom phone (300 with latest Beta firmware -
>>>>>> > > snom300-6.5-SIP-j.bin ). I've gone
>>>>>> > > through the archives looking for help getting this setup
>>>>>> > working. I've
>>>>>> > > also tried the Snom Softphone with the same result.
>>>>>> > >
>>>>>> > > Thanks
>>>>>> > > Frank
>>>>>> > >
>>>>>> > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>> > >
>>>>>> > > Hi,
>>>>>> > >
>>>>>> > > I have tried to register to OpenSER CVS 31.03 with my SNOM
>>>>>> 360
>>>>>> > > (5.3.6sw), disabled pretty all modules from OpenSER (radius,
>>>>>> > xlog, auth,
>>>>>> > > ...) and always the server crashes.
>>>>>> > >
>>>>>> > > Is there something I have missed in configuration ?
>>>>>> > >
>>>>>> > > Thanks a lot for help,
>>>>>> > > -Mika
>>>>>> > >
>>>>>> > > The error message and debug info seems like this:
>>>>>> > >
>>>>>> > > 11(24351) tcpconn_new: new tcp connection to: XXX.XX.XX.XXX
>>>>>> > > 11(24351) tcpconn_new: on port 2171, type 3
>>>>>> > > 11(24351) tls_tcpconn_init: Entered: Creating a whole new ssl
>>>>>> > connection
>>>>>> > > 11(24351) tls_tcpconn_init: Looking up tls domain
>>>>>> > [XXX.XX.XX.XXX:5061]
>>>>>> > > 11(24351) tls_tcpconn_init: Using default tls server settings
>>>>>> > > 11(24351) tls_tcpconn_init: Setting in ACCEPT mode (server)
>>>>>> > > 11(24351) tcpconn_add: hashes: 442, 1
>>>>>> > > 11(24351) handle_new_connect: new connection: 0xb608f6a0 24
>>>>>> > flags: 0002
>>>>>> > > 11(24351) send2child: to tcp child 0 7(24347), 0xb608f6a0
>>>>>> > > 7(24347) received n=4 con=0xb608f6a0, fd=19
>>>>>> > > 7(24347) DBG: io_watch_add(0x810e580, 19, 2, 0xb608f6a0),
>>>>>> fd_no=1
>>>>>> > > 7(24347) tls_update_fd: New fd is 19
>>>>>> > > 11(24351) DBG: handle_tcp_child: dead tcp child 0 (pid
>>>>>> 24347, no 7)
>>>>>> > > (shutting down?)
>>>>>> > > 11(24351) DBG: io_watch_del (0x810e420, 17, -1, 0x0)
>>>>>> fd_no=16 called
>>>>>> > > 11(24351) ERROR: receive_fd: EOF on 15
>>>>>> > > 11(24351) DBG: handle_ser_child: dead child 7, pid 24347
>>>>>> > (shutting down?)
>>>>>> > > 11(24351) DBG: io_watch_del (0x810e420, 15, -1, 0x0)
>>>>>> fd_no=15 called
>>>>>> > > 0(24339) child process 24347 exited by a signal 11
>>>>>> > > 0(24339) core was generated
>>>>>> > > 0(24339) INFO: terminating due to SIGCHLD
>>>>>> > > 6(24346) INFO: signal 15 received
>>>>>> > > 6(24346) Memory status (pkg):
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users(a)openser.org
>>>>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
Hello,
For all that people asking me about the FreeBSD port version :)
With a very long delay (sorry), today has been committed to the
FreeBSD ports tree the update to OpenSER 1.1.1 version.
I hope to have the update to 1.2 version ready and committed as soon
as it is realesed.
Regards,
Saludos
JesusR.
------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr(a)voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------
Hi,
It just struck me. Does RTPProxy operate only with certain codecs or
does it proxy RTP regardless the codec? I was just compiling RTPProxy
code from CVS and saw this
***********************************************************************************
* Please contact sales(a)sippysoft.com if you need G.729 support in makeann *
***********************************************************************************
Regards,
Andrey.
Hi!
I was trying to utilize the enum module of ser but whenever I try to do the check for the user part of the request uri I get the following error:
ser@sen:~/ser/ser-cvs/proxy$ ./ser -c -f ser.cfg
0(5401) parse error (721,14-15): unknown command, missing loadmodule?
I have the enum module loaded and the line for this happens is:
if (is_user_from_e164()) {
I also tried is_e164() which I found in the module header file but with the same result.
it this is not going to work how can I make the check by hand?
for instance having such uri
sip:+4822102@domain.com
will somthing like this work:
uri=~ "sip:+[0-9]{7}@.*"
??
Bests
Tomasz
Hello raviprakash,
1. FreeRADIUS Version 1.1.3
2. I have:
1st PC 2nd PC
OpenSER FreeRadius
radiusclient-ng MySQL
Am have radiusclient-ng.
3. I want total AAA.
> Hello Ion,
> Let me know, Which version using for freeradius
> U want integrating the OpenSER + radius with MySQl
> OpenSER nerver communicate with Radius, For that U need the RadiusClient-ng for that.....
OpenSER--------->>radiusclient------>radius server
> Let me know . What U want real with that...total AAA
> On 3/1/07, Ion Minzu <ion.minzu(a)cts.md> wrote:
> Salut,
> I'm a beginner in radius, in the DB radius I have tables: nas,
> radacct, radcheck, radgroupcheck, radgroupreply, radpostauth,
> radreply, usergroup. I need to add users in DB (in the file
> /etc/raddb/users is troublesome for me because I have 300 users
> of the service). radacct is similar to table acc from openser,
> but I don't understand what table from DB radius is similar to
> table subscriber from DB openser.
>> Salut,
>>> Hello ,
>>> I have 2 servers: 1st is OpenSER, second is FreeRadius with MySQL.
>>> Till now the authentication was making through mysql, but from now I
>>> want make authentication and accounting through radius. In mysql are 2
>>> DB: radius and openser.
>>> -To create a new user, in which DB it will be inserted?
>>>
>> you should add it in the DB used by Radius server
>>> -Till now I add new users with openserctl, but with radius how to add
>>> new users?
>>>
>> I'm not a radius user, but I guess you can use any DB tool, including
>> mysql client ;).
>> Regards,
>> Bogdan
> --
> Best regards,
> Ion Minzu,
> mailto:ion.minzu@cts.md
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
--
Best regards,
Ion Minzu,
mailto:ion.minzu@cts.md
Hello ,
I have 2 servers: 1st is OpenSER, second is FreeRadius with MySQL.
Till now the authentication was making through mysql, but from now I
want make authentication and accounting through radius. In mysql are 2
DB: radius and openser.
-To create a new user, in which DB it will be inserted?
-Till now I add new users with openserctl, but with radius how to add
new users?
--
Best regards,
Ion Minzu,
mailto:ion.minzu@cts.md