Skip to content

Commit

Permalink
uas bye uses wrong transport
Browse files Browse the repository at this point in the history
  • Loading branch information
Oussama EL Bacha authored and emiago committed Sep 6, 2024
1 parent 14cb199 commit ebf26a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dialog_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ func (s *DialogServerSession) Bye(ctx context.Context) error {
cont := req.Contact()
// TODO Contact is has no resolvable address or TCP is used, then address should be source due TO NAT
bye := sip.NewRequest(sip.BYE, cont.Address)
bye.SetTransport(req.Transport())

tx, err := s.TransactionRequest(ctx, bye)
if err != nil {
Expand Down

0 comments on commit ebf26a4

Please sign in to comment.