< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
That will probably work - but you won't
know the Invite Session Handle on placed calls until a dialog is created.
I store an array of AppDialog and AppDialogSet pointers. This allows you
to end/cancel a call if you don't receive any response from the far end.
You can get at the InviteSession from these pointers. Just be careful to remove references from
your array before the Dialogs are destroyed - since DUM will delete the AppDialog/AppDialogSet
objects. From: sachin ahire
[mailto:sachinahire@xxxxxxxxxxx]
I want
to develop an application based on basiccall.cpp in the
dum/test to enable sending multiple calls/invites and also an ability to
receive multiple calls. The way i
was going to do it was to have an array of lines that contains a pointer to the
InviteSessionHandler and everytime the app receives a OnNewsession
i grab one of the "unallocated" lines and copy the handle and
use it to keep track of invitesessions. Is this a
right way to do it or if not, can somebody give me some pointers as to how it
can be done. Thanks. Sachin |