[Home]

Summary:ASTERISK-24688: res_pjsip: Add a "run once" ability to supplements
Reporter:Kevin Harwell (kharwell)Labels:
Date Opened:2015-01-14 11:55:11.000-0600Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Resources/res_pjsip
Versions:SVN 13.18.4 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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.
Comments: