Queue calls comes with sound - howto

Hi, I’m having a problem with my autoanswering sip softphones. I need to play f.e beep sound while call comes from queue to agent so they would be noticed of being a part of call with customer. Should I just add some sort of announce in queue before timeoutrestart ?

You must change the file musiconhold.conf

in which part ? where in musiconhold can I add another annoucment that would be heard by agent insted of customer ?

I dont know if such option exist on the queue configuration file, but I think you can use local channels as queue members and the dial command U option : ( x^arg ) - Execute via Gosub the routine x for the called channel before connecting to the calling channel.

Example: Dial with post-answer subroutine executed on outbound channel

[default]
exten => called_channel,1,NoOp()
same => n,Playback(custom-sound)
same => n,Return()

exten => _X.,1,NoOp()
same => n,Dial(SIP/bob,U(default^called_channel^1))
same => n,Hangup()

http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/ACD_id288932.html

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Dial

Do they really need to make outgoing calls? If not, use the AgentLogin mechanism, in which the phone is always live.

If the do, use announce in queues.conf, and/or announce override in the Queue application call.

1 Like

They don’t need to do any outgoing calls, all they need is to be announced with Playback(beep) f.e. while call comes from ACD to them so they would be aware of call being picked up by autoanswering soft phone aplication.

I would say just use gosub option of Queue application to play beep on called party.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Queue
–Satish Barot