Module: sip-router
Branch: master
Commit: 70ae31556b09d300f6d708b0e4edf287927748d2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=70ae315…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jun 22 11:42:30 2011 +0200
uac: more verbose debug message
- give hint of how to get rid of append_fromtag requirement on rr module
---
modules_k/uac/uac.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules_k/uac/uac.c b/modules_k/uac/uac.c
index 81dfe35..3152ce7 100644
--- a/modules_k/uac/uac.c
+++ b/modules_k/uac/uac.c
@@ -221,8 +221,9 @@ static int mod_init(void)
if (from_restore_mode==FROM_AUTO_RESTORE) {
/* we need the append_fromtag on in RR */
if (!uac_rrb.append_fromtag) {
- LM_ERR("'append_fromtag' RR param is not enabled!"
- " - required by AUTO restore mode\n");
+ LM_ERR("'append_fromtag' RR param is not enabled"
+ " - required by AUTO restore mode!"
+ " Or you should set from_restore_mode param to 'none'\n");
goto error;
}
/* get all requests doing loose route */
Hi,
we try to use LDAP module in kamailio, first we try only load the ldap.so
only to see if it can be loaded. When we start from the command line with
either "kamctl start" or directly "kamilio", the kamailio is started
normally with different children. When I try to start as service with
"service kamailio start" or "/etc/init.d/kamailio start". It fails with the
following error in the /var/log/messages:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Jun 21 10:28:39 kamailio3p1 kamailio: INFO: <core> [tcp_main.c:4716]:
init_tcp: using epoll_lt as the io watch method (auto detected)
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: usrloc
[hslot.c:53]: locks array size 512
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: auth
[auth_mod.c:312]: auth: qop set, but nonce-count (nc_enabled) support
disabled
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: permissions
[parse_config.c:251]: file not found: //etc/kamailio/permissions.allow
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: permissions
[permissions.c:606]: default allow file (//etc/kamailio/permissions.allow)
not found => empty rule set
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: permissions
[parse_config.c:251]: file not found: //etc/kamailio/permissions.deny
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: permissions
[permissions.c:615]: default deny file (//etc/kamailio/permissions.deny) not
found => empty rule set
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: ldap
[ldap_mod.c:246]: OpenLDAP - 20343
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_init.c:511]: tls: _init_tls_h: compiled with openssl version
"OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008" (0x0090802f), kerberos support: on,
compression: on
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_init.c:519]: tls: init_tls_h: installed openssl library version
"OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008" (0x0090802f), kerberos support: on,
zlib compression: on compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT
-I/usr/kerberos/include -DL_ENDIAN -DTERMIO -Wall -DMD32_REG_T=int -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wa,--noexecstack
-DOPENSSL_USE_NEW_FUNCTIONS -fno-strict-aliasing -DOPENSSL_BN_ASM_MONT
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_init.c:373]: tls: init_tls: disabling compression...
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: WARNING: tls
[tls_init.c:564]: tls: init_tls_h: openssl kerberos malloc bug
detected, kerberos
support will be disabled...
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: WARNING: tls
[tls_init.c:587]: tls: openssl bug #1491 (crash/mem leaks on low memory)
workaround enabled (on low memory tls operations will fail preemptively)
with free memory thresholds 9961472 and 4980736 bytes
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[cfg/cfg_ctx.c:411]: INFO: cfg_set_now(): tls.low_mem_threshold1 has been
changed to 9961472
Jun 21 10:28:39 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[cfg/cfg_ctx.c:411]: INFO: cfg_set_now(): tls.low_mem_threshold2 has been
changed to 4980736
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[udp_server.c:178]: INFO: udp_init: SO_RCVBUF is initially 129024
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[udp_server.c:229]: INFO: udp_init: SO_RCVBUF is finally 262142
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[udp_server.c:178]: INFO: udp_init: SO_RCVBUF is initially 129024
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[udp_server.c:229]: INFO: udp_init: SO_RCVBUF is finally 262142
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:176]: TLSs<default>: tls_method=9
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:188]: TLSs<default>:
certificate='//etc/kamailio/FBCIDS01V01.pem'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:195]: TLSs<default>: ca_list='//etc/kamailio/tiglobalca.pem'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:202]: TLSs<default>: crl='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:206]: TLSs<default>: require_certificate=0
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:213]: TLSs<default>: cipher_list='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:220]: TLSs<default>:
private_key='//etc/kamailio/FBCIDS01V01KEY.pem'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:224]: TLSs<default>: verify_certificate=0
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:227]: TLSs<default>: verify_depth=9
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:544]: TLSs<default>: No client certificate required and no
checks performed
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:597]: tls: set_ssl_options: detected openssl version (90802f)
has the SSL_OP_TLS_BLOCK_PADDING bug, but compression is disabled so no
workaround is needed
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:176]: TLSc<default>: tls_method=9
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:188]: TLSc<default>: certificate='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:195]: TLSc<default>: ca_list='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:202]: TLSc<default>: crl='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:206]: TLSc<default>: require_certificate=0
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:213]: TLSc<default>: cipher_list='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:220]: TLSc<default>: private_key='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:224]: TLSc<default>: verify_certificate=0
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:227]: TLSc<default>: verify_depth=9
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:547]: TLSc<default>: Server MAY present invalid certificate
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:597]: tls: set_ssl_options: detected openssl version (90802f)
has the SSL_OP_TLS_BLOCK_PADDING bug, but compression is disabled so no
workaround is needed
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:176]: TLSs<10.10.5.214:5061>: tls_method=12
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:188]: TLSs<10.10.5.214:5061>:
certificate='//etc/kamailio/FBCIDS01V01.pem'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:195]: TLSs<10.10.5.214:5061>:
ca_list='//etc/kamailio/tiglobalca.pem'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:202]: TLSs<10.10.5.214:5061>: crl='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:206]: TLSs<10.10.5.214:5061>: require_certificate=0
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:213]: TLSs<10.10.5.214:5061>: cipher_list='(null)'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:220]: TLSs<10.10.5.214:5061>:
private_key='//etc/kamailio/FBCIDS01V01KEY.pem'
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:224]: TLSs<10.10.5.214:5061>: verify_certificate=0
Jun 21 10:28:40 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:227]: TLSs<10.10.5.214:5061>: verify_depth=9
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:544]: TLSs<10.10.5.214:5061>: No client certificate required
and no checks performed
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: tls
[tls_domain.c:597]: tls: set_ssl_options: detected openssl version (90802f)
has the SSL_OP_TLS_BLOCK_PADDING bug, but compression is disabled so no
workaround is needed
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8786]: ERROR: ldap
[ldap_connect.c:166]: [sipaccounts]: ldap bind failed: Can't contact LDAP
server
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8786]: ERROR: ldap
[ldap_mod.c:182]: [sipaccounts]: failed to connect to LDAP host(s)
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8786]: ERROR: <core>
[sr_module.c:832]: init_mod_child(): Error while initializing module ldap
(/usr/lib64/kamailio/modules_k/ldap.so)
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8786]: ERROR: <core>
[pt.c:337]: ERROR: fork_process(): init_child failed for process 1, pid
8786, "udp receiver child=0 sock=127.0.0.1:5060"
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8786]: : <core>
[main.c:1546]: main_loop: Cannot fork
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8788]: ERROR: ldap
[ldap_connect.c:166]: [sipaccounts]: ldap bind failed: Can't contact LDAP
server
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8788]: ERROR: ldap
[ldap_mod.c:182]: [sipaccounts]: failed to connect to LDAP host(s)
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8788]: ERROR: <core>
[sr_module.c:832]: init_mod_child(): Error while initializing module ldap
(/usr/lib64/kamailio/modules_k/ldap.so)
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8788]: ERROR: <core>
[pt.c:337]: ERROR: fork_process(): init_child failed for process 2, pid
8788, "udp receiver child=1 sock=127.0.0.1:5060"
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8788]: : <core>
[main.c:1546]: main_loop: Cannot fork
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8774]: ALERT: <core>
[main.c:738]: child process 8786 exited normally, status=255
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8774]: ALERT: <core>
[main.c:738]: child process 8788 exited normally, status=255
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8774]: INFO: <core>
[main.c:756]: INFO: terminating due to SIGCHLD
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8801]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8799]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8797]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8795]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8793]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8790]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8812]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8808]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8810]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8814]: INFO: <core>
[main.c:807]: INFO: signal 15 received
Jun 21 10:28:41 kamailio3p1 /usr/sbin/kamailio[8816]: INFO: <core>
[main.c:807]: INFO: signal 15 received
...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Without ldap.so loaded, we can start the kamailio as a service normally with
"service kamailio start".
The platform running kamailio is: RHEL5.6_X64
Can you help us please? Because we want to start the kamailio as a service
from the boot
Thanks a lot in advanced!
Best Regards,
Laura
On 6/20/11 3:37 PM, Meftah Tayeb wrote:
> congratulation Andrei !
> 20000TH would by you, daniel ;)
I did the commit no 14892, so the 20k-th is someone else turn :-)
git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head -14892
| tail -1
d4a66da Daniel-Constantin Mierla Mon Apr 25 12:23:46 2011 +0200
kex: added mi cmd clear_statistics
Cheers,
Daniel
>
> ----- Original Message ----- From: "Daniel-Constantin Mierla"
> <miconda(a)gmail.com>
> To: "kamailio" <sr-users(a)lists.sip-router.org>; "sr-dev"
> <sr-dev(a)lists.sip-router.org>; <business(a)lists.kamailio.org>
> Sent: Monday, June 20, 2011 3:41 PM
> Subject: [Kamailio-Business] The 15000th development commit
>
>
>> Hello,
>>
>> I just wanted to mark the 15000th development commit in our project
>> (counted only on GIT master branch). It happened several days ago and
>> it was done by the same person that did the first commit, Andrei:
>>
>> git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head -1
>>
>> 512dcd9 Andrei Pelinescu-Onciul Mon Sep 3 21:27:11 2001 +0000
>> Initial revision
>>
>> The 15000th one is:
>>
>> git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head
>> -15000 | tail -1
>>
>> 8a90dd3 Andrei Pelinescu-Onciul Sat Jun 11 11:24:05 2011 +0200
>> core: remove unused variables + coding style
>>
>>
>> I published the news about it on project sites as well:
>> * http://asipto.com/u/37
>> * http://asipto.com/u/38
>>
>> Now it's the time to look forward to the 20000th commit!
>>
>> Enjoy the summer, autumn comes with v3.2.0,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla -- http://www.asipto.com
>> http://linkedin.com/in/miconda -- http://twitter.com/miconda
>>
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Business mailing list
>> Business(a)lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/business
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/business
>>
>>
>> __________ Information provenant d'ESET NOD32 Antivirus, version de
>> la base des signatures de virus 6222 (20110620) __________
>>
>> Le message a été vérifié par ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la
> base des signatures de virus 6223 (20110620) __________
>
> Le message a été vérifié par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
Hello,
I just wanted to mark the 15000th development commit in our project
(counted only on GIT master branch). It happened several days ago and it
was done by the same person that did the first commit, Andrei:
git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head -1
512dcd9 Andrei Pelinescu-Onciul Mon Sep 3 21:27:11 2001 +0000
Initial revision
The 15000th one is:
git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head -15000
| tail -1
8a90dd3 Andrei Pelinescu-Onciul Sat Jun 11 11:24:05 2011 +0200
core: remove unused variables + coding style
I published the news about it on project sites as well:
* http://asipto.com/u/37
* http://asipto.com/u/38
Now it's the time to look forward to the 20000th commit!
Enjoy the summer, autumn comes with v3.2.0,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda