[Freeswitch-users] Segmentation fault (core dumped)

Michael Collins msc at freeswitch.org
Mon Dec 5 19:08:51 MSK 2011


FYI,

This message is a bit intense for the -users list. I recommend sending to
the -dev list instead.
-MC

On Mon, Dec 5, 2011 at 2:04 AM, Miha Zoubek <miha at softnet.si> wrote:

>  Hi,
>
> I have added this in mod_radius_cdr.c and run make&make install.
>
>   if (channel){
>                 const char *no_radius_start =
> switch_channel_get_variable(channel, "no_radius_start");
>                 if (switch_true(no_radius_start)){
>                         switch_log_printf(SWITCH_CHANNEL_LOG,
> SWITCH_LOG_DEBUG, "[mod_radius_cdr] Skipping Radius Start\n");
>                         return SWITCH_STATUS_SUCCESS;
>                 }
>         }
>
>
> and for radius_stop.
>
> if (channel){
>                 const char *no_radius_stop =
> switch_channel_get_variable(channel, "no_radius_stop");
>                 if (switch_true(no_radius_stop)){
>                         switch_log_printf(SWITCH_CHANNEL_LOG,
> SWITCH_LOG_DEBUG, "[mod_radius_cdr] Skipping Radius Stop\n");
>                         return SWITCH_STATUS_SUCCESS;
>                 }
>         }
>
> When I run call a get this:
>
> Segmentation fault (core dumped)
>
>
> Do you know why I am getting this?
>
> Regrdas,
> Miha
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20111205/260761b2/attachment.html 


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