[reSIProcate] How to tell apart internal message sent by the stack?
Scott Godin
slgodin at icescape.com
Mon Jun 11 07:03:26 CDT 2007
You can just check if getReceivedTransport returns 0 (NULL) in order to
determine if a message is internally generated.
Scott
From: resiprocate-devel-bounces at list.resiprocate.org
[mailto:resiprocate-devel-bounces at list.resiprocate.org] On Behalf Of
Brocha Strous
Sent: Monday, June 11, 2007 7:30 AM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] How to tell apart internal message sent by the
stack?
Hello,
I have some code that looks like this:
Tuple::inet_ntop(response.getReceivedTransport()->getTuple())
This code crashes when processing an internal 408 INVITE message on any
accessing of the Tuple object. Other then explicitly checking if it's a
408 INVITE is there a way to determine that its an internal message and
the Tuple will be invalid?
Thanks,
Brocha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070611/61222094/attachment.htm>
More information about the resiprocate-devel
mailing list