Differentiating between Inbound and Outbound call

Hi

I tried used interaction.getType() to determine whether call is inbound or outbound. However, for both scenarios interaction.getType() returns PhoneCall…

Appreciate if someone can advise.

Thanks in advance!

Hi,

Maybe it’s a bit confusing but interaction.getType() returns “PHONE_CALL_OUTBOUND” (int 6) for outbound calls and “PHONE_CALL” (int 0) for inbound calls.

R.

1 Like