Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Deploy a softphone usin MjSIP

807606Mar 27 2007
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2007
Added on Mar 27 2007
0 comments
495 views