Hi Henning + All
just to double check, you are aware that lookup() will also work with multiple contacts, e.g. will create additional branches that can be used to fork additional calls to the other contacts?
I have just checked in the documentation. No, there does not seem to be a way to specify multiple URI with lookup() or how do you do this?
Maybe we don't tank about the same situation.
It's not about multiple contacts registered to one 'username' but multiple 'username'.
Example:
location database:
user77: contact: sip:user77@1.2.3.4:5060 contact: sip:user77@5.6.7.8:5060
user88: contact: sip:user88@4.3.2.1:5060
From my call logic, I assign +41661234567 to both usernames
So when +41661234567 is called, I would like to parallel branch to all contacts of user77 and user88.
Is this possible with lookup()?
For those who will ask: Why are doing this crazy complicated stuff!?! (I have open ears for suggestions how to do it differently btw)
We have several use cases, besides customers with multiple offices and multiple redundant PBX the main one is residential customers:
Simultaneous Ring on Mobile and CPE.
Landline CPE are automatically provisioned. The credentials are not know to the customer (in this example, user77) the connection is not nomadic and has a fixed geolocation for emergency calls. Contractual, the CPE is on our responsibility as VSP.
The customer can get a different set of credentials to use his landline phone number on any devices of his choice, mostly with a mobile app. By doing so, he takes full responsibility for the usage of those credentials.
So this makes sense to create a separate credentials set for this for marking calls to emergency number as nomadic, apply more strict fraud detection measures in case his credentials are stolen, etc...