You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey!
It looks like the -timeout parameter does not work with TCP transport.
This can be easily reproduced:
# time sipexer -timeout 10000 tcp:8.8.8.8:5060
...
[error] [sipexer.go:1875] main.SIPExerSendTCP(): error: dial tcp4 8.8.8.8:5060: connect: connection timed out
0.01s user 0.00s system 0% cpu 2:11.44 total
# time sipexer -timeout 10000 udp:8.8.8.8:5060
...
[info] [sipexer.go:1616] main.SIPExerDialogLoop(): trying again - new timeout at 3500ms
[info] [sipexer.go:1616] main.SIPExerDialogLoop(): trying again - new timeout at 7500ms
[error] [sipexer.go:1619] main.SIPExerDialogLoop(): error reading - bytes 0 - <nil>
0.00s user 0.00s system 0% cpu 7.535 total
The text was updated successfully, but these errors were encountered:
Hey!
It looks like the
-timeout
parameter does not work with TCP transport.This can be easily reproduced:
The text was updated successfully, but these errors were encountered: