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

[reSIProcate-users] differentiating multiple dialogs


Hi!

I wonder what is the best way to identify concurrent dialogs.

For example the application registers and receives 2 incoming calls concurrently. Somehow in my application I have to represent the 2 calls, and in the inviteHandler I have to correlate the onXXXevent to one of the calls. How is this usually done? How should my application hold reference to the dialog? Or is there a way to associate some "userdata" with a dialog and access the userdata in the callback?

Is there somewhere a sample code which I should read?

thanks
Klaus