" /> Differentiating between Inbound and Outbound call - Genesys CTI User Forum

Author Topic: Differentiating between Inbound and Outbound call  (Read 1743 times)

Offline cpoon

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Differentiating between Inbound and Outbound call
« on: July 17, 2009, 08:00:55 AM »
Advertisement
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!

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Differentiating between Inbound and Outbound call
« Reply #1 on: July 17, 2009, 09:21:57 AM »
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.