Re: [SR-Users] help with kamailio rpm made from source

2016-09-18 Thread Dmitry
Hello I tested 4.3 and 4.4 and kamailio -E -DDD gives the sameI compiled from source - the same results:[root@kazootest2 kamailio]# kamailio -E -DDDloading modules under config path: /usr/local/lib64/kamailio/modules/ 0(1) INFO: [sctp_core.c:75]: sctp_core_check_support(): SCTP API not

Re: [SR-Users] help with kamailio rpm made from source

2016-09-16 Thread Dmitry
Hello I tested a package http://download.opensuse.org/repositories/home:/kamailio:/v4.3.x-rpms/CentOS_6/x86_64/kamailio-4.3.6-1.1.x86_64.rpm  ( I downlowaded 4.3.6 version rpm and installed it. Kamailio restarts well. The behaviour is the same. the phone registeres without nonce. I install

Re: [SR-Users] help with kamailio rpm made from source

2016-09-16 Thread Dmitry
RPMBUILD produces several kamailio rpms   Now I install the following rpms: [root@kazootest3 ~]# rpm -qa | grep kamakamailio-presence-4.3.4-0.x86_64kamailio-4.3.4-0.x86_64kamailio-utils-4.3.4-0.x86_64kamailio-outbound-4.3.4-0.x86_64kamailio-tls-4.3.4-0.x86_64kamailio-kazoo-4.3.4-0.x86_64 still

Re: [SR-Users] help with kamailio rpm made from source

2016-09-15 Thread Dmitry
I made loadmodule and modparam("debugger", "cfgtrace", 1) but anyway - no logs when I register. As I understand - it's like no config file. On Thursday, September 15, 2016 6:01 PM, Daniel-Constantin Mierla wrote: I am not familiar with kazoo configs, maybe asking

Re: [SR-Users] help with kamailio rpm made from source

2016-09-15 Thread Daniel-Constantin Mierla
I am not familiar with kazoo configs, maybe asking on their mailing list can help you more. >From Kamailio point of view, you can load debugger module and set its cfgtrace parameter to 1, then see what actions from config are executed and why is not getting to the authentication part. Cheers,

Re: [SR-Users] help with kamailio rpm made from source

2016-09-15 Thread Dmitry
here are my "define_with flags" from SPEC file (opensuse one) # list of flags to enable extra packages%define _with_bdb 0%define _with_carrierroute 0%define _with_cnxcc 0%define _with_dnssec 0%define _with_erlang 0%define _with_ev 0%define _with_geoip 0%define _with_java 0%define _with_json

Re: [SR-Users] help with kamailio rpm made from source

2016-09-15 Thread Dmitry
/etc/kazoo/kamailio/default.cfg - which containes all routes.2600hz/kazoo-configs | | | | || | | | || 2600hz/kazoo-configs kazoo-configs - Kazoo Configuration Files for Software We Use | | | | I test on a working server (testing one) and a working

Re: [SR-Users] help with kamailio rpm made from source

2016-09-15 Thread Dmitry
Hello I took this spec from suse. It generates no errors. When I installed from the RPM I had made - the phone register, but The phone sends a REGISTER and the KAmailio sends 200ok back to the phone (so no NONCE authorization) and no logs during it. In default.cfg I set L_DBG but no logs are

Re: [SR-Users] help with kamailio rpm made from source

2016-09-14 Thread Daniel-Constantin Mierla
Then you just need add those files in various packages inside the spec file, so they are not detected to be orphaned. Maybe you can inspire from: - https://build.opensuse.org/package/view_file/home:kamailio:v4.3.x-rpms/kamailio43/kamailio.spec?expand=1 Cheers, Daniel On 14/09/16 16:35,

Re: [SR-Users] help with kamailio rpm made from source

2016-09-14 Thread Dmitry
4.3.4 version is for KazooIt is on production server currently. I need to rebuild the current RPM so as to apply patches. But first I want to get a working Kamailio and only after it I will apply the patches. I think I may take a list of modules from the production Kazoo-kamailio and rearchive

Re: [SR-Users] help with kamailio rpm made from source

2016-09-14 Thread Daniel-Constantin Mierla
Hello, any reason not to use series 4.4.x? Iirc, the latest spec that got update on 4.4 are those for oracle enterprise linux, perhaps is something that you can reuse a lot for upgrading to the centos flavour. On the other hand, you can use opensuse build service if you want to build yourself,

Re: [SR-Users] help with kamailio rpm made from source

2016-09-14 Thread Dmitry
Hellowhich SPEC file is used by the Kamailio group to build rpm? On Tuesday, September 13, 2016 7:56 PM, Dmitry wrote: I use Centos 6.7 On Tuesday, September 13, 2016 7:51 PM, Dmitry wrote: Hello I used:

Re: [SR-Users] help with kamailio rpm made from source

2016-09-13 Thread Dmitry
I use Centos 6.7 On Tuesday, September 13, 2016 7:51 PM, Dmitry wrote: Hello I used: kamailio-4.3.4_src.tar.gz /kamailio-4.3.4/pkg/kamailio/centos/6/ I found several spec files:[root@kazootest2 kamailio-4.3.4]# find . -name

Re: [SR-Users] help with kamailio rpm made from source

2016-09-13 Thread Dmitry
Hello I used: kamailio-4.3.4_src.tar.gz /kamailio-4.3.4/pkg/kamailio/centos/6/ I found several spec files:[root@kazootest2 kamailio-4.3.4]# find . -name

Re: [SR-Users] help with kamailio rpm made from source

2016-09-13 Thread Daniel-Constantin Mierla
Hello, which rpm spec did you use? There are several of them in the source tree, some not really maintained. Cheers, Daniel On 13/09/16 14:33, Dmitry wrote: > Hello, All > > When I take a SPEC file from kamailiotar.gz - during rpmbuild I > encounter: > > Checking for unpackaged file(s):

Re: [SR-Users] help with kamailio rpm made from source

2016-09-13 Thread Dmitry
Hello, All When I take a SPEC file from kamailiotar.gz - during rpmbuild I encounter: Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/kamailio-4.3.4-0.0.el6.x86_64error: Installed (but unpackaged) file(s) found:   /usr/lib64/kamailio/modules/auth_xkeys.so   

Re: [SR-Users] help with kamailio rpm made from source

2016-09-09 Thread Dmitry
 I see : ERROR: [tcp_main.c:2790]: tcp_init(): bind(9, 0x7fd50bd8ee34, 16) on 127.0.0.1:5060 : Address already in use But I commented out all TCP (listen TCP) so why is this error happen? On Friday, September 9, 2016 10:52 AM, ycaner wrote: Hello; it is

Re: [SR-Users] help with kamailio rpm made from source

2016-09-08 Thread ycaner
Hello; it is clear that kamailio crashs. Could you start with "kamailio -E -ddd" and then see logs. it gives hit. Probably libraries has some conflicts. -- View this message in context: http://sip-router.1086192.n5.nabble.com/help-with-kamailio-rpm-made-from-source-tp151601p151626.html Sent

[SR-Users] help with kamailio rpm made from source

2016-09-08 Thread Dmitry
Hello I obtained the source from  https://www.kamailio.org/pub/kamailio/4.3.4/src/kamailio-4.3.4_src.tar.gz I found a SPEC file there and I prepared a RPM with this spec file. When I start a Kamailio (from this rpm) - it starts but the LOG file gives only 1 line:  INFO: [tcp_main.c:4657]: