<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>
<p>package iax;</p>
<p>import net.sourceforge.iaxclient.Call;<br>import net.sourceforge.iaxclient.JIAXClient;<br>import net.sourceforge.iaxclient.Registration;</p>
<p><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(&quot;kike&quot;, &quot;elkike&quot;, &quot;<a href="http://10.32.81.31:4569">10.32.81.31:4569</a>&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client.setCallerID(&quot;Kike&quot;, &quot;1001&quot;);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client.call(&quot;1002&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(registration);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; }<br>}</p>
<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>