Hi All, I had success in bridging a session, using my Java Program as a hook, and manage to connect one mobile phone to another. It goes like below. === --> originate sofia/gateway/gizmo2/01160176xxxxxx &java(net.digitalapps.freeswitch.CallTest) === In this case, freeswitch call my Java program. Now, My intension is to not use console at all, instead use my java program to originate a session in freeswitch and then bridge the session. So, call freeswitch from my program, not the other way around. Is it possible? Need suggestions in any case. I mean if I need to come up with my own client. Actually, I was looking JAIN-SIP to achieve this. But then thought of asking your suggestions. With JAIN I might go like this, place a call, hit the dial plan invoke my Java Hook Program and bridge the call. But I am afraid that it might connect my client with the mobile phone, not one phone to another. Thanks. -- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari
Hey, I am trying to do the same thing using Jini system. But the thing is, Freeswitch should publish it's services firstto the Jini registry. I don't think it does that so far There is an XML repository though! but how to access it using any outside program?!! Check out the xml-rpc, sockets, event-handlers etc. and let me know if us know too if you find anything. Regards, Gayatri Kulkarni From: Adeel Ansari Sent: Friday, August 22, 2008 3:02 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] How to originate a session from outside Hi All, I had success in bridging a session, using my Java Program as a hook, and manage to connect one mobile phone to another. It goes like below. === --> originate sofia/gateway/gizmo2/01160176xxxxxx &java(net.digitalapps.freeswitch.CallTest) === In this case, freeswitch call my Java program. Now, My intension is to not use console at all, instead use my java program to originate a session in freeswitch and then bridge the session. So, call freeswitch from my program, not the other way around. Is it possible? Need suggestions in any case. I mean if I need to come up with my own client. Actually, I was looking JAIN-SIP to achieve this. But then thought of asking your suggestions. With JAIN I might go like this, place a call, hit the dial plan invoke my Java Hook Program and bridge the call. But I am afraid that it might connect my client with the mobile phone, not one phone to another. Thanks. -- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari -------------------------------------------------------------------------------- _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Adeel Ansari
-
Gayatri Kulkarni