[asterisk-bugs] [JIRA] (ASTERISK-24688) res_pjsip: Add a "run once" ability to supplements

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Jan 14 11:55:34 CST 2015


Kevin Harwell created ASTERISK-24688:
----------------------------------------

             Summary: res_pjsip: Add a "run once" ability to supplements
                 Key: ASTERISK-24688
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24688
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: SVN
            Reporter: Kevin Harwell
            Severity: Minor


It's possible that some supplements should only be run once (for instance: run once for each invite session) and should not be reentered.

As an example a session supplement's "outgoing_request" callback may not need to be called but once for each invite session, but it is called twice if authenticating.

An option making it so the supplement is called only once per session would alleviate this issue when needed.

I'd also suggest doing an audit of the current code and updating any places where this functionality is desired.



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



More information about the asterisk-bugs mailing list