mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
revise freeswitch_agent low_balance_ann_file command
This commit is contained in:
committed by
Dan Christian Bogos
parent
0bf255c8fb
commit
be08b1d07b
@@ -524,7 +524,7 @@ func (fsa *FSsessions) V1WarnDisconnect(ctx *context.Context, args map[string]an
|
|||||||
utils.Logger.Err(fmt.Sprintf("<%s> %s", utils.FreeSWITCHAgent, err.Error()))
|
utils.Logger.Err(fmt.Sprintf("<%s> %s", utils.FreeSWITCHAgent, err.Error()))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if _, err = fsa.conns[connIdx].SendApiCmd(fmt.Sprintf("uuid_broadcast %s playback!manager_request::%s aleg\n\n", channelID, fsa.cfg.LowBalanceAnnFile)); err != nil {
|
if _, err = fsa.conns[connIdx].SendApiCmd(fmt.Sprintf("uuid_broadcast %s playback::%s aleg\n\n", channelID, fsa.cfg.LowBalanceAnnFile)); err != nil {
|
||||||
utils.Logger.Err(fmt.Sprintf("<%s> Could not send uuid_broadcast to freeswitch, error: %s, connection id: %v",
|
utils.Logger.Err(fmt.Sprintf("<%s> Could not send uuid_broadcast to freeswitch, error: %s, connection id: %v",
|
||||||
utils.FreeSWITCHAgent, err.Error(), connIdx))
|
utils.FreeSWITCHAgent, err.Error(), connIdx))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user