[Home]

Summary:DAHLIN-00335: DAHDI SF signalling does not function as described in documentation
Reporter:Michael Englehorn (menglehorn)Labels:
Date Opened:2014-02-05 23:31:31.000-0600Date Closed:2014-05-05 09:47:22
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:dahdi (the module)
Versions:2.8.0.1 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesDAHLIN-00265 sf in-band signalling does not work with any version of DAHDI's dahdi_cfg
duplicatesDAHLIN-00166 Support for single freq signaling does not appear to exist
Environment:Linux asterisk-magic 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/LinuxAttachments:
Description:I have the following lines in my system.conf and when I run "dahdi_cfg" I get an error.

dynamic=eth,eth1/92:fa:35:70:d2:23,24,0
dynamic=eth,eth2/ce:64:45:d5:1e:00,24,0

sf=1-24:2600,10,inverted,2600,0,inverted
sf=25-48:2600,10,inverted,2600,0,inverted

I think I'm implementing this the way it is described in the sample system.conf file that is provided with Dahdi, but it doesn't work.

Here is the error:
root@asterisk-magic:/etc/dahdi# dahdi_cfg
Notice: Configuration file is /etc/dahdi/system.conf
line 16: Unknown keyword 'sf'
line 17: Unknown keyword 'sf'

2 error(s) detected

root@asterisk-magic:/etc/dahdi#

This works on an old installation that used Zapatel, but I cannot compile that for new kernels, and it is very old. Since Zapatel is now Dahdi I'm marking this a Dahdi bug.
Comments:By: Russ Meyerriecks (rmeyerriecks) 2014-04-09 11:22:54.559-0500

-Sorry to be so late on this issue. superframe signalling in dahdi is referred to as "d4". Swapping "sf" for "d4" should work in your case.-

My apologies, I wasn't aware of the single frequency stuff.

By: Russ Meyerriecks (rmeyerriecks) 2014-04-09 13:37:10.371-0500

Looks like support for this was dropped between the zaptel -> dahdi transition when ztcfg-dude wasn't ported. What is your use case for this?

By: Shaun Ruffell (sruffell) 2014-04-10 09:43:29.934-0500

Marked as a duplicate of DAHLIN-166.

By: Shaun Ruffell (sruffell) 2014-04-10 09:48:36.090-0500

In looking at these old issues, one thing that is clearly wrong is that [line 114 in system.conf.sample|https://github.com/asterisk/dahdi-tools/blob/master/system.conf.sample#L114-L124] describes setting up single frequency signaling, but dahdi_cfg.c does not have support for parsing that.  So, hopefully someone can step up with a patch to dahdi_cfg.c to add the needed support, or the config file should be changed to removed that section.

By: Shaun Ruffell (sruffell) 2014-05-05 09:47:22.961-0500

Michael, I am going to close this. To move this forward, someone will need to come up with a patch for dahdi_cfg that pays attention to the licensing of any algorithms used to generate the SF frequency.

If you want to prepare such a patch, feel free to reopen.

I did [remove|http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=commit;h=2abfd165ae9d6f91d003e8] the references to the sf= settings from system.conf.sample though to help with any confusion in the future.