I noticed some people need a SIP DTMF Implementation. I wrote a little
one some time ago (see the attached files), which implements the DTMF
OpSet. As far as I remember, I mostly took the code of the Sip Basic
Telephony OpSet implementation and adapted it for DTMF sending - so have
a look at the telephony opset implementation.
My files should only be considered as drafts - I currently have no time
to develop this code further, so that it fits
"SC standards". I'm sorry for the poor quality of my files (they weren't
designed to be published in this state, initially), but I think it might
help those who want to implement this functionnality.
The important files are the ProtocolProviderService and the OpSet
implementation - for the PPS, just search "DTMF" to see the little
section I added (beware, this PPS is for sure old, so just take the
section, and not the whole file).
The other files form a package which should provide (again, as far as I
remember) a little panel that let the user enter a DTMF.
Tonight, I've just added some comments to the OpSet implementation
before sending this mail, but I wasn't able to try to make it compile
(sorry, I just noticed Eclipse is broken on my computer).
That's said, feel free to adapt, modify, and improve the code I've written.
DTMFCPFeeder.java (8.49 KB)
DTMFPanel.java (11 KB)
DTMFPanelActivator.java (1.61 KB)
ProtocolProviderServiceSipImpl.java (70.7 KB)
manifest.mf (368 Bytes)
OperationSetDTMFSipImpl.java (7.02 KB)