Hi All, i’m having some issue with configuring multi-tenant SIP trunks. The setup I prefer is to configure a SIP trunk for each tenant i create. Our provider uses a SIP trunks with different authentication for each seperate trunk.
I have configured a trunk on the main tenant and everything is working fine, inbound and outbound. When I configure a new tenant with SIP trunk I can add and register this trunk (as it seems) even make outbound calls are working. But when I configure an inbound rule something strange happens; when I dail the number it’s ringing and I see more than 300 outbound calls active…
Second strange thing is that when I alter the outbound settings this effects the inbound calls, then I get an error that the number has no route…are these two related?
Who has experience with setting up multi-tenant and authentication based SIP trunks? I need some help on this.
So i’m a bit further on this. In a different post I saw that I could best register the trunks on the main tenant and create outbound routes there. I’ve got this working so outbount calls are working again. But still when I dail the number on the SIP trunk I get 60+ outbound calls to the incoming number (???)
I’ve attached the DID number to the tenant and created an inbound route there, matching the exact DID as it is coming in. No luck.
[2024-05-17 11:40:19] VERBOSE[29473][C-0000020f] pbx.c: Executing [s-5@cos-all-post:3] Gosub("PJSIP/xxxxxx-0000040a", "trk-6,+31xxxxxxx,1(from-trk-grp)") in new stack
[2024-05-17 11:40:19] VERBOSE[29473][C-0000020f] pbx.c: Executing [+31xxxxxx@trk-6:1] Set("PJSIP/xxxxxx-0000040a", "_NTD=+31xxxxxxxx") in new stack
[2024-05-17 11:40:19] VERBOSE[29473][C-0000020f] pbx.c: Executing [+31xxxxxx@trk-6:2] Gosub("PJSIP/xxxxxx-0000040a", "trk-6-dial,+31xxxxxxxx,1(from-trk-grp)") in new stack
[2024-05-17 11:40:19] VERBOSE[29473][C-0000020f] pbx.c: Executing [+31xxxxxx@trk-6-dial:1] NoOp("PJSIP/xxxxxx-0000040a", "Trunk: Mister VoIP tenant") in new stack
[2024-05-17 11:40:19] VERBOSE[29473][C-0000020f] pbx.c: Executing [+31xxxxxx@trk-6-dial:2] NoOp("PJSIP/xxxxxx-0000040a", "Dialing: +31xxxxxxxx") in new stack