< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] DUM..


Hi !

 

I’ve two questions concerning DUM :

 

1/ Redirection

DUM seems to handle redirection by itself (with RedirectionManager’s help)…

I mean, if the application sends a first INVITE to a destination

Then DUM receives a reponse 3xx

DUM is supposed to send a second INVITE by itself (without the application’s help)

Then, what is the purpose of the callback onRedirected(ClientInviteSessionHandle, const SipMessage& msg)?

Is this callback just to inform the application about the redirection?

 

 

2/ SDP alternative

I don’t understand the use of the parameter alternative.

For example, in this method:

makeInviteSession(const NameAddr& target,const SharedPtr<UserProfile>& userProfile,

const SdpContents* initialOffer,EncryptionLevel level,const SdpContents* alternative,

AppDialogSet* appDs)  

 

What is it for? Can you give me an example

 

Thanks by advance!

Nicolas L.