How to disable outbound registration for particular sip trunk?

Issue Description

For particular sip provider, they do not like registration attempt from endpoint, but in call setup request the credentials must be included.

Applicable Devices

Yeastar TB Gateways

Yeastar TE Gateways

Solutions

1. Access ssh of gateway.

2. Edit file /persistent/custom-cfg/gncustom.conf and add /etc/asterisk/siptrunk.conf to context [modifyfile].

3. Create file siptrunk_custom.conf under path /persistent/custom-cfg, copy scripts from /etc/asterisk/siptrunk.conf and paste to siptrunk_custom.conf, add type=endpoint to first line of context [trunk-113] based on siptrunk_custom.conf, 113 indicates sip trunk name.

4. Continue to execute two commands below to make it take effect even system restart or upgrade, but a reset would remove these custom changes and have to do it again.

root@TE100:~# mypbxconf
root@TE100:~# asterisk -rx 'module reload'

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.