Getting the value of ${SIP_HEADER(From)} into stasis application


I have the context below in the dialplan

exten => s,1,NoOp(Sip FRom: {SIP_HEADER(From)}) same => n,Stasis(myapp, {SIP_HEADER(From)})
same => n,Hangup()
The purpose is in the application myapp, there is a condition by the value of {SIP_HEADER(From)}. Is it any way to send this value in the stasis as argument, I try this syntax but it gives me "{SIP_HEADER(From)}" not the value.

Thank you so much

With the given dialplan it is passed as the first argument to the ARI application. How that is accessed is dependent on the application itself - if it’s using a library, or something else.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.