Giter Club home page Giter Club logo

Comments (10)

dkgroot avatar dkgroot commented on June 5, 2024

@marcelloceschia Can you check this with asterisk-trunk.
asterisk-1.8 scheint ok zu sein.

from chan-sccp.

dkgroot avatar dkgroot commented on June 5, 2024

Dies ist der grund das der conference mit asterisk-10 und hoher fehl schlagt :

[Feb 24 17:02:16] DEBUG[10961] res_rtp_asterisk.c: Setting RTCP address on RTP instance '0x7fddf80102a8'
[Feb 24 17:02:16] DEBUG[10979] channel.c: Didn't get a frame from channel: TMP/SCCP/98041-00000001
[Feb 24 17:02:16] DEBUG[10996] bridging.c: Joining bridge channel 0x7fdda80021b8 to bridge 0x7fddf801bae8
[Feb 24 17:02:16] DEBUG[10996] bridging.c: Added channel SCCP/98041-00000001(0x7fddf8020478) to bridge array on 0x7fddf801bae8, new count is 1
[Feb 24 17:02:16] DEBUG[10996] bridging.c: Bridge technology softmix wants to read any of formats (slin) but channel has alaw
[Feb 24 17:02:16] VERBOSE[10961] conference/sccp_conference10.c: -- SCCPCONF/0100: Resuming conference.
[Feb 24 17:02:16] VERBOSE[10961] sccp_channel.c: -- SEP001EF72925B0: Set calledPartyNumber '98051' calledPartyName 'PHONE4'
[Feb 24 17:02:16] VERBOSE[10961] conference/sccp_conference10.c: -- SCCPCONF/0100: Creating new conference-participant 2
[Feb 24 17:02:16] VERBOSE[10961] conference/sccp_conference10.c: -- SCCPCONF/0100: Creating new conference-participant 3
[Feb 24 17:02:16] VERBOSE[10961] conference/sccp_conference10.c: > SCCPCONF/0100: Adding participant 3 (Channel SCCP/98051-00000004)
[Feb 24 17:02:16] DEBUG[10961] channel.c: Planning to masquerade channel SCCP/98031-00000003 into the structure of TMP/SCCP/98031-00000003
[Feb 24 17:02:16] DEBUG[10961] channel.c: Done planning to masquerade channel SCCP/98031-00000003 into the structure of TMP/SCCP/98031-00000003
[Feb 24 17:02:16] DEBUG[10961] channel.c: Putting channel SCCP/98031-00000003 in alaw/alaw formats
[Feb 24 17:02:16] VERBOSE[10961] pbx_impl/ast/ast110.c: -- SCCP: we got a fixup request for SCCP/98031-00000003
[Feb 24 17:02:16] DEBUG[10961] channel.c: Done Masquerading SCCP/98031-00000003 (6)
[Feb 24 17:02:16] VERBOSE[10961] conference/sccp_conference10.c: > SCCPCONF/0100: Added Participant 3 (Channel: SCCP/98031-00000003)
[Feb 24 17:02:16] DEBUG[10988] rtp_engine.c: rtp-engine-local-bridge: Oooh, formats changed, backing out
[Feb 24 17:02:16] VERBOSE[10988] pbx_impl/ast/ast110.c: SCCP: Bridge chan TMP/SCCP/98031-00000003 and chan SCCP/98051-00000004: Failed NoWarn

Werend der masquerade andern sich die read/write formats von slin zuruck auf alaw. In Asterisk-1.8 lauft das ok.Was konnte ich machen:

  • Alle conference channels als slin definieren
  • Alle conference channels as alaw definieren

Ich glaube ast_bridge mag slin besser (aber die telefone eigentlich alaw). Es muss aber sowieso gemixed werden, also ist das egal.

Wir konnte ich der codec 100% festlegen, damit er sich nicht mehr anders kann, bevor ich denn masquerade mache ?

from chan-sccp.

marcelloceschia avatar marcelloceschia commented on June 5, 2024

@dkgroot kann das auch mit dem channel namen zu tun haben?
Asterisk macht einige lookups über den channel identifier (SCCP)

from chan-sccp.

dkgroot avatar dkgroot commented on June 5, 2024

Der code involved:

            /* If the underlying formats have changed force this bridge to break */
            if ((ast_format_cmp(&c0->rawreadformat, &c1->rawwriteformat) == AST_FORMAT_CMP_NOT_EQUAL) ||
                    (ast_format_cmp(&c1->rawreadformat, &c0->rawwriteformat) == AST_FORMAT_CMP_NOT_EQUAL)) {
                    ast_debug(1, "rtp-engine-local-bridge: Oooh, formats changed, backing out\n");
                    res = AST_BRIDGE_FAILED_NOWARN;
                    break;
            }

Also hier werden nur rawformats mit einander verglichen. Der rest hatt er da schon gefunden. Ich glaube nicht das das mit den namen zu tun hatt. Es hatt auch functioniert fur ast110.c und astTrunk.c vor ein paar wochen. Es ist nur das da ein paar sachen geandert worden sind (auch mit codec handling), was dieses problem hervorruft. Die channel namen waren dann auch schon so.

from chan-sccp.

marcelloceschia avatar marcelloceschia commented on June 5, 2024

dann muss es eine revision geben mit der es unter ast 11 funktioniert.
woher kommt c0 und c1?

from chan-sccp.

dkgroot avatar dkgroot commented on June 5, 2024

rtp_engine.c : local_bridge_loop(struct ast_channel *c0, struct ast_channel *c1,....)

Soll ich zuruck steigen in alte revisions to find the spot. ?

from chan-sccp.

marcelloceschia avatar marcelloceschia commented on June 5, 2024

denke ich ist die schnellere lösung

from chan-sccp.

dkgroot avatar dkgroot commented on June 5, 2024

Bin Dabei.

Weiss aber nicht mehr wie weit ich gehen muss. Bin jetzt bei 4150 aber
da geht wieder was anderes schieft (der bridge geht da aber teilweise :-))

Diederik

On 02/24/2013 06:12 PM, marcelloceschia wrote:

denke ich ist die schnellere lösung


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

from chan-sccp.

dkgroot avatar dkgroot commented on June 5, 2024

Habe danach auch gleich die anderung von Kevin Vandenberg per hand
ubernommen, damit jetzt alle cli/ami messages einem format folgen
sollten. Er wird das morgen durch ein ami parser schmeissen und gucken
ob alles interpretierbar ist.

Diederik

On 02/24/2013 06:12 PM, marcelloceschia wrote:

denke ich ist die schnellere lösung


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

from chan-sccp.

dkgroot avatar dkgroot commented on June 5, 2024

Refcount has been fixed

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.