libpjsua stops reREGISTER after 408

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

 



On Mon, Mar 22, 2010 at 4:36 PM, Klaus Darilion
<klaus.mailinglists at pernau.at> wrote:
> Am 19.03.2010 15:58, schrieb Nanang Izzuddin:
>>
>> Hi Klaus,
>>
>> Basically, it is application responsibility to update the registration
>> state in network up/down events, as currently network state monitoring
>> should be done in application level and it sounds useless for pjsip to
>> re-register when network is down.
>
> In this case network was not down. The SIP proxy was down. (of course it
> will have the same consequence).
>
>> Just FYI, ticket #1032 has added TCP/TLS transport state notification
>> feature, so when SIP transport TCP/TLS reports network disconnection
>> (based on transport failure in sending keep-alive or any SIP
>> messages), application can try to initiate/monitor network
>> reconnection, and application may start re-register once network is
>> up.
>
> As in my case the network didn't changed, is it sufficent to just call
> pjsua_acc_set_registration() to start reregistration again?
>

Yes. But please see http://trac.pjsip.org/repos/ticket/1044 which will
do these for you.

Cheers
 Benny



[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