Hi Team,<br><br>I&#39;ve been using the record_session feature to record call sessions. Here&#39;s how I prepared the dialplan:<br><br>    &lt;extension name=&quot;skypiax&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^2909/(.*)$&quot;&gt;<br>
        &lt;action application=&quot;record_session&quot; data=&quot;/tmp/data.wav&quot;/&gt;<br>        &lt;action application=&quot;bridge&quot; data=&quot;skypiax/ANY/$1&quot;/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br>
<br>And here&#39;s how I trigger it: <br><br>    <i>freeswitch@localhost.localdomain&gt;originate skypiax/skypiax2/userAAA 2909/userBBB</i><br><br>The call can be established and the data.wav file was generated without any problem. However, once userAAA hung up, a segmentation fault occurred and freeswitch was automatically shut down. Here are what I got from the console:<br>
<br><div style="margin-left: 40px;"><i>freeswitch@localhost.localdomain&gt; originate skypiax/skypiax2/userAAA  2909/userBBB<br>2009-06-15 17:25:07 [NOTICE] switch_channel.c:602 switch_channel_set_name() New Channel skypiax/skypiax2/userAAA [66195ba1-b609-4f7f-b6cf-4a7e79fdf24b]<br>
2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing() Ring-Ready skypiax/skypiax2/userAAA<br>2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered() Channel [skypiax/skypiax2/userAAA] has been answered<br>
2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349 switch_ivr_session_transfer() Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB@default]<br>API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:<br>+OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b<br>
<br>freeswitch@localhost.localdomain&gt; 2009-06-15 17:25:10 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing FreeSWITCH-&gt;2909/userBBB in context default<br>2009-06-15 17:25:10 [NOTICE] switch_channel.c:602 switch_channel_set_name() New Channel skypiax/ANY/userBBB [4a8b36a4-85d6-4735-98df-dde1a32ac66a]<br>
2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing() Ring-Ready skypiax/ANY/userBBB!<br>2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered() Channel [skypiax/ANY/userBBB] has been answered<br>
2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680 skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA [CS_EXECUTE] [NORMAL_CLEARING]<br>2009-06-15 17:25:27 [NOTICE] switch_ivr_bridge.c:505 audio_bridge_on_exchange_media() Hangup skypiax/ANY/userBBB [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]<br>
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085 switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended<br>2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087 switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA [CS_DESTROY]<br>
2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085 switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended<br>2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087 switch_core_session_thread() Close Channel skypiax/ANY/userBBB [CS_DESTROY]<br>
<b><span style="color: rgb(153, 0, 0);">Segmentation fault (core dumped)<br><br></span></b></i></div><span style="color: rgb(0, 0, 0);">Please kindly let me know whether there&#39;s anything wrong with the dialplan or the way how I originated the call.<br>
<br>Thanks!<br>-Jingwei<br></span><i><b><span style="color: rgb(153, 0, 0);"></span></b></i><br>