I am getting issues with $rtpaudioqos log printing in Master.csv
Scenario 1 :
Agent A started the conference
Invited Agent B via call files
Agent A and Agent B are in conference 4. Agent A hangup conference (I have written Hangup handler to terminate conference) 5. $rtpaudioqos is getting printed perfectly in log file
Scenario 2 : issue arises in this scenario
Agent A started the conference
Invited Agent B via call files
Agent A and Agent B are in conference 4. Agent B hangup conference 5. $rtpaudioqos is not printed
I am using h extension as below for logging
exten => h,1,Set(CDR(userfield)= Quality:${RTPAUDIOQOS} R/W:${CHANNEL(audioreadformat)}/${CHANNEL(audiowriteformat)} N:${CHANNEL(audionativeformat)} Priority : ${PRIORITY})
I am curious to know that why $rtpaudioqos is not logged in Scenario 2 !!!
You haven’t shown the full dialplan or how you are originating. If the channel doesn’t go to the dialplan, for example, then the ‘h’ extension won’t work. This is why it’s better to use hangup handlers[1] since they follow the channel and will execute even if dialplan isn’t entered.