Re: [SR-Users] Carrierroute Compilation error Kamailio 3.1.4

2011-06-21 Thread Omar
Here we go bash-3.00# make clean bash-3.00# make quiet=0 /opt/SUNWgccfss/gcc/bin/gcc -m64 -fPIC -DPIC -g -O9 -funroll-loops -m64 -mcpu=ultrasparc -mtune=ultrasparc -fno-strict-overflow -ftree-vectorize -Wall -DNAME='"kamailio"' -DVERSION='"3.1.4"' -DARCH='"sparc64"' -DOS='solaris_' -DOS_QUOT

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Juha Heinanen
could you please decide a single mailing list for this discussion. -- juha ___ 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/listinfo/sr-users

Re: [SR-Users] Carrierroute Compilation error Kamailio 3.1.4

2011-06-21 Thread Henning Westerholt
On Monday 20 June 2011, Omar wrote: > Everything compiles fine until the showed error the were errors about the > libconfuse which I fixed stating the path to the library, yes lib confuse > is installed I am using the same one I installed for the kamailio 1.4.3. Hi Omar, ok, strange. If it works

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Andrew Pogrebennyk
On 21.06.2011 17:30, laura testi wrote: Should I need to set a some special environment variable to load ldap.so in the /etc/init.d/kamailio? The env output for root does not confirm my theory :) I'm not sure what is preventing kamailio from communication with LDAP, could it be that SELinux i

Re: [SR-Users] an IDEA

2011-06-21 Thread afshin afzali
Thanks to all. -- afshin On Tue, Jun 21, 2011 at 4:20 PM, Klaus Darilion < klaus.mailingli...@pernau.at> wrote: > You may wanto to look at Asterisk and its SSL7 stacks (chan_ss7, > libss7+dahdi) > > regards > Klaus > > Am 18.06.2011 15:25, schrieb afshin afzali: > > Hi Guys, > > > > I need to int

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
the env retrun by root user is: [root@kamailio3p1 kamailio]# env HOSTNAME=kamailio3p1.emslabw3.local TERM=xterm SHELL=/bin/bash HISTSIZE=1000 SSH_CLIENT=10.10.2.28 49471 22 SSH_TTY=/dev/pts/5 USER=root LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Andrew Pogrebennyk
On 21.06.2011 17:08, laura testi wrote: Yes, it can be read by all user like other configuration file: -rw-r--r-- 1 root root 566 Jun 20 18:56 ldap.cfg Just in case, have you set perhaps any of the environment variables manually for working with ldap? 'service' command is a wrapper that c

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
Yes, it can be read by all user like other configuration file: -rw-r--r-- 1 root root 566 Jun 20 18:56 ldap.cfg On Tue, Jun 21, 2011 at 2:33 PM, Daniel-Constantin Mierla wrote: > > > On 6/21/11 12:33 PM, laura testi wrote: > > The LDAP server is running on another machine in the same LAN wit

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Daniel-Constantin Mierla
On 6/21/11 12:33 PM, laura testi wrote: The LDAP server is running on another machine in the same LAN without any firewall. As by your suggestion, I change the user and group from kamailio to root in the /etc/default/kamilio file. Now it works. Why I can not run the kamailio as the user ka

Re: [SR-Users] kamailio realtime integration

2011-06-21 Thread Daniel-Constantin Mierla
On 6/21/11 12:17 PM, vaad.f...@gmail.com wrote: On 06/21/2011 12:55 PM, Daniel-Constantin Mierla wrote: 3.From integration manual: " CREATE TABLE version ( table_name VARCHAR(32) NOT NULL, table_version INT UNSIGNED DEFAULT 0 NOT NULL ); IN

Re: [SR-Users] an IDEA

2011-06-21 Thread Klaus Darilion
You may wanto to look at Asterisk and its SSL7 stacks (chan_ss7, libss7+dahdi) regards Klaus Am 18.06.2011 15:25, schrieb afshin afzali: > Hi Guys, > > I need to integrate a SIP processing environment to H.248 and SS7/ ISUP > links. > For those communication links, OpenSS7 and Erlang/OTP MEGACO

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
The LDAP server is running on another machine in the same LAN without any firewall. As by your suggestion, I change the user and group from kamailio to root in the /etc/default/kamilio file. Now it works. Why I can not run the kamailio as the user kamailio as the default installation set? (I inst

Re: [SR-Users] kamailio realtime integration

2011-06-21 Thread vaad.f...@gmail.com
On 06/21/2011 12:55 PM, Daniel-Constantin Mierla wrote: 3.From integration manual: " CREATE TABLE version ( table_name VARCHAR(32) NOT NULL, table_version INT UNSIGNED DEFAULT 0 NOT NULL ); INSERT INTO version (table_name, table_version) VALUE

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Daniel-Constantin Mierla
Hello, interesting, is the ldap server running on same server? Is the connection via local network? When starting as service, kamailio is probably run under user kamailio. Any firewall in place or system restrictions for user 'kamailio'? You can change the user/group for kamailio service in

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
Hi Daniel, thank you very much for your quick reply. Yes I can connect to ldap and make search from kamailio if I start the kamailio with command line in a terminal ("# kamctl start" or "#kamailio") as root.It fail to connect to ldap only when I start it as service from the boot or I run the comman

Re: [SR-Users] kamailio realtime integration

2011-06-21 Thread Daniel-Constantin Mierla
Hello, On 6/21/11 11:03 AM, vaad.f...@gmail.com wrote: Hello all, I want to use realtime architecture kamailio 3.1 + asterisk 1.6.2 described at http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb, but use it with another softswitch (it also use mysql db for configu

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Daniel-Constantin Mierla
Hello, the first error I could spot related to ldap is: 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 suggesting connectivity problem to ldap server. Is it running? Can you connect to ldap s

[SR-Users] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
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

[SR-Users] kamailio realtime integration

2011-06-21 Thread vaad.f...@gmail.com
Hello all, I want to use realtime architecture kamailio 3.1 + asterisk 1.6.2 described at http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb, but use it with another softswitch (it also use mysql db for configuration). If it possible please answer for several questio

Re: [SR-Users] [Kamailio-Business] The 15000th development commit

2011-06-21 Thread Daniel-Constantin Mierla
On 6/20/11 3:37 PM, Meftah Tayeb wrote: congratulation Andrei ! 2TH 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 d4a66daDaniel-Constantin MierlaMon Apr

Re: [SR-Users] Lua script calling rewriteuri

2011-06-21 Thread Daniel-Constantin Mierla
Hello, to rewrite the r-uri you can use the function for setting PV value: sr.pv.sets("$ru", "_here_is_new_uri_"); To add contact headers to reply, you should use: sr.hdr.append_to_reply("Contact: <_here_is_your_uri_>\r\n"); Cheers, Daniel On 6/20/11 3:23 PM, Sharif Tanvir Rahman wrote: Hel

Re: [SR-Users] [Kamailio-Business] The 15000th development commit

2011-06-21 Thread Meftah Tayeb
congratulation Andrei ! 2TH would by you, daniel ;) - Original Message - From: "Daniel-Constantin Mierla" To: "kamailio" ; "sr-dev" ; Sent: Monday, June 20, 2011 3:41 PM Subject: [Kamailio-Business] The 15000th development commit Hello, I just wanted to mark the 15000th devel

[SR-Users] Lua script calling rewriteuri

2011-06-21 Thread Sharif Tanvir Rahman
Hello, We plan to use Kamailio as redirect server. Corresponding contact list is to be fetched by a Lua script from DB. The problem is about calling the required 'rewriteuri' function: 1. From lua script. both 'sr.rewriteuri()' and 'sr.modf("rewriteuri", ...)" fails to write the 'contact'