Exited non-zero on

Hi I’m having issues trying to connect a toll free number to Freepbx - getting the message ’ we are sorry all circuits are busy’

<SIP/5060-000338b6> Playing ‘prepaid-enter-dest’ (language ‘en’)
– Playing ‘prepaid-invalid-digits’ (escape_digits=#) (sample_offset 0)
– Executing [1866nnnnnnn@from-sip-external:1] NoOp(“SIP/sip1a.xxxxx.com-000338b8”, “Received incoming SIP connection from unknown peer to 1866nnnnnn”) in new stack
– Executing [1866nnnnnn4@from-sip-external:2] Set(“SIP/sip1a.xxxxx.com-000338b8”, “DID=1866nnnnnnn”) in new stack
– Executing [1866nnnnnnn@from-sip-external:3] Goto(“SIP/sip1a.xxxxx.com-000338b8”, “s|1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/sip1a.xxxxx.com-000338b8”, “1?checklang:noanonymous”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] GotoIf(“SIP/sip1a.xxxxx.com-000338b8”, “0?setlanguage:from-trunk|1866nnnnnnn|1”) in new stack
– Goto (from-trunk,1866nnnnnnn,1)
– Executing [1866nnnnnnn@from-trunk:1] GotoIf(“SIP/sip1a.xxxxx.com-000338b8”, “1?noplusatstart”) in new stack
== Spawn extension (from-trunk, 1866nnnnnnn, 1) exited non-zero on ‘SIP/sip1a.xxxxx.com-000338b8’
– Executing [h@from-trunk:1] Hangup(“SIP/sip1a.xxxxx.com-000338b8”, “”) in new stack
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/sip1a.xxxxx.com-000338b8’

I’m getting this problem after i changed the extension_test.conf as follows
[from-pstn-custom]
exten => _x.,1,GotoIf($["${CALLERID(num):0:1}" != “+”]?noplusatstart)
exten => _X!,n,NoOp(Changing Caller ID number from ${CALLERID(num)} to ${CALLERID(num):1})
exten => _x.,n,Set(CALLERID(num)=${CALLERID(num):1})

Appreciate any help … this has been really bugging me

Thanks

Hi Mikael

Based on your advice we purchased Paid Support. Looks like your support has not been able to resolve this - Ref FMD-587261
Can you please take a look

exten => _x.,1,GotoIf($["${CALLERID(num):0:1}" != “+”]?noplusatstart)

Do you have a label called noplusatstart?

Executing [1866nnnnnnn@from-trunk:1] GotoIf(“SIP/sip1a.xxxxx.com-000338b8”, “1?noplusatstart”) in new stack

The GoToIf is true, note the 1 before the ?, and it will go to noplusatstart.

As this is custom code you have in your dialplan, I will consider this answered.
If you need help with customizing your PBX I suggest that you click on the link Get Official Paid Support in my tag.