[Asterisk-Dev] Group/Broadcast Voicemail limitation of tmp[256]
Zen Kato
zenkato at pis.bekkoame.ne.jp
Wed Jun 22 18:26:38 MST 2005
Hi,
I don't know whether I could ask my question regarding Group/Broadcast
Voicemail command here in [asterisk-dev], but I can not solve this in
[asterisk-users]. I think the max buffer size of
Voicemail(u0001&0002.....&0051)is 256bytes. How could I change to this
buffer size to 4096 bytes(for example) in app_voicemail.c ?
I attach my post on [asterisk-users].
-----
Subject: Re: [Asterisk-Users] Group/Broadcast Voicemail
From: Zen Kato <zenkato at pis.bekkoame.ne.jp>
To: asterisk-users at lists.digium.com, cstinson at isdn.net
Cc:
Date: Wed, 22 Jun 2005 18:07:16 +0900 (JST)
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Hi,
I also changed as following sequences;
app_voicemail.c
1. Line 3724 tmp[256] to tmp[4096] vm_exec
2. Line 3760 tmp[256] to tmp[4096] append_mailbox
3. Line 3796 tmp[256] to tmp[4096] vm_box_exists
4. Line 3290 tmp[256] to tmp[4096] vm_execmain
5. Line 80 tmp[256] to tmp[4096] #define BASEMAXLINE
6. Line 82 tmp[256] to tmp[4096] #define BASEMAXLINE
I tried to copy to 99 mailboxes, but no luck, only could copy to 51 mailboxes.
-- Executing VoiceMail("SIP/1021-6bd9", "u0103&0203&0303&0403&0503&0603
&0703&0803&0903&1003&1103&1203&1303&1403&1503&1603&1703&1803&1903&2003&2103
&2203&2303&2403&2503&2603&2703&2803&2903&3003&3103&3203&3303&3403&3503&3603
&3703&3803&3903&4003&4103&4203&4303&4403&4503&4603&4703&4803&4903&5003&5103
&5203&5303&5403&5503&5603&5703&5803&5903&6003&6103&6203&6303&6403&6503&6603
&6703&6803&6903&7003&7103&7203&7303&7403&7503&7603&7703&7803&7903&8003&8103
&8203&8303&8403&8503&8603&8703&8803&8903&9003&9103&9203&9303&9403&9503&9603
&9703&9803&9903") in new stack
....(snip)......
-- User ended message by pressing #
-- Playing 'auth-thankyou' (language 'en')
Jun 22 17:15:20 NOTICE[11044]: app_voicemail.c:1244 copy_message: Copying message from 0103 at 03 to 0203 at 03
Jun 22 17:15:25 WARNING[11044]: app.c:994 ast_lock_path: Failed to lock path '': File exists
.....(snip)......
Jun 22 17:15:25 NOTICE[11044]: app_voicemail.c:1244 copy_message: Copying message from 0103 at 03 to 5103 at 03
Unable to create lock file: No such file or directory
I would like to copy to 100-150 mailboxes for one CPU.
I also need someone's help.
Regards,
Zen Kato
-------------
Regards,
Zen Kato
More information about the asterisk-dev
mailing list