<div dir="ltr">That would pretty much violate the whole scope of the library.&nbsp; It&#39;s not supposed to even know there is a such thing as FreeSWITCH to get variables from.&nbsp; There could just as easily be a chan_openzap for asterisk (*WINK* *WINK* anyone? buelleur?)<br>
<br>What exactly do you need them for?<br><br>The most elegant way would be for the FS core to allow endpoints (mod_openzap) to register a callback to be called<br>when a variable is set on that channel, then add the concept of channel variables to openzap zchans<br>
<br>so then when FS had a channel variable set it mod_openzap would in turn set it on openzap zchan and the blind abstraction would be preserved.<br><br><br><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 2:42 AM, Simon Capper <span dir="ltr">&lt;<a href="mailto:scapper@ooma.com">scapper@ooma.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;">I want to access channel variables from an ozmod module in openzap.<br>
I can&#39;t see a way to do it in the current code.<br>
<br>
I&#39;d like to add the feature and provide a patch for openzap when I&#39;m done.<br>
I&#39;m thinking of adding a void pointer that could be passed down via<br>
zap_channel_open that could be then be used from the ozmod modules?<br>
Mod_openzap would set the pointer to a function that would give access to<br>
channel variables. Thoughts?<br>
<br>
Simon<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><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>
</div>