Re: [reSIProcate-users] [Invite message with ALLOW INFO - Sending INFO message]
I've added some sample code inline...
Scott
On Thu, Apr 2, 2009 at 11:19 AM, nadeige Da costa
<nadeige2009@xxxxxxxxx> wrote:
Hi,
I am a new user of resiprocate and I began by reading BasicCall.cxx.
I would like add some modifications in this file to:
send the invite message with: ALLOW INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, INFO
instead of ALLOW INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE.
dumUac->getMasterProfile()->addSupportedMethod(INFO);
send an INFO message with as content type: application/xml.
const Data xmlData("...some XML body here...");
Mime type("application", "xml");
OctetContents contents(xmlData, type);
inviteSessionHandle->info(contents);
Please, could you tell me some advice for doing this ?
Thanks in advance.
Regards,
Nadeige.
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/