I'm working on my Freeswitch project for a few days. The call flow is almost done. The problem is changing the Call Center Agent status to Logged Out to skip the Agent of being called in the queue. I tried to change the status in the extension do-not-disturb (*78) in the dialplan. But that does not work:
res=${callcenter_config(agent set status user_${caller_id_number}@${domain_name} 'Logged Out')}
Is the data code wrong or is there any easier way to fix this (eg. via device button DND)?
EDIT:
The prepix for the users: user_
The code works now.
res=${callcenter_config(agent set status user_${caller_id_number}@${domain_name} 'Logged Out')}
Is the data code wrong or is there any easier way to fix this (eg. via device button DND)?
EDIT:
The prepix for the users: user_
The code works now.
Attachments
Last edited: