I can't do a outbound call, and I listen "all lines are busy now, please try to call again later" I think this is codec

I'm try to install a device digium 1600p with 6 fxo and 12 fxs, and I will use only 2 fxo to make my calls. I installed the device in a hardware with this descriptions:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel® Core™ i5-3330 CPU @ 3.00GHz
stepping : 9
cpu MHz : 3000.162
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 6000.32
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel® Core™ i5-3330 CPU @ 3.00GHz
stepping : 9
cpu MHz : 3000.162
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5999.99
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel® Core™ i5-3330 CPU @ 3.00GHz
stepping : 9
cpu MHz : 3000.162
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5999.87
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel® Core™ i5-3330 CPU @ 3.00GHz
stepping : 9
cpu MHz : 3000.162
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5999.98
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]

I created a trunk how dahdi and how zab(dahdi compatibly).
After I created 3 extensions, with a secret.
After I created a input routes, with destination to a extension that I created.
Last I created a outbound routes, with a prefix 0 and match patterns “.” , with the 2 trunks that I created before. but when I try to make a external call, return to me this message:

all lines are busy now, please try to call again later.

and my call hangdown, and my log in CLI return to me this message:

Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [038315797@from-internal:1] Macro(“SIP/3000-0000000b”, “user-callerid,SKIPTTL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/3000-0000000b”, “AMPUSER=3000”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/3000-0000000b”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/3000-0000000b”, “1?Set(REALCALLERIDNUM=3000)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/3000-0000000b”, “AMPUSER=3000”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/3000-0000000b”, “AMPUSERCIDNAME=teste3”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/3000-0000000b”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/3000-0000000b”, “AMPUSERCID=3000”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/3000-0000000b”, “CALLERID(all)=“teste3” <3000>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/3000-0000000b”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/3000-0000000b”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] Set(“SIP/3000-0000000b”, “CALLERID(number)=3000”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/3000-0000000b”, “CALLERID(name)=teste3”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“SIP/3000-0000000b”, “Using CallerID “teste3” <3000>”) in new stack
– Executing [038315797@from-internal:2] NoOp(“SIP/3000-0000000b”, “Calling Out Route: Saida”) in new stack
– Executing [038315797@from-internal:3] Set(“SIP/3000-0000000b”, “MOHCLASS=default”) in new stack
– Executing [038315797@from-internal:4] Set(“SIP/3000-0000000b”, “_NODEST=”) in new stack
– Executing [038315797@from-internal:5] Macro(“SIP/3000-0000000b”, “record-enable,3000,OUT,”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/3000-0000000b”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“SIP/3000-0000000b”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“SIP/3000-0000000b”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [s@macro-record-enable:15] GotoIf(“SIP/3000-0000000b”, “0?IN”) in new stack
– Executing [s@macro-record-enable:16] ExecIf(“SIP/3000-0000000b”, “1?MacroExit()”) in new stack
– Executing [038315797@from-internal:6] Macro(“SIP/3000-0000000b”, “dialout-trunk,1,38315797,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/3000-0000000b”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/3000-0000000b”, “0?sub-pincheck,s,1”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/3000-0000000b”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/3000-0000000b”, “DIAL_NUMBER=38315797”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/3000-0000000b”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/3000-0000000b”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/3000-0000000b”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/3000-0000000b”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/3000-0000000b”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/3000-0000000b”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/3000-0000000b”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/3000-0000000b”, “0?Set(REALCALLERIDNUM=3000)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/3000-0000000b”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/3000-0000000b”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/3000-0000000b”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/3000-0000000b”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/3000-0000000b”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/3000-0000000b”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/3000-0000000b”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/3000-0000000b”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/3000-0000000b”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/3000-0000000b”, “0?sub-flp-1,s,1”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/3000-0000000b”, “OUTNUM=38315797”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/3000-0000000b”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/3000-0000000b”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] Macro(“SIP/3000-0000000b”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/3000-0000000b”, “”) in new stack
– Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/3000-0000000b”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/3000-0000000b”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:19] Dial(“SIP/3000-0000000b”, “DAHDI/g0/38315797,300,”) in new stack
– Called DAHDI/g0/38315797
[Sep 19 14:54:47] WARNING[3945]: chan_dahdi.c:7812 handle_alarms: Detected alarm on channel 2: Red Alarm
– Hanging up on ‘DAHDI/2-1’
– Hungup ‘DAHDI/2-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:20] NoOp(“SIP/3000-0000000b”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
– Executing [s@macro-dialout-trunk:21] Goto(“SIP/3000-0000000b”, “s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/3000-0000000b”, “RC=0”) in new stack
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/3000-0000000b”, “0,1”) in new stack
– Goto (macro-dialout-trunk,0,1)
– Executing [0@macro-dialout-trunk:1] Goto(“SIP/3000-0000000b”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/3000-0000000b”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/3000-0000000b”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:4] Set(“SIP/3000-0000000b”, “CALLERID(number)=3000”) in new stack
– Executing [038315797@from-internal:7] Macro(“SIP/3000-0000000b”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/3000-0000000b”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/3000-0000000b”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/3000-0000000b”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/3000-0000000b”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <SIP/3000-0000000b> Playing ‘all-circuits-busy-now.gsm’ (language ‘en’)
[Sep 19 14:54:49] NOTICE[3607]: sig_analog.c:3730 analog_handle_init_event: Alarm cleared on channel 2
– <SIP/3000-0000000b> Playing ‘pls-try-call-later.gsm’ (language ‘en’)
– Executing [s@macro-outisbusy:5] Congestion(“SIP/3000-0000000b”, “20”) in new stack
[Sep 19 14:54:51] WARNING[3945]: channel.c:4650 ast_prod: Prodding channel ‘SIP/3000-0000000b’ failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/3000-0000000b’ in macro ‘outisbusy’
== Spawn extension (from-internal, 038315797, 7) exited non-zero on ‘SIP/3000-0000000b’
– Executing [h@from-internal:1] Macro(“SIP/3000-0000000b”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/3000-0000000b”, “1?endmixmoncheck”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] NoOp(“SIP/3000-0000000b”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:10] GotoIf(“SIP/3000-0000000b”, “1?nomeetmemon”) in new stack
– Goto (macro-hangupcall,s,15)
– Executing [s@macro-hangupcall:15] NoOp(“SIP/3000-0000000b”, “MEETME_RECORDINGFILE=”) in new stack
– Executing [s@macro-hangupcall:16] GotoIf(“SIP/3000-0000000b”, “1?noautomon”) in new stack
– Goto (macro-hangupcall,s,18)
– Executing [s@macro-hangupcall:18] NoOp(“SIP/3000-0000000b”, “TOUCH_MONITOR_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:19] GotoIf(“SIP/3000-0000000b”, “1?noautomon2”) in new stack
– Goto (macro-hangupcall,s,25)
– Executing [s@macro-hangupcall:25] NoOp(“SIP/3000-0000000b”, “MONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:26] GotoIf(“SIP/3000-0000000b”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,29)
– Executing [s@macro-hangupcall:29] GotoIf(“SIP/3000-0000000b”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,32)
– Executing [s@macro-hangupcall:32] GotoIf(“SIP/3000-0000000b”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,34)
– Executing [s@macro-hangupcall:34] Hangup(“SIP/3000-0000000b”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on ‘SIP/3000-0000000b’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/3000-0000000b’

If I try to receive a external call, nothing happens, and if I try to make a internal call, the call happens very well.

I tolk with my friend and he tell me about the codecs, and in my case I have some codecs less.

Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)

       g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10  g729 speex  ilbc  g726  g722 siren7 siren14 slin16  g719 speex16 testlaw
 g723     -  3000  2001  2001     4000  2001  2000  3000  4000  5999  7999  3999  2001      -       -   2002     -    5001    2001
  gsm  3000     -     2     2     2001     2     1  1001  2001  4000  6000  2000     2      -       -      3     -    3002       2
 ulaw  3000  1001     -     1     2001     2     1  1001  2001  4000  6000  2000     2      -       -      3     -    3002       2
 alaw  3000  1001     1     -     2001     2     1  1001  2001  4000  6000  2000     2      -       -      3     -    3002       2

g726aal2 3999 2000 1001 1001 - 1001 1000 2000 3000 4999 6999 2999 1001 - - 1002 - 4001 1001
adpcm 3000 1001 2 2 2001 - 1 1001 2001 4000 6000 2000 2 - - 3 - 3002 2
slin 2999 1000 1 1 2000 1 - 1000 2000 3999 5999 1999 1 - - 2 - 3001 1
lpc10 3999 2000 1001 1001 3000 1001 1000 - 3000 4999 6999 2999 1001 - - 1002 - 4001 1001
g729 3999 2000 1001 1001 3000 1001 1000 2000 - 4999 6999 2999 1001 - - 1002 - 4001 1001
speex 3999 2000 1001 1001 3000 1001 1000 2000 3000 - 6999 2999 1001 - - 1002 - 4001 1001
ilbc 3999 2000 1001 1001 3000 1001 1000 2000 3000 4999 - 2999 1001 - - 1002 - 4001 1001
g726 3000 1001 2 2 2001 2 1 1001 2001 4000 6000 - 2 - - 3 - 3002 2
g722 3999 2000 1001 1001 3000 1001 1000 2000 3000 4999 6999 2999 - - - 1 - 3000 1001
siren7 - - - - - - - - - - - - - - - - - - -
siren14 - - - - - - - - - - - - - - - - - - -
slin16 4999 3000 2001 2001 4000 2001 2000 3000 4000 5999 7999 3999 1000 - - - - 2999 2001
g719 - - - - - - - - - - - - - - - - - - -
speex16 5000 3001 2002 2002 4001 2002 2001 3001 4001 6000 8000 4000 1001 - - 1 - - 2002
testlaw 3000 1001 2 2 2001 2 1 1001 2001 4000 6000 2000 2 - - 3 - 3002 -

Please, I need too much fix it. please, help me. Thank you so much. and sorry for my english, I don't know speak in english verry well. thank you so much.

You have a red hardware alarm on the DAHDI channel. That is not a codec issue.

How can I fix it?, and what happens?

There is insufficient information about your hardware, but I would guess, for an analogue FXS it probably means the line is permanently off hook and for an FXO, it means it has no battery voltage on it. For digital lines it means that the electrical signal on the wire is so garbled that the equipment cannot synchronised to it.

Either fix the hardware fault, or correct your configuration to match what is actually being sent.

You would get a red alarm on an analogue extension line if you tried to connect to it using an FXO interface card.

Als oT the RED alarm on an analog port is generated when the driver detects a loss of voltage on the line for an extended period of time, which normally means that the port has been disconnected from the provider or the cable has an intermittent short somewhere. Information extracted from this thread https://community.asterisk.org/t/detected-alarm-on-channel-2-red-alarm/411127

I’m use the Fxo to input of my infraestrution, and when arrive to elaxtix to fxo, is redirected to a digital extension.

I put the power cable and the issue happens again, and give me this log:

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [0996994483@from-internal:1] Macro(“SIP/3000-00000001”, “user-callerid,SKIPTTL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/3000-00000001”, “AMPUSER=3000”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/3000-00000001”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/3000-00000001”, “1?Set(REALCALLERIDNUM=3000)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/3000-00000001”, “AMPUSER=3000”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/3000-00000001”, “AMPUSERCIDNAME=telefone”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/3000-00000001”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/3000-00000001”, “AMPUSERCID=3000”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/3000-00000001”, “CALLERID(all)=“telefone” <3000>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/3000-00000001”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/3000-00000001”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] Set(“SIP/3000-00000001”, “CALLERID(number)=3000”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/3000-00000001”, “CALLERID(name)=telefone”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“SIP/3000-00000001”, “Using CallerID “telefone” <3000>”) in new stack
– Executing [0996994483@from-internal:2] NoOp(“SIP/3000-00000001”, “Calling Out Route: 9_outside”) in new stack
– Executing [0996994483@from-internal:3] Set(“SIP/3000-00000001”, “MOHCLASS=default”) in new stack
– Executing [0996994483@from-internal:4] Set(“SIP/3000-00000001”, “_NODEST=”) in new stack
– Executing [0996994483@from-internal:5] Macro(“SIP/3000-00000001”, “record-enable,3000,OUT,”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/3000-00000001”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“SIP/3000-00000001”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“SIP/3000-00000001”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [s@macro-record-enable:15] GotoIf(“SIP/3000-00000001”, “0?IN”) in new stack
– Executing [s@macro-record-enable:16] ExecIf(“SIP/3000-00000001”, “1?MacroExit()”) in new stack
– Executing [0996994483@from-internal:6] Macro(“SIP/3000-00000001”, “dialout-trunk,1,996994483,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/3000-00000001”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/3000-00000001”, “0?sub-pincheck,s,1”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/3000-00000001”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/3000-00000001”, “DIAL_NUMBER=996994483”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/3000-00000001”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/3000-00000001”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/3000-00000001”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/3000-00000001”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/3000-00000001”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/3000-00000001”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/3000-00000001”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/3000-00000001”, “0?Set(REALCALLERIDNUM=3000)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/3000-00000001”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/3000-00000001”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/3000-00000001”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/3000-00000001”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/3000-00000001”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/3000-00000001”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/3000-00000001”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/3000-00000001”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/3000-00000001”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/3000-00000001”, “0?sub-flp-1,s,1”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/3000-00000001”, “OUTNUM=996994483”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/3000-00000001”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/3000-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] Macro(“SIP/3000-00000001”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/3000-00000001”, “”) in new stack
– Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/3000-00000001”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/3000-00000001”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:19] Dial(“SIP/3000-00000001”, “DAHDI/g0/996994483,300,”) in new stack
– Called DAHDI/g0/996994483
– Hanging up on ‘DAHDI/6-1’
– Hungup ‘DAHDI/6-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:20] NoOp(“SIP/3000-00000001”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
– Executing [s@macro-dialout-trunk:21] Goto(“SIP/3000-00000001”, “s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/3000-00000001”, “RC=0”) in new stack
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/3000-00000001”, “0,1”) in new stack
– Goto (macro-dialout-trunk,0,1)
– Executing [0@macro-dialout-trunk:1] Goto(“SIP/3000-00000001”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/3000-00000001”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/3000-00000001”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:4] Set(“SIP/3000-00000001”, “CALLERID(number)=3000”) in new stack
– Executing [0996994483@from-internal:7] Macro(“SIP/3000-00000001”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/3000-00000001”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/3000-00000001”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/3000-00000001”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/3000-00000001”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <SIP/3000-00000001> Playing ‘all-circuits-busy-now.gsm’ (language ‘en’)
– <SIP/3000-00000001> Playing ‘pls-try-call-later.gsm’ (language ‘en’)
– Executing [s@macro-outisbusy:5] Congestion(“SIP/3000-00000001”, “20”) in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/3000-00000001’ in macro ‘outisbusy’
== Spawn extension (from-internal, 0996994483, 7) exited non-zero on ‘SIP/3000-00000001’
– Executing [h@from-internal:1] Macro(“SIP/3000-00000001”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/3000-00000001”, “1?endmixmoncheck”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] NoOp(“SIP/3000-00000001”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:10] GotoIf(“SIP/3000-00000001”, “1?nomeetmemon”) in new stack
– Goto (macro-hangupcall,s,15)
– Executing [s@macro-hangupcall:15] NoOp(“SIP/3000-00000001”, “MEETME_RECORDINGFILE=”) in new stack
– Executing [s@macro-hangupcall:16] GotoIf(“SIP/3000-00000001”, “1?noautomon”) in new stack
– Goto (macro-hangupcall,s,18)
– Executing [s@macro-hangupcall:18] NoOp(“SIP/3000-00000001”, “TOUCH_MONITOR_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:19] GotoIf(“SIP/3000-00000001”, “1?noautomon2”) in new stack
– Goto (macro-hangupcall,s,25)
– Executing [s@macro-hangupcall:25] NoOp(“SIP/3000-00000001”, “MONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:26] GotoIf(“SIP/3000-00000001”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,29)
– Executing [s@macro-hangupcall:29] GotoIf(“SIP/3000-00000001”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,32)
– Executing [s@macro-hangupcall:32] GotoIf(“SIP/3000-00000001”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,34)
– Executing [s@macro-hangupcall:34] Hangup(“SIP/3000-00000001”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on ‘SIP/3000-00000001’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/3000-00000001’
– Remote UNIX connection
– Remote UNIX connection disconnected

In other forum, I read the power cable is used only to phone how needs be powered, but in my case, the I am using the fxo interface. but both way don’t worked here.

In the flush operator pannel, I can see the call go to dahdi with is connected and tell me the message error.

And other think is that card is a tdm 1600p v1.2, and the system say tdm 2400p, have any problen in this?

What kind of log do you need, to see this problem?

I tryed with the power cable, without the power cable, and the both way I can’t make a external call or receive a external call.

do you have any test to I try?
how can I test this lost of voltage?

this link is private, I can’t access.

Could you just provide the logs around the point of failure (we are not very interested in the machinations of the FreePBX dialplan, which is not supported here), and also take them from the logfiles, so we can see the timestamps (preferably configure for millisecond resolution timestamps.

At the moment it looks as though you have fixed the red alarm, but the call is being hung up quickly, so you need to enable the low level logging on DAHDI which gives details of the voltage states on the wires. Unfortunately, I don’t actually use DAHDI, so, whilst I know such logging exists, I don’t know how to request it.