diff --git a/go.mod b/go.mod index dee0a0b..4d60829 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/queue/attempt.go b/queue/attempt.go index 92eacd8..f8b58c0 100644 --- a/queue/attempt.go +++ b/queue/attempt.go @@ -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)