Re: [Asterisk-Users] Help with JIAXClient

2006-07-11 Thread me me
I have already get a register, but I can't make a call.I had to setup a listener in order to get the register, but once the register is set I can't make a call in any way.Any hint with that??Thx in advance.Richard OSS <[EMAIL PROTECTED]> escribió: I think you have to set where to get the libraries (jiaxc*.jar files).     Setup a webserver somewhere and put the jar files there.  Then in your code before initialize     client.setCodeBase("your URL to the jar files");     HTH,     richard          Enrique Sanchez <[EMAIL PROTECTED]> wrote:I'm trying to make a little example program for register to an Asterisk PBX and dial a softphone, but i just can't register to the PBX.     package iax;  import net.sourceforge.iaxclient.Call;import net.sourceforge.iaxclient.JIAXClient;import net.sourceforge.iaxclient.Registration;  public class TestIAX  {    public static void main(String[] args) {           Registration registration;    JIAXClient client = JIAXClient.getInstance();    client.initialize (1, 10);    registration = client.register("kike", "elkike", "10.32.81.31:4569");    client.setCallerID("Kike", "1001");     client.call("1002");    System.out.println(registration);      }}  I'm frustrated because JIAX doesn't throw any exception, but the code is not working properly.  Greetings,  -- Enrique Sanchez ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options
 visit:   http://lists.digium.com/mailman/listinfo/asterisk-users 
		LLama Gratis a cualquier PC del Mundo.Llamadas a fijos y móviles desde 1 céntimo por minuto.http://es.voice.yahoo.com___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Help with JIAXClient

2006-07-01 Thread Richard OSS
I think you have to set where to get the libraries (jiaxc*.jar files).     Setup a webserver somewhere and put the jar files there.  Then in your code before initialize     client.setCodeBase("your URL to the jar files");     HTH,     richard          Enrique Sanchez <[EMAIL PROTECTED]> wrote:I'm trying to make a little example program for register to an Asterisk PBX and dial a softphone, but i just can't register to the PBX.     package iax;  import net.sourceforge.iaxclient.Call;import net.sourceforge.iaxclient.JIAXClient;import net.sourceforge.iaxclient.Registration;  public class TestIAX
 {    public static void main(String[] args) {           Registration registration;    JIAXClient client = JIAXClient.getInstance();    client.initialize (1, 10);    registration = client.register("kike", "elkike", "10.32.81.31:4569");    client.setCallerID("Kike", "1001");     client.call("1002");    System.out.println(registration);      }}  I'm frustrated because JIAX doesn't throw any exception, but the code is not working properly.  Greetings,  -- Enrique Sanchez ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Help with JIAXClient

2006-07-01 Thread Richard OSS
I got most of it working. The sendDtmf() does not seem to work. However I can register and make calls using the call(...) method.     I cannot compile the sources (native) so I just got the jar files from http://www.hem.za.org/jiaxclient/     and played around with the java code to fit with my app.     RichardScott Gifford <[EMAIL PROTECTED]> wrote:  "Enrique Sanchez" <[EMAIL PROTECTED]>writes:> I'm trying to make a little example program for register to an> Asterisk PBX and dial a softphone, but i just can't register to the> PBX.Buenos noches Enrique,I've been trying to get JIAXClient working for over a month with nosuccess. It fails mysteriously at
 different places with noexceptions, and my efforts to figure out why have so far failed.So I can't offer helpful advice, only sympathy. :)Does this work for other people? If so, what's your build environmentlike?---Scott.___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Help with JIAXClient

2006-06-29 Thread Scott Gifford
"Enrique Sanchez" <[EMAIL PROTECTED]> writes:

> I'm trying to make a little example program for register to an
> Asterisk PBX and dial a softphone, but i just can't register to the
> PBX.

Buenos noches Enrique,

I've been trying to get JIAXClient working for over a month with no
success.  It fails mysteriously at different places with no
exceptions, and my efforts to figure out why have so far failed.

So I can't offer helpful advice, only sympathy.  :)

Does this work for other people?  If so, what's your build environment
like?

---Scott.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Help with JIAXClient

2006-06-29 Thread Enrique Sanchez
I'm trying to make a little example program for register to an Asterisk PBX and dial a softphone, but i just can't register to the PBX.
 
package iax;
import net.sourceforge.iaxclient.Call;import net.sourceforge.iaxclient.JIAXClient;import net.sourceforge.iaxclient.Registration;
public class TestIAX {    public static void main(String[] args) {           Registration registration;    JIAXClient client = JIAXClient.getInstance();    client.initialize
(1, 10);    registration = client.register("kike", "elkike", "10.32.81.31:4569");    client.setCallerID("Kike", "1001");
    client.call("1002");    System.out.println(registration);      }}
I'm frustrated because JIAX doesn't throw any exception, but the code is not working properly.
Greetings,
-- Enrique Sanchez 
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users