phonesound on windows7?

Modem compatibility and configuration issues.
Post Reply
bwm
Posts: 11
Joined: Tue Sep 15, 2009 9:31 am

phonesound on windows7?

Post by bwm »

I've just installed Win7 32bit Enterprise and Ascendis. All is working as previously under XP with the exception of phonesound(). The phone answers, but no sound is played.

Modem is in TAPI mode (disabling this gives explicit message about phone not being able to play sounds in activity log: "The device "Zoom v92 Data Fax Voice Modem" cannot play sounds over the phone").

Only oddities I see are there is no modem log (grayed out on Help > Diagnosits > Modem Logs) and this in the Activity logs after reboot:

1/30/2010 10:46:10 AM - Started
1/30/2010 10:46:12 AM - Ascendis Caller ID Version 2.2.0.2 (9/30/2009 10:16:40 PM)
1/30/2010 10:46:13 AM - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE
1/30/2010 10:46:19 AM - Could not enable modem log appending for modem id 0000: OpenModemsSettingsRegistryKey: could not open modem settings registry key (Exception)

I'm going to start looking around at sound settings, etc., but thought I'd post this to see if anyone has seen this, or has ideas. The modem is a Zoom 3409CG serial port type and I installed the latest Zoom drivers available (for Vista 32bit, no Win7 32bit listed: v2.7.0.0).
bwm
Posts: 11
Joined: Tue Sep 15, 2009 9:31 am

Post by bwm »

Tried updating from 2.2.0.5 beta to 2.2.0.15 as I see Bill has been doing some work with modems, but no go.

I looked in the line monitor, playsound() seems to be being called just fine with no errors, but still no sound out ...

01/30/2010 14:15:49.828 - [4764:Zoom v92 Data Fax Voice Modem] >>TCallSink.OnCallState(call=CtCall@$021D9150/CallHandle:$102BC, callState=LINECALLSTATE_CONNECTED, param2=$0, callPrivilege=)
01/30/2010 14:15:49.828 - [4764:Zoom v92 Data Fax Voice Modem] (call.Handle=$102BC, call.DeviceName=Zoom v92 Data Fax Voice Modem)
01/30/2010 14:15:49.828 - [4764:Zoom v92 Data Fax Voice Modem] -connected-
01/30/2010 14:15:49.828 - [4764:Zoom v92 Data Fax Voice Modem] callInfo.GetCallerIdFlags=$C = LINECALLPARTYID_NAME, LINECALLPARTYID_ADDRESS
01/30/2010 14:15:49.828 - [4764:Zoom v92 Data Fax Voice Modem] callInfo.GetCalledIdFlags=$40 = LINECALLPARTYID_UNAVAIL
01/30/2010 14:15:49.828 - [4764:Zoom v92 Data Fax Voice Modem] callInfo.GetConnectedIdFlags=$40 = LINECALLPARTYID_UNAVAIL
01/30/2010 14:15:50.342 - [4764:Zoom v92 Data Fax Voice Modem] Playing sound "C:\Program Files\Ascendis Software\Caller ID\Waves\Cepstral_HelloX2.wav" over device "Zoom v92 Data Fax Voice Modem"
01/30/2010 14:15:56.239 - [4764:Zoom v92 Data Fax Voice Modem] <<TCallSink.OnCallState
01/30/2010 14:15:56.239 - <<CtCall.OnState
01/30/2010 14:15:56.239 - CtLine.OnCallState: CallHandles.Count=1
01/30/2010 14:15:56.348 - [4764:Zoom v92 Data Fax Voice Modem] <<TBrTapiLine.PlaySound
01/30/2010 14:15:56.380 - [4764:Zoom v92 Data Fax Voice Modem] >>TBRTapiLine.Disconnect
01/30/2010 14:15:56.380 - [4764:Zoom v92 Data Fax Voice Modem] <<TBRTapiLine.Disconnect
01/30/2010 14:15:56.520 - [4764:Zoom v92 Data Fax Voice Modem] <<OnCallerId
01/30/2010 14:15:56.520 - [4764:Zoom v92 Data Fax Voice Modem] <<TBRLine.CallOnCallerID
01/30/2010 14:15:56.520 - [4764:Zoom v92 Data Fax Voice Modem] <<TBRTapiLine.DoCallerID

01/30/2010 14:15:57.893 - TAPI device=$102BC event=LINE_CALLSTATE -- LINECALLSTATE_DISCONNECTED
01/30/2010 14:15:57.893 - LINE_CALLSTATE (FLine): CallState=LINECALLSTATE_DISCONNECTED, CallStateDetail=$1, CallPrivilege=
01/30/2010 14:15:57.893 - callInfo.MediaModes=
01/30/2010 14:15:57.893 - >>CtCall.OnState
01/30/2010 14:15:57.893 - [4764:Zoom v92 Data Fax Voice Modem] >>TCallSink.OnCallState(call=CtCall@$021D9150/CallHandle:$102BC, callState=LINECALLSTATE_DISCONNECTED, param2=$1, callPrivilege=)
01/30/2010 14:15:57.893 - [4764:Zoom v92 Data Fax Voice Modem] (call.Handle=$102BC, call.DeviceName=Zoom v92 Data Fax Voice Modem)
01/30/2010 14:15:57.893 - [4764:Zoom v92 Data Fax Voice Modem] -disconnected-
01/30/2010 14:15:57.893 - [4764:Zoom v92 Data Fax Voice Modem] <<TCallSink.OnCallState
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Re: phonesound on windows7?

Post by Bill Root »

Hi BWM,
bwm wrote:I've just installed Win7 32bit Enterprise and Ascendis. All is working as previously under XP with the exception of phonesound(). The phone answers, but no sound is played.
Windows Vista and Windows 7 have a bug where Conexant-based modems can't play sound over the phone using TAPI. (Many Zoom modems use Conexant chipsets.) It is my understanding that the bug is not Conexant-specific, but depends on the sound format used. We noted this on our modem page:
http://www.ascendis.com/callerid/modems.php
Internal tests suggest the problem occurs with the Zoom 3049C and 3095 models, at least. Zoom has been notified, and reportedly has contacted Conexant about the problem. However, getting Microsoft to fix problems with such a relatively limited impact is difficult.

This post discusses the Microsoft bug:
http://forums.techarena.in/vista-hardwa ... ost4154261

That being said, I ran some tests using an Agere-based modem in Vista 32-bit and Ascendis Caller ID and the sound also did not work. Note that in these cases Windows does not return any error code; as far as Ascendis Caller ID knows, everything is fine. The same code works properly in Windows XP.

A test using a different product had sound work with the Agere-based modem, but not with the Conexant-based modem (a Zoom 3095).

We're investigating sound support in direct mode to avoid being dependent on Microsoft.
Modem is in TAPI mode (disabling this gives explicit message about phone not being able to play sounds in activity log: "The device "Zoom v92 Data Fax Voice Modem" cannot play sounds over the phone").
Ascendis Caller ID currently cannot play sounds over the phone without using TAPI.
Only oddities I see are there is no modem log (grayed out on Help > Diagnosits > Modem Logs) and this in the Activity logs after reboot:

1/30/2010 10:46:10 AM - Started
1/30/2010 10:46:12 AM - Ascendis Caller ID Version 2.2.0.2 (9/30/2009 10:16:40 PM)
1/30/2010 10:46:13 AM - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE
1/30/2010 10:46:19 AM - Could not enable modem log appending for modem id 0000: OpenModemsSettingsRegistryKey: could not open modem settings registry key (Exception)
Changing the registry to enable modem logging requires administrative access in Vista and Windows 7. I don't know whether we'll be enabling a workaround in the future, since this is not critical. You can enable modem logging yourself and view the log from the Windows Phone and Modem options control panel.


Finest regards,
Bill Root
Ascendis Software
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Re: phonesound on windows7?

Post by Bill Root »

We just released a new beta version (2.2.0.17; http://www.ascendis.com/forum/viewtopic.php?p=1342) with native (non-TAPI) support for playing sounds over the modem. This bypasses the bugs in Windows Vista and Windows 7 that prevent PhoneSound from working.

We have successfully tested PhoneSound on Windows Vista 32 and 64-bit, and Windows 7 64-bit with the Zoom 3049C and Zoom 3095 modems. The HiRO H50113 didn't sound great in most cases natively and should probably be used in TAPI mode.

The new code will presumably work with other modems, but our intent is not to support all voice modems. When PhoneSound works with TAPI and not natively, use TAPI.

Finest regards,
Bill Root
Ascendis Software
Post Reply