Asterisk Voicemail help required

Hi, I have an unusual issue as follows.

When I send the caller to voicemail the first message is recorded correctly and saved in the appropriate mailbox as msg0000.wav and msg0000.gsm as per the voicemail.conf, however no msg0000.txt file is created.

When the next voicemail is recorded to the same mailbox, again the voice files are recorded correctly, and I then see the msg0000.txt for the previous message.

This behaviour means the owner of the mailbox can never listen to their latest message until a new message if left!

Can anyone help me discover why the creation of the txt files is always one behind the voice files and how I can fix this.

Many thanks

Andy

Whoops, should have read the T&Cs first, sorry. Here’s the additional detail for my problem:

I am using Asterisk SVN-branch-1.8-r310088M running on Linux

Here’s where I call and record from the dial plan:

[Oct 1 09:29:48] VERBOSE[22756] pbx.c: – Executing [s@macro-callcontroller_inbound:68] VoiceMail(“SIP/193.105.54.216-00000000”, “826,u”) in new stack
[Oct 1 09:29:48] VERBOSE[22756] file.c: – <SIP/193.105.54.216-00000000> Playing ‘vm-isunavail.slin’ (language ‘gb’)
[Oct 1 09:29:50] VERBOSE[22756] file.c: – <SIP/193.105.54.216-00000000> Playing ‘vm-intro.slin’ (language ‘gb’)
[Oct 1 09:29:55] VERBOSE[22756] file.c: – <SIP/193.105.54.216-00000000> Playing ‘beep.gsm’ (language ‘gb’)
[Oct 1 09:29:56] VERBOSE[22756] app_voicemail.c: – Recording the message
[Oct 1 09:29:56] VERBOSE[22756] app.c: – x=0, open writing: /var/spool/asterisk/voicemail/default/826/tmp/6bktYo format: wav, 0x1e0edc8
[Oct 1 09:29:56] VERBOSE[22756] app.c: – x=1, open writing: /var/spool/asterisk/voicemail/default/826/tmp/6bktYo format: gsm, 0x1e0f298
[Oct 1 09:30:22] VERBOSE[22756] app.c: – User hung up
[Oct 1 09:30:22] VERBOSE[22756] app_macro.c: == Spawn extension (macro-callcontroller_inbound, s, 68) exited non-zero on ‘SIP/193.105.54.216-00000000’ in macro ‘callcontroller_inbound’
[Oct 1 09:30:22] VERBOSE[22756] pbx.c: == Spawn extension (custom-callcontroller_inbound, 03300200141, 9) exited non-zero on ‘SIP/193.105.54.216-00000000’
[Oct 1 09:30:22] VERBOSE[22756] pbx.c: – Executing [h@custom-callcontroller_inbound:1] NoOp(“SIP/193.105.54.216-00000000”, “inbound hangup status=ANSWER, cause=16, sipcallid=5c210f102e71450050f4e0b7461c8262@88.208.232.193:5060”) in new stack
[Oct 1 09:30:22] VERBOSE[22756] pbx.c: – Executing [h@custom-callcontroller_inbound:2] Set(“SIP/193.105.54.216-00000000”, “HUPC=16”) in new stack
[Oct 1 09:30:22] VERBOSE[22756] pbx.c: – Executing [h@custom-callcontroller_inbound:3] GotoIf(“SIP/193.105.54.216-00000000”, “1?cont”) in new stack
[Oct 1 09:30:22] VERBOSE[22756] pbx.c: – Goto (custom-callcontroller_inbound,h,5)

I can see no errors, does anyone know at what point the txt file is created and if I can add this to the debug log?