Giter Club home page Giter Club logo

Comments (9)

marcelloceschia avatar marcelloceschia commented on May 25, 2024

Aber damit hast du die issues die Bob geschrieben hat!

from chan-sccp.

dkgroot avatar dkgroot commented on May 25, 2024

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.

marcelloceschia avatar marcelloceschia commented on May 25, 2024

ja, siehe sein log

from chan-sccp.

dkgroot avatar dkgroot commented on May 25, 2024

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.

dkgroot avatar dkgroot commented on May 25, 2024

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.

marcelloceschia avatar marcelloceschia commented on May 25, 2024

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.

dkgroot avatar dkgroot commented on May 25, 2024

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:

#35 (comment)


Reply to this email directly or view it on GitHub
#35 (comment)..

from chan-sccp.

marcelloceschia avatar marcelloceschia commented on May 25, 2024

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:

#35 (comment)


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.

marcelloceschia avatar marcelloceschia commented on May 25, 2024

fixed with 72d1754

from chan-sccp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.