[reSIProcate] DialogSetID is not same between onNewSession and onRefer
Karlsson
boost.regex at gmail.com
Thu Dec 20 08:00:05 CST 2007
Hi, I want to use the DialogSetID to identifies a Dialog.
When I received a call, I do it:
void UserAgent::onNewSession(ServerInviteSessionHandle h,
InviteSession::OfferAnswerType oat, const SipMessage & msg)
{
DialogSetId inviteID(msg);
long callID = (long)inviteID.hash();
}
After I answered this call, the remote side send a REFER to me:
void UserAgent::onRefer(InviteSessionHandle h, ServerSubscriptionHandle ssh,
const SipMessage& msg)
{
DialogSetId inviteID(msg);
long callID = (long)inviteID.hash();
}
but these two callID do not same, the callID of onNewSession != callID of
the onRefer, did I missed something?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071220/087293f9/attachment.htm>
More information about the resiprocate-devel
mailing list