Bulk change of trunks setting

Hello!
FreePBX 15.0.17.55

Is there any way to bulk change of trunks setting (username\secret at PEER Details on outgoing and “Register String” and “USER Context” on Incoming)?
I have 50 trunks to change

Thanks
Aleks

Not really. The idea of a business PBX having 50 trunks probably wasn’t high on a list as it is highly uncommon. Also, you really shouldn’t be using Chan_SIP for this anymore specially if most of those 50 trunks are just to have a single IP peer host setup.

The best you’re going to do is by updating details in the sip table in the database and reloading to write out updated configs.