<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I also encountered a problem in sip recording during outbound IVR call where Freeswitch makes an outbound call to some user, and he/she answered the call to take actions following FS IVR.<br><br>for the same dialplan extension and IVR lua script, IVR runs perfect for inbound call; however, the IVR always failed to record message for outbound call although it may still play audio and detect dtmf ...&nbsp; For recording, a sound file is always generated on disk but it contains nothing.<br><br>For its details (dialplan and ivr lua script), please look at my post with subject [How to start IVR script via dialplan by making an outbound call].<br><br>Is it possible that sip record has some bug?<br><br>--- On <b>Tue, 8/30/11, Michael Collins <i>&lt;msc@freeswitch.org&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px;
 padding-left: 5px;"><br>From: Michael Collins &lt;msc@freeswitch.org&gt;<br>Subject: Re: [Freeswitch-users] Session ends unexpectedly during record dial plan usage<br>To: "FreeSWITCH Users Help" &lt;freeswitch-users@lists.freeswitch.org&gt;<br>Date: Tuesday, August 30, 2011, 1:39 AM<br><br><div id="yiv2126776909"><br><br>On Monday, August 29, 2011, Anthony Minessale &lt;<a rel="nofollow" ymailto="mailto:anthony.minessale@gmail.com" target="_blank" href="/mc/compose?to=anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<br>&gt; /me punches MSC in the arm.....<br><br>Haha, I deserved that one. Might wanna smack me with the ClueBat (tm) as well.<br>
<br>Adam,<br> If you simply want to record the call between two parties then look on the wiki for the record_session app. Look at the diff between it and the record app. They are *totally* different concepts. <br><br>Let us know if you have any other questions.<br>
<br>-MC<br>&gt;<br>&gt; On Mon, Aug 29, 2011 at 12:29 PM, Michael Collins &lt;<a rel="nofollow" ymailto="mailto:msc@freeswitch.org" target="_blank" href="/mc/compose?to=msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br>&gt;&gt; Go ahead and get a console debug log on this along with a SIP trace. Drop it<br>
&gt;&gt; in pastebin. Hopefully it contains some clues as to what is happening.<br>&gt;&gt; -MC<br>&gt;&gt;<br>&gt;&gt; On Thu, Aug 25, 2011 at 11:55 AM, Adam Kelloway &lt;<a rel="nofollow" ymailto="mailto:adam.kelloway@newpace.ca" target="_blank" href="/mc/compose?to=adam.kelloway@newpace.ca">adam.kelloway@newpace.ca</a>&gt;<br>
&gt;&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hi there,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I have a freeswitch installation that I can make sip calls to to listen<br>&gt;&gt;&gt; to IVR menus. The sessions last as long as either side does not hang up.<br>
&gt;&gt;&gt; The exception to this is when I use the 'record' dial plan tool. The sip<br>&gt;&gt;&gt; session ends unexpectedly after about 32+ seconds into the recording.<br>&gt;&gt;&gt; This happens every time I use the record tool. Note that I have set the<br>
&gt;&gt;&gt; maximum message length to 120 seconds, so this shouldn't be coming into<br>&gt;&gt;&gt; play here (and shouldn't affect the session anyway).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Has anyone ever experienced this, and do you have any suggestions as to<br>
&gt;&gt;&gt; what might be the cause?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Note that there is no NAT involved here. There are also no Expires or<br>&gt;&gt;&gt; Session-Expires header(s) in the sip INVITE or response that would<br>
&gt;&gt;&gt; affect the length of the session. Indeed, the same type of session can<br>&gt;&gt;&gt; continue indefinitely until about 32+ seconds after I invoke the record<br>&gt;&gt;&gt; dial plan tool.<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Adam<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt;&gt; <a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt; <a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt;&gt; UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt; <a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt; <a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Anthony Minessale II<br>&gt;<br>&gt; FreeSWITCH <a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>&gt; Twitter: <a rel="nofollow" target="_blank" href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br>&gt;<br>&gt; AIM: anthm<br>&gt; <a rel="nofollow" ymailto="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank" href="/mc/compose?to=MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; GTALK/JABBER/<a rel="nofollow" ymailto="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank" href="/mc/compose?to=PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>&gt; IRC: <a rel="nofollow" target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>&gt;<br>&gt; FreeSWITCH Developer Conference<br>
&gt; <a rel="nofollow" ymailto="mailto:sip%3A888@conference.freeswitch.org" target="_blank" href="/mc/compose?to=sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>&gt; <a rel="nofollow" ymailto="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank" href="/mc/compose?to=googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; pstn:+19193869900<br>&gt;<br>&gt;<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
&gt;
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail"><br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></blockquote></td></tr></table>