Re: [SR-Users] Kamailio v5.1.6 crashes with rtpengine restarts

2019-01-21 Thread Daniel-Constantin Mierla
Hello, can you share with me the full config along with sipp scenario files and commands you used for testing? I would like to reproduce on my test environment to be able to troubleshoot. Also, can you try with latest version from 5.2 branch? I pushed some fixes recently to rtpengine as well as

Re: [SR-Users] Empty presence event NOTIFY

2019-01-21 Thread EDUARDO PASCUAL GALLEGO
Hello: I am testing the Kamailio Presence Server. I can see when the presence of an user agent expires then the server sends an empty NOTIFY without XML document. Also, when the server receives a SUBSCRIBE it sends a NOTIFY with XML if the UA is present but it sends an empty NOTIFY when the UA is

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-21 Thread Prabhat Kumar
Is there any function for username authentication? as we have for password i.e. pv_www_authenticate(realm, passwd, flags) Also how can i modify username before authentication? Regards, Prabhat On Mon, Jan 21, 2019 at 8:11 PM Daniel Tryba wrote: > On Mon, Jan 21, 2019 at 06:55:32PM +0530,

Re: [SR-Users] uri_param function

2019-01-21 Thread Andrew Chen
Thanks Brandon for your responses. For some reason I misunderstood the use of uri_param and thought that would just check if the param "ak" would exist. Yeah I did something like what you just mentioned except I'm not checking for blank value, but checking to make sure the param exists. if(uri

Re: [SR-Users] uri_param function

2019-01-21 Thread Brandon Armstead
Andrew, Perhaps try something like this: if(!($(ru{uri.param,ak}) == "")){ // ak has a value } else { // ak has no value } On Mon, Jan 21, 2019 at 1:28 PM Brandon Armstead wrote: > Andrew, > >I believe per docs it finds a param with no value, so it may not match > if there is a

Re: [SR-Users] uri_param function

2019-01-21 Thread Brandon Armstead
Andrew, Also - my brain is still waking up but -- I would make sure you are not confusing inner param vs outer param, i.e. ;outer=OUT - just another thought or common possibility I see happening, but given that you are specifically stating request-uri this may not be applicable. On Mon, Jan

Re: [SR-Users] uri_param function

2019-01-21 Thread Brandon Armstead
Andrew, I believe per docs it finds a param with no value, so it may not match if there is a value on that attribute. On Mon, Jan 21, 2019 at 1:24 PM Andrew Chen wrote: > Hi all, > > Question. I'm executing uri_param() function to look for our customized > Request-URI parameters generated

[SR-Users] uri_param function

2019-01-21 Thread Andrew Chen
Hi all, Question. I'm executing uri_param() function to look for our customized Request-URI parameters generated by our client. However, it keeps saying the param is not there even though my client logs shows the param was generated. Below is an example Request-URI from a test call I made:

Re: [SR-Users] MWI notification through pua.publish

2019-01-21 Thread Henning Westerholt
Am Montag, 21. Januar 2019, 19:10:11 CET schrieb Володимир Іванець: > Are you able to generate PUBLISH message with jsonrpcs? I can only do it > with xmlrpc. Kamailio version is 5.2.1. > > When I use jsonrpc: Hello, not looked that deep into it, but have you tried to set an id (as reported

[SR-Users] Kamailio v5.1.6 crashes with rtpengine restarts

2019-01-21 Thread Yufei Tao
Hi, I have been testing one Kamailio v5.1.6 instance with one rtpengine instance, using sipp playing media files at 40 cps (-r 40) with up to 1600 concurrent calls. During the load tests if rtpengine is pkill'ed/restarted a few times Kamailio would crash. It is quite repeatable and every time

Re: [SR-Users] MWI notification through pua.publish

2019-01-21 Thread Володимир Іванець
Hello! Are you able to generate PUBLISH message with jsonrpcs? I can only do it with xmlrpc. Kamailio version is 5.2.1. When I use jsonrpc: *# curl -H "Content-Type: application/json" -X POST -d '{"jsonrpc": "2.0", "method": "pua.publish", "params": {"presentity_uri": "sip:j...@test.tutpro.com

Re: [SR-Users] database reconnection db_unixodbc

2019-01-21 Thread Karthik Srinivasan
Henning, Thank you for the response. I will open an issue and test out the latest releases. Thanks again for the feedback. Karthik On Sun, Jan 20, 2019 at 9:31 AM Henning Westerholt wrote: > Am Freitag, 18. Januar 2019, 18:28:09 CET schrieb Karthik Srinivasan: > > I am testing how kamailio

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-21 Thread Daniel Tryba
On Mon, Jan 21, 2019 at 06:55:32PM +0530, Prabhat Kumar wrote: > How can i modify username before consuming credentials set in *$au* > variable. I tried $au=$_s("xyz:"+$au); but it says "*read only pvar in > assignment left side*" > ERROR: bad config file (1 errors) $au is readonly. My workaround

[SR-Users] Maximum Number of Probed Gateways

2019-01-21 Thread Duarte Rocha
Greetings, Is there a limitation to the number of Gateways probed by Dispatcher? I have several gateways configured to be probed, but the OPTIONS is only sent to the first 16? Is there a configuration regarding this? Thanks in advance, Duarte Rocha

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-21 Thread YASIN CANER
Hello,, there is a lot way to remove a header. if it is just a Header , remove_hf() , if it is value then you can use exclude_hf_value(). load_credentials works after auth is done. check your configuration or please , share log.

Re: [SR-Users] Problem with ghost dialogs

2019-01-21 Thread Cyrille Demaret
Hi, Thank you, I’ll try it tomorrow on the version we are using 5.1.6. Best regards, Cyrille De : Daniel-Constantin Mierla Envoyé : dimanche 20 janvier 2019 18:18 À : Kamailio (SER) - Users Mailing List ; Cyrille Demaret Objet : Re: [SR-Users] Problem with ghost dialogs