Skip to content

Commit

Permalink
Remove duplicate rtpproxy heartbeat variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
bambyster committed Jun 6, 2024
1 parent bb653a2 commit 331d29f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/b2bua_radius/my_config_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ type myConfigParser struct {
B2bua_socket string
Foreground bool
Hide_call_id bool
Hrtb_retr_ival int
Hrtb_ival int
Keepalive_ans int
Keepalive_orig int
Logfile string
Expand Down Expand Up @@ -302,8 +300,8 @@ func (self *myConfigParser) Parse() error {
if err != nil {
return err
}
self.Hrtb_ival_dur = time.Duration(self.Hrtb_ival) * time.Second
self.Hrtb_retr_ival_dur = time.Duration(self.Hrtb_retr_ival) * time.Second
self.Hrtb_ival_dur = time.Duration(self.Rtpp_hrtb_ival) * time.Second
self.Hrtb_retr_ival_dur = time.Duration(self.Rtpp_hrtb_retr_ival) * time.Second
self.Config = sippy_conf.NewConfig(error_logger, sip_logger)
self.SetMyPort(sippy_net.NewMyPort(strconv.Itoa(self.Sip_port)))
if auth_disable {
Expand Down

0 comments on commit 331d29f

Please sign in to comment.