Some providers, like Deutsche Telekom, require the trunk of PBX to enable NAPTR and port 0 for registration. It is very convenient to configure them on the trunk page of Yeastar S-Series PBX directly according to this guide: https://support.yeastar.com/hc/en-us/articles/360014536894-Recommended-SIP-Configuration-for-Deutsche-Telekom.
However, you might find that it is a challenge for you to set them up in Yeastar MyPBX which is an EOS product now: https://www.yeastar.com/eol-policy#eos-product. Port 0 is not available to be configured in its WebGUI directly and the NAPTR cannot be found via trunk page as well. The aim of this guide to provide a possible solution for how to configure NAPTR and port 0 for TCP/UDP in Yeastar MyPBX.
1. How to configure NAPTR in Yeastar MyPBX.
NAPTR records are most commonly used for applications in Internet telephony, for example, in the mapping of servers and user addresses in the Session Initiation Protocol (SIP). The combination of NAPTR records with Service Records (SRV) allows the chaining of multiple records to form complex rewrite rules which produce new domain labels or uniform resource identifiers (URIs). For more info about its working mechanism, please refer to this link: https://en.wikipedia.org/wiki/NAPTR_record.
Please go to PBX>Advanced Settings>General>Enable DNS SRV Look Up, and this is a global setting which is available for all trunks if needed.
2. How to set up port 0 in Yeastar MyPBX.
Port 0 is used to query the provider for registration port required but you can not configure it on MyPBX WebGUI directly since the port value should be included in the range of 1-65535.
Below are the detailed steps for configuring port 0 in SSH of MyPBX.
Login the SSH of MyPBX:
Locate to the customized path with below 2 commands.
Paste the below content under this path via click I, trunk-Provider Name(here takes 192.168.9.184 as an example):
port = 0
Save the change and make it take effect.
Done and the port should be changed to 0.