sipgo icon indicating copy to clipboard operation
sipgo copied to clipboard

SIP Dialog Session Persistence ?

Open leeyongda opened this issue 2 years ago • 1 comments

图片

leeyongda avatar Feb 27 '24 09:02 leeyongda

Hi @leeyongda it is on roadmap. There is also transaction for even more HA. So this both will probably land replaced with some interface implementation.

emiago avatar Feb 27 '24 20:02 emiago

@leeyongda as couple of practical examples it is found out that this having as part of lib would not help. Now there is DialogUA struct, which is only dealing with generating dialog. A In other words, lib will provide you with correct RFC to deal with Dialogs. Checkout latest release and Do TransactionRequest`,

You should create your own caching and matching dialogs. In practices you mostly need to add additional logic and caching dialog may have be serialized in different ways. So wrapping in bigger structs is needed.

I am closing this issue, as this wont be fixed. If you are interested I have already upcoming new lib where this problem are solved. So contact me on mail if you need help/consulting.

emiago avatar Sep 08 '24 12:09 emiago