[Freeswitch-users] PRI channels suspended

Ashish gautam ashish at nms.co.in
Wed Apr 17 11:03:23 MSD 2013


Hi Akash,

I made these changes to the source and recompiled. Still the same this
happening. Channels 5 to 30 are suspended.

Thanks.

On Tue, Apr 16, 2013 at 4:39 PM, Akash Deep Verma <akashdeep.co at gmail.com>wrote:

> Hi Ashish,
>
> This is a hack but you get what you need.
>
> This is because, whenever retry attempt is made 1 channel per pri get
> started, as there are 30 channels and retry attempts are 3 so the channels
> that freeswitch load is in between 3-6, so I increased retry attempt and
> complied it again. As I got rid of this error but it takes some time to
> load the pri channels (30*10 = 300seconds(5 seconds) max).
>
> Also, remember if you dial a call in between restarting phase you may face
> some error. To avoid this, dial call only after all pri channel get started.
>
> Here are the steps:
>
> In freeswitch source:
> Edit libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.h
>
> 1. Decrease timeout of channels.
> #define T316_TIMEOUT_MS_DEFAULT     30000   /* 30 sec */
>
>  change this to
>
> #define T316_TIMEOUT_MS_DEFAULT     10000   /* 10 sec */
>
> 2. Increase attempts to 30.
> #define T316_ATTEMPT_LIMIT_DEFAULT  3
>
> change this to
>
> #define T316_ATTEMPT_LIMIT_DEFAULT  30
>
> 3. Increase maximum limit as according to default(set more than that of
> default)
> #define T316_ATTEMPT_LIMIT_MAX      10
>
> change this to
>
> #define T316_ATTEMPT_LIMIT_MAX      35
>
> Thanks & Regards,
> -
> Akash Deep Verma
> http://in.linkedin.com/in/akashdeep1
>
> _________________________________________________________________________
> 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/20130417/3598a0bc/attachment.html 


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