Open wmasilva opened 2 weeks ago
hi,
I'm trying to reproduce it on a lab machine but i can't.. cant find the conditions to force it..
Searching in the code, the reason seams to be that the gateway was not identified or missing result from the OPTIONS:
In sofia_reg.c its set to 1 the value "pinging" before sending the "OPTIONS"
and it's reset at sofia.c when receiving the OPTIONS result:
I think that would be to ok to reset the pinging state directly in sofia_reg_check_gateway after a timeout or remove pinging control (we already have a ping_freq to avoid send simultaneous OPTIONS), what do you think is better?
using TLS connection the gateway pinging status remains active and no options are sent after restarting the connection on the remote side.
From the other side OPTIONS are sent and FS replies with ACK correctly. Restarting the gateway in FS solves the issue.