Freepbx PRI All circuits are busy Outbound calls only

Hello,
I have an issue in my freepbx device.Issue with outbound calls. Randomly all ciruits are busy and need to restart asterisk and dhadi and after it works for approx 2 hours.During this No issue with inbound calls.
PRI debug log for better understand

== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/7003-00000045”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/7003-00000045”, “TOUCH_MONITOR=1506668421.155”) in new stack
– Executing [[email protected]:2] Set(“SIP/7003-00000045”, “AMPUSER=7003”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/7003-00000045”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/7003-00000045”, “1?Set(REALCALLERIDNUM=7003)”) in new stack
– Executing [[email protected]:5] Set(“SIP/7003-00000045”, “AMPUSER=7003”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/7003-00000045”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“SIP/7003-00000045”, “AMPUSERCIDNAME=7003”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/7003-00000045”, “0?report”) in new stack
– Executing [[email protected]:9] Set(“SIP/7003-00000045”, “AMPUSERCID=7003”) in new stack
– Executing [[email protected]:10] Set(“SIP/7003-00000045”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:11] Set(“SIP/7003-00000045”, “CALLERID(all)=“7003” <7003>”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/7003-00000045”, “0?limit”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/7003-00000045”, “1?Set(GROUP(concurrency_limit)=7003)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/7003-00000045”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:15] GotoIf(“SIP/7003-00000045”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [[email protected]:29] Set(“SIP/7003-00000045”, “CALLERID(number)=7003”) in new stack
– Executing [[email protected]:30] Set(“SIP/7003-00000045”, “CALLERID(name)=7003”) in new stack
– Executing [[email protected]:31] GotoIf(“SIP/7003-00000045”, “0?cnum”) in new stack
– Executing [[email protected]:32] Set(“SIP/7003-00000045”, “CDR(cnam)=7003”) in new stack
– Executing [[email protected]:33] Set(“SIP/7003-00000045”, “CDR(cnum)=7003”) in new stack
– Executing [[email protected]:34] Set(“SIP/7003-00000045”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/7003-00000045”, “sub-record-check,s,1(out,0568178775,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/7003-00000045”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/7003-00000045”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/7003-00000045”, “NOW=1506668421”) in new stack
– Executing [[email protected]:4] Set(“SIP/7003-00000045”, “__DAY=29”) in new stack
– Executing [[email protected]:5] Set(“SIP/7003-00000045”, “__MONTH=09”) in new stack
– Executing [[email protected]:6] Set(“SIP/7003-00000045”, “__YEAR=2017”) in new stack
– Executing [[email protected]:7] Set(“SIP/7003-00000045”, “__TIMESTR=20170929-110021”) in new stack
– Executing [[email protected]:8] Set(“SIP/7003-00000045”, “__FROMEXTEN=7003”) in new stack
– Executing [[email protected]:9] Set(“SIP/7003-00000045”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/7003-00000045”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/7003-00000045”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/7003-00000045”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/7003-00000045”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/7003-00000045”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/7003-00000045”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/7003-00000045”, “Outbound Recording Check from 7003 to 0568178775”) in new stack
– Executing [[email protected]:2] Set(“SIP/7003-00000045”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/7003-00000045”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/7003-00000045”, “recordcheck,1(dontcare,out,0568178775)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/7003-00000045”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/7003-00000045”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/7003-00000045”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/7003-00000045”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/7003-00000045”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/7003-00000045”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:5] ExecIf(“SIP/7003-00000045”, “1?Set(TRUNKCIDOVERRIDE=7000)”) in new stack
– Executing [[email protected]:6] Set(“SIP/7003-00000045”, “_NODEST=”) in new stack
– Executing [[email protected]:7] Macro(“SIP/7003-00000045”, “dialout-trunk,2,0568178775,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/7003-00000045”, “DIAL_TRUNK=2”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/7003-00000045”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/7003-00000045”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/7003-00000045”, “DIAL_NUMBER=0568178775”) in new stack
– Executing [[email protected]:5] Set(“SIP/7003-00000045”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:6] Set(“SIP/7003-00000045”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/7003-00000045”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/7003-00000045”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/7003-00000045”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/7003-00000045”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [[email protected]:11] Macro(“SIP/7003-00000045”, “outbound-callerid,2”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/7003-00000045”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/7003-00000045”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/7003-00000045”, “0?Set(REALCALLERIDNUM=7003)”) in new stack
– Executing [[email protected]:4] GotoIf(“SIP/7003-00000045”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,7)
– Executing [[email protected]:7] Set(“SIP/7003-00000045”, “USEROUTCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/7003-00000045”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:9] Set(“SIP/7003-00000045”, “TRUNKOUTCID=7000”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/7003-00000045”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,15)
– Executing [[email protected]:15] ExecIf(“SIP/7003-00000045”, “1?Set(CALLERID(all)=7000)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/7003-00000045”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/7003-00000045”, “1?Set(CALLERID(all)=7000)”) in new stack
– Executing [[email protected]:18] ExecIf(“SIP/7003-00000045”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/7003-00000045”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:20] Set(“SIP/7003-00000045”, “CDR(outbound_cnum)=7000”) in new stack
– Executing [[email protected]:21] Set(“SIP/7003-00000045”, “CDR(outbound_cnam)=”) in new stack
[2017-09-29 11:00:21] WARNING[3792]: func_cdr.c:377 cdr_write_callback: CDR requires a value (CDR(variable)=value)
– Executing [[email protected]:12] GosubIf(“SIP/7003-00000045”, “1?sub-flp-2,s,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/7003-00000045”, “1?Return()”) in new stack
– Executing [[email protected]:13] Set(“SIP/7003-00000045”, “OUTNUM=0568178775”) in new stack
– Executing [[email protected]:14] Set(“SIP/7003-00000045”, “custom=DAHDI/r0”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/7003-00000045”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/7003-00000045”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/7003-00000045”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/7003-00000045”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/7003-00000045”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/7003-00000045”, “1?Set(CONNECTEDLINE(num,i)=0568178775)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/7003-00000045”, “1?Set(CONNECTEDLINE(name,i)=CID:7000)”) in new stack
– Executing [[email protected]:21] ExecIf(“SIP/7003-00000045”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)7000)”) in new stack
– Executing [[email protected]:22] GotoIf(“SIP/7003-00000045”, “0?customtrunk”) in new stack
– Executing [[email protected]:23] Dial(“SIP/7003-00000045”, “DAHDI/r0/0568178775,300,T”) in new stack
PRI Span: 1 – Making new call for cref 32797
– Requested transfer capability: 0x00 - SPEECH
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=40
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 29/0x1D) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 TEI=0 Transmitting N(S)=17, window is open V(A)=17 K=7
PRI Span: 1
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=40
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 29/0x1D) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 > [04 03 80 90 a3]
PRI Span: 1 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
PRI Span: 1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
PRI Span: 1 > User information layer 1: A-Law (35)
PRI Span: 1 > [18 03 a1 83 9e]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 30 Type: CPE]
PRI Span: 1 > [1e 02 80 83]
PRI Span: 1 > Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
PRI Span: 1 > Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
PRI Span: 1 > [6c 06 21 80 37 30 30 30]
PRI Span: 1 > Calling Number (len= 8) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
PRI Span: 1 > Presentation: Presentation permitted, user number not screened (0) ‘7000’ ]
PRI Span: 1 > [70 0b 80 30 35 36 38 31 37 38 37 37 35]
PRI Span: 1 > Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) ‘0568178775’ ]
PRI Span: 1 q931.c:6036 q931_setup: Call 32797 enters state 1 (Call Initiated). Hold state: Idle
– Called DAHDI/r0/0568178775
PRI Span: 1
PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=9
PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 29/0x1D) (Sent to originator)
PRI Span: 1 < Message Type: RELEASE COMPLETE (90)
PRI Span: 1 < [08 02 82 a2]
PRI Span: 1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)
PRI Span: 1 < Ext: 1 Cause: Circuit/channel congestion (34), class = Network Congestion (resource unavailable) (2) ]
PRI Span: 1 Received message for call 0x7fc91c007ef0 on link 0x3268360 TEI/SAPI 0/0
PRI Span: 1 – Processing IE 8 (cs0, Cause)
PRI Span: 1 q931.c:8567 post_handle_q931_message: Call 32797 enters state 0 (Null). Hold state: Idle
Span 1: Processing event PRI_EVENT_HANGUP(6)
– Span 1: Channel 0/30 got hangup, cause 34
– DAHDI/i1/0568178775-57 is circuit-busy
PRI Span: 1 q931.c:6837 q931_hangup: Hangup other cref:32797
PRI Span: 1 q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1 Destroying call 0x7fc91c007ef0, ourstate Null, peerstate Null, hold-state Idle
– Hungup ‘DAHDI/i1/0568178775-57’
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [[email protected]:24] NoOp(“SIP/7003-00000045”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack
– Executing [[email protected]:25] GotoIf(“SIP/7003-00000045”, “0?continue,1:s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [[email protected]:1] Set(“SIP/7003-00000045”, “RC=34”) in new stack
– Executing [[email protected]:2] Goto(“SIP/7003-00000045”, “34,1”) in new stack
– Goto (macro-dialout-trunk,34,1)
– Executing [[email protected]:1] Goto(“SIP/7003-00000045”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [[email protected]:1] NoOp(“SIP/7003-00000045”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/7003-00000045”, “1?Set(CALLERID(number)=7003)”) in new stack
– Executing [[email protected]:8] Macro(“SIP/7003-00000045”, “outisbusy,”) in new stack
– Executing [[email protected]:1] Progress(“SIP/7003-00000045”, “”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/7003-00000045”, “0?emergency,1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/7003-00000045”, “0?intracompany,1”) in new stack
– Executing [[email protected]:4] Playback(“SIP/7003-00000045”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
– <SIP/7003-00000045> Playing ‘all-circuits-busy-now.alaw’ (language ‘en’)
– <SIP/7003-00000045> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
– Executing [[email protected]:5] Congestion(“SIP/7003-00000045”, “20”) in new stack
[2017-09-29 11:00:25] WARNING[1867][C-00000056]: channel.c:4910 ast_prod: Prodding channel ‘SIP/7003-00000045’ failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/7003-00000045’ in macro ‘outisbusy’
== Spawn extension (from-internal, 0568178775, 8) exited non-zero on ‘SIP/7003-00000045’
– Executing [[email protected]:1] Macro(“SIP/7003-00000045”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/7003-00000045”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“SIP/7003-00000045”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] Hangup(“SIP/7003-00000045”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/7003-00000045’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/7003-00000045’

If you are using sangoma cards, please run:
wanpipemon -i w1g1 -c Ta, check for connection
wanpipemon -i w1g1 -c trd, check for data send/received from telcom

Thanks james,

Result for wanpipemon -i w1g1 -c trd
Starting trace…(Press ENTER to exit)

OUTGOING Len=4 TimeStamp=56380 Sep 29 11:36:52 45909 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=56380 Sep 29 11:36:52 45918 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=56420 Sep 29 11:36:52 85423 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp= 894 Sep 29 11:37:02 94489 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp= 894 Sep 29 11:37:02 94498 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp= 931 Sep 29 11:37:02 131035 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=10940 Sep 29 11:37:12 140097 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=10940 Sep 29 11:37:12 140106 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=10976 Sep 29 11:37:12 176418 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=20985 Sep 29 11:37:22 185313 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=20985 Sep 29 11:37:22 185322 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=21021 Sep 29 11:37:22 221798 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=31027 Sep 29 11:37:32 227250 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=31027 Sep 29 11:37:32 227260 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=31067 Sep 29 11:37:32 267287 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=41076 Sep 29 11:37:42 276351 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=41076 Sep 29 11:37:42 276360 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=41112 Sep 29 11:37:42 312686 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=51119 Sep 29 11:37:52 319497 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=51119 Sep 29 11:37:52 319515 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=51158 Sep 29 11:37:52 358047 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=61167 Sep 29 11:38:02 367114 [1/100s]
Raw (HEX) 00 01 01 8D

OUTGOING Len=4 TimeStamp=61167 Sep 29 11:38:02 367123 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=61203 Sep 29 11:38:02 403663 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=41076 Sep 29 11:37:42 276360 [1/100s]
Raw (HEX) 00 01 01 8D

INCOMING Len=4 TimeStamp=41112 Sep 29 11:37:42 312686 [1/100s]
Raw (HEX) 00 01 01 75

OUTGOING Len=4 TimeStamp=51119 Sep 29 11:37:52 319497 [1/100s]
[[email protected] ~]#

OUTGOING Len=4 TimeStamp=51119 Sep 29 11:37:52 319515 [1/100s]
Raw (HEX) 00 01 01 8D
[[email protected] ~]# OUTGOING Len=4 TimeStamp=41076 Sep 29 11:37:42 27 6360 [1/100s]
-bash: OUTGOING: command not found
[[email protected] ~]# Raw (HEX) 00 01 01 8D
-bash: syntax error near unexpected token HEX' [[email protected] ~]# [[email protected] ~]# [[email protected] ~]# INCOMING Len=4 TimeStamp=41112 Sep 29 11:37:42 31 2686 [1/100s] -bash: INCOMING: command not found [[email protected] ~]# Raw (HEX) 00 01 01 75 -bash: syntax error near unexpected tokenHEX’
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# OUTGOING Len=4 TimeStamp=51119 Sep 29 11:37:52 31 9497 [1/100s]
-bash: OUTGOING: command not found
[[email protected] ~]# Raw (HEX) 00 01 01 8D
-bash: syntax error near unexpected token HEX' [[email protected] ~]# [[email protected] ~]# [[email protected] ~]# OUTGOING Len=4 TimeStamp=51119 Sep 29 11:37:52 31 9515 [1/100s] -bash: OUTGOING: command not found [[email protected] ~]# Raw (HEX) 00 01 01 8D -bash: syntax error near unexpected tokenHEX’
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# INCOMING Len=4 TimeStamp=51158 Sep 29 11:37:52 35

wanpipemon -i w1g1 -c Ta

[[email protected] ~]# wanpipemon -i w1g1 -c Ta

***** w1g1: E1 Rx Alarms (Framer) *****

ALOS: OFF | LOS: OFF
RED: OFF | AIS: OFF
LOF: OFF | RAI: OFF

***** w1g1: E1 Rx Alarms (LIU) *****

Short Circuit: OFF
Open Circuit: OFF
Loss of Signal: OFF

***** w1g1: E1 Tx Alarms *****

AIS: OFF | YEL: OFF

***** w1g1: E1 Performance Monitoring Counters *****

Line Code Violation : 0
Far End Block Errors : 0
CRC4 Errors : 0
FAS Errors : 0
Sync Errors : 0

Rx Level : > -2.5db

try change the chan_dahdi.conf :
pridialplan=local // maybe unknown or other values
prilocaldialplan=local

You’re getting an error back from your provider. Have you called them to ask them about it?

I try but i found that after below this error all circuit are busy
Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
– Remote UNIX connection
– Remote UNIX connection disconnected
After this need to restart astrisk and dahdi after than outgoing call works perfectly.

That’s not an error.
This message means that some application (FreePBX e.g.) is periodically connecting to and disconnecting from Asterisk via AMI. It is just an informational message which is displayed when a certain level of verbosity is set.