Using LIBSS7 on a TDMoE environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, Thank you.

On Fri, Feb 11, 2011 at 7:00 PM, <asterisk-ss7-request at lists.digium.com>wrote:

> Send asterisk-ss7 mailing list submissions to
>        asterisk-ss7 at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.digium.com/mailman/listinfo/asterisk-ss7
> or, via email, send a message with subject or body 'help' to
>        asterisk-ss7-request at lists.digium.com
>
> You can reach the person managing the list at
>        asterisk-ss7-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-ss7 digest..."
>
>
> Today's Topics:
>
>   1. Re: Using LIBSS7 on a TDMoE environment (Shaun Ruffell)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 11 Feb 2011 11:38:01 -0600
> From: Shaun Ruffell <sruffell at digium.com>
> Subject: Re: [asterisk-ss7] Using LIBSS7 on a TDMoE environment
> To: asterisk-ss7 at lists.digium.com
> Message-ID: <4D5573F9.8010706 at digium.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 02/11/2011 04:13 AM, Kaloyan Kovachev wrote:
> > On Fri, 11 Feb 2011 11:04:49 +0100, mosbah.abdelkader at gmail.com
> > wrote:
> >>
> >> For the timer, the doc mentions that a DAHDI card must be used!!!!
> >> What to use for timer if there is no card? Or, the timer does not
> >> matter if no hardware is available?
> >>
> >
> > You may use dahdi_dummy on Ast1 to provide the timing and use the
> > same timing on Ast2 delivered via the TDMoE span and probably again
> > dahdi_dummy as a backup timing device
> >
>
> I'm not a TDMoE expert but I ran into an issue when using DAHDI 2.4.0 with
> dynamic_local spans that would probably affect you if you want to use
> dahdi_dummy to provide timing for TDMoE spans.
>
> The quick summary is that if you want to use dahdi_dummy with dynamic
> spans, please:
>
> 1) Enable dahdi_dummy in drivers/dahdi/Kbuild
> 2) Comment out the MODULE_ALIAS("dahdi_dummy") in
> drivers/dahdi/dahdi_base.c
> 3) Undefine ENABLE_TASKLETS in drivers/dahdi/dahdi_dynamic.c
>
> If you are going this route, hopefully this might save you some
> confusion.
>
> Here are the above three steps expressed in a patch:
> --
> diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild
> index 3fe2e28..c4ad534 100644
> --- a/drivers/dahdi/Kbuild
> +++ b/drivers/dahdi/Kbuild
> @@ -1,5 +1,5 @@
>  obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI)                  += dahdi.o
> -#obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_DUMMY)           += dahdi_dummy.o
> +obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_DUMMY)            += dahdi_dummy.o
>  obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_DYNAMIC)          += dahdi_dynamic.o
>  obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_DYNAMIC_LOC)      +=
> dahdi_dynamic_loc.o
>  obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_DYNAMIC_ETH)      +=
> dahdi_dynamic_eth.o
> diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
> index ffa2a59..37d8fca 100644
> --- a/drivers/dahdi/dahdi-base.c
> +++ b/drivers/dahdi/dahdi-base.c
> @@ -8685,7 +8685,7 @@ MODULE_LICENSE("GPL v2");
>  /* DAHDI now provides timing. If anybody wants dahdi_dummy it's probably
>  * for that. So make dahdi provide it for now. This alias may be removed
>  * in the future, and users are encouraged not to rely on it. */
> -MODULE_ALIAS("dahdi_dummy");
> +/* MODULE_ALIAS("dahdi_dummy"); */
>  MODULE_VERSION(DAHDI_VERSION);
>
>  module_param(debug, int, 0644);
> diff --git a/drivers/dahdi/dahdi_dynamic.c b/drivers/dahdi/dahdi_dynamic.c
> index 31a6c30..db542d1 100644
> --- a/drivers/dahdi/dahdi_dynamic.c
> +++ b/drivers/dahdi/dahdi_dynamic.c
> @@ -43,7 +43,7 @@
>  * tasklets.
>  */
>
> -#define ENABLE_TASKLETS
> +#undef ENABLE_TASKLETS
>
> --
> Shaun Ruffell
> Digium, Inc. | Linux Kernel Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: www.digium.com & www.asterisk.org
>
>
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
> End of asterisk-ss7 Digest, Vol 72, Issue 11
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110211/c56e7f56/attachment.htm>


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux