Reply To: RE: Lost all communication on sip trunk

VitalPBX Community Support General Discussion Lost all communication on sip trunk Reply To: RE: Lost all communication on sip trunk

    Gary
    Participant

    I followed instructions and after recreating trunk it has the same issue, this is in sip__50-1-trunks.conf sanitized.

    [1912345678]
    context=trk-4-in
    description=siptrunk
    [dtmfmode]
    host=XXXX.com
    port=5080
    secret=password
    type=friend
    defaultuser=1912345678
    remotesecret=password
    qualify=yes

    I did see 1 PHP error when vitalpbx was reinstalled.

    Total download size: 9.5 M
    Installed size: 35 M
    Downloading packages:
    vitalpbx-2.4.0-3.x86_64.rpm | 9.5 MB 00:00:00
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : vitalpbx-2.4.0-3.x86_64 1/1
    Importing 20190723.1.cdr_trunk.sql…
    PHP Fatal error: Uncaught exception ‘Exception’ with message ‘ERROR 1060 (42S21) at line 2: Duplicate column name ‘trunk’
    ‘ in /usr/share/ombutel/scripts/apply_patches:0
    Stack trace:
    #0 /usr/share/ombutel/scripts/apply_patches(0): patcher::shellcmd()
    #1 /usr/share/ombutel/scripts/apply_patches(0): patcher->shellcmd()
    #2 /usr/share/ombutel/scripts/apply_patches(0): patcher->import_dbscript()
    #3 /usr/share/ombutel/scripts/apply_patches(0): patcher->apply()
    #4 {main}
    thrown in /usr/share/ombutel/scripts/apply_patches on line 0
    Verifying : vitalpbx-2.4.0-3.x86_64 1/1

    Installed:
    vitalpbx.x86_64 0:2.4.0-3

    0