<div>I think you have to set where to get the libraries (jiaxc*.jar files).</div>  <div>&nbsp;</div>  <div>Setup a webserver somewhere and put the jar files there.</div>  <div>Then in your code before initialize</div>  <div>&nbsp;&nbsp; client.setCodeBase("your URL to the jar files");</div>  <div>&nbsp;</div>  <div>HTH,</div>  <div>&nbsp;</div>  <div>richard</div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp; </div>  <div><BR><BR><B><I>Enrique Sanchez &lt;esanchez@itnova.com.mx&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>I'm trying to make a little example program&nbsp;for register to an Asterisk PBX and dial a softphone, but i just can't register to the PBX.</DIV>  <DIV>&nbsp;</DIV>  <div>package iax;</div>  <div>import net.sourceforge.iaxclient.Call;<BR>import net.sourceforge.iaxclient.JIAXClient;<BR>import net.sourceforge.iaxclient.Registration;</div>  <div><BR>public class TestIAX
 {<BR>&nbsp;&nbsp;&nbsp; public static void main(String[] args) {&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registration registration;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JIAXClient client = JIAXClient.getInstance();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client.initialize (1, 10);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; registration = client.register("kike", "elkike", "<A href="http://10.32.81.31:4569/">10.32.81.31:4569</A>");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client.setCallerID("Kike", "1001"); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client.call("1002");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(registration);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; }<BR>}</div>  <DIV>I'm frustrated because JIAX doesn't throw any exception, but the code is not working properly.<BR
 clear=all></DIV>  <DIV>Greetings,</DIV>  <DIV><BR>-- <BR>Enrique Sanchez </DIV>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com --<BR><BR>Asterisk-Users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE><BR>