summaryrefslogtreecommitdiff
path: root/xpp/dahdi_genconf
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-16 17:56:43 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-16 17:56:43 +0000
commiteb21b700dd088304d1d9da2a657d4665ca655e23 (patch)
tree6c0ca3a0353d97db84edcc6208aa2ef29ad7d5e2 /xpp/dahdi_genconf
parent7eb5a76648017644fecc0e774355e175cb27adb9 (diff)
dahdi_genconf: report channel number in case of error.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5098 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/dahdi_genconf')
-rwxr-xr-xxpp/dahdi_genconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/dahdi_genconf b/xpp/dahdi_genconf
index f869ade..8135b98 100755
--- a/xpp/dahdi_genconf
+++ b/xpp/dahdi_genconf
@@ -183,7 +183,7 @@ sub gen_dahdi_signalling($) {
printf "# channel %d, %s, no module.\n", $num, $chan->fqn;
return;
}
- my $sig = $default_dahdi_signalling{$type} || die "unknown default dahdi signalling for chan $chan type $type";
+ my $sig = $default_dahdi_signalling{$type} || die "unknown default dahdi signalling for chan $num type $type";
if ($type eq 'IN') {
printf "# astbanktype: input\n";
} elsif ($type eq 'OUT') {