[asterisk-bugs] [JIRA] (ASTERISK-29973) GET PJSIP HEADER IN THE BYE OF A MANUAL DIAL
Luiz Lima (JIRA)
noreply at issues.asterisk.org
Thu Mar 17 20:16:07 CDT 2022
Luiz Lima created ASTERISK-29973:
------------------------------------
Summary: GET PJSIP HEADER IN THE BYE OF A MANUAL DIAL
Key: ASTERISK-29973
URL: https://issues.asterisk.org/jira/browse/ASTERISK-29973
Project: Asterisk
Issue Type: Information Request
Security Level: None
Components: pjproject/pjsip
Affects Versions: 16.25.0
Reporter: Luiz Lima
Severity: Critical
HI,
I'VE BEEN GOING THROUGH A DIFFICULTY FOR DAYS. I TRY TO GET THE HEADER OF A CALL, BUT AT THE END OF IT I RECEIVE A HEADER WITH THE CALL CLASSIFICATION. THIS INFORMATION COMES AT THE END OF THE CALL.
HOW COULD I GET THIS VALUE FROM THE HEADER I'M TRYING LIKE THIS BUT IT ALWAYS COMES EMPTY.
HOW IT COMES IN THE BYE I'M TRYING TO GET THE VALUE IN THE CONTEXT "H"
exten => h,1,Noop( == Hangup Cause: ${HANGUPCAUSE} == )
same => n,Set(_Analytics=${PJSIP_HEADER(read,X-Khomp-Analytics-CC)})
same => n,Set(_Pattern=${PJSIP_HEADER(read,X-Khomp-Analytics-CC-Pattern)})
same => n,Set(_Locale=${PJSIP_HEADER(read,X-Khomp-Analytics-CC-Pattern-Locale)})
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list