< Previous by Date | Date Index | Next by Date > |
Thread Index |
You need to store AppDialogSet pointers (which give you access to InviteSessionHandles) or the InviteSessionHandles for each call.
You could check out the new recon library as a sample.
Scott
Scott
-Sent from my Blackberry mobile device.
----- Original Message -----
From: 秦杨 <qinyang_1980@xxxxxxx>
To: Scott Godin; resiprocate-users <resiprocate-users@xxxxxxxxxxxxxxx>
Sent: Wed May 28 12:45:45 2008
Subject: Re: RE: How to manage multi-calls use the dum objects.
Hello:
I read the the document you offered, but I still can not understand how to use the AppDialog/AppDialogSets objects to control the multi-calls.
For example, at first, I created the call one, and then I created the call two.
Then I try to handup the call one, how to implement this ??
If I call the InviteSessionHandler->end(), it can only end the call two. How to switch the context to the call one ??
Is there have some example for controlling the multi-calls with dialogsets?? Very thanks!!
Ryan Qin
2008-05-29
----- Original Message -----
From: Scott Godin <mailto:slgodin@xxxxxxxxxxxx>
To: qinyang_1980,'resiprocate-users' <mailto:qinyang_1980@xxxxxxx,resiprocate-users@xxxxxxxxxxxxxxx>
Sent: 2008-05-26, 22:43:48
Subject: RE: How to manage multi-calls use the dum objects.
You only need one stack and one dum object. You can use AppDialog/AppDialogSets to help differentiate between two different calls:
http://www.resiprocate.org/DUM_Associating_Application_Data_with_DialogSets_and_Dialogs
Scott
From: 秦杨 [mailto:qinyang_1980@xxxxxxx]
Sent: May 26, 2008 9:48 AM
To: resiprocate-users
Cc: Scott Godin
Subject: How to manage multi-calls use the dum objects.
Hi Scott:
I want to design a softphone which can maitain a few calls(more than one) at the same time.
For example, I hold an active call and accept another new incoming call.
But I don't know that how much objects(dum,sip stacks,invite handler,register handler) I need to bind with the sip calls.
In the beginning, I use one dum object in every call object, but I found that its waste of resource. And another problem is that the multi-dum objects can not be created at the same port(5060) by the dum::addTransport(UDP, 5060) function.
Questions:
1.If the only one dum object can maintain multi-calls at the same time ?? I'm very confused about this.
2.If one dum object can not manage multi-calls, I want to know the best way to maintain multi-calls at the same time with the resiprocate library ?
Very thanks!!!
Ryan Qin
2008-05-26