[python] PUBLISH not being generated when using set_basic_status(False)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 22, 2008 at 12:30 PM, Sa?l Ibarra <saghul at gmail.com> wrote:

> Shouldn't set_basic_status(False) generate a PUBLISH request
> indicating the user is unavailable? No request is being generated when
> I call the funcion with False, but it IS generate when I call it with
> True. Is this the correct behaviour?
>
>
It seems to work fine here. One thing for sure, no PUBLISH will be sent if
the online status is not changed. For example, calling
  acc.set_basic_status(False)
  acc.set_basic_status(False)

No PUBLISH will be sent for the second call since the status is already
False.

Initially the account's online status is also False, so calling
set_basic_status(False) for the first time will not send PUBLISH either.

 -benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080822/6454d258/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux