Extensions with common credentials

Hello all,

Is there any possibility to create two or more different sip extensions that both have the same authName and authPassword? Ok regarding password its quite easy but what about authName ??? I tried some experiments in sip_custom.conf but no success.

Please don’t ask why i need common credentials… There is a serious reason hahahahaha

Thanks

Essentially the sip extension is an alias of a client’s use of authName so probably but seriously nonononono :slight_smile:

I don’t know of any way to do it in the GUI, but guess that you could add this to /etc/asterisk/pjsip_custom_post.conf, assuming that extensions 1234 and 1235 both have authName of commonauth.

[1234-auth](+type=auth)
username=commonauth
[1235-auth](+type=auth)
username=commonauth

Works perfectly. Amazing!

Thanks Stewart :slight_smile:

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