Comments (3)
Reporting back as promised. I've been running with this simple patch for over a month now, with no major issues. This probably breaks macro support on older Asterisk. I would guess the correct answer is to add some new entries to the pbx_impl
then do the right autotools magic to make it select those for 21+.
from chan-sccp.
Confirmed, doesn't build for me on Asterisk 21 either. I guess the right answer is to remove all of the macro related code?
from chan-sccp.
It built for me with this patch:
diff --git a/src/pbx_impl/ast116/ast116.c b/src/pbx_impl/ast116/ast116.c
index c162e755..f6364dca 100644
--- a/src/pbx_impl/ast116/ast116.c
+++ b/src/pbx_impl/ast116/ast116.c
@@ -3065,10 +3065,6 @@ DECLARE_PBX_CHANNEL_STRGET(name)
DECLARE_PBX_CHANNEL_STRGET(linkedid)
DECLARE_PBX_CHANNEL_STRGET(context)
DECLARE_PBX_CHANNEL_STRSET(context)
- DECLARE_PBX_CHANNEL_STRGET(macroexten)
- DECLARE_PBX_CHANNEL_STRSET(macroexten)
- DECLARE_PBX_CHANNEL_STRGET(macrocontext)
- DECLARE_PBX_CHANNEL_STRSET(macrocontext)
DECLARE_PBX_CHANNEL_STRGET(call_forward)
DECLARE_PBX_CHANNEL_STRSET(call_forward)
@@ -3536,10 +3532,6 @@ const PbxInterface iPbx = {
setChannelExten: sccp_astwrap_set_channel_exten,
getChannelContext: sccp_astwrap_get_channel_context,
setChannelContext: sccp_astwrap_set_channel_context,
- getChannelMacroExten: sccp_astwrap_get_channel_macroexten,
- setChannelMacroExten: sccp_astwrap_set_channel_macroexten,
- getChannelMacroContext: sccp_astwrap_get_channel_macrocontext,
- setChannelMacroContext: sccp_astwrap_set_channel_macrocontext,
getChannelCallForward: sccp_astwrap_get_channel_call_forward,
setChannelCallForward: sccp_astwrap_set_channel_call_forward,
@@ -3687,10 +3679,6 @@ const PbxInterface iPbx = {
.setChannelExten = sccp_astwrap_set_channel_exten,
.getChannelContext = sccp_astwrap_get_channel_context,
.setChannelContext = sccp_astwrap_set_channel_context,
- .getChannelMacroExten = sccp_astwrap_get_channel_macroexten,
- .setChannelMacroExten = sccp_astwrap_set_channel_macroexten,
- .getChannelMacroContext = sccp_astwrap_get_channel_macrocontext,
- .setChannelMacroContext = sccp_astwrap_set_channel_macrocontext,
.getChannelCallForward = sccp_astwrap_get_channel_call_forward,
.setChannelCallForward = sccp_astwrap_set_channel_call_forward,
The module that it build loaded. I have not tested further yet. Will report back once my first SCCP phone is here and I test it out later today.
from chan-sccp.
Related Issues (20)
- Resume a call take to Asterisk crashing HOT 2
- Binary repo for Raspbian 11
- Unable to turn on EarlyRTP HOT 1
- SPA514 SCCP interrupted calls by re-registrations HOT 1
- Error cannot compile chan-sccp-b under Asterisk 18 HOT 8
- No ringout sound when calling outside HOT 1
- error while compiling chan-sccp with asterisk-19.3 HOT 2
- Missing binaries for Asterisk 16/Debian 10/amd64
- dtmf problems with sccp and pinsets HOT 1
- Wrong dailed in Call Event Log How to solve it
- EndCall Button not working with onhook
- undefined symbol: SSL_CTX_set_ecdh_auto
- Incorrect library location for RPI 1 after deb compiling
- Cisco SCCP 8945 video call not working (same as issue #431)
- Warm line feature missing
- Outbound Calls - Random Fast Busy/Drop HOT 1
- No hint update
- Chan_SCCP Manager add SCCP extension throws error with "Fields are Empty" HOT 2
- error while compiling chan-sccp with asterisk-18.20.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chan-sccp.