[SOLVED] How to disable directmedia in all pjsip endpoints

It’s a new feature, you need a very recent ver of core:
https://issues.freepbx.org/browse/FREEPBX-19927

1 Like

Thank you very much, It’s just what I need. I’ll try to test the edge core version.
I just saw that the bug report was created the day before I posted the question and has been resolved yesterday :man_shrugging:.

Thanks,

Well, after updating the core module, it seems that doesn’t work yet.
I configure “Direct Media” to No.

image

But a “pjsip show endpoint XXX” in Asterisk console shows:

direct_media : true

I’ll wait for any update in Sangoma Issue Tracker (I don’t know how can I contribute…)

Thanks,

Works as expected for me. Did you apply config between tests?

[root@lorne14-pro ~]# asterisk -x "pjsip show endpoint 5017" | grep direct_media
 direct_media                       : false
 direct_media_glare_mitigation      : none
 direct_media_method                : invite
 disable_direct_media_on_nat        : false
[root@lorne14-pro ~]# asterisk -x "pjsip show endpoint 5017" | grep direct_media
 direct_media                       : true
 direct_media_glare_mitigation      : none
 direct_media_method                : invite
 disable_direct_media_on_nat        : false

Ouch, I’ve made the silliest mistake. I was connected to the right Freepbx and the wrong asterisk console.
It works fine.

Thanks for the help,

1 Like

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