Connections on the [twilio] PJSIP endpoint do not have the expected CHANNEL channel variable, at least not by the time metric() tries to retrieve them in util.py.
an incorrect value example is CHANNEL=PJSIP/twilio-0000111c
an expected value example is CHANNEL=PJSIP/415-00001b82
WTF is the CHANNEL value being populated differently, is this because of some unfortunate difference in auth/aors or whatever in pjsip.conf?
Instead of figuring out how to fix it maybe we must just stop using that value. We use it downstream to parse out the extension. I didn't want to add any new values if the information was there but it's not worth it to wrestle Asterisk.
Connections on the [twilio] PJSIP endpoint do not have the expected CHANNEL channel variable, at least not by the time metric() tries to retrieve them in util.py.
an incorrect value example is CHANNEL=PJSIP/twilio-0000111c an expected value example is CHANNEL=PJSIP/415-00001b82
WTF is the CHANNEL value being populated differently, is this because of some unfortunate difference in auth/aors or whatever in pjsip.conf?
Instead of figuring out how to fix it maybe we must just stop using that value. We use it downstream to parse out the extension. I didn't want to add any new values if the information was there but it's not worth it to wrestle Asterisk.