Resolved SEGFAULT by changing the following line,
crv = tap_pri_get_crv(pritap->pri, e->ring.call)
into
crv = tap_pri_get_crv(pritap->pri, e->proceeding.call)
under the case PRI_EVENT_PROGRESS from ftmod_pritap.c source.
Date: Thu, Nov 3, 2011 at 10:11 AM
Subject: Re: [Freeswitch-users] FreeTDM PRI tapping issue
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Getting segfault after getting RINGING event in the first call itself.On Wed, Nov 2, 2011 at 9:01 PM, Moises Silva <moises.silva@gmail.com> wrote:
getting segfault right away? after a few calls? days?On Wed, Nov 2, 2011 at 12:35 AM, kiruthika sri <kiruthika.bkite@gmail.com> wrote:
FreeSWITCH-users mailing listHi,
I am trying to use the ftmod_pritap module for passive call recording.
I did the followings.
* Installed wanpipe 3.5.23 for sangoma card AFT A102.
* Installed tap 1.4 (customized version of librpi for passive tapping)
* Installed freeswitch and freetdm with --with-pritap option
* Configured wanpipe, freetdm and freeswitch.
Facing the following problem :
* FreeSWITCH is getting killed
* Getting SIGSEGV
# wanrouter messages
freeswitch[19720]: segfault at 8 ip 00ae00d1 sp b6ead208 error 4 in libpri.so.1.4[ac5000+4c000]
# gdb freeswitch core
Program terminated with signal 11, Segmentation fault.
#0 0x00ae00d1 in q931_call_getcrv (ctrl=0x99fd9c0, call=0x0, callmode=0xb6ead24c) at q931.c:5335
5335 *callmode = call->cr & 0x7;
Kindly do the help on this.
Thanks in advance.
Regards
Kiruthika.U
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
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