[SR-Users] auth module realm_prefix

2012-01-04 Thread Kelvin Chua
Hi guys, just wondering, what happened to realm_prefix on auth module for 3.2.x? why was it removed? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/l

[SR-Users] dialog module - set_dlg_profile won't work

2012-01-04 Thread Ben WIlliams
Hi, can anyone see why this code wouldn't work? In the log is shows this message after set_dlg_profile called - dialog [dlg_hash.c:523]: no dialog callid='...' found Dialogs are being saved to dialog table ok but nothing is in dialog_vars table. modparam("dialog", "dlg_flag", DLGFLAG) modparam("d

Re: [SR-Users] app_lua coredump

2012-01-04 Thread noc
На Wed, 04 Jan 2012 09:46:47 +0100 Daniel-Constantin Mierla записано: > Hello, > > can you send the backtrace? Locate the core file and do: > > gdb /path/to/kamailio /path/to/corefile > bt > Here is what is says in log: 0(20428) DEBUG: [receive.c:146]: After parse_msg... 0(20428) DEBUG: [

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2012-01-04 Thread Daniel-Constantin Mierla
Hello, On 1/2/12 12:07 PM, Daniel-Constantin Mierla wrote: Hello, On 12/29/11 7:06 PM, laura testi wrote: Hi Daniel, yes we are running 3.1.5, but we have back ported the whole pua module from the master branch that included also the patches in your link. In fact, the second patch use the pat

Re: [SR-Users] Authentication Feature Question

2012-01-04 Thread Daniel-Constantin Mierla
Hello, you haven't run 'bt' command inside the gdb. Do that and send the output. Cheers, Daniel On 1/4/12 9:54 AM, Ali Jawad wrote: Hi Daniel Back-trace below, regards. [root@kam-rtp-100-51 kamailio]# gdb /usr/local/kamailio/sbin/kamailio /core.18024GNU gdb (GDB) Red Hat Enterprise Linux (7.0

Re: [SR-Users] Authentication Feature Question

2012-01-04 Thread Ali Jawad
Hi Daniel In this part of the debug log 7(19193) DEBUG: [db_val.c:117]: converting STRING [fce64fbb39941fd185732f778188870f] 7(19193) DEBUG: auth [api.c:210]: check_response: Our result = 'd9f9e5c049e04d827a04e46b25d43ec5' 7(19193) DEBUG: auth [api.c:220]: check_response: Authorization failed

Re: [SR-Users] Authentication Feature Question

2012-01-04 Thread Ali Jawad
Hi Daniel Back-trace below, regards. [root@kam-rtp-100-51 kamailio]# gdb /usr/local/kamailio/sbin/kamailio /core.18024GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5)Copyright (C) 2009 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later T

Re: [SR-Users] Authentication Feature Question

2012-01-04 Thread Daniel-Constantin Mierla
Hello, can you get the backtrace? Locate the core file (perhaps in / directory if you don't use -w command line parameter) and do: gdb /path/to/kamailio /path/to/corefile bt Cheers, Daniel On 1/4/12 9:17 AM, Ali Jawad wrote: Hi When I did set modparam("auth_db", "calculate_ha1", 0 ) Kama

Re: [SR-Users] app_lua coredump

2012-01-04 Thread Daniel-Constantin Mierla
Hello, can you send the backtrace? Locate the core file and do: gdb /path/to/kamailio /path/to/corefile bt Cheers, Daniel On 1/4/12 3:39 AM, (by way of n...@nelcom-voip.com) wrote: I've installed kamailio (3.2, 3.2-nightly, dev-nightly) for debian unstable (wheezy) using repository at http:

Re: [SR-Users] Authentication Feature Question

2012-01-04 Thread Ali Jawad
On a seperate note, am I correct to assume that in order to remove domain calculation from Kamailio I need to work around static inline int get_ha1(struct username* _username, str* _domain, ./authorize.c:const str* _table, char* _ha1, db1_res_t** res) in authorize.c ? Regards

Re: [SR-Users] Authentication Feature Question

2012-01-04 Thread Ali Jawad
Hi When I did set modparam("auth_db", "calculate_ha1", 0 ) Kamailio is crashing see http://pastebin.com/anaKan0Y Regards On Tue, Jan 3, 2012 at 11:54 PM, Ali Jawad wrote: > Hi > It fetches one value from the database to compare it against a second > value that has to be computed right, in the