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