Page 1 of 1

agent alert filename not being played

PostPosted: Sun Apr 17, 2016 2:41 am
by callforamerica
Hi,

I'm working on upgrading my cluster. I've reinstalled fro Vicibox 6 ISO:

VERSION: 2.12-538a
BUILD: 160122-1401

However, the in-group setting "Agent Alert Filename" when specified is not being played at all.

I don't see it trying in the CLI either.

When a call is connected, I only hear the meetup default "dupe" sound, but not the custom one that I specified.

I've been using this feature for years in ViciBox 3, but no luck after the upgrade. Did I bump into a bug in a older release or something?

Re: agent alert filename not being played

PostPosted: Sun Apr 17, 2016 4:28 am
by callforamerica
Update: It works. It just doesn't work when your phone "Client Protocol" is defined as "EXTERNAL". When I changed it back to "SIP" it started working again.

Im experimenting with using Freeswitch to register all phones to only one server, and then asterisk speaks to Freeswitch when it has a incoming call.

I added to vicidial, a dial plan & account carrier entry of:


exten => _XXXX,1,Dial(SIP/freeswitch/${EXTEN})
exten => _XXXX,n,Hangup

[freeswitch]
type=peer
host=my.free.switch.ip
port=5080
disallow=all
allow=ulaw
trustrpid=yes
sendrpid=yes
context=default

When I was using SIP as the phone's client protocol I couldn't get this to work, then when I changed the client protocol to "EXTERNAL" it started to do the call handoffs to freeswitch properly. So I have left that setting ever since.

Now that I know that this is expected behavior, can anyone think of another way to do this using the 'SIP' protocol client setting in the phone, so that I could keep the Agent Alert functionality? Perhaps there's a better dial plan I could use to make this happen.

Re: agent alert filename not being played

PostPosted: Sun Apr 17, 2016 6:07 am
by callforamerica
Update: After I added just one extension (5002) as a protocol of SIP, it started to work again. Previously I didn't have a single phone defined with SIP, all with EXTERNAL. After making one dummy phone it must have modified the dial plan or something to make it work..

Re: agent alert filename not being played

PostPosted: Sun Apr 17, 2016 10:31 am
by williamconley
Interesting postback. Does it stop working if you delete the dummy phone? (Not sure if I'd try it, LOL)