Character allowed in password field of type auth in pjsip file

Hi All,

I have just encountered an issue with authorization of an endpoint which password contained an ‘&’. Can someone please let me know what set of characters are there that we cannot use in password field of type auth in pjsip file?

Thanks

I don’t think the “&” character should pose a problem. What exactly happened? Did you try with another endpoint to confirm it was Asterisk misbehaving?

Hi jcolp,

Thanks for the response, I have tried some other endpoints with password containing ‘&’ or ‘$’ it is working fine in those cases. but if a password contains ‘$&’ as substring then it is showing unauthorized. I have tried with “abc$&” and it is giving authentication error.

Thanks

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