How to change sounds in voicemail

hi :smile:
I would like to change the default way to play sounds different, single file. I can not find the macro responsible for playing that moment. I found the sound files, but file swapping does not help. Plays the ext number,

 - Goto (macro-get-vmcontext, s, 300)
 - Executing [s @ macro-get-vmcontext: 300] NOOP ("SIP/ITSA-00000157", "") in new stack
 - Executing [s @ macro-CHANUNAVAIL-vm: 2] VoiceMail ("SIP/ITSA-00000157", "445 @ default, su") in new stack
 [b]- <SIP/ITSA-00000157> Playing 'vm-theperson.gsm' (language 'en')
 - <SIP/ITSA-00000157> Playing 'digits/4.gsm' (language 'en')
 - <SIP/ITSA-00000157> Playing 'digits/4.gsm' (language 'en')
 - <SIP/ITSA-00000157> Playing 'digits/5.gsm' (language 'en')
 - <SIP/ITSA-00000157> Playing 'vm-isunavail.gsm' (language 'en')
 - <SIP/ITSA-00000157> Playing 'beep.gsm' (language 'en')[/b]

This is in the C source code:

$ grep vm-theperson /.c
apps/app_minivm.c: if(ast_streamfile(chan, “vm-theperson”, chan->language))
apps/app_voicemail.c: res = ast_stream_and_wait(chan, “vm-theperson”, ecodes);


yes, you can do it. You have to write small agi application and put your customize prompt in your agi script and simple call the voicemail application with “s”.



thanks for the reply,
where can I find the files c?

In the source code.