We're updating the issue view to help you get more done. 

Paging hanging up after the beep

Description

Given a paging P with an announcement file
Given I remove the announcement file by setting the `announce_sound` field to an empty string
When I call my paging
Then I hear a beep and the call gets hanged up

The announce_sound has to be null to get the correct behaviour

We can either prevent the `announce_sound` to be an empty string or make an empty string behave as if it was a null.

A migration script will be required here because the DB uses 2 fields to store this information.

`announcement_file` and `announcement_play`

In the current form if someone has entered an announcement sound at any point in time the announcement_play will be 1 and wazo-agid will try to play the playback directory (no filename).

Environment

None

Activity

Show:
Pascal Cadotte
July 7, 2020, 6:50 PM

I’ve attached a patch that can be applied with the following commands

patch -p1 -d/usr/lib/python2.7/dist-packages < WAZO-1854.patch

This will require wazo-agid to be restarted

systemctl restart wazo-agid

Assignee

Pascal Cadotte

Reporter

Pascal Cadotte

Approvers

François Blackburn

Pair

None

Sprint

None

Fix versions

Priority

Medium
Configure