Please, I need help to run an ISDN PRI with CANTV Venezuela. Actually recognized the card and the ports it green in the section "Detect New Hardware"
issabel*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f3fdc005f50 -- Strict RTP learning after remote address set to: 10.1.1.4:7078
-- Executing [5715785@from-internal:1] Macro("SIP/7111-00000001", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7111-00000001", "TOUCH_MONITOR=1615877805.13") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/7111-00000001", "AMPUSER=7111") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/7111-00000001", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/7111-00000001", "1?Set(REALCALLERIDNUM=7111)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7111-00000001", "AMPUSER=7111") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7111-00000001", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7111-00000001", "AMPUSERCIDNAME=Ppal") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/7111-00000001", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/7111-00000001", "AMPUSERCID=7111") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/7111-00000001", "DIAL_OPTIONS=tr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/7111-00000001", "CALLERID(all)="Ppal" <7111>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/7111-00000001", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/7111-00000001", "1?Set(GROUP(concurrency_limit)=7111)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/7111-00000001", "1?Set(CHANNEL(language)=es)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/7111-00000001", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/7111-00000001", "CALLERID(number)=7111") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/7111-00000001", "CALLERID(name)=Ppal") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/7111-00000001", "CDR(cnum)=7111") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/7111-00000001", "CDR(cnam)=Ppal") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/7111-00000001", "CHANNEL(language)=es") in new stack
-- Executing [5715785@from-internal:2] Set("SIP/7111-00000001", "MOHCLASS=default") in new stack
-- Executing [5715785@from-internal:3] Set("SIP/7111-00000001", "_NODEST=") in new stack
-- Executing [5715785@from-internal:4] Gosub("SIP/7111-00000001", "sub-record-check,s,1(out,5715785,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/7111-00000001", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/7111-00000001", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/7111-00000001", "MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/7111-00000001", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/7111-00000001", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/7111-00000001", "0?Set(REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/7111-00000001", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/7111-00000001", "REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/7111-00000001", "NOW=1615877805") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/7111-00000001", "DAY=16") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/7111-00000001", "MONTH=03") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/7111-00000001", "YEAR=2021") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/7111-00000001", "TIMESTR=20210316-025645") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/7111-00000001", "FROMEXTEN=7111") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/7111-00000001", "CALLFILENAME=out-5715785-7111-20210316-025645-1615877805.13") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/7111-00000001", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/7111-00000001", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/7111-00000001", "0?record,1(exten,5715785,7111)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/7111-00000001", "") in new stack
-- Executing [5715785@from-internal:5] Macro("SIP/7111-00000001", "dialout-trunk,1,5715785,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/7111-00000001", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/7111-00000001", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/7111-00000001", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/7111-00000001", "DIAL_NUMBER=5715785") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/7111-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/7111-00000001", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/7111-00000001", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/7111-00000001", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/7111-00000001", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/7111-00000001", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/7111-00000001", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/7111-00000001", "0?Set(REALCALLERIDNUM=7111)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/7111-00000001", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/7111-00000001", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/7111-00000001", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/7111-00000001", "TRUNKOUTCID=2747111") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/7111-00000001", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/7111-00000001", "1?Set(CALLERID(all)=2747111)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/7111-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/7111-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/7111-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/7111-00000001", "CDR(outbound_cnum)=2747111") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/7111-00000001", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/7111-00000001", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/7111-00000001", "OUTNUM=5715785") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/7111-00000001", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/7111-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusicdefault)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/7111-00000001", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/7111-00000001", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/7111-00000001", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/7111-00000001", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/7111-00000001", "1?Set(CONNECTEDLINE(num,i)=5715785)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/7111-00000001", "1?Set(CONNECTEDLINE(name,i)=CID:2747111)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/7111-00000001", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/7111-00000001", "DAHDI/g0/5715785,300,T") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g0/5715785
== Primary D-Channel on span 1 up
-- Span 1: Channel 0/1 got hangup, cause 27
-- DAHDI/i1/5715785-1 is circuit-busy
-- Hungup 'DAHDI/i1/5715785-1'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/7111-00000001", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 27") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/7111-00000001", "0?continue,1:s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/7111-00000001", "RC=27") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/7111-00000001", "27,1") in new stack
-- Goto (macro-dialout-trunk,27,1)
-- Executing [27@macro-dialout-trunk:1] Goto("SIP/7111-00000001", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/7111-00000001", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 27 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/7111-00000001", "CALLERID(number)=7111") in new stack
-- Executing [5715785@from-internal:6] Macro("SIP/7111-00000001", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/7111-00000001", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/7111-00000001", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/7111-00000001", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] GotoIf("SIP/7111-00000001", "0?unallocated,1") in new stack
-- Executing [s@macro-outisbusy:5] GotoIf("SIP/7111-00000001", "0?unallocated,1") in new stack
-- Executing [s@macro-outisbusy:6] Playback("SIP/7111-00000001", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/7111-00000001> Playing 'all-circuits-busy-now.gsm' (language 'es')
> 0x7f3fdc005f50 -- Strict RTP qualifying stream type: audio
> 0x7f3fdc005f50 -- Strict RTP switching source address to 192.168.23.20:7078
-- <SIP/7111-00000001> Playing 'pls-try-call-later.gsm' (language 'es')
> 0x7f3fdc005f50 -- Strict RTP learning complete - Locking on source address 192.168.23.20:7078
-- Executing [s@macro-outisbusy:7] Congestion("SIP/7111-00000001", "20") in new stack
[2021-03-16 02:56:51] WARNING[14141][C-00000002]: channel.c:4963 ast_prod: Prodding channel 'SIP/7111-00000001' failed
== Spawn extension (macro-outisbusy, s, 7) exited non-zero on 'SIP/7111-00000001' in macro 'outisbusy'
== Spawn extension (from-internal, 5715785, 6) exited non-zero on 'SIP/7111-00000001'
-- Executing [h@from-internal:1] Hangup("SIP/7111-00000001", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7111-00000001'
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
/etc/dahdi/system.conf
span=1,1,0,ccs,hdb3
termtype: te
bchan=1-15,17-31
dchan=16
Global data
#span=1,1,0,cas,hdb3
echocanceller=mg2,1-15
echocanceller=mg2,17-31
loadzone = us
defaultzone = us
/etc/asterisk/dahdi-channels.conf
group=0
context=from-pstn
switchtype = qsig
signalling = pri_cpe
channel => 1-15,17-31
;channel => 32-46,48-
/etc/asterisk/chan_dahdi.conf
[trunkgroups]
[channels]
context=from-pstn
;;;;;;signalling=fxs_ks
group=0
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes
;internationalprefix = 00
;nationalprefix = 0
;localprefix = 2747
;privateprefix = 2747111
;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3
immediate=no
signalling=pri_cpe
mfcr2_variant=itu
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=yes
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=cantv
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_dtmf_detection=1
mfcr2_dtmf_dialing=1
mfcr2_call_files=yes
#include dahdi-channels.conf
#include chan_dahdi_additional.conf