< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
Hi Scott, Thank you very much for your feedback. I have to admit that implementation using application timers seems quite easier to me, anyway I like your design that relies on ClientOptions
and ServerOptions classes as OOD-specific handlers. I’ll think about your suggestions and, if I decide for DUM changes, I will submit a pull request to dev list. Best regards, Dario From: slgodin@xxxxxxxxx [mailto:slgodin@xxxxxxxxx]
On Behalf Of Scott Godin Hi Dario, Out-of-dialog requests by definition do not form dialogs, so there is no real need to have increasing C-Seq numbers, since no far end should be looking for that. However perhaps you want to do this to be like other OOD requests (ie: Publish
or Register). I've always just implemented timed OPTION pings using an application timer and not worrying about sequential CSeq's. As for implementing with DUM itself. I'm not keen on the idea of assuming that OOD requests have a concept that requires refreshing. ie: Having a refreshTime parameter on an makeOutOfDialogRequest API, is a little odd. Since using OPTIONs
for keepalive pings seems to be a pretty common practice, I'm not opposed to adding a specific ClientOptions class (like ClientPublication or ClientRegistration), and potentially a similar ServerOptions handler. In this case OPTION messages would no longer
to be handled by OutOfDialog handlers, they would go to the specific handler. For backwards compat, we could have it fallback to the OOD handler if the app doesn't specify a specific OPTIONs handler. Then we could expose on DialogUsageManager to makeOptionsRequest
with a refresh parameter (an all the other parameters). Cheers, Scott On Mon, Dec 19, 2016 at 5:12 AM, Dario Bozzali <Dario.Bozzali@xxxxxxxxxxx> wrote:
|