well the order of some of the steps can be interleaved depending on how the application wants to behave so bear in mind there is variability here.
1) create a session a single session is all that is required This must be done first.
At this point the actions for one deviceID can be interleaved with those for a different deviceID.
2) create deviceIDs for the stations you wish to monitor for events.
3) create monitors for each class of events you want to receive. if you want phone events and call control events, two monitors per deviceID will be required. Each monitor will require a listener to be specified.
4) if you want 1st party events (e.g. phone) you will need to register each of the deviceIDs. 3rd party events (i.e. call control) do not need the deviceID to be registered.
If you need to register a lot of stations, you need to pace them, you can not issue 100 register station requests back to back without creating performance issues. The rate at which registrations can be done is laid out in the AE Services Overview documentation and varies based on the server platform used and release being used.
|