< Previous by Date | Date Index | Next by Date > |
Thread Index | Next in Thread > |
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
|