[Freeswitch-users] FreeTDM PRI tapping issue

kiruthika sri kiruthika.bkite at gmail.com
Wed Nov 9 10:28:01 MSK 2011


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.

On Sat, Nov 5, 2011 at 9:55 AM, kiruthika sri <kiruthika.bkite at gmail.com>wrote:

>
>
> ---------- Forwarded message ----------
> From: kiruthika sri <kiruthika.bkite at gmail.com>
> Date: Thu, Nov 3, 2011 at 10:11 AM
> Subject: Re: [Freeswitch-users] FreeTDM PRI tapping issue
> To: FreeSWITCH Users Help <freeswitch-users at 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 at 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 at gmail.com
>> > wrote:
>>
>>>
>>> Hi,
>>>
>>> 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 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
>>>
>>>
>>
>>
>> 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
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111109/46fcf206/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list