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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 18 06:15:07 CST 2017


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

Joshua Colp updated ASTERISK-24688:
-----------------------------------

    Affects Version/s: 13.18.4

> 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, 13.18.4
>            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