Multiple outbound_auth values

Hi,
Im wondering if it’s possible to use multiple, comma separated values for outbound_auth to get such call flow:
outbound_auth=AUTH1,AUTH2

AUTH1
password=100
username=100
AUTH2
password=200
username=200

          INVITE

Asterisk —> PBX
401
Asterisk <— PBX
INVITE (AUTH1)
Asterisk —> PBX
401
Asterisk <— PBX
INVITE (AUTH2)
Asterisk —> PBX
200 OK
Asterisk <— PBX

Or is there any other way to change FROM header number (n,Set(CALLERID(num)=200) and not get:
“Authentication credentials not accepted by server”

If the remote system requires you to have your username in the From header in order to authenticate, but you want to change the underlying callerid, then you would normally send callerid using another method such as P-Asserted-Identity or Remote-Party-ID. If that’s what you are fundamentally trying to accomplish, here.

Otherwise you’ll need to provide more details about what you are doing and why you believe you need multiple auths.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.