No Outgoing Calls - ISDN Cause 31

Hi all,

I’ve spent the past 3 days trying to find a solution in vain and any help would be greatly appreciated.

My FreePBX Distro recently got upgraded from 2.8 to 2.10. Everything was working fine until the power failed to the Telco’s ISDN. Power was restored, a reboot of the FreePBX Distro was done and now, I cannot make outgoing calls. Incoming calls are fine and calls to internal extensions is fine also.

I’m using a Digium Wildcard TE121, DAHDI drivers 2.4, libpri 1.4.
The Telco has confirmed that outgoing calls can be made on that ISDN line.
I have a second FreePBX Distro with its own ISDN card for backup purposes. I restored the config of the live server to the backup server and I was able to reproduce the error on that backup server prompting me to think it’s a config error.

The call returns an error with “cause 31” (unspecified Normal Error) and hangs up the call when it’s dialed.

Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/546-000000b9”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/546-000000b9”, “DAHDI/r0/132000,300,”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called r0/132000
– Moving call (DAHDI/i1/132000-98) from channel 17 to 1.
– Channel 0/1, span 1 got hangup request, cause 31
– Hungup ‘DAHDI/i1/132000-98’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“SIP/546-000000b9”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 31”) in new stack
– Executing [s@macro-dialout-trunk:24] Goto(“SIP/546-000000b9”, “s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
Thanks

Wrong caller ID sent. Also verify switch type is correct (check with carrier and make sure DAHDI config is same).

I am having same issue. It was working and now it gives me hang up cause 31. Carrier tells me it is my fault but I didn´t change anything. How did you solve it ? Thanks.