<div dir="ltr">Presently, I am trying to make a call using Java. Now, a little of my background. I have never used Asterisk before. Just used Brekeke PBX and SIP Server. <br><br>That goes as, develop a webservice client and initiate the call. The method/function accepts argument user-agent, caller/sender (Registered on SIPServer), callee/recepient array(Hardphones). Then, caller would call first callee and then the second and then bridge the session. It was quite straight.<br>
<br>Here I am finding it difficult to understand, I mean where to start from. Actually, I don't know what class, which methods are exposed for XML-RPC or through any web service.<br><br>Right now, I am using Java Program as hook. I am making a call using Twinkle(SIP Client). Then in my program I am trying to originate a new session and then bridge. But I am getting <br>
<i><br>[ERR] mod_sofia.c:1946 sofia_outgoing_channel() Invalid Profile</i><br><br>on <br><br><i>session.originate(newSession1, "sofia/sip/<a href="mailto:901160176905074@proxy01.sipphone.com">901160176905074@proxy01.sipphone.com</a>");</i><br>
<br>Any hint. Please guide me. Am I going in the right direction? Whats missing? Where to define phone no.? In my case its in the sip URL.<br><br>Thanks.<br><br><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 2:28 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>The java api is 99% the same as the python/lua/perl api. You can check the wiki and the sample scripts in the source tree. This may be incomplete, feel free to ask any questions here where you can't find samples and we can try to fill in the missing pieces if they are not on the wiki.<div>
<br></div><div>Mike</div><div><br><div><div><div></div><div><div>On Aug 12, 2008, at 2:13 AM, Adeel Ansari wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div><div dir="ltr">
Hi,<br><br>I have managed to hook my Java program in. Now, looking for some hint, how we can control the call. Actually, I need to make a call, on genuine mobile phone, using Gizmo5 VoIP network. Furthermore, from where I can get the Mod-Java API documentation.<br clear="all">
<br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br> </div></div></div> _______________________________________________<br>
Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div>