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...
PS: Happy new year to all!!!