[Freeswitch-dev] mod_managed not working from dialplan but working from console

rentmycoder rentmycoder rentmycoder at gmail.com
Tue Jun 30 03:59:59 PDT 2009

I use Freeswitch 1.0.4pre3 on CentOS 5.3 with Mono2.4 compiled from source.
I've compiled the Freeswitch.Managed.dll on linux using mono's compiler...

When I try to execute the built in test function from the console, it works:

freeswitch at internal> managed ApiDemo 12
ApiDemo executed with args '12' and event type API.

When I add it to an internal extension like this,

    <extension name="3000">
      <condition field="destination_number" expression="^(3000)">
        <action application="answer"/>
        <action application="managed" data="ApiDemo 12"/>

and dial 3000 from a softphone:

2009-06-30 12:42:46 [ERR] switch_cpp.cpp:1119 console_log() Could not
find function ApiDemo.
2009-06-30 12:42:46 [ERR] mod_managed.cpp:405 managed_app_function()
Application run failed for ApiDemo 12 (unknown module or exception).

I'v tried to load the assembly using loadmanaged also, it works from
the console (managedload FREESWITCH.), but does not work from the

Please help!

More information about the Freeswitch-dev mailing list