<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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 name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.E-postmall20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=SV link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The problem is that lua script is called before media is up, so you will need to get rid of that inline=true &#8211; I don&#8217;t know how to do that though, since it&#8217;s a dynamically generated dialplan.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/Peter<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Fr&aring;n:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>F&ouml;r </b>Yuriy Nasida<br><b>Skickat:</b> den 17 augusti 2011 11:54<br><b>Till:</b> freeswitch-users@lists.freeswitch.org<br><b>&Auml;mne:</b> Re: [Freeswitch-users] Lua not playing wav files<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>I was try it. There is no differents.&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><div><p class=MsoNormal style='line-height:12.75pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='line-height:12.75pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white'>The issue &nbsp;consists in that I get dialplan automatically through xml_curl + php (by intralanman).&nbsp;<o:p></o:p></span></p></div><p class=MsoNormal><span class=apple-style-span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white'>I see it by means xml_curl_debug_on:</span><o:p></o:p></span></p><div><p class=MsoNormal style='line-height:12.75pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='line-height:12.75pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white'>&lt;action application=&quot;lua&quot; data=&quot;$1&quot; inline=&quot;true&quot;/&gt;<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:12.75pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='line-height:12.75pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white'>How can I disable &quot;inline=&quot;true&quot;&quot; ?<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>In the mysql table created under the README from&nbsp;<span class=apple-style-span><span style='color:#2A2A2A;background:white'>intralanman I see&nbsp;&nbsp;field &quot;type&quot;.&nbsp;&nbsp;I can put &quot;action&quot; or &quot;anti-action&quot; only. How can I control &quot;inline&quot; parameter?</span></span><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span class=apple-style-span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black;background:white'>Many thanks to anyone who can help.</span></span><span class=apple-style-span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;</span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p><div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><hr size=2 width="100%" align=center id=stopSpelling></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Date: Wed, 17 Aug 2011 09:12:44 +0000<br>From: chrisbware@interfree.it<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] Lua not playing wav files<br><br>&nbsp;<br>try:<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>session:streamFile(message)<br>&nbsp;<br>instead of<br>&nbsp;<br>session:execute(&quot;playback&quot;, message)<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>-----Messaggio originale-----<br>Da: Yuriy Nasida &lt;nasida@live.ru&gt;<br>Inviato il: 16 Ago 2011 - 10:46<br>A: &lt;freeswitch-users@lists.freeswitch.org&gt;<br><br><br><o:p></o:p></span></p><div><div><div><div><p class=MsoNormal><span style='font-size:10.0pt;color:black;background:white'>Hi Freeswitch-users,</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>My simple lua script:</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>freeswitch.consoleLog(&quot;err&quot;,&quot;start hello.lua\n&quot;)</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>session:answer();</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>message = &quot;ivr/ivr-enter_destination_telephone_number.wav&quot;</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>session:execute(&quot;playback&quot;, message)</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>session:hangup();</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><strong><span style='font-size:10.0pt;color:black'>Script looks fine I think, but FS doesn't play audio. If I use corresponding XML dialplan all work fine.</span></strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br>&nbsp;<br></span><strong><span style='font-size:10.0pt;color:black'>logs when I use lua:</span></strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.336003 [DEBUG] switch_core_state_machine.c:371 (sofia/external/79213777785@65.98.107.130:5080) State EXECUTE going to sleep</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.336003 [DEBUG] switch_core_state_machine.c:364 (sofia/external/79213777785@65.98.107.130:5080) State ROUTING</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.336003 [DEBUG] mod_sofia.c:147 sofia/external/79213777785@65.98.107.130:5080 SOFIA ROUTING</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.336003 [DEBUG] switch_core_state_machine.c:77 sofia/external/79213777785@65.98.107.130:5080 Standard ROUTING</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.336003 [INFO] mod_dialplan_xml.c:331 Processing unknown &lt;79213777785&gt;-&gt;inbound_type_uri in context public</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.345157 [ERR] switch_cpp.cpp:1197 start hello.lua</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.345157 [DEBUG] sofia_glue.c:4650 Audio Codec Compare [PCMA:8:8000:20:64000]/[PCMU:0:8000:20:64000]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.345157 [DEBUG] sofia_glue.c:4650 Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.345157 [DEBUG] sofia_glue.c:2773 Set Codec sofia/external/79213777785@65.98.107.130:5080 PCMU/8000 20 ms 160 samples 64000 bits</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.346166 [DEBUG] sofia_glue.c:4764 Set 2833 dtmf send/recv payload to 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.346166 [DEBUG] sofia_glue.c:3014 AUDIO RTP [sofia/external/79213777785@65.98.107.130:5080] 65.98.107.130 port 26266 -&gt; 212.232.72.134 port 49276 codec: 0 ms: 20</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.346166 [DEBUG] switch_rtp.c:1623 Starting timer [soft] 160 bytes per 20ms</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.347205 [DEBUG] sofia_glue.c:3276 Set 2833 dtmf send payload to 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.347205 [DEBUG] sofia_glue.c:3281 Set 2833 dtmf receive payload to 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.347205 [DEBUG] mod_sofia.c:681 Local SDP sofia/external/79213777785@65.98.107.130:5080:</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>v=0</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>o=FreeSWITCH 1313488814 1313488815 IN IP4 65.98.107.130</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>s=FreeSWITCH</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>c=IN IP4 65.98.107.130</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>t=0 0</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>m=audio 26266 RTP/AVP 0 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=rtpmap:0 PCMU/8000</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=rtpmap:101 telephone-event/8000</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=fmtp:101 0-16</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=silenceSupp:off - - - -</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=ptime:20</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=sendrecv</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.348214 [DEBUG] sofia.c:4761 Channel sofia/external/79213777785@65.98.107.130:5080 entering state [completed][200]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.348214 [DEBUG] switch_core_session.c:1939 Application playback Requires media! pre_answering channel sofia/external/79213777785@65.98.107.130:5080</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.348214 [DEBUG] switch_cpp.cpp:618 CoreSession::hangup</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.348214 [DEBUG] switch_cpp.cpp:988 sofia/external/79213777785@65.98.107.130:5080 destroy/unlink session from object</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:18:00.348214 [DEBUG] switch_core_state_machine.c:364 (sofia/external/79213777785@65.98.107.130:5080) State ROUTING going to sleep&quot;</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br>&nbsp;<br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>========================================</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><strong><span style='font-size:10.0pt;color:black'>logs when I use XML dialplan:</span></strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.609765 [DEBUG] switch_core_state_machine.c:371 (sofia/external/79213777785@65.98.107.130:5080) State EXECUTE going to sleep</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.609765 [DEBUG] switch_core_state_machine.c:364 (sofia/external/79213777785@65.98.107.130:5080) State ROUTING</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.609765 [DEBUG] mod_sofia.c:147 sofia/external/79213777785@65.98.107.130:5080 SOFIA ROUTING</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.609765 [DEBUG] switch_core_state_machine.c:77 sofia/external/79213777785@65.98.107.130:5080 Standard ROUTING</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.609765 [INFO] mod_dialplan_xml.c:331 Processing unknown &lt;79213777785&gt;-&gt;inbound_type_uri in context public</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] switch_core_state_machine.c:364 (sofia/external/79213777785@65.98.107.130:5080) State ROUTING going to sleep</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] switch_core_state_machine.c:371 (sofia/external/79213777785@65.98.107.130:5080) State EXECUTE</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] mod_sofia.c:240 sofia/external/79213777785@65.98.107.130:5080 SOFIA EXECUTE</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] switch_core_state_machine.c:157 sofia/external/79213777785@65.98.107.130:5080 Standard EXECUTE</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] sofia_glue.c:4650 Audio Codec Compare [PCMA:8:8000:20:64000]/[PCMU:0:8000:20:64000]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] sofia_glue.c:4650 Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.616902 [DEBUG] sofia_glue.c:2773 Set Codec sofia/external/79213777785@65.98.107.130:5080 PCMU/8000 20 ms 160 samples 64000 bits</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.616902 [DEBUG] sofia_glue.c:4764 Set 2833 dtmf send/recv payload to 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.616902 [DEBUG] sofia_glue.c:3014 AUDIO RTP [sofia/external/79213777785@65.98.107.130:5080] 65.98.107.130 port 23946 -&gt; 212.232.72.134 port 49278 codec: 0 ms: 20</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.616902 [DEBUG] switch_rtp.c:1623 Starting timer [soft] 160 bytes per 20ms</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.617998 [DEBUG] sofia_glue.c:3276 Set 2833 dtmf send payload to 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.617998 [DEBUG] sofia_glue.c:3281 Set 2833 dtmf receive payload to 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.617998 [DEBUG] mod_sofia.c:681 Local SDP sofia/external/79213777785@65.98.107.130:5080:</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>v=0</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>o=FreeSWITCH 1313491243 1313491244 IN IP4 65.98.107.130</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>s=FreeSWITCH</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>c=IN IP4 65.98.107.130</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>t=0 0</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>m=audio 23946 RTP/AVP 0 101</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=rtpmap:0 PCMU/8000</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=rtpmap:101 telephone-event/8000</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=fmtp:101 0-16</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=silenceSupp:off - - - -</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=ptime:20</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>a=sendrecv</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.619008 [DEBUG] sofia.c:4761 Channel sofia/external/79213777785@65.98.107.130:5080 entering state [completed][200]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.631344 [DEBUG] switch_ivr_play_say.c:1278 Codec Activated L16@8000hz 1 channels 20ms</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.740067 [DEBUG] sofia.c:4761 Channel sofia/external/79213777785@65.98.107.130:5080 entering state [ready][200]</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:52.879234 [DEBUG] switch_ivr_play_say.c:1648 done playing file</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:52.880333 [NOTICE] switch_core_state_machine.c:189 sofia/external/79213777785@65.98.107.130:5080 has executed the last dialplan instruction, hanging up.</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br>&nbsp;<br></span><strong><span style='font-size:10.0pt;color:black'>I have compared logs and saw that case without lua have some strings unlike case with lua.</span></strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br></span><span style='font-size:10.0pt;color:black'>&quot;2011-08-16 13:19:49.615894 [DEBUG] switch_core_state_machine.c:364 (sofia/external/79213777785@65.98.107.130:5080) State ROUTING going to sleep</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] switch_core_state_machine.c:371 (sofia/external/79213777785@65.98.107.130:5080) State EXECUTE</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] mod_sofia.c:240 sofia/external/79213777785@65.98.107.130:5080 SOFIA EXECUTE</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br></span><span style='font-size:10.0pt;color:black'>2011-08-16 13:19:49.615894 [DEBUG] switch_core_state_machine.c:157 sofia/external/79213777785@65.98.107.130:5080 Standard EXECUTE&quot;</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>&nbsp;<br>&nbsp;<br></span><strong><span style='font-size:10.0pt;color:black;background:white'>Many thanks to anyone who can help.</span></strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<br><b>&nbsp;</b><o:p></o:p></span></p></div></div></div></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>-------------------------------------------------------------------------------<br>Valore legale alle tue mail<br>InterfreePEC - la tua Posta Elettronica Certificata<br>http://pec.interfree.it<br>-------------------------------------------------------------------------------<br><br>FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org<o:p></o:p></span></p></div></div></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>!DSPAM:4e4b918432761631268876! <o:p></o:p></span></p></div></body></html>