Skip to content

Commit

Permalink
WTEL-4809; upgrade golang
Browse files Browse the repository at this point in the history
  • Loading branch information
i.navrotskyj committed Jul 26, 2024
1 parent 0749f15 commit 931b082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/webitel/call_center

go 1.19
go 1.22.0

require (
buf.build/gen/go/webitel/cc/grpc/go v1.3.0-20240425073914-85c52be6ff00.2
Expand Down
2 changes: 1 addition & 1 deletion queue/attempt.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (a *Attempt) ExportVariables() map[string]string {
res := make(map[string]string)
for k, v := range a.member.Variables {
//todo is bug!
if a.channel == model.QueueChannelCall && !strings.HasPrefix(k, "sip_h_") {
if a.channel == model.QueueChannelCall && !strings.HasPrefix(k, "sip_h_") && !strings.HasPrefix(k, "wbt_") {
res[fmt.Sprintf("usr_%s", k)] = fmt.Sprintf("%v", v)
} else {
res[k] = fmt.Sprintf("%v", v)
Expand Down

0 comments on commit 931b082

Please sign in to comment.