SOLVED Send to Voicemail *99 Fails

Status
Not open for further replies.

mydigitalself

Member
Oct 20, 2019
71
7
8
Good Afternoon All,

Yesterday I installed ver 4.5.10 and came across a failure in one of my tests. Sending calls to voicemail with *99[ext] fails.

The fix:
Under Dialplan --> Dialplan Danager
Check the send_to_voicemail (*99[ext]) function
The condition on the first line reads ^\*99(\d{2,10})$
Update this line to ^\*99(\d{3,10})$

I have submitted this as a bug on the FusionPBX website, and just wanted to pass this along in case anyone else is currently running into the same.
 

mydigitalself

Member
Oct 20, 2019
71
7
8
On a fresh install, I attempted to send a call to voicemail, which failed. Looking at the code i saw 3 characters (*99), so I changed the 2 to a 3. After that tested again and it worked.
 
Last edited:

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,077
579
113
The 2 is correct, it was just chance that it works. By default extensions are 2-7 digits, the *99 has nothing to do with that regex (looks like they may have made it up to 10 digits now)

Code:
^\*99(\d{2,10})$

The regex means anything starting with *99 followed by 2-10 digits.
 

mydigitalself

Member
Oct 20, 2019
71
7
8
Interesting and thank you. I switched it back to what it was there originally and it works.

I must have botched up the install or something.

My apologies for opening a non-issue.
 
Status
Not open for further replies.