PJSIP gives up re-registering when REGISTER expires

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

 



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 ?







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