mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
Finish initegration test for new session update
This commit is contained in:
committed by
Dan Christian Bogos
parent
32363d7913
commit
05cf7db8d5
@@ -378,6 +378,14 @@ func startDiameterAgent(internalSsChan chan rpcclient.RpcClientConnection,
|
||||
}
|
||||
if sSInternal { // bidirectional client backwards connection
|
||||
sS.(*utils.BiRPCInternalClient).SetClientConn(da)
|
||||
var rply string
|
||||
if err := sS.Call(utils.SessionSv1RegisterInternalBiJSONConn,
|
||||
utils.EmptyString, &rply); err != nil {
|
||||
utils.Logger.Crit(fmt.Sprintf("<%s> Could not connect to %s: %s",
|
||||
utils.DiameterAgent, utils.SessionS, err.Error()))
|
||||
exitChan <- true
|
||||
return
|
||||
}
|
||||
}
|
||||
if err = da.ListenAndServe(); err != nil {
|
||||
utils.Logger.Err(fmt.Sprintf("<DiameterAgent> error: %s!", err))
|
||||
|
||||
Reference in New Issue
Block a user