I've got a WebHook that's successfully receiving subscribed incoming-call-pickup events for an extension when I make a call to it (dev sandbox) ... but ... for each single test call, I seem to receive MANY such events. For example, one call I did a while ago received 18 such events, all for the same call.
So, what I'd like to know is ...
- Is it that I'm somehow not responding to those callbacks properly or something so it keeps sending them? Or is that just normal behaviour?
- If it is normal behaviour, is there a better filter I can use so I only get one event per call with all the call data in it?
- If I do just need to keep receiving multiple events like that, how do I differentiate them? My system needs to be notified, once, for each individual call ... how can I check if an event I receive is for the same call as an event I received earlier, and therefore know to ignore it?
Many thanks for the help!