I am trying to pull the phone number of an Inbound active phone number routed through a call Queue for an user. I am currently using Get User Active Call to try and pull that number. It seems to work for direct calls to and from User to Client and in call Queues if the inbound phone call is ignored by users. the issue is that if a user is busy and the systems moves to the next person or if a user declines a call, the User Active Call record changes to an outbound phone call and does not have the needed phone number anymore. How can I get the external phone number that I need when the record changed from Inbound to Outbound. The phone number I am trying to get is +12222222222
What I expect:
type: Voice
internalType: LocalNumber
direction: Inbound
action: Phone Call
result: In Progress
to: {
name: Test Queue
phoneNumber: +1111111111
location: Abbyville , KS},
from: {
name: Test Queue - Sam Smith
phoneNumber: +1222222222
location: Town, St},
What I am getting:
internalType: Sip
direction: Outbound
action: VoIP
Call result: In Progress
to: {
"phoneNumber" : "+19998887777",
"extensionNumber" : "1111",
"location" : ", KS" },
from: {
"name" : "Sam Smith",
"extensionNumber" : "1111",