[Home]

Summary:ASTERISK-29859: VoiceMailMain() fails when encountering non-numeric CALLERID(num)
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2022-01-12 13:16:14.000-0600Date Closed:2022-01-17 07:25:41.000-0600
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:18.9.0 Frequency of
Occurrence
Related
Issues:
is caused byASTERISK-29531 Add SAYFILES function
Environment:Attachments:
Description:Given the following voicemail metadata msg0000.txt
{noformat}
; Message Information file
;
[message]
origmailbox=102
context=toVoiceMail
macrocontext=
exten=s
rdnis=unknown
priority=37
callerchan=SIP/c10000-102-00000850
callerid="FB Agent Two" <anonymous>
origdate=Wed Jan 12 01:35:31 PM UTC 2022
origtime=1641994531
category=
uniqueid=1641994519.2128
msg_id=1641994531-00000000
flag=
duration=3
{noformat}

VoiceMailMain() will exit hard when encountering this message:

{noformat}
[2022-01-12 12:13:29.870-0500] VERBOSE[14560][C-00001119] pbx.c: <PJSIP/c30028-400-00001bad> Executing [s@checkOtherVoicemail:22] VoiceMailMain("303@heart_center-c30028,s")
[2022-01-12 12:13:29.944-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-youhave.ulaw' (language 'en')
[2022-01-12 12:13:31.043-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/13.ulaw' (language 'en')
[2022-01-12 12:13:31.702-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-INBOX.ulaw' (language 'en')
[2022-01-12 12:13:32.521-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-and.ulaw' (language 'en')
[2022-01-12 12:13:33.299-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/1.ulaw' (language 'en')
[2022-01-12 12:13:33.758-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-Old.ulaw' (language 'en')
[2022-01-12 12:13:34.576-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-message.ulaw' (language 'en')
[2022-01-12 12:13:35.555-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-onefor.ulaw' (language 'en')
[2022-01-12 12:13:36.933-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-INBOX.ulaw' (language 'en')
[2022-01-12 12:13:37.752-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-messages.ulaw' (language 'en')
[2022-01-12 12:13:38.730-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-opts.ulaw' (language 'en')
[2022-01-12 12:13:39.931-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-first.ulaw' (language 'en')
[2022-01-12 12:13:40.750-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-message.ulaw' (language 'en')
[2022-01-12 12:13:41.728-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-received.ulaw' (language 'en')
[2022-01-12 12:13:42.827-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/yesterday.ulaw' (language 'en')
[2022-01-12 12:13:43.926-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/at.ulaw' (language 'en')
[2022-01-12 12:13:44.344-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/10.ulaw' (language 'en')
[2022-01-12 12:13:44.842-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/20.ulaw' (language 'en')
[2022-01-12 12:13:45.301-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/5.ulaw' (language 'en')
[2022-01-12 12:13:45.759-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'digits/a-m.ulaw' (language 'en')
[2022-01-12 12:13:46.418-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing 'vm-from-phonenumber.ulaw' (language 'en')
[2022-01-12 12:13:47.477-0500] VERBOSE[14560][C-00001119] file.c: <PJSIP/c30028-400-00001bad> Playing '.gsm' (language 'en')
[2022-01-12 12:13:47.478-0500] VERBOSE[14560][C-00001119] pbx.c: <PJSIP/c30028-400-00001bad> Spawn extension (checkOtherVoicemail, s, 22) exited non-zero
[2022-01-12 12:13:47.478-0500] VERBOSE[14560][C-00001119] channel.c: <PJSIP/c30028-400-00001bad> Got SoftHangup Request (0x7efde0018750) (cause: 16)
{noformat}
Comments:By: Friendly Automation (friendly-automation) 2022-01-17 07:25:42.976-0600

Change 17865 merged by Friendly Automation:
say.c: Prevent erroneous failures with 'say' family of functions.

[https://gerrit.asterisk.org/c/asterisk/+/17865|https://gerrit.asterisk.org/c/asterisk/+/17865]

By: Friendly Automation (friendly-automation) 2022-01-17 07:26:37.836-0600

Change 17851 merged by Friendly Automation:
say.c: Prevent erroneous failures with 'say' family of functions.

[https://gerrit.asterisk.org/c/asterisk/+/17851|https://gerrit.asterisk.org/c/asterisk/+/17851]

By: Friendly Automation (friendly-automation) 2022-01-17 07:30:03.767-0600

Change 17849 merged by Friendly Automation:
say.c: Prevent erroneous failures with 'say' family of functions.

[https://gerrit.asterisk.org/c/asterisk/+/17849|https://gerrit.asterisk.org/c/asterisk/+/17849]

By: Friendly Automation (friendly-automation) 2022-01-17 07:54:45.223-0600

Change 17850 merged by Joshua Colp:
say.c: Prevent erroneous failures with 'say' family of functions.

[https://gerrit.asterisk.org/c/asterisk/+/17850|https://gerrit.asterisk.org/c/asterisk/+/17850]

By: Friendly Automation (friendly-automation) 2022-01-17 12:46:41.872-0600

Change 17887 merged by Joshua Colp:
say.c: Prevent erroneous failures with 'say' family of functions.

[https://gerrit.asterisk.org/c/asterisk/+/17887|https://gerrit.asterisk.org/c/asterisk/+/17887]