[sip-comm-dev] Sending and receiving DTMF event codes during a call.


#1

Hi all,

for a part of my final exam I have to implement the following thing where I
need some help:

First assuming that two persons telephone to each other via SIP-Communicator
and the sip protocol.
Now they want to exchange their email-addresses during a call (it is not
important that the persons hear each other while exchanging the addresses).
Further on assume that between the two endpoints (the two persons with the
sip communicator) may be a non ip-network
where gateways handle the call in a plain old telephone network and then
back to the ip-network.

Now the idea is (it is not the best idea but it should work) that I send the
email-address coded into DTMF event codes.
DTMF should get through all telephone nets. For sending DTMF via RTP there
exists the RFC 4733 which I want to use.
Now I implemented a plug-in for the SIP-Communicator where I enter my email
address and where I want to start the action.

My Question is now:
1) How can I simply inject the DTMF-packets in the middle of the stream
   during an existing call? Where is this hidden in the source code and how

   do I get access to this by my plug-in?
    
2) How can I catch the incoming DTMF event codes at the other side?

I am thankful for every help I can get.
Thanks a lot...

Cheers
Markus

PS: Happy new year to all!!!

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi Markus,

I am sorry for the awfully late reply ... but as they say, but later
than ever. Hope it's not too late though.

(more inline)

Markus Thurner написа:

Hi all,

for a part of my final exam I have to implement the following thing where I
need some help:

First assuming that two persons telephone to each other via SIP-Communicator
and the sip protocol.
Now they want to exchange their email-addresses during a call (it is not
important that the persons hear each other while exchanging the addresses).
Further on assume that between the two endpoints (the two persons with the
sip communicator) may be a non ip-network
where gateways handle the call in a plain old telephone network and then
back to the ip-network.

Now the idea is (it is not the best idea but it should work) that I send the
email-address coded into DTMF event codes.
DTMF should get through all telephone nets. For sending DTMF via RTP there
exists the RFC 4733 which I want to use.
Now I implemented a plug-in for the SIP-Communicator where I enter my email
address and where I want to start the action.

My Question is now:
1) How can I simply inject the DTMF-packets in the middle of the stream
   during an existing call? Where is this hidden in the source code and how

   do I get access to this by my plug-in?

You can use our SIP implementation of the DTMF operation set:

net.java.sip.communicator.impl.protocol.sip.OperationSetDTMFSipImpl

We only support SIP INFO DTMF right now though.

2) How can I catch the incoming DTMF event codes at the other side?

Right now you can't. Our assumption was that a client would not need to
handle incoming DTMF ... but you are now proving us wrong. You'd have to
extend our DTMF operation set to support some listener mechanism that
would allow you to do this. That would be an interesting extension to
have so we'd be grateful if you find the time to contribute it back.

Cheers
Emil

···

I am thankful for every help I can get.
Thanks a lot...

Cheers
Markus

PS: Happy new year to all!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net