summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-10-20 12:13:31 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-10-20 12:13:31 +0000
commit57479c2fb9e99ca3c31551c66359c99c023595e5 (patch)
treebc55f77f0250d1a041c43dd0ec29a014d09a4c23
parent7b483e2d17e50440f2c09fdfa1468d1dfd42906a (diff)
zapconf: Fix number in error message in case of unknown channel type.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4571 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xkernel/xpp/utils/zapconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/xpp/utils/zapconf b/kernel/xpp/utils/zapconf
index 7f94f6b..78a20b9 100755
--- a/kernel/xpp/utils/zapconf
+++ b/kernel/xpp/utils/zapconf
@@ -166,7 +166,7 @@ sub gen_zaptel_signalling($) {
printf "# channel %d, %s, no module.\n", $num, $chan->fqn;
return;
}
- my $sig = $default_zaptel_signalling{$type} || die "unknown default zaptel signalling for chan $chan type $type";
+ my $sig = $default_zaptel_signalling{$type} || die "unknown default zaptel signalling for chan $num type $type";
if ($type eq 'IN') {
printf "# astbanktype: input\n";
} elsif ($type eq 'OUT') {