thanks your reply: <br> can i use the next code: <br> 1 : use api = switch_loadable_module_get_api_interface(cmd) . get the application's API . <br><br> 2 : run : api->function(arg, session,stream) <br> <br>
is the above is correct ? <br> <br> thank you very much ! <br><br><div class="gmail_quote">2009/9/11 Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com">mike@jerris.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
We don't allow calling functions between modules. You can look at the<br>
api interface for a way to trigger things between modules or possibly<br>
the event system.<br>
<br>
Mike<br>
<div><div></div><div class="h5"><br>
On Sep 11, 2009, at 1:30 AM, daqiang wang wrote:<br>
<br>
> hello :<br>
> How can i to call the funciton in another module ?<br>
> example:<br>
> I want to add code in mod_voicemail. to call rxfax. the function<br>
> of mod_fax .<br>
> what's the step to do ?<br>
> thanks .<br>
<br>
<br>
</div></div>_______________________________________________<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>