*45 does not play toggle confirmation message

Hello,

When an agent press *45 to toggle it’s dynamic agent status in queues he is registered to, there is no “agent logged in” message.

Since the option is a toggle, it’s very hard to know if the agent is logged or not.

1- Any reasons for to not play the agent greeting?
2- Is there a way to have two different star code to log in and out?

Thanks,
-Relaxe

Bump?

Logs? Versions? The sound file should be getting played, followed by the extension number; I don’t recall seeing any option to disable it in the queue setup. Do you get other built-in Asterisk sounds playing okay? Is the feature code enabled?

I have the same problem.

User is logged in (get calls from queue) but there is no confirmatin message when loggin in or out, just silence.

Also the BLF lamp doesnt light up.

BLF lamp and asterisk messages working in other functions like follow me.

Im using snom 370, FreePBX 2.11.0.11 with Asterisk 11.

Here is some logs whats happening when somebody use *45 code:

[2013-09-29 17:14:23] VERBOSE[1828][C-000086f3] netsock2.c: == Using SIP RTP TOS bits 184 [2013-09-29 17:14:23] VERBOSE[1828][C-000086f3] netsock2.c: == Using SIP RTP CoS mark 5 [2013-09-29 17:14:23] VERBOSE[1816] chan_sip.c: == Extension Changed 903[ext-local] new state InUse for Notify User 903 [2013-09-29 17:14:23] VERBOSE[1816] chan_sip.c: == Extension Changed 903[ext-local] new state InUse for Notify User 008 [2013-09-29 17:14:23] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [*45903*[email protected]:1] Set("SIP/903-00000089", "QUEUENO=900") in new stack [2013-09-29 17:14:23] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [*45903*[email protected]:2] Goto("SIP/903-00000089", "app-queue-toggle,s,start") in new stack [2013-09-29 17:14:23] VERBOSE[1931][C-000086f3] pbx.c: -- Goto (app-queue-toggle,s,1) [2013-09-29 17:14:23] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:1] Answer("SIP/903-00000089", "") in new stack [2013-09-29 17:14:23] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:2] Wait("SIP/903-00000089", "1") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:3] Macro("SIP/903-00000089", "user-callerid,") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:1] Set("SIP/903-00000089", "TOUCH_MONITOR=1380467663.69057") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:2] Set("SIP/903-00000089", "AMPUSER=903") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/903-00000089", "0?report") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:4] ExecIf("SIP/903-00000089", "1?Set(REALCALLERIDNUM=903)") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:5] Set("SIP/903-00000089", "AMPUSER=903") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:6] Set("SIP/903-00000089", "AMPUSERCIDNAME=") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:7] GotoIf("SIP/903-00000089", "1?report") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Goto (macro-user-callerid,s,15) [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:15] GotoIf("SIP/903-00000089", "0?continue") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:16] Set("SIP/903-00000089", "__TTL=64") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:17] GotoIf("SIP/903-00000089", "1?continue") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Goto (macro-user-callerid,s,28) [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:28] Set("SIP/903-00000089", "CALLERID(number)=903") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:29] Set("SIP/903-00000089", "CALLERID(name)=Rickard Nilsson") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:30] Set("SIP/903-00000089", "CDR(cnum)=903") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:31] Set("SIP/903-00000089", "CDR(cnam)=Rickard Nilsson") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:32] Set("SIP/903-00000089", "CHANNEL(language)=en") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:4] Set("SIP/903-00000089", "QUEUESTAT=LOGGEDOUT") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:5] AGI("SIP/903-00000089", "queue_devstate.agi,getqueues,903") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/queue_devstate.agi [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: initiating queue: 900 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: No Matches [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Agent 775 is dynamic [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Agent 775 is assigned to queue 900 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Finished processing members for 900 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: initiating queue: 770 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: No Matches [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Agent 903 is dynamic [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Agent 903 is assigned to queue 770 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Finished processing members for 770 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Finished sorting [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Getting Queue Status for user 903 in queue 900 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- queue_devstate.agi,getqueues,903: Agent 903 is LOGGEDOUT [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] res_agi.c: -- AGI Script queue_devstate.agi completed, returning 0 [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:6] GotoIf("SIP/903-00000089", "1?activate") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Goto (app-queue-toggle,s,15) [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:15] NoOp("SIP/903-00000089", "Agent Logged In") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:16] Macro("SIP/903-00000089", "toggle-add-agent,") in new stack [2013-09-29 17:14:24] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:1] Wait("SIP/903-00000089", "1") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:2] Macro("SIP/903-00000089", "user-callerid,SKIPTTL,") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:1] Set("SIP/903-00000089", "TOUCH_MONITOR=1380467663.69057") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:2] Set("SIP/903-00000089", "AMPUSER=903") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/903-00000089", "0?report") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:4] ExecIf("SIP/903-00000089", "0?Set(REALCALLERIDNUM=903)") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:5] Set("SIP/903-00000089", "AMPUSER=903") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:6] Set("SIP/903-00000089", "AMPUSERCIDNAME=") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:7] GotoIf("SIP/903-00000089", "1?report") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Goto (macro-user-callerid,s,15) [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:15] GotoIf("SIP/903-00000089", "1?continue") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Goto (macro-user-callerid,s,28) [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:28] Set("SIP/903-00000089", "CALLERID(number)=903") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:29] Set("SIP/903-00000089", "CALLERID(name)=Rickard Nilsson") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:30] Set("SIP/903-00000089", "CDR(cnum)=903") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:31] Set("SIP/903-00000089", "CDR(cnam)=Rickard Nilsson") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:32] Set("SIP/903-00000089", "CHANNEL(language)=en") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:3] Set("SIP/903-00000089", "CALLBACKNUM=903") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:4] GotoIf("SIP/903-00000089", "0?invalid") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:5] ExecIf("SIP/903-00000089", "1?AddQueueMember(900,Local/[email protected]/n,,,,hint:[email protected])") in new stack [2013-09-29 17:14:25] NOTICE[1931][C-000086f3] app_queue.c: Added interface 'Local/[email protected]/n' to queue '900' [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:6] ExecIf("SIP/903-00000089", "0?AddQueueMember(900,Local/[email protected]/n,,,)") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:7] UserEvent("SIP/903-00000089", "AgentLogin,Agent: 903") in new stack [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: -- Executing [[email protected]:8] QueueLog("SIP/903-00000089", "900,MANAGER,,ADDMEMBER,") in new stack [2013-09-29 17:14:25] WARNING[1931][C-000086f3] app_queue.c: QueueLog requires arguments (queuename,uniqueid,membername,event[,additionalinfo]) [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] app_macro.c: == Spawn extension (macro-toggle-add-agent, s, 8) exited non-zero on 'SIP/903-00000089' in macro 'toggle-add-agent' [2013-09-29 17:14:25] VERBOSE[1931][C-000086f3] pbx.c: == Spawn extension (app-queue-toggle, s, 16) exited non-zero on 'SIP/903-00000089' [2013-09-29 17:14:25] VERBOSE[1816] chan_sip.c: == Extension Changed 903[ext-local] new state Idle for Notify User 903 [2013-09-29 17:14:25] VERBOSE[1816] chan_sip.c: == Extension Changed 903[ext-local] new state Idle for Notify User 008

Also I use the Device and user mode, option “Dynamically Generate Hints” set to true.

[2013-09-29 17:42:53] WARNING[2199][C-00000009] app_queue.c: QueueLog requires arguments (queuename,uniqueid,membername,event[,additionalinfo])

Is the only warning I get.

We have 5 FreePBX boxes in a VMware configuration; three were fresh installs. After uploading the restore file, the problem replicates on ALL boxes. What puzzles me is the server the original restore file was generated from worked fine until it was accidentally restored by someone who confused browser windows. Another unrelated issue is after restoring the servers, voicemail accounts were disabled. Sound files permissions (/var/lib/asterisk/sounds/en/) are “664” and have “asterisk” for both group & owner attributes. To my knowledge, no file attributes have been changed. Hopefully this information helps developers rule out some variables to this problem. Feel free to contact me with questions or experimental solutions.

This seems to be the problem for me too, when I roolback the VM machine, its working.

Seems that restoring from another server broked something.

We don’t have device and user mode and it works fine; looks like it goes into a whole different context. Maybe there’s a problem in the dialplan for device/user mode?

*CLI> dialplan show *45*[email protected] [ Included context 'ext-queues' created by 'pbx_config' ] '_*45*X.' => 1. Goto(app-all-queue-toggle,s,start) [pbx_config]

-= 1 extension (1 priority) in 1 context. =-

*CLI> dialplan show app-all-queue-toggle
[ Context ‘app-all-queue-toggle’ created by ‘pbx_config’ ]
‘s’ => 1. Answer() [pbx_config]
2. Wait(1) [pbx_config]
3. Macro(user-callerid,) [pbx_config]
4. AGI(queue_devstate.agi,getall,${AMPUSER}) [pbx_config]
5. GotoIf($["${QUEUESTAT}" = “NOQUEUES”]?skip) [pbx_config]
6. Set(TOGGLE_MACRO=${IF($["${QUEUESTAT}"=“LOGGEDOUT”]?toggle-add-agent:toggle-del-agent)}) [pbx_config]
7. Set(STATE=${IF($["${QUEUESTAT}"=“LOGGEDOUT”]?INUSE:NOT_INUSE)}) [pbx_config]
8. Set(LOOPCNTALL=${FIELDQTY(USERQUEUES,-)}) [pbx_config]
9. Set(ITERALL=1) [pbx_config]
[begin] 10. Set(QUEUENO=${CUT(USERQUEUES,-,${ITERALL})}) [pbx_config]
11. Set(ITERALL=$[${ITERALL}+1]) [pbx_config]
12. Macro(${TOGGLE_MACRO},) [pbx_config]
13. Gosub(app-queue-toggle,sstate,1()) [pbx_config]
14. GotoIf($[${ITERALL} <= ${LOOPCNTALL}]?begin) [pbx_config]
[skip] 15. [b]ExecIf($["${QUEUESTAT}"=“LOGGEDIN” | “${QUEUESTAT}”=“NOQUEUES”]?Playback(agent-loggedoff)) [pbx_config][\b]
16. ExecIf($["${QUEUESTAT}"=“LOGGEDOUT”]?Playback(agent-loginok)) [pbx_config]
17. ExecIf($["${QUEUESTAT}"=“LOGGEDOUT”]?SayDigits(${AMPUSER})) [pbx_config]
18. Macro(hangupcall,) [pbx_config]

-= 1 extension (18 priorities) in 1 context. =-