Jack Noe Posted August 1, 2019 Report Posted August 1, 2019 Hi. I have a customer requesting the voicemail pin to be 9 digits long. The current default will now allow that. Is there any setting to change this, so to allow the pin to be longer ? Thank you!
Administrators mc_ Posted August 1, 2019 Administrators Report Posted August 1, 2019 Looking at https://docs.2600hz.com/dev/applications/crossbar/doc/voicemail/ Appears "pin" must be a string of length between 4 and 15. What version of KAZOO are you trying this on?
Administrators mc_ Posted August 1, 2019 Administrators Report Posted August 1, 2019 The schema allows for 4-15 length pins: curl https://api.zswitch.net:8443/v2/schemas/vmboxes | python -mjson.tool ... "pin": { "description": "The pin number for the voicemail box", "maxLength": 15, "minLength": 4, "support_level": "supported", "type": "string" }, ... Where are you seeing the error?
Administrators mc_ Posted August 1, 2019 Administrators Report Posted August 1, 2019 @Jack Noe ah, I see. Entering the PIN on the voicemail callflow restricts the length to 6 digits. But this is out of sync with the schema, hence the confusion. The reasoning for the restricted length was to keep people from using their phone numbers as their pin but that restriction was encoded as a system_config value instead of updating the schema. Talking internally about path forward here to fix the issue. File a support ticket if you'd like to lobby for a higher limit.
Recommended Posts