SOLVED Asterisk 20.6.0 Read Bug

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
4,630
Reaction score
3,002
@wardmundy I just upgraded an existing system to Asterisk 20.6.0 and have discovered that the read command is broken. This code no longer works because the wait is not working. It falls thru to the next line immediately before a digit can be collected.
Code:
exten => s,n,Read(MYCODE,,1,n,1,5)

I reverted back to Asterisk 20.5.0 and it works again.
 
@wardmundy I just upgraded an existing system to Asterisk 20.6.0 and have discovered that the read command is broken. This code no longer works because the wait is not working. It falls thru to the next line immediately before a digit can be collected.
Code:
exten => s,n,Read(MYCODE,,1,n,1,5)

I reverted back to Asterisk 20.5.0 and it works again.
Just FYI, known issue at [bug]: Application Read() returns immediately · Issue #565 · asterisk/asterisk (github.com) and it was resolved with utils: Make behavior of ast_strsep* match strsep. by jcolp · Pull Request #568 · asterisk/asterisk (github.com). It's been merged with all active branches. Just don't know when the new release will be pushed.
 
@wardmundy I just upgraded an existing system to Asterisk 20.6.0 and have discovered that the read command is broken. This code no longer works because the wait is not working. It falls thru to the next line immediately before a digit can be collected.
Code:
exten => s,n,Read(MYCODE,,1,n,1,5)

I reverted back to Asterisk 20.5.0 and it works again.
Installers on incrediblepbx.com back-rev'd to Asterisk 20.5.0 for the time being. Thanks.
 
Installers on incrediblepbx.com back-rev'd to Asterisk 20.5.0 for the time being. Thanks.
Bug report submitted with the Asterisk team. I'm not feeling it when it comes to applying a patch. I'll wait for them to roll the fix into a 20.6.x release.
1707853950619.png
 
Just FYI, known issue at [bug]: Application Read() returns immediately · Issue #565 · asterisk/asterisk (github.com) and it was resolved with utils: Make behavior of ast_strsep* match strsep. by jcolp · Pull Request #568 · asterisk/asterisk (github.com). It's been merged with all active branches. Just don't know when the new release will be pushed.
Of course I searched for a bug but nothing actually referenced Read() so I didn't find it. Not being even slightly familiar with the internals of Asterisk, I would never surmise from the bug document that it had any relation to my issue.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top