Hello,
There seems to be a bug in SipRefreshMgr.cpp lines 1261 - 1275
(media-update branch):

            SipMessage * msgInList = NULL;
            
            // Log Failures
            syslog(FAC_REFRESH_MGR, PRI_ERR, "unable to send %s 
(transport):\ncallid=%s",
                    method.data(), callid.data()) ;

            //reschedule only if expires value is not zero otherwise it means 
we just did an unregister
            if ( !isExpiresZero(sipMsg) )
            {
               sendToObservers(eventMessage, msgInList);
                    
               // try again after default time out
               rescheduleAfterTime(msgInList, FAILED_PERCENTAGE_TIMEOUT);
            }
            messageProcessed = TRUE;

Pointer msgInList is never assigned any value and sendToObservers() is
effectively called with NULL pointer, which results in Access
Violation. I'm not sure what should be the exact solution here, as I'm
not very familiar with this code (I'm evaluating sipXtapi code as a
possible base for SIP client).

Best Regards,
Andrzej Ciarkowski

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to