How to enforce using the matching authentication credentials on a multi-identity SIP trunk
Hi,
we have the curiosum that a single SIP trunk to a telecom provider is supporting multiple so-called "pilotnumbers". We need to actively REGISTER on the provider´s registrar and receive incoming calls for the registered pilotnumbers afterwards. Registration is realized with multiple surrogate-agent elements with individual registration identities and corresponding passwords, which is working fine.
However, when an "incoming" call is accepted by the PBX, to which the call was forwarded by the SBC, it is sending a SIP re-INVITE message immediately afterwards. The provider is responding with an authentication challenge (407) and the SBC needs to authenticate on base of the configured AUTH-ATTRIBUTE entries in multiple session-agent elements. And now the problem starts: