[asterisk-users] app_voicemail.c how to enable debugging?

Daniel Tryba daniel at tryba.nl
Tue Dec 21 11:32:10 UTC 2010


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



More information about the asterisk-users mailing list