< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [recon-devel] Assert condition on incoming INVITES


You must always have a profile defined before you start the SIP stack and recon processing.  You should call UserAgent::addConversationProfile() before calling UserAgent::startup().  I'll add a comment in the source code to make this clear.

Thanks,
Scott

2009/3/24 Julio Cabezas <jcabezas@xxxxxxxxxxxxx>

Hi,

 

            If the ConversationManager receives an INVITE before any ConversationProfile was defined (through UserAgent::addConversationProfile) , the application exits due to the assert in UserAgent::getDefaultOutgoingConversationProfile().

 

            This can happen mostly if the application that uses ConversationManager ends abnormally without being able to remove registration bindings. Then, if the application is re-launched shortly it can receive INVITES that trigger the mentioned assert.

 

            Any workaround ?  Maybe this assert may be replaced by some other procedure to ignore or reject incoming SIP messages ?

 

Best regards,

Julio Cabezas

 

 


_______________________________________________
recon-devel mailing list
recon-devel@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/recon-devel/