[OpenSER-Devel] pua module - unsubscribe
Reinhold Buchinger
reinhold.buchinger at gmail.com
Fri Nov 9 16:32:16 UTC 2007
Hi,
Thanks for your answer. But there is still a problem with
subs_cback_func(...) if a retransmission is triggered. This message
cannot be send with expires=0.
subs.expires= (hentity->desired_expires>0)?
hentity->desired_expires- (int)time(NULL)+ 10:-1;
Regards,
Reinhold
Anca Vamanu schrieb:
> Hello,
>
> The expires= 0 case is covered in subs_build_hdr(...) :
>
> if( expires<= min_expires)
> subs_expires= int2str(min_expires, &len); else
> subs_expires= int2str(expires+ 10, &len);
>
> if the module parameter min_expires maintains its default value, which
> is 0.
> I will test to see if indeed it is not possible now to unsubscribe.
>
> regards,
> Anca Vamanu
>
> Reinhold Buchinger wrote:
>> Hi,
>>
>> Using the pua module, I cannot send a subscription with expires=0. If
>> you look at subs_build_hdr(...) in send_subscribe.c this case is not
>> covered.
>>
>> Regards,
>> Reinhold
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>>
>>
>
>
More information about the Devel
mailing list