Problem Forwarding VMail to Email (VMail File In-Use)

Discussion in '3CX Phone System - General' started by MAWalker, Aug 24, 2011.

Thread Status:
Not open for further replies.
  1. MAWalker

    Joined:
    Aug 24, 2011
    Messages:
    3
    Likes Received:
    0
    I have this problem also. I'm using 3CX v10.0.20401.1947 on a WinXP SP3 virtual machine.

    I have an Extn that should send All calls directly to VMail then be forwarded to an intrenal Email address.

    The Extn described above is configured as follows;
    -> Extn No: 200
    -> Provisioning: No Handset Configured
    -> Status: Out of Office
    -> Forwarding Rules: Forward Internal & External Calls direct to Voice Mail
    -> VMail Config: Enable VMail, Send as Attachment & Delete from mbox

    When I call this Extn from another internal one, it forwards correctly to VMail & I leave a message. Sometimes this VMail will be delivered as an email almost immediately but mostly there is NO automatic email forwarding. The VMail does exist & is visible in MyPhone etc, however, it won't get delivered via email until I manually check for VMail Messages from another handset (ie. By dialling VM Extn then entering the above Extn & related PIN). Upon pressing # to listen to the message, it then immediately gets picked up & sent as an email as it should have done in the 1st place.

    I can see the following entries in the 'CallHistoryService.log';

    1st Test Call to Extn 200 - VMail auto-forwarded CORRECTLY to email address
    ---------------------------------------------------------------------------
    19:11:03.781|Inf(03)| VMMonitor: Scan VMBox:'200'
    19:11:03.781|Inf(03)| 200 updated(changed)
    19:11:03.781|Inf(03)| VMMonitor: File vmail_210_200_20110824181103 added
    19:11:03.781|Inf(03)| Number of VoiceMails directories:1
    19:11:03.781|Inf(03)| 200:1 voicemails
    19:11:03.781|Inf(03)| VMMonitor: Creating email notification for 200
    19:11:03.796|Inf(03)| VMMonitor: Attaching vmail_210_200_20110824181103 to email
    19:11:03.796|Inf(03)| VMMonitor: Sending email notification to Email@MyDomain.co.uk using MyMailServer
    19:11:04.109|Inf(03)| VMMonitor: Email sent to Email@MyDomain.co.uk
    19:11:04.109|Inf(03)| VMMonitor: To be deleted:C:\Documents and Settings\All Users\Application Data\3CX\Data\Ivr\Voicemail\Extensions\200\vmail_210_200_20110824181103
    19:11:04.125|Inf(03)| VMMonitor: Save DNInfo ext=200 Tot=1 New=1

    2nd Test Call to Extn 200 - VMail NOT auto-forwarded (ERROR --> VMail File being used by another process')
    ----------------------------------------------------------------------------------------------------------
    19:11:35.859|Inf(03)| VMMonitor: Scan VMBox:'200'
    19:11:35.859|Inf(03)| VMMonitor: File vmail_210_200_20110824181135 added
    19:11:35.859|Err(01)| VMMonitor: Can not load voicemail info from file 'C:\Documents and Settings\All Users\Application Data\3CX\Data\Ivr\Voicemail\Extensions\200\vmail_210_200_20110824181135.xml'
    19:11:35.859|Exc(03)| System.IO.IOException: The process cannot access the file 'C:\Documents and Settings\All Users\Application Data\3CX\Data\Ivr\Voicemail\Extensions\200\vmail_210_200_20110824181135.xml' because it is being used by another process.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
    at System.Threading.CompressedStack.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
    at System.Xml.XmlTextReaderImpl.OpenUrl()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at VBMutils.VoiceMailInfo.LoadInfo()

    Dialled VMail Extn & Listened to New Message left during 2nd Test Call to Extn 200 - Only now triggers VMail to forward to email address
    ----------------------------------------------------------------------------------------------------------------------------------------
    19:12:31.765|Inf(03)| VMMonitor: Scan VMBox:'200'
    19:12:31.765|Inf(03)| Number of VoiceMails directories:1
    19:12:31.765|Inf(03)| 200:1 voicemails
    19:12:31.765|Inf(03)| VMMonitor: Creating email notification for 200
    19:12:31.765|Inf(03)| VMMonitor: Attaching vmail_210_200_20110824181135 to email
    19:12:31.765|Inf(03)| VMMonitor: Sending email notification to Email@MyDomain.co.uk using MyMailServer
    19:12:31.937|Inf(03)| VMMonitor: Email sent to Email@MyDomain.co.uk
    19:12:31.937|Inf(03)| VMMonitor: To be deleted:C:\Documents and Settings\All Users\Application Data\3CX\Data\Ivr\Voicemail\Extensions\200\vmail_210_200_20110824181135
    19:12:31.953|Inf(03)| VMMonitor: Save DNInfo ext=200 Tot=1 New=0


    I have this same arrangement on 3CX v9 also on my network & it behaves just fine - The problems only seems to occur on the newer v10 installation of 3CX. It looks like some kind of internal 3CX issue where the VMail file is being held by another component which prevents the initial email auto-forward. Any assistance would be greatly appreciated.

    Regards

    Mark (Essex, UK)
     
  2. paul1

    Joined:
    Jan 14, 2010
    Messages:
    80
    Likes Received:
    0
    I have noticed the same symptoms on a normal extension with phone configured. E-Mail notification with attachment was delayed a few days.
     
  3. badsushi

    Joined:
    Mar 26, 2011
    Messages:
    27
    Likes Received:
    0
    We are having the same problem. Similar setup, WinXP on a colocated VM
     
  4. willow

    willow Member

    Joined:
    Mar 1, 2011
    Messages:
    471
    Likes Received:
    0
    same here on a xp machine only used for 3cx.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. badsushi

    Joined:
    Mar 26, 2011
    Messages:
    27
    Likes Received:
    0
    Heads up

    Here is my response back from tech support:

    Hi

    This is an issue that has been taken care of and will be fixed in the new update that will be released next week.

    regards

    That was yesterday 9/1

    Also i fired up a new VM with the exact same setup and 3cx config and I can not duplicate the issue... BUT the new vm has windows updates pending ---- one of them being a .net update..hmmm. Over the weekend i'll fire up another and see if the updates break it and post results.
     
  6. MAWalker

    Joined:
    Aug 24, 2011
    Messages:
    3
    Likes Received:
    0
    Thanks for your reply Badsushi.

    The WinXP machine I am using is fully upto date with Windows Updates - I didn't test this prior to doing the Windows updates so it will be very interesting to see if one of those triggered the problem.

    I'll also lookout for the 3CX Update & post whether that resolves this for me (Once it's available).

    Regards

    Mark (Essex, UK)
     
  7. MAWalker

    Joined:
    Aug 24, 2011
    Messages:
    3
    Likes Received:
    0
    SP3 of 3CX v10 appears to have resolved the problem.

    Thanks to everyone who responded.

    Mark (Essex, UK)
     
  8. badsushi

    Joined:
    Mar 26, 2011
    Messages:
    27
    Likes Received:
    0
    Yup here too.
     
Thread Status:
Not open for further replies.