Benoit Panizzon
2010-Dec-21 10:47 UTC
[asterisk-users] app_voicemail.c how to enable debugging?
Hi
Looking at the source of app_voicemail.c there are many statements like:
ast_debug(1, "%s doesn't exist, doing what we
can\n",
prefile);
Where do I have to enably this to be showed in the console or logged to a file
by logger. core set debug does not seem to help here.
Well, my actual problem is, that if a customer has recorded his own greeting,
he usualy tells the caller to record his message after the tone, so
app_voicemail should not play the intro.
spool/mailbox/unavail.gsm
vm-intro.gsm
beep.gsm
but only
spool/mailbox/unavail.gsm
beep.gsm
In case there is an unavailable message. Where do I have to poke at the
source?
Kind regards
Benoit Panizzon
--
I m p r o W a r e A G -
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 07
CH-4133 Pratteln Fax +41 61 826 93 02
Schweiz Web http://www.imp.ch
______________________________________________________
Daniel Tryba
2010-Dec-21 11:32 UTC
[asterisk-users] app_voicemail.c how to enable debugging?
On Tue, Dec 21, 2010 at 11:47:02AM +0100, Benoit Panizzon wrote: [snip]> Well, my actual problem is, that if a customer has recorded his own greeting, > he usualy tells the caller to record his message after the tone, so > app_voicemail should not play the intro. > > spool/mailbox/unavail.gsm > vm-intro.gsm > beep.gsm > > but only > > spool/mailbox/unavail.gsm > beep.gsm > > In case there is an unavailable message. Where do I have to poke at the > source?No need to patch app_voicemail to do this I guess, passing the 's' argument to VoiceMail will skip vm-intro. So you only need to figure out is unavail.gsm exists from the dialplan to add 's' to the arguments. Implementing this in an AGI script should be trivial. -- Daniel Tryba
Apparently Analagous Threads
- Re: : External access to voicemail
- User Defined VoiceMail announcement?
- PJSIP: identify endpoint by authentication username?
- How to send announcement after called has picked up the phone?
- pjsip: How is asterisk choosing the IP address to put in the Contact header?