[asterisk-bugs] [Asterisk 0011528]: [patch] Please increase MAX_SPANS ("Channel ___ does not lie on a span I know of")
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Dec 14 18:55:47 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11528
======================================================================
Reported By: tzafrir
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11528
Category: Channels/chan_zap
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 89132
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-12-2007 11:12 CST
Last Modified: 12-14-2007 18:55 CST
======================================================================
Summary: [patch] Please increase MAX_SPANS ("Channel ___ does
not lie on a span I know of")
Description:
Upon testing a few digital spans along with many analog spans we
occasionally get the message "Channel ___ does not lie on a span I know
of".
The cause for that is simply that NUM_SPANS in channels/chan_zap.c is set
to 32. Thus if the number of the digital span is >= 32, mkintf will fail to
generate its channels.
Any major performance hit to increasing this value to ZT_MAX_SPANS?
======================================================================
----------------------------------------------------------------------
tzafrir - 12-14-07 18:55
----------------------------------------------------------------------
Updated, to use proper constant from chan_zap (ZT_MAX_SPANS -- 128)
Note that ZT_MAX_SPANS is already used once in chan_zap.so when scanning
all Zaptel spans at startup.
Issue History
Date Modified Username Field Change
======================================================================
12-14-07 18:55 tzafrir Note Added: 0075446
======================================================================
More information about the asterisk-bugs
mailing list