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

Dmitry mbike2000ru at yahoo.com
Sun Sep 18 18:21:28 CEST 2016


Hello
I tested 4.3 and 4.4 and kamailio -E -DDD gives the sameI compiled from source - the same results:[root at kazootest2 kamailio]# kamailio -E -DDDloading modules under config path: /usr/local/lib64/kamailio/modules/ 0(22221) INFO: <core> [sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp moduleListening on             udp: 127.0.0.1:5060             udp: 192.168.175.138:5060             tcp: 127.0.0.1:5060             tcp: 192.168.175.138:5060Aliases:             tcp: ip-192-168-175-138.is74.loc:5060             tcp: localhost:5060             tcp: localhost.localdomain:5060             udp: ip-192-168-175-138.is74.loc:5060             udp: localhost:5060             udp: localhost.localdomain:5060
 0(22221) INFO: <core> [tcp_main.c:4665]: init_tcp(): using epoll_lt as the io watch method (auto detected) 0(22223) INFO: rr [../outbound/api.h:54]: ob_load_api(): unable to import bind_ob - maybe module is not loaded 0(22223) INFO: rr [rr_mod.c:174]: mod_init(): outbound module not available 0(22223) INFO: usrloc [hslot.c:51]: ul_init_locks(): locks array size 1024 0(22223) INFO: <core> [udp_server.c:150]: probe_max_receive_buffer(): SO_RCVBUF is initially 124928 0(22223) INFO: <core> [udp_server.c:200]: probe_max_receive_buffer(): SO_RCVBUF is finally 249856 0(22223) INFO: <core> [udp_server.c:150]: probe_max_receive_buffer(): SO_RCVBUF is initially 124928 0(22223) INFO: <core> [udp_server.c:200]: probe_max_receive_buffer(): SO_RCVBUF is finally 24985613(22236) INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop:  using epoll_lt io watch method (config)
 

    On Friday, September 16, 2016 12:52 PM, Dmitry <mbike2000ru at yahoo.com> wrote:
 

 



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 kamailio, kamailio-kazoo - 2 rpm зфслфпуы 

    On Thursday, September 15, 2016 9:34 PM, Dmitry <mbike2000ru at yahoo.com> wrote:
 

 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 <miconda at gmail.com> wrote:
 

  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,
 Daniel
  
 On 15/09/16 14:09, Dmitry wrote:
  
  /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 config 
  
  
 
   
 
 -- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda 

       On Thursday, September 15, 2016 3:56 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
  
 
    Are you using default kamailio.cfg or another one? Cheers,
 Daniel
  
  On 15/09/16 12:39, Dmitry wrote:
  
  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 generated during registering a phone. 
  And I see no AMQP messages (I set to 1 Kazoo_enable in the SPEC file). 
  Why there are no logs during register (I saw register in tcpdump)? 
  
 
      On Wednesday, September 14, 2016 7:42 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
  
 
    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, Dmitry wrote:
  
  4.3.4 version is for Kazoo It 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 the tar.gz because now the Fedora 18  rpmbuild gives a lot of files: 
  RPM build errors:     Installed (but unpackaged) file(s) found:   /usr/lib64/kamailio/modules/auth_xkeys.so   /usr/lib64/kamailio/modules/dmq_usrloc.so   /usr/lib64/kamailio/modules/ims_charging.so   /usr/lib64/kamailio/modules/jsonrpc-s.so   /usr/lib64/kamailio/modules/mohqueue.so   /usr/lib64/kamailio/modules/nosip.so   /usr/lib64/kamailio/modules/rtjson.so   /usr/lib64/kamailio/modules/rtpengine.so   /usr/lib64/kamailio/modules/statsd.so   /usr/lib64/kamailio/modules/tcpops.so   /usr/lib64/kamailio/modules/tsilo.so   /usr/share/doc/kamailio/modules/README.auth_xkeys   /usr/share/doc/kamailio/modules/README.dmq_usrloc   /usr/share/doc/kamailio/modules/README.ims_charging   /usr/share/doc/kamailio/modules/README.ims_registrar_scscf   /usr/share/doc/kamailio/modules/README.jsonrpc-s   /usr/share/doc/kamailio/modules/README.mohqueue   /usr/share/doc/kamailio/modules/README.nosip   /usr/share/doc/kamailio/modules/README.rtjson   /usr/share/doc/kamailio/modules/README.rtpengine   /usr/share/doc/kamailio/modules/README.statsd   /usr/share/doc/kamailio/modules/README.tcpops   /usr/share/doc/kamailio/modules/README.tsilo   /usr/share/snmp/mibs/KAMAILIO-MIB   /usr/share/snmp/mibs/KAMAILIO-REG-MIB   /usr/share/snmp/mibs/KAMAILIO-SIP-COMMON-MIB   /usr/share/snmp/mibs/KAMAILIO-SIP-SERVER-MIB   /usr/share/snmp/mibs/KAMAILIO-TC 
  
  
  
 
      On Wednesday, September 14, 2016 5:05 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
  
 
    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, the spec from the kamailio project there is up to date  and the ones for 4.3 should still be there. Anyhow, as I said, I would  recommend to go with 4.4.x version. Cheers,
 Daniel
         
         
 
 
         
 
 -- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda    
 
    

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160918/822d3df6/attachment.html>


More information about the sr-users mailing list