[Freeswitch-users] Segmentation fault with record_session
Giovanni Maruzzelli
gmaruzz at celliax.org
Mon Jun 15 05:16:55 PDT 2009
Hi Jingwel,
thanks for reporting.
Could you please add a Jira issue with as much details as possible?
general guide for reporting bugs:
http://wiki.freeswitch.org/wiki/Reporting_Bugs
what to add for skypiax:
http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#How_To_Report_BUGS_and_Feature_Requests
mod_skypiax Jira:
http://jira.freeswitch.org/browse/MODSKYPIAX
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
On Mon, Jun 15, 2009 at 11:40 AM, Jingwei Yang<jingwei.yang at gmail.com> wrote:
> Hi Team,
>
> I've been using the record_session feature to record call sessions. Here's
> how I prepared the dialplan:
>
> <extension name="skypiax">
> <condition field="destination_number" expression="^2909/(.*)$">
> <action application="record_session" data="/tmp/data.wav"/>
> <action application="bridge" data="skypiax/ANY/$1"/>
> </condition>
> </extension>
>
> And here's how I trigger it:
>
> freeswitch at localhost.localdomain>originate skypiax/skypiax2/userAAA
> 2909/userBBB
>
> 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:
>
> freeswitch at localhost.localdomain> originate skypiax/skypiax2/userAAA
> 2909/userBBB
> 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]
> 2009-06-15 17:25:07 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing()
> Ring-Ready skypiax/skypiax2/userAAA
> 2009-06-15 17:25:10 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered()
> Channel [skypiax/skypiax2/userAAA] has been answered
> 2009-06-15 17:25:10 [NOTICE] switch_ivr.c:1349 switch_ivr_session_transfer()
> Transfer skypiax/skypiax2/userAAA to XML[2909/userBBB at default]
> API CALL [originate(skypiax/skypiax2/userAAA 2909/userBBB)] output:
> +OK 66195ba1-b609-4f7f-b6cf-4a7e79fdf24b
>
> freeswitch at localhost.localdomain> 2009-06-15 17:25:10 [INFO]
> mod_dialplan_xml.c:252 dialplan_hunt() Processing FreeSWITCH->2909/userBBB
> in context default
> 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]
> 2009-06-15 17:25:11 [NOTICE] mod_skypiax.c:1270 remote_party_is_ringing()
> Ring-Ready skypiax/ANY/userBBB!
> 2009-06-15 17:25:20 [NOTICE] mod_skypiax.c:1333 outbound_channel_answered()
> Channel [skypiax/ANY/userBBB] has been answered
> 2009-06-15 17:25:27 [NOTICE] mod_skypiax.c:680
> skypiax_signaling_thread_func() Hangup skypiax/skypiax2/userAAA [CS_EXECUTE]
> [NORMAL_CLEARING]
> 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]
> 2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
> switch_core_session_thread() Session 1 (skypiax/skypiax2/userAAA) Ended
> 2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
> switch_core_session_thread() Close Channel skypiax/skypiax2/userAAA
> [CS_DESTROY]
> 2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1085
> switch_core_session_thread() Session 2 (skypiax/ANY/userBBB) Ended
> 2009-06-15 17:25:27 [NOTICE] switch_core_session.c:1087
> switch_core_session_thread() Close Channel skypiax/ANY/userBBB [CS_DESTROY]
> Segmentation fault (core dumped)
>
> Please kindly let me know whether there's anything wrong with the dialplan
> or the way how I originated the call.
>
> Thanks!
> -Jingwei
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
More information about the FreeSWITCH-users
mailing list