I think. This is what i want. <br> Thank you very much ! <br><br><div class="gmail_quote">2009/9/12 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;">
<div style="word-wrap: break-word;">switch_api_execute : <a href="http://docs.freeswitch.org/group__mods.html#g0061fcba2f3bc30e61b59df815816dca" target="_blank">http://docs.freeswitch.org/group__mods.html#g0061fcba2f3bc30e61b59df815816dca</a><div class="im">
<div><br><div><div>On Sep 11, 2009, at 3:26 AM, daqiang wang wrote:</div><br><blockquote type="cite">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" target="_blank">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><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></div></div></blockquote></div></blockquote></div><br></div></div></div><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>
<br></blockquote></div><br>