[reSIProcate] Forking with DUM
Matthias Moetje
moetje at terasens.com
Fri Sep 5 15:05:18 CDT 2008
Hi,
I'm currently trying to implement forking ny using this code:
for (resip::ContactList::iterator i = contacts.begin(); i != contacts.end(); i++)
{
resip::SharedPtr<resip::SipMessage> pMsg = mDum->makeInviteSession(naTarget, spUserProfile, sdp, pMyAppDialogSet);
pMsg->header(h_RequestLine).uri() = i->mContact.uri();
mDum->send(pMsg);
}
Unfortunately with this approach it seems that the AppDialogSet gets destroyed
as soon as I call h->end on one of the InviteSessions. I found that DialogSet::mDialogs
is empty and therefore possiblyDie succeeds and destroys the DialogSet. When
further messages are processed, a crash occurs because the DialogSet does not
exist any longer.
Before I investigate this further I wanted to know if this is a valid approach for
forking at all?
Best regards,
Matthias Moetje
[cid:image001.gif at 01C90FA2.08581A40]
TERASENS GmbH
Augustenstraße 24
80333 Munich
GERMANY
Phone:
Fax:
e-mail:
Web:
+49.89.143370-0
+49.89.143370-22
info at terasens.com<mailto:info at terasens.com>
www.terasens.com<http://www.terasens.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080905/9cc98351/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3836 bytes
Desc: image001.gif
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080905/9cc98351/attachment.gif>
More information about the resiprocate-devel
mailing list