<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">can someone open up a jira on this please... patches preferred.<div><br><div><div>On Jun 26, 2014, at 10:04 AM, Andrew &lt;<a href="mailto:aademattia@comcast.net">aademattia@comcast.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="#0563C1" vlink="#954F72" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Hi,<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I saw the same issues.&nbsp; Just open up mod_managed and re add the constructor back.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Use the old code if you need a sample.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;"><o:p>&nbsp;</o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;">public</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;"><span class="Apple-converted-space">&nbsp;</span>Api()<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;">this</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">(</span><span style="font-size: 9.5pt; font-family: Consolas; color: rgb(43, 145, 175); background-color: white; background-position: initial initial; background-repeat: initial initial;">freeswitchPINVOKE</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">.new_Api(),<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;">true</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">)<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">&nbsp; {<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">&nbsp; }</span><span style="font-size: 9.5pt; font-family: Consolas;"><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas;">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas;">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">&nbsp; [</span><span style="font-size: 9.5pt; font-family: Consolas; color: rgb(43, 145, 175); background-color: white; background-position: initial initial; background-repeat: initial initial;">DllImport</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">(</span><span style="font-size: 9.5pt; font-family: Consolas; color: rgb(163, 21, 21); background-color: white; background-position: initial initial; background-repeat: initial initial;">"mod_managed"</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">, EntryPoint =<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: rgb(163, 21, 21); background-color: white; background-position: initial initial; background-repeat: initial initial;">"CSharp_new_Api"</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">)]<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;">&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;">public</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;">static</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;">extern</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;"><span class="Apple-converted-space">&nbsp;</span></span><span style="font-size: 9.5pt; font-family: Consolas; color: rgb(43, 145, 175); background-color: white; background-position: initial initial; background-repeat: initial initial;">IntPtr</span><span style="font-size: 9.5pt; font-family: Consolas; background-color: white;"><span class="Apple-converted-space">&nbsp;</span>new_Api();</span><span style="font-size: 9.5pt; font-family: Consolas;"><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9.5pt; font-family: Consolas;">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><a name="_MailEndCompose"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I will one day open a jar to have this fixed but I got busy.<o:p></o:p></span></a></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Andrew<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="http://robodialer.net/" style="color: rgb(149, 79, 114); text-decoration: underline;">Robodialer.net</a><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif;">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-converted-space">&nbsp;</span><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?<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><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("create_uuid");<br>activeCalls =&nbsp; new FreeSWITCH.Native.Api().ExecuteString("show calls")<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<o:p></o:p></span></div></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org</div></blockquote></div><br></div></body></html>