FW: General Question

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

 



Dear All , 

 

Good Day . 

 

I hope you are doing well .

 

 

My problem is that in Pjsua_acc I'm trying to modify the code to alter for
which disconnect codes re-registration should take place plus limiting the
number of failed re-registration attempts to avoid endless re-registration
with no effect at all as if the code I added is just a ghost .

 

Example : 

 

if (acc->cfg.reg_retry_interval && 

      (param->code == PJSIP_SC_REQUEST_TIMEOUT ||

      param->code == PJSIP_SC_INTERNAL_SERVER_ERROR ||

      param->code == PJSIP_SC_BAD_GATEWAY ||

      param->code == PJSIP_SC_SERVICE_UNAVAILABLE ||

      param->code == PJSIP_SC_SERVER_TIMEOUT ||

       param->code == PJSIP_SC_FORBIDDEN ||
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< adding this line has no
effect at all and totally bypassed .

      PJSIP_IS_STATUS_IN_CLASS(param->code, 600))) /* Global failure */

    {

      schedule_reregistration(acc);

    }

 

 

Clean - rebuild , no errors 

 

I'm spending too much time rotating around myself and the mailing list is
not offering any support  .

If it is not possible to alter the code or it needs some requirements or
even if your support is selective , 

Just answer me with even single word .

 

BR

JK

 

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