[sip-comm-dev] exposing the CallSession associated with a particular Call


#1

I have a basic skeleton of the Mailbox service implemented as a new OSGI
bundle, and I'm attempting to get it to play an outgoing message through a
SendStream. The problem is I haven't found a way of getting at the
CallSession or RTPManager to create a new Sendstream. Is there a way to get
the CallSession associated with a particular Call object? I notice that
CallSipImpl has a getMediaCallSession() method, but when I try to cast a
Call object to a CallSipImpl, I get a NoClassDefFoundError at runtime,
presumably because CallSipImpl is not one of the import packages in my
bundle's manifest. Is there another way of getting at the CallSession
associated with a particular call?

Also, what is the preferred method of obtaining the currently active
CallManager object?

Sorry if I'm being less than clear. I wrote up a bit more about my current
situation on the project
blog<http://sc-avmailbox.blogspot.com/2007/05/education-but-not-much-in-way-of.html>,
so that might be more enlightening

Thanks,
Ryan