Updating Presence settings on Buttons via Feature Codes
-
We are using Asternic PRO/DEV
in file /etc/asterisk/extensions_custom_asternic_pauses.conf[asternic-pauses]
exten => *50,1,Answer
exten => *50,n,Set(CHAN=${CUT(CHANNEL,-,1)})
exten => *50,n,Set(CHAN=${CUT(CHAN,/,2)})
exten => *50,n,Set(AMPUSER=${DB(DEVICE/${CHAN}/user)})
exten => *50,n,PauseQueueMember(,Local/${AMPUSER}@from-queue/n,,Lunch)
exten => *50,n,Noop(Pause Status ${PQMSTATUS})
exten => *50,n,GotoIf($["${PQMSTATUS}" = "PAUSED"]?log)
exten => *50,n,Hangup
exten => *50,n(log),QueueLog(NONE,${UNIQUEID},${DB(AMPUSER/${AMPUSER}/cidname)},PAUSE,Lunch)
exten => *50,n,Set(DB(PAUSECUSTOM/AGENT/${AMPUSER})=Lunch:${EPOCH})
exten => *50,n,Hanguppresence on FOP2 is changed to "Lunch" but the label(color) is not
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login