Skip to main content

Hi, I’m subscribed to Telephony Session events through webhook. receiving bunch of events. I want to identify a call which is received after Business hours, is there any flag in the Telephony event data to identify this ?

@PhongVu could you please help me here. 


The telephony event does not tell you about the call handling rule. You will need to implement your own logic to detect that. E.g. you can call this API to detect the company business hour, or even better call the company or the user call handling rule API (ruleId = business-hours-rule) (double check and convert to UTC time if needed). Then when you receive telephony events, convert the call time to date/hours and compare with the business hours to verify the call.


Reply