Hi, i have the following problem:

scenario: my UserAgent calls a sip phone then wants to end the call before
the other answered so i send a CANCEL message with the following code:

void
SipHandler::sendCancel()
{
   SipMessage msgCancel;
   msgCancel.setCancelData
(sFromHeader,sToHeader,sCallIdOfCurrentCall,++iCancelCSeqNumber);
   bool res=ua->send(msgCancel);
   if (!res)
       qDebug("Cancel not sent");
   clearSipVars();
}

it worked fine with the revision from 2 aug 2006
a revision from 11 nov 2006 (7777? maybe) does not work as it sends a CANCEL
with an empty first request header
revision 8737 as of today (9 feb 2007) sends a CANCEL with first header
that is like: CANCEL UNKNOWN-URL-SCHEME

so, is my code broken? or is there an issue with setCancelData()?

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

Reply via email to