Hello,
On 12/13/06 18:08, Bastian Friedrich wrote:
Hi,
On Wednesday 13 December 2006 16:05, Klaus Darilion wrote:
m->getFullHeader
returns only the headers. How can I access the whole message (headers +
all bodies)?
I just added a new function "getBody()" to the Perl API.
Headers plus all bodies should be
"getFullHeader()."\n\n".getBody()".
sip_msg->buf is the buffer storing the whole SIP message as it was received.
Another set of useful functions in Perl would be the access to
first_line filed of sip_msg. There you can see the type of SIP message
(request or reply) -- I do not know if it already in place, I was just
thinking of.
Cheers,
Daniel
Best,
Bastian