fix sip MatchTrunk call (#2740)

This commit is contained in:
Paul Wells
2024-05-28 19:04:06 -07:00
committed by GitHub
parent 9781d30611
commit bc6dbd98c7
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func (s *IOInfoService) matchSIPTrunk(ctx context.Context, calling, called strin
if err != nil {
return nil, err
}
return sip.MatchTrunk(trunks, calling, called)
return sip.MatchTrunk(trunks, "", calling, called)
}
// matchSIPDispatchRule finds the best dispatch rule matching the request parameters. Returns an error if no rule matched.