always returns PJ_SUCCESS even if sip server is down

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

 



On Mon, Sep 29, 2008 at 3:50 AM, Joseph Maiquez <josephmaiquez at yahoo.com>wrote:

> Hi Benny,
>
>
>
> I just want to ask why does the function app_startup always returns
> PJ_SUCCESS even if the sip server i am trying to connect is down.
>
>
> Thanks,
>
> Joseph
>


Because the API is asynchronous; we don't want to block the application
while waiting for the registration status. You will be notified about that
later in the callback.

 -benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080929/c38223fb/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