Hello,

thanks for your patches, I will review and commit.

Cheers,
Daniel

On 03/09/14 12:32, Luis Azedo wrote:
Hi,

in presence module subscribe.c send_fast_notify is not always honored.
by changing this line i got it working. does this make sense ?

thanks

diff --git a/modules/presence/subscribe.c b/modules/presence/subscribe.c
index 3074ca9..f5dd6aa 100644
--- a/modules/presence/subscribe.c
+++ b/modules/presence/subscribe.c
@@ -682,7 +682,7 @@
  }
  else
  {
- if(notify(subs, NULL, NULL, 0)< 0)
+ if(send_fast_notify && (notify(subs, NULL, NULL, 0 )< 0))
  {
  LM_ERR("Could not send notify\n");
  goto error;





_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany