always returns PJ_SUCCESS even if sip server is down

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

 



How can I know if I am connected to a network/sip server or not? 


Thanks

--- On Mon, 9/29/08, Benny Prijono <bennylp at pjsip.org> wrote:
From: Benny Prijono <bennylp@xxxxxxxxx>
Subject: Re: always returns PJ_SUCCESS even if sip server is down
To: "pjsip list" <pjsip at lists.pjsip.org>
Date: Monday, September 29, 2008, 4:40 AM

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



_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



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