Comments (9)
Aber damit hast du die issues die Bob geschrieben hat!
from chan-sccp.
In welcher mail von bob (sind immer 1000den vom ihm) [date/subject ?].
Was ist der losung.
ast_channel ohne ast_pbx sollte so weit ich weiss mit ein ast_hangup auf gehangt werden. Ist bei bob schon ein pbx gestarted ?
from chan-sccp.
ja, siehe sein log
from chan-sccp.
Du meinst das riesen ding ? Dadrauf hatt ich eigentlich keine lust.
Was war dein befund ? Von wo aus (im code) rust er den pbx(hangup) an ? Konnen wir da ein PBX(forceHangup)(queued) raus machen ?
Oder mussen wir die andere stelle, finden und anpassen (new call ohne nummer ein zu geben ->hangup. Weis nicht genau wie ich dies umschreiben soll) ?
from chan-sccp.
Wurde dies das fixen ?
Added pbx_channel_pbx(ast_channel)
Diederik
Index: pbx_impl/ast/ast.c
--- pbx_impl/ast/ast.c (revision 4218)
+++ pbx_impl/ast/ast.c (working copy)
@@ -507,7 +507,7 @@
#else
pbx_channel_setwhentohangup_tv(ast_channel, ast_tvnow());
#endif
-// ast_channel->_state=AST_STATE_DOWN;
+// ast_channel->_state=AST_STATE_DOWN;
ast_queue_hangup(ast_channel);
break;
}
@@ -551,7 +551,7 @@
}
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send ast_softhangup_nolock (blocker: %s)\n", pbx_channel_name(ast_channel), pbx_channel_blockproc(ast_channel));
ast_softhangup_nolock(ast_channel, AST_SOFTHANGUP_DEV);
-
} else if (AST_STATE_UP == pbx_channel_state(ast_channel)) {
-
} else if (AST_STATE_UP == pbx_channel_state(ast_channel) || pbx_channel_pbx(ast_channel)) {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send ast_queue_hangup\n", pbx_channel_name(ast_channel));
#if ASTERISK_VERSION_NUMBER < 10601
pbx_channel_setwhentohangup_tv(ast_channel, 0);
@@ -561,8 +561,8 @@
ast_queue_hangup(ast_channel);
} else {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send hard ast_hangup\n", pbx_channel_name(ast_channel));
-// ast_hangup(ast_channel); -
ast_queue_hangup(ast_channel);
-
ast_hangup(ast_channel);
+// ast_queue_hangup(ast_channel);
}sccp_channel = sccp_channel ? sccp_channel_release(sccp_channel) : NULL;
Ooh das geht anscheinend nicht so gut mit ein diff !
from chan-sccp.
probieren
Am Samstag, 9. Februar 2013, 05:08:04 schrieb Diederik de Groot:
Wurde dies das fixen ?
Added pbx_channel_pbx(ast_channel)
Diederik
Index: pbx_impl/ast/ast.c
--- pbx_impl/ast/ast.c (revision 4218)
+++ pbx_impl/ast/ast.c (working copy)
@@ -507,7 +507,7 @@
#else
pbx_channel_setwhentohangup_tv(ast_channel, ast_tvnow());
#endif
-// ast_channel->_state=AST_STATE_DOWN;
+// ast_channel->_state=AST_STATE_DOWN;
ast_queue_hangup(ast_channel);
break;
}
@@ -551,7 +551,7 @@
}
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send ast_softhangup_nolock (blocker: %s)\n", pbx_channel_name(ast_channel), pbx_channel_blockproc(ast_channel));
ast_softhangup_nolock(ast_channel, AST_SOFTHANGUP_DEV);
} else if (AST_STATE_UP == pbx_channel_state(ast_channel)) {
} else if (AST_STATE_UP == pbx_channel_state(ast_channel) || pbx_channel_pbx(ast_channel)) {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send ast_queue_hangup\n", pbx_channel_name(ast_channel));
#if ASTERISK_VERSION_NUMBER < 10601
pbx_channel_setwhentohangup_tv(ast_channel, 0);
@@ -561,8 +561,8 @@
ast_queue_hangup(ast_channel);
} else {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send hard ast_hangup\n", pbx_channel_name(ast_channel));
-// ast_hangup(ast_channel);ast_queue_hangup(ast_channel);
ast_hangup(ast_channel);
+// ast_queue_hangup(ast_channel);
}sccp_channel = sccp_channel ? sccp_channel_release(sccp_channel) : NULL;
Reply to this email directly or view it on GitHub:
#35 (comment)
from chan-sccp.
Pickup / Hangup Funktioniert hier naturlich wieder normal.
Die frage ist, wie ich der andere situation nach stellen kann. Weist du
ganau wie ich/du das reproduzieren kannst ? Oder mussen wir dafur
leonid/bob fragen ?
Diederik
On 02/09/2013 02:12 PM, marcelloceschia wrote:
probieren
Am Samstag, 9. Februar 2013, 05:08:04 schrieb Diederik de Groot:
Wurde dies das fixen ?
Added pbx_channel_pbx(ast_channel)
Diederik
Index: pbx_impl/ast/ast.c
--- pbx_impl/ast/ast.c (revision 4218)
+++ pbx_impl/ast/ast.c (working copy)
@@ -507,7 +507,7 @@
#else
pbx_channel_setwhentohangup_tv(ast_channel, ast_tvnow());
#endif
-// ast_channel->_state=AST_STATE_DOWN;
+// ast_channel->_state=AST_STATE_DOWN;
ast_queue_hangup(ast_channel);
break;
}
@@ -551,7 +551,7 @@
}
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send
ast_softhangup_nolock (blocker: %s)\n", pbx_channel_name(ast_channel),
pbx_channel_blockproc(ast_channel));
ast_softhangup_nolock(ast_channel, AST_SOFTHANGUP_DEV);
- } else if (AST_STATE_UP == pbx_channel_state(ast_channel)) {
- } else if (AST_STATE_UP == pbx_channel_state(ast_channel) ||
pbx_channel_pbx(ast_channel)) {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send
ast_queue_hangup\n", pbx_channel_name(ast_channel));
#if ASTERISK_VERSION_NUMBER < 10601
pbx_channel_setwhentohangup_tv(ast_channel, 0);
@@ -561,8 +561,8 @@
ast_queue_hangup(ast_channel);
} else {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send hard
ast_hangup\n", pbx_channel_name(ast_channel));
-// ast_hangup(ast_channel);- ast_queue_hangup(ast_channel);
- ast_hangup(ast_channel);
+// ast_queue_hangup(ast_channel);
}sccp_channel = sccp_channel ? sccp_channel_release(sccp_channel) : NULL;
Reply to this email directly or view it on GitHub:
—
Reply to this email directly or view it on GitHub
#35 (comment)..
from chan-sccp.
Am Samstag, 9. Februar 2013, 06:17:53 schrieb Diederik de Groot:
Pickup / Hangup Funktioniert hier naturlich wieder normal.
Die frage ist, wie ich der andere situation nach stellen kann. Weist du
ganau wie ich/du das reproduzieren kannst ? Oder mussen wir dafur
leonid/bob fragen ?
nee, weiss ich auch nicht. Müsste ich noch mal das log anschauen.
Diederik
On 02/09/2013 02:12 PM, marcelloceschia wrote:
probieren
Am Samstag, 9. Februar 2013, 05:08:04 schrieb Diederik de Groot:
Wurde dies das fixen ?
Added pbx_channel_pbx(ast_channel)
Diederik
Index: pbx_impl/ast/ast.c
--- pbx_impl/ast/ast.c (revision 4218)
+++ pbx_impl/ast/ast.c (working copy)
@@ -507,7 +507,7 @@
#else
pbx_channel_setwhentohangup_tv(ast_channel, ast_tvnow());
#endif
-// ast_channel->_state=AST_STATE_DOWN;
+// ast_channel->_state=AST_STATE_DOWN;
ast_queue_hangup(ast_channel);
break;
}
@@ -551,7 +551,7 @@
}
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send
ast_softhangup_nolock (blocker: %s)\n", pbx_channel_name(ast_channel),
pbx_channel_blockproc(ast_channel));
ast_softhangup_nolock(ast_channel, AST_SOFTHANGUP_DEV);
- } else if (AST_STATE_UP == pbx_channel_state(ast_channel)) {
- } else if (AST_STATE_UP == pbx_channel_state(ast_channel) ||
pbx_channel_pbx(ast_channel)) {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send
ast_queue_hangup\n", pbx_channel_name(ast_channel));
#if ASTERISK_VERSION_NUMBER < 10601
pbx_channel_setwhentohangup_tv(ast_channel, 0);
@@ -561,8 +561,8 @@
ast_queue_hangup(ast_channel);
} else {
sccp_log(DEBUGCAT_CHANNEL) (VERBOSE_PREFIX_3 "%s: send hard
ast_hangup\n", pbx_channel_name(ast_channel));
-// ast_hangup(ast_channel);- ast_queue_hangup(ast_channel);
- ast_hangup(ast_channel);
+// ast_queue_hangup(ast_channel);
}sccp_channel = sccp_channel ? sccp_channel_release(sccp_channel) : NULL;
Reply to this email directly or view it on GitHub:
—
Reply to this email directly or view it on GitHub
#35 (comment)..
Reply to this email directly or view it on GitHub:
#35 (comment)
from chan-sccp.
fixed with 72d1754
from chan-sccp.
Related Issues (20)
- Devices not registered HOT 1
- 7975 + 7916 BLF not all buttons are working HOT 1
- Unable to register first SCCP phone HOT 7
- Assigning a line to a phone doesn’t work HOT 2
- Keyset layouts don't work HOT 2
- Wiki contains redundant page(s) about Realtime Configuration HOT 3
- 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)
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.