I am seeking an issue to a problem with a Trix-box Pro install that according to Trix support team (Matt) requires AGI dev work.
I have a new Trix Pro install that functions as a normal PBX and the connected three hard SIP phones are working as extensions without issue, they can connect to remote parties via a SIP trunk out to a PSTN switch with no problem, the problem that I am trying to fix is when a call arrives from the inward SIP trunk for a telephone number that does NOT match a local Trix extension I would like that same number to be dialled out on the SIP trunk facing PSTN termination. Clearly I cannot predict the number that the end user is going to dial, hence it is not possible to list every destination number.
The objective is for all calls to pass through the Trix server, if the incoming call matches a local extension then deliver the call normally to the local extension, if the called number does not match a local extension then I would like the call routed out to the PSTN via a SIP trunk.
The issue appears that since TrixPro sync’s with a central server it’s not as simple as editing [url removed, login to view], so I would like to understand how this would be possible, I understand that with the development of a AGI script this could be done.
I understand the security implications, and would like to lock this function down to only the internal interface as this is facing a upstream Mobile MSC that is forcing the mobile dialled digits to arrive at Trix with the idea that if I keep Trix in the call path the mobile can be recorded or transferred etc.
If anyone has any thoughts on how this can be done I would be grateful, it could be that I need to find a developer who can do this quickly as it’s a major stumbling in a proof of concept install. Please contact me by email magnusemail at [url removed, login to view] if you can help.