Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
exten => _52X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _52X.,2,Dial(SIP/sipprovider/${EXTEN:2},,To)
exten => _52X.,3,Hangup()
carpenox wrote:it sounds like a dahdi issue, in the shell type: dadhi_cfg -vvv
Show me the results
mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar -xzvf dahdi-linux-complete-current.tar.gz
cd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/
make && make install
modprobe dahdi
dahdi_cfg -vvvvv
carpenox wrote:yea no prob, ssh to your shell and make sure you have root privileges,you can do this by typing "whoami" and if it doesnt say "root" then type "sudo -i" which should bring you into root
Then type the follwoing:
- Code: Select all
mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar -xzvf dahdi-linux-complete-current.tar.gz
cd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/
make && make install
modprobe dahdi
dahdi_cfg -vvvvv
This should get dahdi working for ya and then try whatever wasn't working for you before. Good luck,
-Nox
DAHDI Tools Version - 3.1.0
DAHDI Version: 3.1.0
Echo Canceller(s):
Configuration
======================
Channel map:
0 channels to configure.
screen -list
asterisk -r
core set verbose 25
sip set debug on
There are screens on:
2256.ASTemail (Detached)
2252.ASTVDadFILL (Detached)
2249.ASTfastlog (Detached)
2246.ASTVDadapt (Detached)
2243.ASTVDremote (Detached)
2240.ASTVDauto (Detached)
2237.ASTlisten (Detached)
2234.ASTsend (Detached)
2231.ASTupdate (Detached)
2041.asterisk (Detached)
2036.astshell20200503203747 (Detached)
11 Sockets in /run/screens/S-root.
it was 21 now it is 25
exten => _52X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _52X.,2,Dial(SIP/sipprovider/${EXTEN:2},,Tor)
exten => _52X.,3,Hangup()
Usage: core set debug [atleast] <level> [module]
core set debug off
Sets level of debug messages to be displayed or
sets a module name to display debug messages from.
0 or off means no messages should be displayed.
Equivalent to -d[d[...]] on startup
[May 4 03:19:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:19:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:19:06] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:19:07] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:19:11] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:19:11] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:19:43] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:19:43] == Using SIP RTP CoS mark 5
[May 4 03:19:43] -- Called 1001
[May 4 03:19:43] -- SIP/1001-00000000 is ringing
[May 4 03:19:43] > 0x561fce8b2c10 -- Strict RTP learning after remote address set to: xx2.x68.0.xxx:1370
[May 4 03:19:43] -- SIP/1001-00000000 answered
[May 4 03:19:43] -- Executing [8600051@default:1] MeetMe("SIP/1001-00000000", "8600051,F") in new stack
[May 4 03:19:43] -- Created MeetMe conference 1023 for conference '8600051'
[May 4 03:19:43] -- <SIP/1001-00000000> Playing 'conf-onlyperson.gsm' (language 'en')
[May 4 03:19:43] > 0x561fce8b2c10 -- Strict RTP switching to RTP target address xx2.x68.0.xxx:1370 as source
[May 4 03:19:44] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:19:48] > 0x561fce8b2c10 -- Strict RTP learning complete - Locking on source address xx2.x68.0.xxx:1370
[May 4 03:20:05] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:20:05] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:20:05] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:20:05] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:20:10] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:20:10] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:20:30] == Manager 'sendcron' logged on from 127.0.0.1
[May 4 03:20:30] -- Called 8600051@default
[May 4 03:20:30] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000000;2", "8600051,F") in new stack
[May 4 03:20:30] -- Local/8600051@default-00000000;1 answered
[May 4 03:20:30] -- Executing [5219403xx0252@default:1] AGI("Local/8600051@default-00000000;1", "agi://127.0.0.1:4577/call_log") in new stack
[May 4 03:20:30] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=0001))
[May 4 03:20:30] -- <Local/8600051@default-00000000;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 4 03:20:30] -- Executing [5219403xx0252@default:2] Dial("Local/8600051@default-00000000;1", "SIP/SipProviderAC/19403xx0252,,Tor") in new stack
[May 4 03:20:30] == Using SIP RTP CoS mark 5
[May 4 03:20:30] -- Called SIP/SipProviderAC/19403xx0252
[May 4 03:20:31] == Manager 'sendcron' logged off from 127.0.0.1
[May 4 03:20:32] > 0x7fcfb8042150 -- Strict RTP learning after remote address set to: 1xx.16.1xx.2xx:34066
[May 4 03:20:32] -- SIP/SipProviderAC-00000001 is making progress passing it to Local/8600051@default-00000000;1
[May 4 03:20:40] -- SIP/SipProviderAC-00000001 answered Local/8600051@default-00000000;1
[May 4 03:20:40] -- Channel SIP/SipProviderAC-00000001 joined 'simple_bridge' basic-bridge <513ebe5a-9e1c-496c-85ae-4211ea73ddcc>
[May 4 03:20:40] -- Channel Local/8600051@default-00000000;1 joined 'simple_bridge' basic-bridge <513ebe5a-9e1c-496c-85ae-4211ea73ddcc>
[May 4 03:21:02] -- Channel SIP/SipProviderAC-00000001 left 'simple_bridge' basic-bridge <513ebe5a-9e1c-496c-85ae-4211ea73ddcc>
[May 4 03:21:02] -- Channel Local/8600051@default-00000000;1 left 'simple_bridge' basic-bridge <513ebe5a-9e1c-496c-85ae-4211ea73ddcc>
[May 4 03:21:02] == Spawn extension (default, 5219403xx0252, 2) exited non-zero on 'Local/8600051@default-00000000;1'
[May 4 03:21:02] -- Executing [h@default:1] AGI("Local/8600051@default-00000000;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----31-----31-----SIP 200 OK)") in new stack
[May 4 03:21:02] -- <Local/8600051@default-00000000;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... 31-----SIP 200 OK) completed, returning 0
[May 4 03:21:02] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000000;2'
[May 4 03:21:02] WARNING[2731][C-00000001]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 4 03:21:02] -- Executing [h@default:1] AGI("Local/8600051@default-00000000;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[May 4 03:21:02] -- <Local/8600051@default-00000000;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
Kabis wrote:What is your RTPstart and rtpend value in /etc/asterisk/rtp.conf
; RTP Configuration
;
[general]
;
; RTP start and RTP end configure start and end addresses
;
; Defaults are rtpstart=5000 and rtpend=31000
;
rtpstart=10000
rtpend=20000
;
; Whether to enable or disable UDP checksums on RTP traffic
;
;rtpchecksums=no
;
; The amount of time a DTMF digit with no 'end' marker should be
; allowed to continue (in 'samples', 1/8000 of a second)
;
;dtmftimeout=3000
; rtcpinterval = 5000 ; Milliseconds between rtcp reports
;(min 500, max 60000, default 5000)
;
"rtp.conf" 141L, 5660C
carpenox wrote:yea tru u can set it to 7000 and 7100 and then just open those ports UDP
Users browsing this forum: Bing [Bot] and 141 guests