Home    About Us    Products    Support    Forum    Downloads    FAQ    Developers    Cool Links    Contact Us    Store    Login

Forum Home Forum Home > Hi-Phone products > Hi-Phone Maestro
  New Posts New Posts
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Answering existing calls

  Post Reply Post Reply
Author
Message
  Topic Search Topic Search  Topic Options Topic Options
Bill View Drop Down
Newbie
Newbie
Avatar

Joined: Mar 11 2009
Location: Warrington Engl
Posts: 22
  Quote Bill Quote  Post ReplyReply Direct Link To This Post Topic: Answering existing calls
    Posted: Mar 03 2010 at 4:19am

The Maestro has four lines and just one phone or headset port which seemed perfect for my small IVR application. I have a problem though because if a caller requests to speak with an operator, there doesn’t seem any way to connect that caller to the phone or headset device unless they’re calling on line one.

I would have thought that a device with four lines and one phone might have a simple method of selecting which line the phone connects to. My project is now at a dead stop on this one so hopefully someone may have an answer.Confused

Bill
Back to Top
doronsh View Drop Down
Way2call
Way2call


Joined: Mar 16 2009
Posts: 70
  Quote doronsh Quote  Post ReplyReply Direct Link To This Post Posted: Mar 03 2010 at 9:16am

This should be working for the Hi-Phone Maestro POWR DIALER model

The handset or the headset can be attached to each one of the lines.

For more details please review the SDK >>> DLL >>> DOC >>> Hi-Phone Maestro features >>> w2cUsbM_SetTerminal

This should connect the handset/phone virtually to the specified line

Now you should setup the right switching mode for the audio

Please check "Device Switching Modes"

For Handset/Phone use the switching mode related to:  'Line' - 'PC Audio' - 'Phone'.

Back to Top
Bill View Drop Down
Newbie
Newbie
Avatar

Joined: Mar 11 2009
Location: Warrington Engl
Posts: 22
  Quote Bill Quote  Post ReplyReply Direct Link To This Post Posted: Mar 24 2010 at 12:37pm

Does the function w2cUsbM_SetTerminal basically configure the LINETERMMODE flags, which I'm guessing basically controls some kind of matrix switching to connect the phone/headset/PC to the various lines?

There is a set of these flags for each line, so by setting LINETERMMODE_RINGER/HOOK/MEDIATO/MEDIAFROMLINE on one of the lines, should this connect the handset to the selected line?

Bill :)
Back to Top
doronsh View Drop Down
Way2call
Way2call


Joined: Mar 16 2009
Posts: 70
  Quote doronsh Quote  Post ReplyReply Direct Link To This Post Posted: Mar 31 2010 at 9:47am

Does the function w2cUsbM_SetTerminal basically configure the LINETERMMODE flags, which I'm guessing basically controls some kind of matrix switching to connect the phone/headset/PC to the various lines?
The answer is yes. 

 

There is a set of these flags for each line, so by setting LINETERMMODE_RINGER/HOOK/MEDIATO/MEDIAFROMLINE on one of the lines, should this connect the handset to the selected line?

The answer is yes, and disconnects it from any other line it was connected to.

(In a conference-enabled device, audio connection is still available with other lines via conference commands).

Back to Top
Bill View Drop Down
Newbie
Newbie
Avatar

Joined: Mar 11 2009
Location: Warrington Engl
Posts: 22
  Quote Bill Quote  Post ReplyReply Direct Link To This Post Posted: Apr 05 2010 at 4:48am

We must be completely missing the point, as we’re still no nearer a solution. The MultiTestApp.exe seems to allow us to select a line by just clicking attach phone but all attempts to do the same in code achieve nothing.

Are there any pointers you could give us or even some simple code example that would show us how to connect the handset to a given line?

Regards

Bill

Back to Top
Bill View Drop Down
Newbie
Newbie
Avatar

Joined: Mar 11 2009
Location: Warrington Engl
Posts: 22
  Quote Bill Quote  Post ReplyReply Direct Link To This Post Posted: May 18 2010 at 9:53am
Doron
 
Still struggling with this problem.
This is how we are trying to switch the line but this seems to do nothing?
 
Declare Function WSetTerminal Lib "w2cUSBM.dll" Alias "w2cUsbM_SetTerminal" ( _
    ByVal wDeviceID As Integer, _
    ByVal dwTerminalID As Long, _
    ByVal dwTerminalMode As Long, _
    ByVal dwReserved As Long) As Long
   
Private Const Terminal_Phone As Long = 0
Private Const Terminal_Headset As Long = 1

Public Sub SetTerminal(Deviceid As Integer)
    Dim Rst As Long
    Dim Device As Integer
    Dim Tmode As Long
    Tmode = LINETERMMODE_MEDIAFROMLINE + LINETERMMODE_MEDIATOLINE + LINETERMMODE_HOOKSWITCH
    Device = Deviceid
    Rst = WSetTerminal(Device, Terminal_Phone, Tmode, 0)
    Debug.Print "Set " & Deviceid & " Result " & Rst
End Sub

Bill
Back to Top
doronsh View Drop Down
Way2call
Way2call


Joined: Mar 16 2009
Posts: 70
  Quote doronsh Quote  Post ReplyReply Direct Link To This Post Posted: May 26 2010 at 8:41am

Since you are using TAPI, you should use the TAPI comemndas:

First the Hi-Phone Maestro model should be PWD.

Please email support@way2call.com  the s/n of theHi-Phone Maestro that you using  to verify if it is PWD model.

 

The switch between HEADSET and HANDSET is done using 'phoneSetHookSwitch'.

The routing to each of the 4 lines is done using lineSetTerminal.

Back to Top
  Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.

Copyright ©1997-2010 Way2call Communication, Inc. All Rights Reserved