Genesys CTI User Forum > Genesys-related Development

Request Query Call Error

<< < (2/3) > >>

cavagnaro:
Well for that you do a Register on the current DN and listen to all events.
When you do a Register, TServer will inform the current State of that DN, which could be a call.

jkaewprateep:
Is there any way to select existing call from the system? because I tried to do the web service that will add business data into some calls that requested by web service. I am avoiding to create another program to monitoring all call.

[b]Question:[/b]
1. Is there anyway to retrieve existing call from system?
2. The program that I tried to do is a web service program and avoid to create another program to monitoring calls in the system. Is there anyway to do this task to this task?

Thanks

cavagnaro:
That depends... Question is for what...
You have Infomart which already has all information about all calls in the system past and present, so you could query them.
But if you want to interact then short answer is no, unless you have a ConnID you can't get info from a DN by querying TServer.


Enviado de meu SM-G9650 usando o Tapatalk

jkaewprateep:
Is there any additional configuration need for call established event and call ringing event? Rightnow I am able to receive the linkconneted event but after that there is no other event come to my program.

jkaewprateep:
I use this instead

Genesyslab.Platform.Voice.Protocols.TServer.Requests.Queries.RequestQueryAddress requestQueryAddress =
                    Genesyslab.Platform.Voice.Protocols.TServer.Requests.Queries.RequestQueryAddress.Create("7012", Genesyslab.Platform.Voice.Protocols.TServer.AddressType.DN,
                    Genesyslab.Platform.Voice.Protocols.TServer.AddressInfoType.CallsQuery);

                Genesyslab.Platform.Commons.Protocols.IMessage respondingEvent1 = tserverProtocol.Request(requestQueryAddress);

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version