[SR-Users] Kamailio and RTPProxy

2014-10-27 Thread Juan Perez
I installed Kamailio 4.2 and the latest rtpproxy. When starting Kamailio I see these lines: Oct 27 21:54:26 ip-10-0-2-68 kamailio: DEBUG: [sr_module.c:590]: load_module(): load_module: trying to load [sr_module.c:357]: register_module(): register PV from: rtpproxy Oct 27 21:54:26 ip-10-0-2-68

Re: [SR-Users] Kamailio 4.2.0 - Error in default configuration

2014-10-27 Thread Paul Smith
Hi Kamal dispatcher module needs to be loaded in order to call ds_is_from_list(), or ds_select_dst(). It looks like you have added the line 'loadmodule “dispatcher.so”’inside the conditional WITH_ANTIFLOOD block, so it never gets called after you have disabled that block. In short make sure t

[SR-Users] Kamailio 4.2.0 - Error in default configuration

2014-10-27 Thread Kamal Palei
Hi All I am in process of setting up of P-CSCF using Kamailio 4.2.0. I wanted to disable WITH_ANTIFLOOD (as I am not sure what shall be the content of dispatcher.list file for me, as it is juts a local setup). When I disable WITH_ANTIFLOOD, and try to execute I get below errors. Wherever *ds_is_

[SR-Users] Selecting rtpproxy instance on 200 reply

2014-10-27 Thread Grant Bagdasarian
Hello, This was originally posted for opensips, but I figured someone here might know the answer as well since kamailio and opensips are "alike". I have the following RTPproxy configuration: modparam("nathelper", "rtpproxy_sock", "1 == udp:127.0.0.1:12221") modparam("nathelper", "rtpproxy_sock"

[SR-Users] Htable iterators, am I doing it wrong?

2014-10-27 Thread davy van de moere
I was giving the htable iterator a go , but I can't get it to work. My relevant config would is: modparam("htable", "htable", "testhtable=>size=4;") in the request route I have this: sht_iterator_start("i1", "testhtable"); while(sht_iterator_next("i1")) { xlog("L_INFO"," $sh

[SR-Users] 3.3.2 dumps core on unresolvable names

2014-10-27 Thread Måns Nilsson
Hi, I've now twice experienced a core dump in my Kamailio install, where it tries to process an INVITE that is made to a domain name that does not exist. Log: Oct 27 14:49:58 landsort /usr/local/kamailio/sbin/kamailio[40058]: ERROR: [resolve.c:1540]: ERROR: sip_hostport2su: could not resol

Re: [SR-Users] Kamailio for ARM with rtpproxy-ng

2014-10-27 Thread Richard Fuchs
On 10/27/14 06:57, Marino Mileti wrote: > Richard Fuchs wrote >> Interesting. I'm not sure why this is required for this value, but hey, >> if it works... Let me know if you run into any more trouble. > > Bad news..the __attribute__((packed)) modification allows only the kernel to > fixup the alig

Re: [SR-Users] Kamailio 4.2.0 install issue

2014-10-27 Thread Zaka Ul Isam
hello Kamal: It is due to dependence on libraries. Make sure u have ncurses library files installed (and -dev package) cheers, Zaka From: sr-users-boun...@lists.sip-router.org [sr-users-boun...@lists.sip-router.org] on behalf of Kamal Palei [palei

Re: [SR-Users] Error-While-Running-icscf.cfg

2014-10-27 Thread Ben Langfeld
You would have to provide your config file. Also, it's bad form to email project maintainers directly; they read the list and will respond here if and when they can. On 27 October 2014 04:21, Anil Kumar wrote: > Hi All, > > > Please can anyone help me to solve this error, occurred while running

Re: [SR-Users] Kamailio 4.2.0 install issue

2014-10-27 Thread Kamal Palei
This issue is resolved with apt-get install libncurses5-dev On Mon, Oct 27, 2014 at 6:50 PM, Kamal Palei wrote: > Dear All > I compiled Kamailio4.2.0 with below command > make group_include="standard standard-dep stable experimental" all > to compile all modules. > > When I install, I get below

[SR-Users] Kamailio 4.2.0 install issue

2014-10-27 Thread Kamal Palei
Dear All I compiled Kamailio4.2.0 with below command make group_include="standard standard-dep stable experimental" all to compile all modules. When I install, I get below error touch /usr/local/lib64/kamailio/modules/counters.so install -m 755 counters.so /usr/local/lib64/kamailio/mo

[SR-Users] Setting up a IMS Server Platform using Kamailio 4.2.x code

2014-10-27 Thread Austin Einter
Hi All Last few days we have tried to setup Kamailio for IMS server setup. We have not been successful. Now we are planning to use Kamailio 4.2.0 code base (Latest) to setup Kamailio IMS setup. I am looking for a link/document, that gives proper step by step instructions how to setup Kamailio as

[SR-Users] Error-While-Running-icscf.cfg

2014-10-27 Thread Anil Kumar
Hi All, Please can anyone help me to solve this error, occurred while running icscf module . 0(4053) : [cfg.y:3406]: yyerror_at(): parse error in config file /etc/kamailio-icscf/icscf.cfg, from line 52, column 1 to line 53, column 0: syntax error ERROR: bad config file (1 errors) Thanks Anil

[SR-Users] Fwd: How to setup Kamailio as P-CSCF/S-CSCF/I-CSCF

2014-10-27 Thread Kamal Palei
Since pcscf.cfg does not have load modules syntax, routing logic, shall we user Kamailio.cfg and just include pcscf.cfg at the top of kamailio.cfg file. Or just we will execute Kamailio as P-CSCF and use only pcscf.cfg as config file. Kindly somebody clarify. Thanks Kamal -- Forwarded m

Re: [SR-Users] How to setup Kamailio as P-CSCF/S-CSCF/I-CSCF

2014-10-27 Thread Kamal Palei
Thanks a lot Muhammad Shahzad. I hope you want me to do ln -s */usr/local/src/kamailio-4.2.0/examples/pcscf/pcscf.cfg kamailio.cfg* My understanding is that kamailio.cfg will just be a file pointing to pcscf.cfg So the configuration that Kamailio-PCSCF server will get is basically from pcscf.cf

Re: [SR-Users] How to setup Kamailio as P-CSCF/S-CSCF/I-CSCF

2014-10-27 Thread Muhammad Shahzad
Kamailio reads only kamailio.cfg or any file included in kamailio.cfg. So you can either copy or link it as kamailio.cfg. cd /etc/kamailio rm kamailio.cfg ln -s */usr/local/src/kamailio-4.2.0/examples/pcscf/ kamailio.cfg* Thank you. On Mon, Oct 27, 2014 at 12:21 PM, Kamal Palei wrote: > Thank

Re: [SR-Users] How to setup Kamailio as P-CSCF/S-CSCF/I-CSCF

2014-10-27 Thread Kamal Palei
Thanks Muhammad Shahzad, There is a step for P-CSCF install in above ng-voice site cd /etc/kamailio mv kamailio.cfg kamailio.cfg.dist ln -s pcscf.cfg kamailio.cfg First here, we are moving kamailio.cfg to kamailio.cfg.dist Then we are executing ln -s pcscf.cfg kamailio.cfg Here I believe pc

Re: [SR-Users] rtpproxy_manage fails to rewrite SDP

2014-10-27 Thread Igor Potjevlesch
Hello, In addition: the behaviour looks to occur when there is many calls to be treated. Looking at /var/log/messages, I can see thousand of this message: incorrect port 0 in reply from rtp proxy At this time, where the flow is more low, no more errors and every calls are properly rewritt

Re: [SR-Users] Setting up web sockets and ephemeral auth

2014-10-27 Thread Ben Langfeld
The important part is this: wrong char [U/85] in [$hdr( Upgrade)] at [5 (5)] You have a unicode newline character after the opening parenthesis. You should remove this and any other instances of weird characters which have become inserted in your config. On 24 October 2014 18:50, Nolan Darilek

[SR-Users] Integrating Kamailio with existing IMS

2014-10-27 Thread Muhammad Shahzad
Hi, I am trying add WebRTC support to existing IMS using kamailio. The idea is to let kamailio handle all webrtc calls alone with diameter backend to IMS for AAA. So, i thought of using auth_diameter and aac module for authentication and accounting. However auth_diameter docs say that the module

Re: [SR-Users] Kamailio for ARM with rtpproxy-ng

2014-10-27 Thread Marino Mileti
Richard Fuchs wrote > Interesting. I'm not sure why this is required for this value, but hey, > if it works... Let me know if you run into any more trouble. Bad news..the __attribute__((packed)) modification allows only the kernel to fixup the alignment trap but it still exist and i don't know if

Re: [SR-Users] How to setup Kamailio as P-CSCF/S-CSCF/I-CSCF

2014-10-27 Thread Muhammad Shahzad
This is bit old, but should still work, http://nil.uniza.sk/ngnims/kamailio-ims/installing-base-kamailio-ims-platform-debian-squeeze-32bit Thank you. On Mon, Oct 27, 2014 at 11:08 AM, Kamal Palei wrote: > Hi All > Last few days we have tried to setup Kamailio for IMS server setup. > We have

[SR-Users] rtpproxy_manage fails to rewrite SDP

2014-10-27 Thread Igor Potjevlesch
Hello, I'm working with rtpproxy module for managing calls to a particular route. The thing is that for some calls, the "Connection information" is not rewritten properly whereas another calls, less than 1 second before or after, are properly rewritten. When "cr_route" defines that the cal

Re: [SR-Users] best way to cope with peaks in traffic

2014-10-27 Thread davy van de moere
Hey Alex, thanks for your prompt insights! This info will have saved me quite some mistakes ;) thx! 2014-10-26 20:28 GMT+01:00 Alex Balashov : > If you want to rate-limit traffic below the throughout thresholds of the > children, look at the pipelimit module. It would obviate the need for > man

[SR-Users] lcr module ping

2014-10-27 Thread Juha Heinanen
Debojit Kakoti writes: > However I want to use lcr module and I can check if particular gateway is > up and down using lcr module and route the call. if i undertood correctly, i don't think you can use it since from the point of view of lcr module, there is only one gw, i.e., your asterisk. -- j

[SR-Users] lcr module ping

2014-10-27 Thread Debojit Kakoti
Hi, My current setup is I have one kamailio server and one asterisk server.In the asterisk server I have two trunk where there are two different PRI provider is used for outbound call. I am using uac_replace_from function to route call to different trunk of the same server. However I want to use l

[SR-Users] How to setup Kamailio as P-CSCF/S-CSCF/I-CSCF

2014-10-27 Thread Kamal Palei
Hi All Last few days we have tried to setup Kamailio for IMS server setup. We have not been successful. Now we are planning to use Kamailio 4.2.0 code base (Latest) to setup Kamailio IMS setup. I am looking for a link/document, that gives proper step by step instructions how to setup Kamailio as

Re: [SR-Users] rtpengine not working with append_branch

2014-10-27 Thread Anthony Messina
On October 26, 2014 9:16:10 PM CDT, Yuriy Gorlichenko wrote: >Hello Antony. This my customised cfg sample. After this you should call >t_relay() func: One thing - you should handle ACK messages for WS at >loose_route. thomething like this: if (is_request()) { if >(!has_totag()) { >if(t_is_branch_