I'm tring to deploy something like a softphone using MjSIP framework.
I would like to make a call and then listen what the answer is saing and I would like to be able to send somt DTMF tone.
I'm tring to do it using MjSIP framework, but I haven't any example. Until now I'm able to make a call, but I cannot hear anything I don't know how to send some DTMF tone or understand when the caller has ended to speach.
This is my little code:
public static void main(String[] args) {
SipProvider sPrv;
CallListener cList=null;
Call tel;
Message msg=new Message();
SocketAddress sck=new SocketAddress("proxy.wonderland.net",5060);
sPrv=new SipProvider("192.168.0.1",5060);
tel=new Call(sPrv,"192.168.0.1","sip:333@192.168.0.102",cList);
tel.call("sip:333@192.168.0.102");
}
Someone can halp me please?
Where can I find some example?
Thank you,
Diego