› VitalPBX Community Support › General Discussion › Lost all communication on sip trunk
- This topic has 11 replies, 2 voices, and was last updated 11 months, 2 weeks ago by
Gary.
- Post
-
- February 1, 2020 at 6:55 pm
I can no longer make or receive calls on my sip trunk, the trunk is registered and is username 190881 but for some reason in sip show peers it shows dtmfmode/190881 when it should be 190881/190881 I have deleted trunk and reinstalled but the same peer user name appears.
so when I place a call I get
[2020-02-01 13:53:38] WARNING[5860][C-0000000c]: chan_sip.c:6331 create_addr: Purely numeric hostname (190881), and not a peer–rejecting!
0
- Replies
-
- February 1, 2020 at 7:20 pm
If i create a second sip trunk for testing in sip show peers it does not add a new peer it just changes the one that was already there, dtmfmode/190881 is in sip show peers when I add a new sip trunk 102205_test it should be added to peers instead sip show peers only shows dtmfmode/102205_Test and dtmfmode/190881 is gone, both trunks show as registered on vitalpbx and at ITSP
0- February 1, 2020 at 8:52 pm
- February 1, 2020 at 9:52 pm
- February 1, 2020 at 11:30 pm
If I manually edit sip__50-1-trunks.conf and remove [dtmfmode] and insert dtmfmode=rfc2833 then systemctl restart asterisk the trunk will work But if I make a change in trunks through the gui it will change the settings and stop working, is there a module that can be reloaded to correct this.
0- February 3, 2020 at 3:32 pm
- February 3, 2020 at 9:18 pm
- February 4, 2020 at 2:05 am
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=yesI 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/1Installed:
vitalpbx.x86_64 0:2.4.0-30- February 4, 2020 at 4:16 am
- February 4, 2020 at 3:02 pm
- You must be logged in to reply to this topic.