[sr-dev] send_fast_notify not always honored

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 8 14:16:14 CEST 2014


Hello,

thanks, the patch is now on master branch and will be backported.

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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140908/518ec249/attachment.html>


More information about the sr-dev mailing list