Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coindsp patch breaks faxing #36

Open
lachesis opened this issue May 21, 2024 · 0 comments
Open

coindsp patch breaks faxing #36

lachesis opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lachesis
Copy link

lachesis commented May 21, 2024

I was able to reproduce this simply doing a fax from one PJSIP trunk to another. My exact call topology is:

PSTN -> (pjsip trunk) -> Asterisk 21 -> (pjsip trunk) -> Cisco 2921 -> (fxs) -> Brother FAX machine

With the coindsp patch applied, I get a bunch of this in the logs:

[May 20 18:26:06] WARNING[621039][C-0000030a]: res_rtp_asterisk.c:4309 ast_rtp_dtmf_begin: Don't know how to represent '-'
[May 20 18:26:07] WARNING[621039][C-0000030a]: res_rtp_asterisk.c:4431 ast_rtp_dtmf_end_with_duration: Don't know how to represent '-'

And my faxes all fail with complaints about poor line quality. If I reverse that patch and restart Asterisk, the issues disappear. As I don't have any kind of coin phones attached to my system, I'll just keep this one reverted.

Reverting can be done by:

# go to your asterisk source directory
cd /usr/src/asterisk-*

# download the patch
wget -O /tmp/coindsp.patch https://raw.githubusercontent.com/InterLinked1/phreakscript/448f7e7d099bda3b709717ab099f080a9880a52e/patches/coindsp.patch

# revert the patch
sudo patch -p1 -R < /tmp/coindsp.patch

# rebuild and install
sudo make
sudo make install
@InterLinked1 InterLinked1 added the bug Something isn't working label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants