[Freeswitch-users] DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)

Ashish gautam ashish at nms.co.in
Mon Jun 10 08:54:29 MSD 2013


I had made the required configuration in system.conf and we do not have the
option to specify that the line is E1 or T1 in there. But yes in the
freetdm.conf I had specified the line as E1.

In linux we have a command to set the line mode for the Dahdi but in
FreeBSD we don't have that, this is why I had to manually change the mode
in the source.

On Fri, Jun 7, 2013 at 8:52 PM, Michael Jerris <mike at jerris.com> wrote:

> Did you have the configuration to specify this was an e1?  It sounds like
> you were just missing the config for that.
>
>
> On Jun 7, 2013, at 6:57 AM, Ashish gautam <ashish at nms.co.in> wrote:
>
> The problem got solved, it was related to FreeBSD platform. I am running
> the FS on FreeBSD and there is a parameter "default_linemode" which is
> needed to be passed to the wct4xxp module of dahdi (wct4xxp is the driver
> module in case of Digium 8 Span card).
>
> I made a little change in the base.c file in the source of the wct4xxp
> module as follows:
>
> on line 196 which says : static char default_linemode[] = "auto";
>
> I changed "auto" to"e1" (in my case I have an e1 line) and it worked!!!
>
> Thanks
>
> On Mon, Jun 3, 2013 at 5:56 PM, Ashish gautam <ashish at nms.co.in> wrote:
>
>> Hi,
>>
>> I am getting this error while configuring Digium 8 span PRI card. I am
>> attaching system.conf, freetdm.conf,and freetdm.conf.xml  here.
>>
>> Please help.
>>
>> --
>> Ashish Gautam
>>
>> Nucleus Microsystems (Pvt.) Ltd.
>>
>> Ph. 011 47574758
>>
>
>
>
>
> _________________________________________________________________________
> 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
>
>


-- 
Ashish Gautam

Nucleus Microsystems (Pvt.) Ltd.

Ph. 011 47574758
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130610/8b1ab8a5/attachment-0001.html 


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