Assert on timer

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

 



Hi Benny,

An assert in a timer is being launched when I send an INVITE which is 
answer with '100 TRYING' and then '404 Not Found'.
It seems the problem is a re-schedule of an entry, once when the '100 
TRYING' and then when the 404 is processed.

_timer.c_
/* Prevent same entry from being scheduled more than once */
PJ_ASSERT_RETURN(entry->_timer_id < 1, PJ_EINVALIDOP);

In this scenario, instead of an assert shouldn't me made a single 
condition check?

Thank you for your time.

Best regards,
Nuno Costa

-- 
=========================================
Nuno Costa
Senior Engineer
WIT-Software Lda.
Coimbra (Portugal), San Jose (California)
Phone : +351.239.801030
Email : nuno.costa at wit-software.com 
Web: http://www.wit-software.com
=========================================

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