I’ve upgraded from asterisk 11.6 to 13.2 and have encountered the following problem with the VMAuthenticate module (The error occurs after the correct password is entered).
extensions.conf
exten => _*98*XXXX,n,VMAuthenticate(${EXTEN:4:4}@default)
Result :
…
– <SIP/2702-00000000> Playing ‘vm-password.gsm’ (language ‘en’)
[Feb 20 14:30:46] ERROR[22955][C-00000000]: json.c:704 ast_json_vpack:
Error building JSON from ‘{s: s, s: s}’: Invalid UTF-8 string.
[Feb 20 14:30:46] ERROR[22955][C-00000000]: stasis_channels.c:762
ast_channel_publish_varset: Error creating message
– <SIP/2702-00000000> Playing ‘auth-thankyou.gsm’ (language ‘en’)
…
When I inspect the variables in the stasis_channels.c processing (ast_channel_publish_varset), the error occurs when the following name-value pair is processed (immediately following the AUTH_MAILBOX variable).
name : AUTH_CONTEXT
value : �dc
It appears that the context is not initialized correctly prior to the call. If I swap out VMAuthenticate, with VoiceMailMain, the authentication does not cause an error. Is this a bug in the software, or have I simply overlooked an initialization?
Thank you