Re: [SR-Users] msilo

2016-11-15 Thread Daniel-Constantin Mierla
Hello, for me it is fine to add a new parameter to m_store() that takes the body content. Are you asking for more details of how can be done? Cheers, Daniel On 13/11/16 07:08, Slava Bendersky wrote: > Hello Everyone, > I asking question/request to add improvement for msilo module where > will h

Re: [SR-Users] RTPProxy benchmark

2016-11-15 Thread Daniel-Constantin Mierla
Are you ending the rtp proxy sessions when the call are ended? What rtpproxy functions are you using in the configuration file? Cheers, Daniel On 14/11/16 18:18, Gholamreza Sabery wrote: > No not the first time. But over time. I rebooted my system and error > is gone! It seems that it happens ov

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Daniel-Constantin Mierla
Hello, iirc, the dots where used in MI protocol to provide empty values for parameters. Can you try in json with "" values instead of the dots, or enclose the dots in double quotes so the json document is valid? Cheers, Daniel On 14/11/16 21:04, Jonathan Hunter wrote: > Hi Daniel, > > I am ju

Re: [SR-Users] INVITE timeout timer

2016-11-15 Thread Daniel-Constantin Mierla
Do you have any failure route trying new destinations? A sip trace (e.g., ngrep output with -t on port 5060) for such case will help to see what happens. Also, be sure you have no t_set_fr() that overwrites the value from parameters. Not related, but I noticed that the comment doesn't match the

Re: [SR-Users] [CFP] FOSDEM 2017, RTC devroom, speakers, volunteers neeeded

2016-11-15 Thread Daniel-Constantin Mierla
Hello, a short reminder for those interested in submitting a talk proposal for FOSDEM 2017 -- see the details in the initial email. Cheers, Daniel On 24/10/16 11:09, FOSDEM RTC Team wrote: > FOSDEM is one of the world's premier meetings of free software developers, > with over five thousand peo

[SR-Users] How to get Destination port UDP

2016-11-15 Thread andrzej.ciupek-asterisk.edu.pl
Hello My point is to log INVITEs in my Network. My SIP Network work on port 6060. Im am using HEP to do that, and hep clients that are listening on port range 5060-6066 to detect some SIP attack to port 5060 and others. But when I have attack to port 5060 I don't want to insert that INVITE to

Re: [SR-Users] RTPProxy benchmark

2016-11-15 Thread Dragos Oancea
Hi Increase fs.file-max in your /etc/sysctl.conf . eg: fs.file-max = 5 And then do sysctl -p Decrease SILENT_TIMEOUT in your rtpengine.conf (eg:SILENT_TIMEOUT=120) - it's default 1 hour and if some calls don't have media then rtpengine will just keep the UDP ports in use until this timeout exp

Re: [SR-Users] How to get Destination port UDP

2016-11-15 Thread Carsten Bock
Hi, how about checking $Rp (http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#rp_-_received_port)? That would show, on which port the packet was received Thanks, Carsten 2016-11-15 8:43 GMT+01:00 andrzej.ciupek-asterisk.edu.pl : > Hello > > My point is to log INVITEs in my Network

Re: [SR-Users] RTPProxy benchmark

2016-11-15 Thread Gholamreza Sabery
Yes. I finish the session at the end of each call. Also I am using rtpproxy_manage("r"). My configuration regarding RTPProxy is default config which comes with Kamailio sample config file. On Tue, Nov 15, 2016 at 11:44 AM, Dragos Oancea wrote: > Hi > > Increase fs.file-max in your /etc/sysctl.co

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
Hi Daniel, That works in terms of clearing the error, however I just see kamailio send a SIP info message to kamailio.org, as apposed to the RURI I provide, I presume again this will just be putting the t_uac_dlg parameters in the correct order? Parameters: * method - request method *

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Daniel-Constantin Mierla
Hello, what do you mean by "with default parameters" in your last remark? Are the To/From not taken from the rpc command? Cheers, Daniel On 15/11/16 11:06, Jonathan Hunter wrote: > > Hi Daniel, > > > That works in terms of clearing the error, however I just see kamailio > send a SIP info mess

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
Hi, Sorry Daniel, let me be clear. Correct the To/From are not taken from the rpc command, the INFO is triggered/sent but with the To/From of the new request coming in; Below I dial 07917190438 from ext 209 and this INFO is sent; INFO sip:kamailio.org SIP/2.0 Via: SIP/2.0/UDP 8.8.8.8;bran

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Daniel-Constantin Mierla
Hello, I looked quickly at the code and the mi command should take the values from the parameters. Can you run with debug=3 and get all the logs messages to see if we can spot something threre. Cheers, Daniel On 15/11/16 11:27, Jonathan Hunter wrote: > > Hi, > > > Sorry Daniel, let me be clea

[SR-Users] Htable sht_rm_name_re usage

2016-11-15 Thread Grant Bagdasarian
Hello Community, We were facing a weird issue in one of our Kamailio servers where custom htable entries were removed which did not belong to a particular call. Background Information: We use htable to store the call-id and a uuid when an INVITE message is received and remove these entries when

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
Hello, Please see debug output for when I try and send the SIP INFO when I am initiating a new call. I am just testing out the command currently, in practice I will look to inject the SIP INFO into an already formed dialog, so is the way I am trying to test cause me an issue? I can see;

[SR-Users] How to get Destination port UDP

2016-11-15 Thread andrzej.ciupek-asterisk.edu.pl
Hello I have tried $Rp before sending this to mailing list, but with $Rp I have different values for example 188, 6847, 3163, 9175 for every call ?! Don't know where are they come from, because in URI I see :6060, and using $rp give my 6060 for examples with $Rp. Only have problem with UAC P

Re: [SR-Users] How to get Destination port UDP

2016-11-15 Thread Daniel-Constantin Mierla
Hello, do you receive the packets over UDP on local port 6060 and $Rp is not 6060? Cheers, Daniel On 15/11/16 13:13, andrzej.ciupek-asterisk.edu.pl wrote: > Hello > > I have tried $Rp before sending this to mailing list, but with $Rp I > have different values for example 188, 6847, 3163, 9175 f

Re: [SR-Users] How to get Destination port UDP

2016-11-15 Thread Carsten Bock
Please note: "$rp" is not the same as "$Rp", PV's are case-sensitive Thanks, Carsten 2016-11-15 14:34 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > do you receive the packets over UDP on local port 6060 and $Rp is not 6060? > > Cheers, > Daniel > > > On 15/11/16 13:13, andrzej.ciupek-aste

Re: [SR-Users] msilo

2016-11-15 Thread Slava Bendersky
Hello Daniel, I am not programmer, but I want place request if kaamilio devs can complete it . Thanks Slava. From: "Daniel-Constantin Mierla" To: "sr-users" Sent: Tuesday, 15 November, 2016 03:00:19 Subject: Re: [SR-Users] msilo Hello, for me it is fine to add a new parameter to

Re: [SR-Users] msilo

2016-11-15 Thread Federico Cabiddu
Hi Slava, if I understand correctly your scenario, you could call t_on_failure before relaying the MESSAGE. In this way you should have access to the original message in the failure route triggered after receiving a final reply and you should be able to store it with the regular msilo functions. Ho

[SR-Users] Possible memory leak in mysql driver

2016-11-15 Thread Alexandru Covalschi
Hello list, We’re using dev version of Kamailio: version: kamailio 5.0.0-dev4 (x86_64/linux) ff63e5 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_F

Re: [SR-Users] msilo

2016-11-15 Thread Slava Bendersky
Hello Everyone, I am trying just forward MESSAGE through kamailio and I reported issue with mod_sms in freeswitch https://freeswitch.org/jira/browse/FS-9701. So I was need add work around on kamailio side. The issue that my setup MSILO should work in intercept mode meaning check when user onlin