I’m new to Askerisk, and to these forums, and I’m hoping someone here will kindly help me.
Despite much searching, I am unclear on the scope of DYNAMIC_FEATURES, it’s precise effect on each call-participant, and how it can be used to dynamically control the features available in bridged SIP call.
What is the scope of DYNAMIC_FEATURES?
Is it possible for two bridged SIP channels to each have different applicationmap features available whilst connected in the same call?
If the answer to question 2 is “yes”, how can the available features can be dynamically changed, during the call, independently for each party? Either by using feature codes (as I’ve been testing with) or, perhaps, from an external application (which I have not tried - how?)
I’m running Asterisk 22.214.171.124 / ubuntu / VMWare.
What I’ve found so far, by experimenting, is a distinct value can be set/retrieved for DYNAMIC_FEATURES, for each of the two SIP parties in a bridged call. However, and this is where I’m slightly confused, if a feature is included in DYNAMIC_FEATUES for just one peer on the call (it doesn’t seem to matter which), it seems that both parties can access that feature.
FYI: In my experiments, I’ve added a couple of feature codes to allow each party to set the value of DYNAMIC_FEATURES for self or peer, along with feature codes to display the values in the CLI. My “test” feature simply invokes the “Morsecode” application to send “SOS” to the peer. The features to display diagnostic info (including the value for each peer’s DYNAMIC_FEATURES) invoke a dialplan macro - on peer or self, depending on which feature code is entered.
Thanks, in advance, for any help or guidance.