<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 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.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I will.&nbsp; I&nbsp; have an open Jar now.&nbsp; Once I get the dump log for my current jar I will open a jar for this.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Andrew<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></a></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael Jerris<br><b>Sent:</b> Thursday, June 26, 2014 11:39 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Params to FS Native.Api() changed. How to get handle of CoreSession?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>can someone open up a jira on this please... patches preferred.<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>On Jun 26, 2014, at 10:04 AM, Andrew &lt;<a href="mailto:aademattia@comcast.net">aademattia@comcast.net</a>&gt; wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I saw the same issues.&nbsp; Just open up mod_managed and re add the constructor back.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Use the old code if you need a sample.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp;<span class=apple-converted-space>&nbsp;</span><span style='color:blue'>public</span><span class=apple-converted-space>&nbsp;</span>Api()</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :<span class=apple-converted-space>&nbsp;</span><span style='color:blue'>this</span>(<span style='color:#2B91AF'>freeswitchPINVOKE</span>.new_Api(),<span class=apple-converted-space>&nbsp;</span><span style='color:blue'>true</span>)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp; {</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp; }</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp; [<span style='color:#2B91AF'>DllImport</span>(<span style='color:#A31515'>&quot;mod_managed&quot;</span>, EntryPoint =<span class=apple-converted-space>&nbsp;</span><span style='color:#A31515'>&quot;CSharp_new_Api&quot;</span>)]</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:white'>&nbsp;<span class=apple-converted-space>&nbsp;</span><span style='color:blue'>public</span><span class=apple-converted-space>&nbsp;</span><span style='color:blue'>static</span><span class=apple-converted-space>&nbsp;</span><span style='color:blue'>extern</span><span class=apple-converted-space>&nbsp;</span><span style='color:#2B91AF'>IntPtr</span><span class=apple-converted-space>&nbsp;</span>new_Api();</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I will one day open a jar to have this fixed but I got busy.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Andrew</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://robodialer.net/"><span style='color:#954F72'>Robodialer.net</span></a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>&nbsp;</span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]<span class=apple-converted-space>&nbsp;</span><b>On Behalf Of<span class=apple-converted-space>&nbsp;</span></b>Srini K<br><b>Sent:</b><span class=apple-converted-space>&nbsp;</span>Thursday, June 26, 2014 9:51 AM<br><b>To:</b><span class=apple-converted-space>&nbsp;</span>fs<br><b>Subject:</b><span class=apple-converted-space>&nbsp;</span>[Freeswitch-users] Params to FS Native.Api() changed. How to get handle of CoreSession?</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>Hi,<br>In older version of FreeSWITCH I have been using FreeSWITCH.Native.Api().<br>For eg,<br>string uuid = new FreeSWITCH.Native.Api().ExecuteString(&quot;create_uuid&quot;);<br>activeCalls =&nbsp; new FreeSWITCH.Native.Api().ExecuteString(&quot;show calls&quot;)<br>&nbsp;<br>I updated FS to latest version. Now Native.Api expects CoreSession as param.<span class=apple-converted-space>&nbsp;</span><br>FreeSWITCH.Native.Api(FreeSWITCH.Native.CoreSession)<br>&nbsp;<br>How to get handle of CoreSession. Iam using mod_managed.<br><br>Thanks in advance.<br>Srini</span><o:p></o:p></p></div></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif"'>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></span></p></div></blockquote></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>