[reSIProcate] INFO message

Nicolas LEGROS Nicolas.LEGROS at teleca.fr
Tue Nov 14 08:49:36 CST 2006


Hi !

 

A question concerning creating and decoding a SIP message INFO.

Indeed I'm a bit lost with all parameters and variables of the
SIPMessage class...

 

- If I want to send DTMF "1" to the network, what should I do? Something
like this?

             Contents* content = new PlainContents(Data("1"));

             pt_invSes->info(*content);

 

- If I want to decode a DTMF received from the network, what should I do
in the following callback

onInfo(InviteSessionHandle sessionHandle, const SipMessage& msg)?
Something like this?

            dtmf = msg->getContents()->getBodyData()

 

Thanks in advance

Nicolas L.

 

 

 

         

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20061114/907ae34b/attachment.htm>


More information about the resiprocate-devel mailing list