[asterisk-bugs] [JIRA] (ASTERISK-23885) Abstract PJSIP-specific elements away from the pubsub API

Mark Michelson (JIRA) noreply at issues.asterisk.org
Thu Jun 12 13:29:56 CDT 2014


Mark Michelson created ASTERISK-23885:
-----------------------------------------

             Summary: Abstract PJSIP-specific elements away from the pubsub API
                 Key: ASTERISK-23885
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23885
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
            Reporter: Mark Michelson


In pursuit of incorporating resource list subscriptions into Asterisk, an initial housecleaning step is needed. Currently, SIP notifiers make the assumption that the ast_sip_subscription structure that they operate on is tied directly to a pjsip_evsub structure underneath. However, once resource lists come into play, a notifier may actually be working on a "virtual" ast_sip_subscription that does not have a direct link to a pjsip_evsub.

The idea behind this task is to abstract away direct links between the notifiers and PJSIP. The only PJSIP structures that may remain in the notifier code are PJLIB objects (such as pj_str_t) and certain PJSIP objects that do not necessarily tie directory to a subscription or dialog (pjsip_evsub_state, pjsip_body).

A plan has been outlined on the wiki at https://wiki.asterisk.org/wiki/display/AST/PJSIP+Subscription+Abstraction+Plan . Use this as a guideline for changes to the API. If it turns out that some of the suggested changes do not make sense, feel free to do something else.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list