[sr-dev] [tracker] Comment added: pua_dialoginfo: set PUBLISH R-URIs via AVPs

sip-router admin at sip-router.org
Tue Jan 10 23:19:54 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#197 - pua_dialoginfo: set PUBLISH R-URIs via AVPs
User who did this - Jasmin Schnatterbeck (jasmin)

----------
That's also possible, but I think it's a question of the underlying concept - e.g.: normally, a request consists of 3 URIs (from/to/req) and those requests, whose to-Uri==req-Uri are a special kind of request. The idea is to natively represent the information content of the "most regular" request with the structure, but with having the ability to store "special" requests (req uri==to uri) in an efficient way.
So, when sending the requests, the r-uris are obtained using pubruris_caller/callee. The part of code that generates the request (dlg cb) does not have to care about to choose between variables for to-uri and req-uri for each request that is being sent - that is, indeed, not necessary.
But the structure of the memory blocks, the shm pointers reference to, are different depending on whether using the feature or not. In the first case, it is "struct str_list + uristring", in the last case it is "struct str_list" only - and this str_list is not really necessary (in the last case), but makes it possible to have a unique format for the publish-information... and therefore it helps to separate the tasks "collect/decide about request information" and "send requests".

Right, if the feature is enabled (via module parameter) it's responsibility (and freedom) of the script writer to choose appropriate PUBLISH request URIs, that includes the case to not send any PUBLISH request to anyone.

jasmin
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=197#comment491

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list