Sending calls for multiple customers from same IP

Hi all,

I just found YETI-SWITCH, I’m reading the documentation and try to understand the logic.

If I have 1 PBX for multiple customers and I want to send calls from all customers to YETI and link them to their individual YETI account, as far as I understand there are 2 options (correct me if I’m wrong), either setup a gateway with sip credentials for every customer, and register it on the PBX for every customer OR create a different prefix for every customer, add it to the customer auth and remove it with number translation in customer auth (another idea is just a different X-Yeti-Auth for every customer).

If I decide to go with the 2’nd option, why do I still need to setup a gateway for the customer? (In customer auth gateway is required).

why do I still need to setup a gateway for the customer?

Because origination gateway represent SIP stack configuration for legA so this is mandatory part of information to process call.

But you can use single gateway with is_shared flag enabled. Also in 1) option you don’t need registration - INVITE request will be authenticated using username/password, but it not require any registration.

Thank you for the clarification, the “is_shared” option is perfect.

From your point of view is one way better/preferred/more efficient/more practical than the other?

I prefer to have username/password auth in addition to IP matching in customer auth. But if your PBX not able to do nonce reuse - it will introduce additional round trip during authentication and if you want avoid it - you could use X-Yeti-Auth header.

1 Like