Giter VIP home page Giter VIP logo

Comments (11)

lmangani avatar lmangani commented on July 18, 2024

Hi Dave,
Check this out: https://github.com/sipcapture/homer-api/blob/master/scripts/mysql/rotation.ini#L78

Let me know if this sorts it.

from homer-api.

hamid-elaosta avatar hamid-elaosta commented on July 18, 2024

This doesn't appear to be useful for the Docker based versions. Even mounting this file externally as a volume, and increasing the SIP capture value, the DB is still created with the column too short for some of us with large INVITE packets. It would be useful to have this configurable for the Docker builds, or made larger by default to accommodate larger INVITEs.

from homer-api.

lmangani avatar lmangani commented on July 18, 2024

Hi @hamid-elaosta I updated the default for new builds - alternatively, you can mount your own rotation.ini with any preference you wish and/or build a custom rotation container with any settings of your likes. New versions of the stack shall no longer have this problem as the partitions are created by the capture-server itself.

from homer-api.

hamid-elaosta avatar hamid-elaosta commented on July 18, 2024

@lmangani Thanks. I've been building with rotation.ini mounted in but it doesn't affect DB creation, I've also tried mounting the schema_data.sql with modified values in the docker-opensips build I'm using but I presume it's run from another copy other than that in /home-api/sql/mysql/data_schema.sql? That copy has my changes but the opensips database is still created with the 1500 length.

from homer-api.

lmangani avatar lmangani commented on July 18, 2024

Partitions are created days in advance and existing one won't be modified by executions (unless you drop them ahead of running the rotation script) so keep this in mind as you test a solution.

from homer-api.

hamid-elaosta avatar hamid-elaosta commented on July 18, 2024

@lmangani Indeed. I am a clean db every startup, for some reason volume mounting the rotation.ini didn't affect table creation. Perhaps volumes are mounted after the tables are created?
I pulled your latest change from the homer-api repo and pre-building it with the correct value works fine now, thanks 👍

EDIT: At ~2700 character INVITEs I'm dangerously close to your 3000 limit already 😭

from homer-api.

rs03 avatar rs03 commented on July 18, 2024

Even I am facing same issue.Can somebody please help me here? I have modified sip_capture_call = 3000 in MSG_TABLE_SIZE(vim /usr/src/homer-api/scripts/mysql/rotation.ini) , I can see modified msg field size in sipcapturecall table but still not getting entire INVITE data

from homer-api.

adubovikov avatar adubovikov commented on July 18, 2024

from homer-api.

rs03 avatar rs03 commented on July 18, 2024

from homer-api.

adubovikov avatar adubovikov commented on July 18, 2024

from homer-api.

adubovikov avatar adubovikov commented on July 18, 2024

http://install.sipcapture.io/

from homer-api.

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.