Merged revisions 133169 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 23 Jul 2008 19:48:03 +0000 (19:48 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 23 Jul 2008 19:48:03 +0000 (19:48 +0000)
commited6323cb7302b5cda151b19069c081a65925649b
tree1dea44696cf7b66718062c0893935604ccbda0f1
parentcca455b0f3a6004a973e15d77ed94c76a347ec39
Merged revisions 133169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r133169 | mmichelson | 2008-07-23 14:39:47 -0500 (Wed, 23 Jul 2008) | 12 lines

As suggested by seanbright, the PSEUDO_CHAN_LEN in
app_chanspy should be set at load time, not at compile
time, since dahdi_chan_name is determined at load time.

Also changed the next_unique_id_to_use to have the
static qualifier.

Also added the dahdi_chan_name_len variable so that
strlen(dahdi_chan_name) isn't necessary. Thanks to
seanbright for the suggestion.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@133171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c
include/asterisk/options.h
main/asterisk.c