Re: [SR-Users] MSRP auth does not work with blink
I didn't get the time for it yet, due to traveling and conducting a kamailio advance training, the spare time was quite limited. Hoping to be able to address it in the near future. Cheers, Daniel On 28/11/2016 18:38, Pranathi Venkatayogi wrote: > > Any luck? Any help from other users who used - pv_www_authenticate? > > > > *From:*Pranathi Venkatayogi > *Sent:* Friday, November 25, 2016 12:37 PM > *To:* 'mico...@gmail.com'; Kamailio (SER) - Users Mailing List > *Subject:* RE: [SR-Users] MSRP auth does not work with blink > > > > Hi Daniel, > > Please find attached Kamailio syslog messages. Also included are the > configs I am using and client msrp log. > > The spot can be found by searching for the following: > > Translation: MSRP auth failed with: -5 > > > >Please let me know what I may be doing wrong. > > > > Thanks > > Pranathi > > > > *From:*sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *Daniel-Constantin Mierla > *Sent:* Thursday, November 24, 2016 4:54 AM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] MSRP auth does not work with blink > > > > Hello, > > I couldn't spot any kamailio log messages in the zip logs you sent. > Can you run kamailio with debug=3 in kamailio.cfg and send all the > syslog messages printed by kamailio in such case? > > Cheers, > Daniel > > > > On 23/11/2016 00:41, Pranathi Venkatayogi wrote: > > Hi, > > I am trying to use MSRP feature of blink client. In the server > config when auth is challenged, I see the following error in the > client.*Can you please advise if I am configuring the server right?* > > Note: the return value of pv_www_authenticate is “-5”. > > > > /13 2016-11-07 17:57:26.494124 [blink.exe 24976]: Closed > connection to 10.0.16.51:2855 ('NotificationProxyLogger' object > has no attribute 'received_illegal_data')/ > > > > Find attached full set of client logs. > > Here is the relevant portion of kamailio.cfg: > > if (!pv_www_authenticate("MY_DOMAIN", "$var(passwd)", "0", > > > "$msrp(method)")) { > > www_challenge("MY_DOMAIN", "1"); > > xlog("L_ERR", "MSRP auth failed with: $var(retValue)\n"); > > exit; > > } > > > > > > -- > Daniel-Constantin Mierla > http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - > http://www.linkedin.com/in/miconda > Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] MSRP auth does not work with blink
Any luck? Any help from other users who used - pv_www_authenticate? From: Pranathi Venkatayogi Sent: Friday, November 25, 2016 12:37 PM To: 'mico...@gmail.com'; Kamailio (SER) - Users Mailing List Subject: RE: [SR-Users] MSRP auth does not work with blink Hi Daniel, Please find attached Kamailio syslog messages. Also included are the configs I am using and client msrp log. The spot can be found by searching for the following: Translation: MSRP auth failed with: -5 Please let me know what I may be doing wrong. Thanks Pranathi From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, November 24, 2016 4:54 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] MSRP auth does not work with blink Hello, I couldn't spot any kamailio log messages in the zip logs you sent. Can you run kamailio with debug=3 in kamailio.cfg and send all the syslog messages printed by kamailio in such case? Cheers, Daniel On 23/11/2016 00:41, Pranathi Venkatayogi wrote: Hi, I am trying to use MSRP feature of blink client. In the server config when auth is challenged, I see the following error in the client.Can you please advise if I am configuring the server right? Note: the return value of pv_www_authenticate is “-5”. 13 2016-11-07 17:57:26.494124 [blink.exe 24976]: Closed connection to 10.0.16.51:2855 ('NotificationProxyLogger' object has no attribute 'received_illegal_data') Find attached full set of client logs. Here is the relevant portion of kamailio.cfg: if (!pv_www_authenticate("MY_DOMAIN", "$var(passwd)", "0", "$msrp(method)")) { www_challenge("MY_DOMAIN", "1"); xlog("L_ERR", "MSRP auth failed with: $var(retValue)\n"); exit; } -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] MSRP auth does not work with blink
Hello, I couldn't spot any kamailio log messages in the zip logs you sent. Can you run kamailio with debug=3 in kamailio.cfg and send all the syslog messages printed by kamailio in such case? Cheers, Daniel On 23/11/2016 00:41, Pranathi Venkatayogi wrote: > > Hi, > > I am trying to use MSRP feature of blink client. In the server > config when auth is challenged, I see the following error in the > client.*Can you please advise if I am configuring the server right?* > > Note: the return value of pv_www_authenticate is “-5”. > > > > /13 2016-11-07 17:57:26.494124 [blink.exe 24976]: Closed connection > to 10.0.16.51:2855 ('NotificationProxyLogger' object has no attribute > 'received_illegal_data')/// > > > > Find attached full set of client logs. > > Here is the relevant portion of kamailio.cfg: > > if (!pv_www_authenticate("MY_DOMAIN", "$var(passwd)", "0", > > > "$msrp(method)")) { > > www_challenge("MY_DOMAIN", "1"); > > xlog("L_ERR", "MSRP auth failed with: $var(retValue)\n"); > > exit; > > } > > > -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users