Skip to main content

API Functions to add Trunk

Posted by NickJ on Thu, 02/01/2018

Hi Thirdlane team,
Is there an API function to add a SIP Trunk?
At the moment I'm doing the integration by generating SQL queries, but I'd much rather use the API,
API has been great so far, but if it's not complete I may as well just use SQL for everything,
Nick


Submitted by NickJ on Sun, 03/03/2019 Permalink

Hi TL team,
Is this in the works? I can see a bunch more stuff I can manage from the API but still no trunks.

Submitted by eeman on Tue, 03/19/2019 Permalink

trunks would not be something you would add on a constant basis, why would you want need this? It sounds like your carrier is not asterisk compatible if your trying to create a separate trunk for each tenant and that asterisk would actually use them all. Any incoming call from the same registered IP would identify to the first trunk in the list, its not going to decide it really should be for tenant Z. Its 1 trunk per endpoint and those usually get setup manually.