<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:x =
"urn:schemas-microsoft-com:office:excel" xmlns:p =
"urn:schemas-microsoft-com:office:powerpoint" xmlns:a =
"urn:schemas-microsoft-com:office:access" xmlns:dt =
"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =
"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =
"urn:schemas-microsoft-com:rowset" xmlns:z = "#RowsetSchema" xmlns:b =
"urn:schemas-microsoft-com:office:publisher" xmlns:ss =
"urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =
"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc =
"urn:schemas-microsoft-com:office:odc" xmlns:oa =
"urn:schemas-microsoft-com:office:activation" xmlns:html =
"http://www.w3.org/TR/REC-html40" xmlns:q =
"http://schemas.xmlsoap.org/soap/envelope/" XMLNS:D = "DAV:" xmlns:mt =
"http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2 =
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois =
"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =
"http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =
"http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =
"http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =
"http://schemas.microsoft.com/data/udc" xmlns:xsd =
"http://www.w3.org/2001/XMLSchema" xmlns:sub =
"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec =
"http://www.w3.org/2001/04/xmlenc#" xmlns:sp =
"http://schemas.microsoft.com/sharepoint/" xmlns:sps =
"http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =
"http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs =
"http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf =
"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p =
"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf =
"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss =
"http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi =
"http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi =
"http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver =
"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =
"http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp =
"http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t =
"http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m =
"http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl =
"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl =
"http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService"
XMLNS:Z = "urn:schemas-microsoft-com:" xmlns:st = ""><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
vLink=purple link=blue>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">Hi Michael,</DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000"> </DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">thanks. Yes it is indeed not
possible to execute AppFunctions from console. The wiki says that this is
possible, so the wiki should be changed. Calling my app from diaplan
works.</DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000"> </DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">I am not very clear with the
difference betwenn App and API. What happens if I use App and 30 calls are
coming into FS that must be bridged to other calls that will be originated by
this app. Is there a thread for each call?</DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000"> </DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">Thanks...Guido</DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000"> </DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000"> </DIV>
<BLOCKQUOTE id=tobit_blockquote
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<TABLE id=tobit_repfor
style="BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: #e0e0e0 1px solid; FONT: 10pt Arial; BORDER-LEFT: #e0e0e0 1px solid; COLOR: black; BORDER-BOTTOM: 0px"
cellSpacing=0 cols=3 cellPadding=0 width="99%" border=0>
<TBODY>
<TR borderColor=#dfdfdf borderColorLight=#dfdfdf bgColor=#dfdfdf>
<TD
style="PADDING-LEFT: 4px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px; BORDER-BOTTOM: #ffffff 1px solid"
width=140 colSpan=2 height=22>
<DIV style="FONT: bold 9pt Arial">Original
Message </DIV></TD>
<TD style="BORDER-BOTTOM: #ffffff 1px solid" align=right>
<DIV style="FONT: 8pt Arial">
<DIV style="FONT: 8pt Arial"><STRONG><FONT
color=#808080> processed by
David.InfoCenter</FONT></STRONG> </DIV></DIV></TD></TR></TBODY></TABLE>
<TABLE id=tobit_repfor2
style="BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: 0px; FONT: 8pt Tahoma; BORDER-LEFT: #e0e0e0 1px solid; COLOR: black; BORDER-BOTTOM: #e0e0e0 1px solid"
cellSpacing=0 cols=2 cellPadding=0 width="99%" border=0>
<TBODY>
<TR style="PADDING-BOTTOM: 2px">
<TD style="PADDING-LEFT: 6px; BORDER-BOTTOM: #ffffff 1px solid" width=68
bgColor=#efefef height=18>
<DIV style="FONT: 8pt Tahoma">Subject: </DIV></TD>
<TD style="PADDING-LEFT: 4px; BORDER-BOTTOM: #efefef 1px solid"
bgColor=#ffffff>
<DIV style="FONT: 8pt Tahoma">Re: [Freeswitch-users] Re-2: Help with
mod_managed under Windows (22-Apr-2009 18:04)</DIV></TD></TR>
<TR style="PADDING-BOTTOM: 2px">
<TD style="PADDING-LEFT: 6px; BORDER-BOTTOM: #ffffff 1px solid" width=68
bgColor=#efefef height=18>
<DIV style="FONT: 8pt Tahoma">From: </DIV></TD>
<TD style="PADDING-LEFT: 4px; BORDER-BOTTOM: #efefef 1px solid"
bgColor=#ffffff>
<DIV style="FONT: 8pt Tahoma"><A
href="mailto:mgg@giagnocavo.net">Michael Giagnocavo
<mgg@giagnocavo.net></A></DIV></TD></TR>
<TR style="PADDING-BOTTOM: 0px">
<TD style="PADDING-LEFT: 6px" width=68 bgColor=#efefef height=17>
<DIV
style="FONT: 8pt Tahoma">To: </DIV></TD>
<TD style="PADDING-LEFT: 4px" bgColor=#ffffff>
<DIV style="FONT: 8pt Tahoma"><A
href="mailto:gk@exram.de">gk@exram.de</A></DIV></TD></TR></TBODY></TABLE>
<DIV> </DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">The
problem, I think, is that applications must be run from the dialplan; only API
functions can be executed from the console.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Try
subclassing ApiFunction or calling your AppDemo from the
dialplan.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">-Michael<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Guido Kuth<BR><B>Sent:</B> Wednesday, April 22, 2009 2:27 AM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> [Freeswitch-users]
Re-2: Help with mod_managed under Windows<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Hi
Michael,<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">I found the
problem. I had a version mismatch between mod_mamanged and my FS installation.
So this is solved, but now I am running into the next problem. I have written
a small Class that is nearly similar to the one on the wiki pages. The source
is here (VB.NET)<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Imports
FreeSWITCH<BR>Public Class AppDemo<BR> Inherits
AppFunction<BR> Public Shadows Function
Load()<BR>
Log.WriteLine(LogLevel.Info, "Inside AppDemo
Load.")<BR> Return
True<BR> End Function<BR> Protected
Overrides Sub Run()<BR>
Session.Answer()<BR>
Session.Hangup("NORMAL CLEARING")<BR> End
Sub<BR> Protected Sub
HangupHook()<BR>
Log.WriteLine(LogLevel.Debug, "AppDemo hanging up, UUID: " +
Me.Uuid.ToString())<BR> End Sub<BR>End
Class<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">I copied the
dll to the managed dir under mod in my FS installation. I reload FS. It
loads mod_managed and the AppDemo Module as well, as you can see on
console:<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">2009-04-22
09:32:33 [INFO] mod_managed.cpp:314 mod_managed_load() Loading mod_ma<BR>naged
(Common Language Infrastructure), Microsoft CLR Version<BR>2009-04-22 09:32:36
[NOTICE] switch_cpp.cpp:1098 console_log() loadAssemblies: E<BR>:\Visual
Studio 2008\Projects\freeswitch-1.0.3\Debug\mod\managed<BR>2009-04-22 09:32:42
[NOTICE] switch_cpp.cpp:1098 console_log() Function FSMMTest<BR>.AppDemo
loaded.<BR>2009-04-22 09:32:42 [CONSOLE] switch_loadable_module.c:857
switch_loadable_modul<BR>e_load_file() Successfully Loaded
[mod_managed]<BR>2009-04-22 09:32:42 [NOTICE] switch_loadable_module.c:239
switch_loadable_module<BR>_process() Adding Application
'managed'<BR>2009-04-22 09:32:42 [NOTICE] switch_loadable_module.c:259
switch_loadable_module<BR>_process() Adding API Function
'managedrun'<BR>2009-04-22 09:32:42 [NOTICE] switch_loadable_module.c:259
switch_loadable_module<BR>_process() Adding API Function
'managed'<BR>2009-04-22 09:32:42 [NOTICE] switch_loadable_module.c:259
switch_loadable_module<BR>_process() Adding API Function
'managedload'<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">When I now
try to execute the App from console it gives an
error.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">managed
FSMMTest.AppDemo<BR>2009-04-22 09:33:03 [ERR] switch_cpp.cpp:1098
console_log() Could not find funct<BR>ion FSMMTest.AppDemo.<BR>2009-04-22
09:33:03 [ERR] mod_managed.cpp:393 managed_api_function() Execute fai<BR>led
for FSMMTest.AppDemo (unknown module or exception).<BR>API CALL
[managed(FSMMTest.AppDemo)] output:<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">managed
AppDemo<BR>2009-04-22 09:33:36 [ERR] switch_cpp.cpp:1098 console_log() Could
not find funct<BR>ion AppDemo.<BR>2009-04-22 09:33:36 [ERR]
mod_managed.cpp:393 managed_api_function() Execute fai<BR>led for AppDemo
(unknown module or exception).<BR>API CALL [managed(AppDemo)]
output:<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">As you can
see it doesn't work even when I type it with the Namespace in
front.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Maybe
someone can point me to the right direction with
this.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'">Thanks in
advance...Guido<o:p></o:p></SPAN></P></DIV>
<BLOCKQUOTE id=tobit_blockquote
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<TABLE class=MsoNormalTable id=tobit_repfor2
style="BORDER-RIGHT: #e0e0e0 1pt solid; BORDER-TOP: medium none; BORDER-LEFT: #e0e0e0 1pt solid; WIDTH: 99%; BORDER-BOTTOM: #e0e0e0 1pt solid"
cellSpacing=0 cellPadding=0 width="99%" border=1>
<TBODY>
<TR style="HEIGHT: 13.5pt">
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4.5pt; BACKGROUND: #efefef; PADDING-BOTTOM: 1.5pt; BORDER-LEFT: medium none; WIDTH: 51pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 1pt solid; HEIGHT: 13.5pt"
width=68>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">Subject: <o:p></o:p></SPAN></P></DIV></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 3pt; BACKGROUND: white; PADDING-BOTTOM: 1.5pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: #efefef 1pt solid; HEIGHT: 13.5pt">
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">Re:
[Freeswitch-users] Help with mod_managed under Windows (22-Apr-2009
1:01)<o:p></o:p></SPAN></P></DIV></TD></TR>
<TR style="HEIGHT: 13.5pt">
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4.5pt; BACKGROUND: #efefef; PADDING-BOTTOM: 1.5pt; BORDER-LEFT: medium none; WIDTH: 51pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 1pt solid; HEIGHT: 13.5pt"
width=68>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">From: <o:p></o:p></SPAN></P></DIV></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 3pt; BACKGROUND: white; PADDING-BOTTOM: 1.5pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: #efefef 1pt solid; HEIGHT: 13.5pt">
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"><A
href="mailto:mike@jerris.com">Michael Jerris
<mike@jerris.com></A><o:p></o:p></SPAN></P></DIV></TD></TR>
<TR style="HEIGHT: 12.75pt">
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4.5pt; BACKGROUND: #efefef; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; WIDTH: 51pt; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; HEIGHT: 12.75pt"
width=68>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">To: <o:p></o:p></SPAN></P></DIV></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 3pt; BACKGROUND: white; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; HEIGHT: 12.75pt">
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"><A
href="mailto:gk@exram.de">gk@exram.de</A><o:p></o:p></SPAN></P></DIV></TD></TR></TBODY></TABLE>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<P class=MsoNormal>Could you translate these into english? <o:p></o:p></P>
<DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<DIV>
<P class=MsoNormal>On Apr 21, 2009, at 7:08 AM, Guido Kuth
wrote:<o:p></o:p></P></DIV>
<P class=MsoNormal><BR><BR><o:p></o:p></P>
<DIV>
<TABLE class=MsoNormalTable
style="BORDER-RIGHT: white 1pt outset; BORDER-TOP: white 1pt outset; BACKGROUND: white; MARGIN-LEFT: 9pt; BORDER-LEFT: white 1pt outset; WIDTH: 525pt; BORDER-BOTTOM: white 1pt outset"
cellPadding=0 width=700 border=1>
<TBODY>
<TR>
<TD
style="BORDER-RIGHT: white 1pt inset; PADDING-RIGHT: 4.5pt; BORDER-TOP: white 1pt inset; PADDING-LEFT: 5.25pt; PADDING-BOTTOM: 4.5pt; BORDER-LEFT: white 1pt inset; WIDTH: 100%; PADDING-TOP: 4.5pt; BORDER-BOTTOM: white 1pt inset"
vAlign=top width="100%">
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'">I
am playing around with FS (Windows) for one month now. First I
tried using FreeSwitch.NET which is a good class library for inbound
event socket. Unfortunatley it can't be used for outbound event
socket. So I read the wiki back ond forth and also searched the net
and found that I should use mod_managed.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'">So
I downloaded mod_managed in source from svn and compiled it with C#
2008 Express Edition. After that I got a dll. FreeSwitch.Managed.dll
and copied it to the mod dir of FS. The Problem is that I get and
error when FS loads mod_managed and I don't know what I should do with
that.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'">2009-04-21
11:26:44 [INFO] mod_managed.cpp:314 mod_managed_load() Loading
mod_ma<BR>naged (Common Language Infrastructure), Microsoft CLR
Version<BR>2009-04-21 11:26:44 [ERR] mod_managed.cpp:333
mod_managed_load() Load did not re<BR>turn true.
System.Reflection.TargetInvocationException: Ein Aufrufziel hat
einen<BR> Ausnahmefehler verursacht. --->
System.TypeInitializationException: Der Typenin<BR>itialisierer f³r
"FreeSWITCH.Native.freeswitch" hat eine Ausnahme verursacht.
--<BR>-> System.EntryPointNotFoundException: Der Einstiegspunkt
"CSharp_SWITCH_READ_TE<BR>RMINATOR_USED_VARIABLE_get" wurde nicht in
der DLL "mod_managed" gefunden.<BR> bei
FreeSWITCH.Native.freeswitchPINVOKE.SWITCH_READ_TERMINATOR_USED_VARIABLE_<BR>get()<BR>
bei FreeSWITCH.Native.freeswitch..cctor()<BR> --- Ende der
internen Ausnahmestapel³berwachung ---<BR> bei
FreeSWITCH.Native.freeswitch.get_SWITCH_GLOBAL_dirs()<BR>
bei FreeSWITCH.Loader.Load()<BR> --- Ende der internen
Ausnahmestapel³berwachung ---<BR> bei
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[]
argu<BR>ments, SignatureStruct& sig, MethodAttributes
methodAttributes, RuntimeTypeHandl<BR>e typeOwner)<BR> bei
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
argum<BR>ents, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOw<BR>ner)<BR> bei
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invok<BR>eAttr, Binder binder, Object[] parameters, CultureInfo
culture, Boolean skipVisi<BR>bilityChecks)<BR> bei
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invok<BR>eAttr, Binder binder, Object[] parameters, CultureInfo
culture)<BR> bei
mod_managed_load(switch_loadable_module_interface** module_interface,
apr<BR>_pool_t* pool)<BR>2009-04-21 11:26:44 [CRIT]
switch_loadable_module.c:845 switch_loadable_module_l<BR>oad_file()
Error Loading module
C:\Programme\FreeSWITCH\mod\mod_managed.dll<BR>**Module load routine
returned an error**<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'">Please
help me with that.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal
style="MARGIN-TOP: 12.75pt; LINE-HEIGHT: 130%"><SPAN
style="FONT-SIZE: 10pt; LINE-HEIGHT: 130%; FONT-FAMILY: 'Tahoma','sans-serif'">Thanks...Guido<o:p></o:p></SPAN></P></DIV></TD></TR></TBODY></TABLE></DIV></DIV>
<P
class=MsoNormal><o:p> </o:p></P></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>