Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to Aspect 1

Status
Not open for further replies.

scheppsr77

Programmer
Jan 4, 2005
10
US
I'm a web developor and I'm trying to communicate with an Aspect Telset using abcon32.ocx. Is it possible to download any documents about the syntax and/or the protocols of the ocx?

I have managed to log on and off the aspect teleset but I can't figure out how to dial an outside line, which is something I really need to do.


Thanks in advanced,

Sorry for the stupid question.
 
You use the abcon1.placecall method to make an outbound call. The response is handled by the placecall response event. You retrieve that response through Abcon1.get_Response(). You can also use the outside line key to select an outside line and place a call. Initially, you should setup the following sections in your app:

1) CTI connectivity section
2) Agent login
3) Line Key Section (outside 1, outside 2, inside line)
4) Feature Keys Section (ready, wrap-up, transfer, release, hold, and conference).
5) Call detail section (variables, etc.)

If you are loggin onto the teleset, you just need to use the other methods to do what you want as explained above.
 
Thank you so much for your reply. I'm just not getting this. I have been able to use the Functions Keys (hold, transfer, conference, ready, release, wrap-up), but thats it. I can't seem to access the other keys (such as outside line 1, outside line 2, inside line).

Here is two examples of the functions keys....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub TelWrapUp()
Dim iRC
iRC = oCMIWrapper.ProcessKey("F", 2)
sKeyProcessed = "Wrap-Up"
End Sub

Sub TelHold()
Dim iRC
iRC = oCMIWrapper.ProcessKey("F", 3)
sKeyProcessed = "Hold"
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Could you send me an example code of the placecall and placecallresponse?

Also do you know where I can get the docs for the ocx?


Thanks in advanced
 
As follows:
Place Call:
ocmiwrapper.PlaceCall("yourtype", "D", "I", <teleset# ur dialing out from>, "A", <outbound cct>, 0, <phone number>, varA, varb, varC, vard, varE)

Response:
ocmiwrapper.get_Response()
'Returns "A" if successful

For the outside1, outside2, and inside line key use:
ocmiwrapper.ProcessKey("Line2", <teleset#>, "L", 1)
ocmiwrapper.ProcessKey("Line1", <teleset#>, "L", 0)
ocmiwrapper.ProcessKey("Inside",<teleset#>, "L", 2)

The documentation comes with the abcon control.

CIAO~
 
Thank you for the examples. I have tried them and keep gettings a response of "N". I know that "N" is a response I would get is the Aspect Teleset could not perform that function at that time. The "I" respone is an invalid command. So it appears to be a valid command that can't be performed for some reason.

I'm going to do some more research but thank you so much for your help.

Also, would it be possible to email me the docs. I don't have them and my company seems to be really slow at getting them to me.

thanks again
 
Arznrchrd,

Wow you pretty much know this stuff. May I ask how or where you learned how to program Aspect .ocx. I have a lot of work ahead of me and would like to get some training on programming Aspect .ocx.
 
The control has been out for a long time. Just working with it a lot. Aspect has training on it as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top