Fundamental design flaw in SIP protocol
drgeoff:
Quote from: Sheffield_Steve on November 23, 2020, 12:02:24 pm
You are almost right.
If the modem is rebooted. Then indeed the connection will not be reestablished until the Obi makes another registration attempt
But, the SIP sever NEVER tries to make a direct connection (calls) to the modem/Obi. If it looses connection it won't attempt to make a call to the OBi until the OBi has re-registered and made a new connection with the server.
Quote from: drgeoff on November 23, 2020, 11:54:16 am
Not quite. The OBi does not contact the SIP server again automatically as soon as the WAN address changes. It only re-registers depending on the time set in Service Providers/ITSP Profile x/SIP/RegisterExpires. Until it re-registers the SIP server will indeed try to send calls to the old WAN address.
How can the SIP server know that connection is lost? It isn't expecting anything from the client until the next re-registration.
JaskHill:
So how do I force the OBI box to immediately send the new WAN IP address to the registration server, after I restart the modem?
Restart the OBI box immediately afterwards ? or make an outgoing call immediately afterwards ?
drgeoff:
Quote from: JaskHill on November 24, 2020, 07:44:25 am
So how do I force the OBI box to immediately send the new WAN IP address to the registration server, after I restart the modem?
Restart the OBI box immediately afterwards ? or make an outgoing call immediately afterwards ?
Wait 2 minutes for the modem to fully reboot after your restart it. Then power cycle the OBi.
Sheffield_Steve:
The SIP server software (like all software) is responsible for any sockets it creates. It typically monitors them periodically using the recv command, but most certainly before sending a SIP message/initiating a call.
Quote from: drgeoff on November 23, 2020, 01:54:43 pm
How can the SIP server know that connection is lost? It isn't expecting anything from the client until the next re-registration.
Navigation
[0] Message Index
[*] Previous page