- Joined
- Aug 24, 2011
- Messages
- 3
- Reaction score
- 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 protected] using MyMailServer
19:11:04.109|Inf(03)| VMMonitor: Email sent to [email protected]
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 protected] using MyMailServer
19:12:31.937|Inf(03)| VMMonitor: Email sent to [email protected]
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)
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 protected] using MyMailServer
19:11:04.109|Inf(03)| VMMonitor: Email sent to [email protected]
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 protected] using MyMailServer
19:12:31.937|Inf(03)| VMMonitor: Email sent to [email protected]
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)