Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

I can't use lineGetID() to get DeviceID,help me please

Now we use the callmanaer and want to do so ,when a user dial a number ,he can listen a dialog or music etc..

Develop tookiet : Microsoft TAPI tookiet.

TSP-------Cisco IP PBX Service Provider

The process is as that :

1,init TAPI

lineInitializeEx()---success

2,lineNegotiateAPIVersion()--success

3,lineNegotiateExtVersion()--success

4,lineOpen£¨£©--success

5,lineMakeCall£¨£©--success

6,lineGetID£¨£©--fail

Use function:

lineGetID(0,0,(HCALL)hDevice,LINECALLSELECT_CALL,"wave/out"£©

is between dwMessage=LINECALLSTATE_CONNECTED of lineCallbackFunc£¨£©

Question:

1,Ask if Cisco TSP has it's special feature? How to solve it?

1 REPLY
New Member

Re: I can't use lineGetID() to get DeviceID,help me please

I assume you have configured TSP correctly. You can only get your wave out/in deviceclass through CTI Port. It won't work on stations. You should be get linegetid once you open CTI Port.

- lineinitializeEx

- lineopen

-linegetid

you don't have to wait till stations are connected.

Beware the number of automated lines entered in tsp you should have same number of CTI Ports.

Agam

220
Views
0
Helpful
1
Replies
CreatePlease login to create content