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

Re: [reSIProcate-users] [reSIProcate] DUM: enablePrack methods?


Hi John,

When you enable PRACK via the setUasReliableProvisionalMode and setUacReliableProvisionalMode profile API's DUM will automatically add the 100rel to the Support headers for you.

I will update the comments with the correct API names.

Scott


On Thu, Jun 5, 2014 at 4:40 PM, John Gregg <jgregg@xxxxxxxxx> wrote:

I am updating some old app code that used an older resiprocate version. It did this:

mDum->getMasterProfile()->addSupportedOptionTag(Token(Symbols::C100rel));

which of course hits this assert in 1.9.6:

void
MasterProfile::addSupportedOptionTag(const Token& tag)
{
   if (tag == Token(Symbols::C100rel))
   {
      //use enablePrackUas and enablePrackUac
      assert(0);
   }
   mSupportedOptionTags.push_back(tag);
}

Am I correct in thinking that my app should just not do that anymore? A quick grep reveals no such routines as enablePrackUas and enablePrackUac, so at the very least, the comment should be changed.

regards,

-John Gregg

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel