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