[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


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
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)


I also changed as following sequences;


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
&9703&9803&9903") in new stack

    -- 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
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.


Zen Kato


Zen Kato

More information about the asterisk-dev mailing list