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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Jan 15 19:47:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-24688:
-----------------------------------

    Status: Open  (was: Triage)

> 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