Looks good, you might want to consider making the file name that is generated be an optional argument but it&#39;s not necessary just a suggestion.<br><br><br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 8:27 AM, Helmut Kuper <span dir="ltr">&lt;<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</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;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
<br>
again an update to my little project:<br>
<br>
I enhanced mod_openzap and ozmod_isdn so that I&#39;m able to start and stop<br>
q931ToPcap generation in ozmod_isdn from FS&#39;s console. q931ToPcap itself<br>
isn&#39;t implemented yet.<br>
<br>
To give you an idea about the enhanced oz command - it&#39;s like this:<br>
<br>
freeswitch@ippbx-prod-node0&gt; oz<br>
API CALL [oz()] output:<br>
list || dump &lt;span_id&gt; [&lt;chan_id&gt;] || bounce &lt;span_id&gt; [&lt;chan_id&gt;] ||<br>
q931_pcap &lt;span_id&gt; on|off<br>
freeswitch@ippbx-prod-node0&gt; oz q931_pcap<br>
API CALL [oz(q931_pcap)] output:<br>
- -ERR Usage: oz q931_pcap &lt;span_id&gt; on|off<br>
<br>
freeswitch@ippbx-prod-node0&gt; oz q931_pcap 0 on<br>
API CALL [oz(q931_pcap 0 on)] output:<br>
- -ERR invalid span<br>
<br>
freeswitch@ippbx-prod-node0&gt; oz q931_pcap 1 on<br>
API CALL [oz(q931_pcap 1 on)] output:<br>
<br>
2009-01-27 15:21:55 [INFO] mod_openzap.c:2172 oz_function() Starting<br>
Q931-to-pcap<br>
2009-01-27 15:21:55 [DEBUG] ozmod_isdn.c:1712 zap_isdn_configure_span()<br>
Enabling Q931ToPcap<br>
freeswitch@ippbx-prod-node0&gt; oz q931_pcap 1 off<br>
API CALL [oz(q931_pcap 1 off)] output:<br>
<br>
2009-01-27 15:21:58 [INFO] mod_openzap.c:2178 oz_function() Stopping<br>
Q931-to-pcap<br>
2009-01-27 15:21:58 [DEBUG] ozmod_isdn.c:1717 zap_isdn_configure_span()<br>
Disabling Q931ToPcap<br>
freeswitch@ippbx-prod-node0&gt;<br>
<br>
<br>
<br>
As you can see, ozmod_isdn, where I will implement the code receives the<br>
oz command option.<br>
<br>
I appreciate your comments.<br>
<br>
<br>
regards<br>
helmut<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (MingW32)<br>
<br>
iEYEARECAAYFAkl/GeMACgkQ4tZeNddg3dzurACgszPDA573+uZjmY5TWXF9yj5F<br>
Vz8An2FvK0FsDLr0JQaHFDETWnLoPSkD<br>
=0hkL<br>
-----END PGP SIGNATURE-----<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>