<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828">



<DIV><FONT size=2 face=Arial>Sorry, trunk does not compile on win7, here are the 
details:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>rev.15247</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>---------------------------<BR>Microsoft Visual C++ 
Debug Library<BR>---------------------------<BR>Debug Assertion 
Failed!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Program: 
...ev\Projects\External\FreeSWITCH\Original\Debug\FreeSwitch.exe<BR>File: 
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c<BR>Line: 1317</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Expression: 
_CrtIsValidHeapPointer(pUserData)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>For information on how your program can cause an 
assertion<BR>failure, see the Visual C++ documentation on asserts.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>(Press Retry to debug the 
application)<BR>---------------------------<BR>Abort&nbsp;&nbsp; 
Retry&nbsp;&nbsp; Ignore&nbsp;&nbsp; 
<BR>---------------------------</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>VS Call stack:</FONT></DIV>
<DIV><FONT size=2 face=Arial><BR>&nbsp;&nbsp;ntdll.dll!77ccfadc() 
&nbsp;<BR>&nbsp;&nbsp;[Frames below may be incorrect and/or missing, no symbols 
loaded for ntdll.dll]&nbsp;<BR>&nbsp;&nbsp;ntdll.dll!77c9272c() 
&nbsp;<BR>&nbsp;&nbsp;ntdll.dll!77c5e1ef() 
&nbsp;<BR>&nbsp;&nbsp;msvcr90d.dll!_free_dbg_nolock(void * pUserData=0x00664b88, 
int nBlockUse=1)&nbsp; Line 1317 + 0x9 
bytes&nbsp;C++<BR>&nbsp;&nbsp;msvcr90d.dll!_free_dbg(void * 
pUserData=0x00664b88, int nBlockUse=1)&nbsp; Line 1258 + 0xd 
bytes&nbsp;C++<BR>&nbsp;&nbsp;msvcr90d.dll!free(void * 
pUserData=0x00664b88)&nbsp; Line 49 + 0xb 
bytes&nbsp;C++<BR>&gt;&nbsp;FreeSwitch.dll!switch_core_mime_add_type(const char 
* type=0x003bcd1c, const char * ext=0x003bcd37)&nbsp; Line 748 + 0xc 
bytes&nbsp;C<BR>&nbsp;&nbsp;FreeSwitch.dll!load_mime_types()&nbsp; Line 
791&nbsp;C<BR>&nbsp;&nbsp;FreeSwitch.dll!switch_core_init(unsigned int flags=65, 
switch_bool_t console=SWITCH_TRUE, const char * * err=0x003bf68c)&nbsp; Line 
1244&nbsp;C<BR>&nbsp;&nbsp;FreeSwitch.dll!switch_core_init_and_modload(unsigned 
int flags=65, switch_bool_t console=SWITCH_TRUE, const char * * 
err=0x003bf68c)&nbsp; Line 1454 + 0x11 
bytes&nbsp;C<BR>&nbsp;&nbsp;FreeSwitch.exe!main(int argc=1, char * * 
argv=0x02144c40)&nbsp; Line 764 + 0x23 
bytes&nbsp;C<BR>&nbsp;&nbsp;FreeSwitch.exe!__tmainCRTStartup()&nbsp; Line 586 + 
0x19 bytes&nbsp;C<BR>&nbsp;&nbsp;FreeSwitch.exe!mainCRTStartup()&nbsp; Line 
403&nbsp;C<BR>&nbsp;&nbsp;kernel32.dll!77713677() 
&nbsp;<BR>&nbsp;&nbsp;ntdll.dll!77c39d72() 
&nbsp;<BR>&nbsp;&nbsp;ntdll.dll!77c39d45() &nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Error occurs in :</DIV>
<DIV>&nbsp;</DIV>
<DIV>SWITCH_DECLARE(switch_status_t) switch_core_mime_add_type(const char *type, 
const char *ext)<BR>{<BR>&nbsp;const char *check;<BR>&nbsp;switch_status_t 
status = SWITCH_STATUS_FALSE;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;switch_assert(type);<BR>&nbsp;switch_assert(ext);</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;check = (const char *) switch_core_hash_find(runtime.mime_types, 
ext);</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;if (!check) {<BR>&nbsp;&nbsp;char *ptype = 
switch_core_permanent_strdup(type);<BR>&nbsp;&nbsp;char *ext_list = 
strdup(ext);<BR>&nbsp;&nbsp;int argc = 0;<BR>&nbsp;&nbsp;char *argv[20] = { 0 
};<BR>&nbsp;&nbsp;int x;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;switch_assert(ext_list);</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;if ((argc = switch_separate_string(ext_list, ' ', argv, 
(sizeof(argv) / sizeof(argv[0]))))) {</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;for (x = 0; x &lt; argc; x++) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (argv[x] &amp;&amp; ptype) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;switch_core_hash_insert(runtime.mime_types, 
argv[x], ptype);<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;status = SWITCH_STATUS_SUCCESS;<BR>&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;free(ext_list);&nbsp; // &lt;--- HERE<BR>&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;return status;<BR>}</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3899478&i=0" target="_top" rel="nofollow">[hidden email]</a> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3899478&i=1" target="_top" rel="nofollow">[hidden email]</a> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 26, 2009 10:32 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] "Can not 
  record session. Media not enabled on channel."</DIV>
  <DIV><BR></DIV><BR><BR>
  <DIV class=gmail_quote>On Mon, Oct 26, 2009 at 12:21 AM, Maciej Aniserowicz 
  <SPAN dir=ltr>&lt;<A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3895104&amp;i=0" rel="nofollow" target=_top>[hidden email]</A>&gt;</SPAN> wrote:<BR>
  <BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote><BR>Yes, I can confirm - this exact error occurs each time 
    when I start recording<BR>before the call is answered (just after sending 
    ORIGINATE command) - but I<BR>think that's completely understandable that 
    media is not ready for an<BR>unanswered call.<BR>But... is there any other 
    event that guarantees media to be ready?<BR>
    <DIV>
    <DIV></DIV>
    <DIV class=h5><BR></DIV></DIV></BLOCKQUOTE>
  <DIV>Update to latest SVN and try 
  again.<BR>-MC<BR></DIV></DIV><BR><BR>_______________________________________________ 
  <BR>FreeSWITCH-users mailing list <BR><A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3895104&amp;i=1" rel="nofollow" target=_top>[hidden email]</A> <BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target=_top>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target=_top>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org" rel="nofollow" target=_top>http://www.freeswitch.org</A><BR></BLOCKQUOTE>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Can-not-record-session-Media-not-enabled-on-channel-tp3857858p3899478.html">Re: [Freeswitch-users] "Can not record session. Media not enabled on channel."</a><br>
Sent from the <a href="http://n2.nabble.com/freeswitch-users-f2379917.html">freeswitch-users mailing list archive</a> at Nabble.com.<br>