basically I need to complete an action when the call enters in a certain state. Example: I initiate a call and when it enters in “ringing” state, I need to hang it up, so the called phone doesn’t answer it but only gets the acknowledgement it was called.
I’ve tried to set the WaitTime to limit the ringing duration, but due to floating connection time between my pbx and destination phone, which is made through several gates, ringing state can be too long. In CLI I can see when the call enters into ringing state, but I could not find any method to set some action when it gets there.
I was wondering if anyone did some similar stuff in the past or have an idea how to do it.
Thanks in advance.