<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";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML - förformaterad Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-postmall17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
span.HTML-frformateradChar
        {mso-style-name:"HTML - förformaterad Char";
        mso-style-priority:99;
        mso-style-link:"HTML - förformaterad";
        font-family:"Courier New";}
.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 bgcolor=white 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'>If using record, try setting this in the dialplan first;<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:"Courier New";color:windowtext'>&lt;action application=&quot;set&quot; data=&quot;record_waste_resources=true&quot;/&gt;<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'>This will force FS to send RTP &#8211; which might be the cause of the problem.<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";color:windowtext'>Från:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>För </b>Adam Kelloway<br><b>Skickat:</b> den 30 augusti 2011 14:10<br><b>Till:</b> FreeSWITCH Users Help<br><b>Ämne:</b> Re: [Freeswitch-users] Session ends unexpectedly during record dial plan usage<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>This was reproduced when making a call to FS using a Linphone SIP client. The SIP client displays a message saying that the session was ended by the remote peer (FS) unexpectedly. A SIP trace shows, however, that the Linphone client ended it unexpectedly (sent the BYE). I haven't seen this when calling from other user agents. The FS logs didn't show anything out of the ordinary.<br><br>I only use that client for testing anyway. If anyone has it installed, they can try out this scenario for their own curiosity and see if you see the same behavior. <br><br>In any case, thanks for the reply,<br><br>Adam<br><br>On 3:59 PM, Michael Collins wrote: <o:p></o:p></p><p class=MsoNormal><br><br>On Monday, August 29, 2011, Anthony Minessale &lt;<a href="mailto: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 href="mailto: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 href="mailto: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 href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt;&gt; <a 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 href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; <a 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 href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>&gt; ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br>&gt;<br>&gt; AIM: anthm<br>&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>&gt; IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>&gt;<br>&gt; FreeSWITCH Developer Conference<br>&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>&gt; <a href="mailto: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 href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>-- <br>Adam<br clear=all>-- <br clear=all><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='color:rgb(61, 35,&#13;&#10;        22)' id=signature><tr><td rowspan=2 style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt'><img border=0 width=50 height=50 id="_x0000_i1025" src="cid:image001.png@01CC6720.4676D8B0" alt="NewPace Logo"><o:p></o:p></span></p></td><td rowspan=5 style='padding:.75pt .75pt .75pt .75pt'></td><td style='padding:.75pt .75pt .75pt .75pt'></td><td rowspan=5 style='padding:.75pt .75pt .75pt .75pt'></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><b><span style='font-size:11.0pt'>Adam Kelloway</span></b><span style='font-size:10.0pt'><o:p></o:p></span></p></td></tr><tr><td rowspan=4 style='background:#A8CF38;padding:.75pt .75pt .75pt .75pt'></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:10.0pt'>Software Engineer, NewPace<o:p></o:p></span></p></td></tr><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:10.0pt'>phone<o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:10.0pt'>+1&nbsp;(902)&nbsp;406&#8211;8375&nbsp;&nbsp;x1031<o:p></o:p></span></p></td></tr><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:10.0pt'>email<o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:10.0pt'><a href="mailto:Adam.Kelloway@newpace.com"><span style='color:#3D2316;text-decoration:none'>Adam.Kelloway@NewPace.com</span></a><o:p></o:p></span></p></td></tr><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=right style='text-align:right'><span style='font-size:10.0pt'><a href="aim:GoIm?screenname=Adam.Kelloway@newpace.com"><span style='color:#3D2316;text-decoration:none'>aim</span></a>/<a href="msnim:chat?contact=Adam.Kelloway@newpace.com"><span style='color:#3D2316;text-decoration:none'>msn</span></a><o:p></o:p></span></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:10.0pt'><a href="aim:GoIm?screenname=Adam.Kelloway@newpace.ca"><span style='color:#3D2316;text-decoration:none'>Adam.Kelloway</span></a>@NewPace.ca<o:p></o:p></span></p></td></tr></table></div><p class=MsoNormal>!DSPAM:4e5cd35d32761866311061! <o:p></o:p></p></div></body></html>