PJSIP gives up re-registering when REGISTER expires

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

 



hi ,

As far i know we cant schedule pjsip timer more 34.5 min... . ( i.e
PJSUA_REG_INTERVAL == nearly(2000sec) . i faced same problem with setting
re-register timer  value.

On Tue, Sep 8, 2009 at 12:45 AM, Erlend Knutsen
<erlend.knutsen at applica.no>wrote:

>  PJSIP gives up re-registering when a REGISTER request expires, i.e. after
> PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH (5 s).
>
> A more robust behaviour would be to re-register after PJSUA_REG_INTERVAL
> (300 s).
>
> However the register callback (regc_cb in in pjsua_acc.c) is never called
> again when the REGISTER request once has expired.
>
> I guess this has something to do with the registration structure being
> destroyed and that the re-registration timer is also destroyed along with
> it?
>
>
>
> This behaviour has been observed when using PJSIP on symbian mobiles
> phones (symbian_ua), where REGISTER requests can get lost in the network
> quite often.
>
>
>
> To temporarily overcome this problem we tried to increase the
> PJSUA_REG_INTERVAL to 3600.
>
> This strangely caused PJSUA to register at least every second.
>
> We tried PJSUA_REG_INTERVAL=1800 which worked ok, but this is only a
> temporary solution.
>
>
>
> Any suggestions ?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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/20090910/9bcfd92a/attachment-0001.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