Alex,<br><br>The stock OpenZAP PRI handler doesn&#39;t do net, it only does terminal. You&#39;ll need to use the ozmod_libpri method if you want to have FS be a PRI/Net:<br><a href="http://wiki.freeswitch.org/wiki/OpenZAP#Adding_libpri_Support">http://wiki.freeswitch.org/wiki/OpenZAP#Adding_libpri_Support</a><br>
<br>-MC<br><br><div class="gmail_quote">On Fri, Jun 26, 2009 at 12:02 AM, Alex Green <span dir="ltr">&lt;<a href="mailto:alexg@etherstack.com">alexg@etherstack.com</a>&gt;</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;">
Summary: After having a play with analogue openzap, I have moved to a<br>
TE210p and am having some trouble getting a test PRI to PRI call working.<br>
<br>
For the analogue card I had written an app where you give it a number<br>
via the command line, it will calls you and by pressing digits you can<br>
either record or playback PCM. Using openzap was fairly straight forward<br>
if you knew what you are doing (first time was tedious trying to figure<br>
out the calls, values and state transitions). But it works fine.<br>
<br>
For the two span PRI card I am having a bit less luck. I have the RX<br>
connected to the TX for both spans. I have the config set up correctly<br>
(according to ztscan and openzap load messages). This is how I start the<br>
PRI call. I do this for both spans with error checking and for<br>
zap_configure_span() I use &quot;net&quot; instead of &quot;te&quot; on the second span.<br>
<br>
&gt;===========================================<br>
// Configure the span:<br>
zap_configure_span(&quot;isdn&quot;, span_PRI_1, on_signal, &quot;mode&quot;, &quot;te&quot;,<br>
                    &quot;dialect&quot;, &quot;q931&quot;, TAG_END)<br>
// Start the span:<br>
zap_span_start(span_PRI_1)<br>
<br>
// Make an outgoing call<br>
zap_channel_outgoing_call(span_PRI_1-&gt;channels[1]);<br>
&lt;===========================================<br>
<br>
This gives me the following output:<br>
&gt;===========================================<br>
[DEBUG] src/ozmod/ozmod_isdn/ozmod_isdn.c:1029 state_advance() 5:1 STATE<br>
[DIALING]<br>
[DEBUG] src/ozmod/ozmod_isdn/ozmod_isdn.c:1757 q931_rx_32() WRITE 32<br>
--------------------------------------------------------------------------------<br>
[08 02 00 02 05 04 03 80 90 a3 18 03 a1 83 81 1e 02 80 83 28 00 6c 02 01<br>
80 70 01 81 7d 02 91 81]<br>
<br>
[DEBUG] src/ozmod/ozmod_isdn/ozmod_isdn.c:993 zap_isdn_921_23() READ 32<br>
--------------------------------------------------------------------------------<br>
[08 02 00 02 05 04 03 80 90 a3 18 03 a1 83 81 1e 02 80 83 28 00 6c 02 01<br>
80 70 01 81 7d 02 91 81]<br>
<br>
[DEBUG] src/ozmod/ozmod_isdn/ozmod_isdn.c:997 zap_isdn_921_23() 931<br>
parse error [-3002] [Q931E_ILLEGAL_IE]<br>
&lt;===========================================<br>
<br>
The second channel is reading the data that is being written, which I<br>
guess is a good start. But, how do I go from here to actual calls?<br>
<br>
I am sure it is something simple that I am overlooking. Any help is<br>
really appreciated. Thanks,<br>
<br>
Dr Alex Green.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>