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

2019-01-22 Thread Yufei Tao
Hi Daniel, I tested latest v5.2.1 Debian package and created the crash as well. Two core dump files again similar to 5.1.6: 1. 1687 - udp receiver process {{{ [New LWP 1687] Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.'. Program

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

2019-01-22 Thread Володимир Іванець
Hello Serge, Thank you for clarifying this for me. But there is different issue when I change format. It appears that Kamailio indeed expects *body* under parameters https://www.kamailio.org/docs/modules/5.2.x/modules/pua_rpc.html#pua_rpc.r.pua.publish . I run: *# curl -H "Content-Type:

[SR-Users] presence_mwi body check problem

2019-01-22 Thread Володимир Іванець
Hello! I'm trying to process PUBLISH on Kamailio (v. 5.2.1) but constantly getting "500 Server Internal Error" responce. For packet body: *Messages-Waiting: yes* *Message-Account: sip:100-test@172.16.30.151 * *Voice-Message: 1/2* ... debug output is: *kamailio: 2(27127) DEBUG: presence

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

2019-01-22 Thread Serge S. Yuriev
Hi id is not inside params but must to be at top-level. You have to read JSONRPC specs %) https://www.jsonrpc.org/specification On 22/01/2019 13:47, Володимир Іванець wrote: Hello Henning, Thank you for your message. I tried setting *id* too but got same result. /# curl -H

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

2019-01-22 Thread Daniel Tryba
On Tue, Jan 22, 2019 at 12:08:34PM +0530, Prabhat Kumar wrote: > Is there any function for username authentication? as we have for password > i.e. pv_www_authenticate(realm, passwd, flags) I guess your only option for now is to use KEMI and your favorite scripting language available there. >

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

2019-01-22 Thread Володимир Іванець
Hello Henning, Thank you for your message. I tried setting *id* too but got same result. *# curl -H "Content-Type: application/json" -X POST -d '{"jsonrpc": "2.0", "method": "pua.publish", "params": {"presentity_uri": "sip:h...@test.tutpro.com ", "expires": "600", "event package":

Re: [SR-Users] How to send NOTIFY to UA

2019-01-22 Thread CuiGang
Thank you very much. I’ll try it. CuiGang cuigang0...@aliyun.com > 在 2019年1月22日,下午5:01,YASIN CANER 写道: > > Hello > > You can use UAC module to create and custom NOTIFY request. > > http://kamailio.org/docs/modules/5.2.x/modules/uac.html#uac.f.uac_req_send >

Re: [SR-Users] How to send NOTIFY to UA

2019-01-22 Thread YASIN CANER
Hello You can use UAC module to create and custom NOTIFY request. http://kamailio.org/docs/modules/5.2.x/modules/uac.html#uac.f.uac_req_send Yasin CANER From: sr-users on behalf of CuiGang Sent: Tuesday, January 22, 2019 11:45 AM To: Kamailio (SER) - Users

[SR-Users] How to send NOTIFY to UA

2019-01-22 Thread CuiGang
Hello, Does any one know, how to send a NOTIFY message to a special UA? Why I need to do this? I’m using kamailio integration with Yealink IP Phone. Yealink IP Phone can perform some specified action immediately by accepting a SIP NOTIFY message with the “Event: ACTION-URI” header. I want to