As suggested by seanbright, the PSEUDO_CHAN_LEN in
commit75dc6f9964ed9bda49d4aef7cec0ebf3bb3b15aa
authormmichelson <mmichelson@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 23 Jul 2008 19:39:47 +0000 (23 19:39 +0000)
committermmichelson <mmichelson@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 23 Jul 2008 19:39:47 +0000 (23 19:39 +0000)
treed8392832fa74bacc5141084bbea5321b4bade278
parent041927f0f07a29053b1442b1d52319b3f3164c91
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: http://svn.digium.com/svn/asterisk/branches/1.4@133169 614ede4d-c843-0410-af14-a771ab80d22e
apps/app_chanspy.c
channels/chan_dahdi.c
include/asterisk/options.h
main/asterisk.c