How to use autocreatepeer in pjsip in asterisk?

I just started using pjsip. Previously I was using chan_sip. There was one option in sip.conf as “autocreatepeer”, which allow any user to register. Is there such option available in pjsip.conf. I tried to search many places but I didn’t find it for pjsip.I know that by keeping autocreatepeer=yes is a very big security concern but anyway I need it. Can anyone help me for this?Thanks!!!

This feature does not currently exist in chan_pjsip. It would need to be written and added.

Thank you!!
Is there any alternate available for it in pjsip?

Nope. There is not. I don’t believe anyone is working on adding anything equivalent as of this time either.

1 Like