FreePBX 12, Asterisk 11 with SPA400

Hey guys,

I have installed the FreePBX distro and i have SPA400 connected to the server. Internal everything is workig fine but outgoing calls and incoming calls is not working.

The SPA400 is registered with the freepbx. when i do an outgoing call i have always a busy line. and when i do an incoming call i don’t have any thing in the asterisk cli debug.

Below is my log file of the outgoing call

[2015-02-12 15:50:38] VERBOSE[1730][C-00000005] netsock2.c:   == Using SIP RTP TOS bits 184
[2015-02-12 15:50:38] VERBOSE[1730][C-00000005] netsock2.c:   == Using SIP RTP CoS mark 5
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:1] Macro("SIP/110-0000000a", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/110-0000000a", "TOUCH_MONITOR=1423749038.10") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:2] Set("SIP/110-0000000a", "AMPUSER=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/110-0000000a", "0?report") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/110-0000000a", "1?Set(REALCALLERIDNUM=110)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/110-0000000a", "AMPUSER=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/110-0000000a", "0?limit") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:7] Set("SIP/110-0000000a", "AMPUSERCIDNAME=Henriette Louage") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:8] GotoIf("SIP/110-0000000a", "0?report") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:9] Set("SIP/110-0000000a", "AMPUSERCID=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:10] Set("SIP/110-0000000a", "__DIAL_OPTIONS=Ttr") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:11] Set("SIP/110-0000000a", "CALLERID(all)="Henriette Louage" <110>") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:12] GotoIf("SIP/110-0000000a", "0?limit") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:13] ExecIf("SIP/110-0000000a", "1?Set(GROUP(concurrency_limit)=110)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:14] GosubIf("SIP/110-0000000a", "7?sub-ccss,s,1(from-internal,976323001)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-ccss:1] ExecIf("SIP/110-0000000a", "0?Return()") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-ccss:2] Set("SIP/110-0000000a", "CCSS_SETUP=TRUE") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-ccss:3] GosubIf("SIP/110-0000000a", "0?monitor_config,1(from-internal,976323001):monitor_default,1(from-internal,976323001)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/110-0000000a", "0?is_exten") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/110-0000000a", "") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [monitor_default@sub-ccss:3] Return("SIP/110-0000000a", "FALSE") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:15] ExecIf("SIP/110-0000000a", "0?Set(CHANNEL(language)=)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:16] GotoIf("SIP/110-0000000a", "1?continue") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-user-callerid,s,30)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:30] Set("SIP/110-0000000a", "CALLERID(number)=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:31] Set("SIP/110-0000000a", "CALLERID(name)=Henriette Louage") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:32] Set("SIP/110-0000000a", "CDR(cnum)=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:33] Set("SIP/110-0000000a", "CDR(cnam)=Henriette Louage") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-user-callerid:34] Set("SIP/110-0000000a", "CHANNEL(language)=en") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:2] Gosub("SIP/110-0000000a", "sub-record-check,s,1(out,976323001,dontcare)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:1] GotoIf("SIP/110-0000000a", "0?initialized") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:2] Set("SIP/110-0000000a", "__REC_STATUS=INITIALIZED") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:3] Set("SIP/110-0000000a", "NOW=1423749038") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:4] Set("SIP/110-0000000a", "__DAY=12") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:5] Set("SIP/110-0000000a", "__MONTH=02") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:6] Set("SIP/110-0000000a", "__YEAR=2015") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:7] Set("SIP/110-0000000a", "__TIMESTR=20150212-155038") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:8] Set("SIP/110-0000000a", "__FROMEXTEN=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:9] Set("SIP/110-0000000a", "__MON_FMT=wav") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:10] NoOp("SIP/110-0000000a", "Recordings initialized") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:11] ExecIf("SIP/110-0000000a", "0?Set(ARG3=dontcare)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:12] Set("SIP/110-0000000a", "REC_POLICY_MODE_SAVE=") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:13] ExecIf("SIP/110-0000000a", "0?Set(REC_STATUS=NO)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:14] GotoIf("SIP/110-0000000a", "3?checkaction") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (sub-record-check,s,17)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@sub-record-check:17] GotoIf("SIP/110-0000000a", "1?sub-record-check,out,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (sub-record-check,out,1)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [out@sub-record-check:1] NoOp("SIP/110-0000000a", "Outbound Recording Check from 110 to 976323001") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [out@sub-record-check:2] Set("SIP/110-0000000a", "RECMODE=dontcare") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [out@sub-record-check:3] ExecIf("SIP/110-0000000a", "1?Goto(routewins)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (sub-record-check,out,7)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [out@sub-record-check:7] Gosub("SIP/110-0000000a", "recordcheck,1(dontcare,out,976323001)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/110-0000000a", "Starting recording check against dontcare") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [recordcheck@sub-record-check:2] Goto("SIP/110-0000000a", "dontcare") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (sub-record-check,recordcheck,3)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [recordcheck@sub-record-check:3] Return("SIP/110-0000000a", "") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [out@sub-record-check:8] Return("SIP/110-0000000a", "") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:3] ExecIf("SIP/110-0000000a", "0 ?Set(CDR(accountcode)=)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:4] Set("SIP/110-0000000a", "MOHCLASS=default") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:5] Set("SIP/110-0000000a", "_NODEST=") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:6] Macro("SIP/110-0000000a", "dialout-trunk,2,76323001,,off") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:1] Set("SIP/110-0000000a", "DIAL_TRUNK=2") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/110-0000000a", "0?sub-pincheck,s,1()") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/110-0000000a", "0?disabletrunk,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:4] Set("SIP/110-0000000a", "DIAL_NUMBER=76323001") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:5] Set("SIP/110-0000000a", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:6] Set("SIP/110-0000000a", "OUTBOUND_GROUP=OUT_2") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/110-0000000a", "1?nomax") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/110-0000000a", "0?skipoutcid") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:10] Set("SIP/110-0000000a", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/110-0000000a", "outbound-callerid,2") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/110-0000000a", "0?Set(CALLERPRES()=)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/110-0000000a", "0?Set(REALCALLERIDNUM=110)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/110-0000000a", "1?normcid") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:6] Set("SIP/110-0000000a", "USEROUTCID=") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:7] Set("SIP/110-0000000a", "EMERGENCYCID=") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:8] Set("SIP/110-0000000a", "TRUNKOUTCID=04912684") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/110-0000000a", "1?trunkcid") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-outbound-callerid,s,14)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/110-0000000a", "1?Set(CALLERID(all)=04912684)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/110-0000000a", "0?Set(CALLERID(all)=)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/110-0000000a", "0?Set(CALLERID(all)=)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/110-0000000a", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:18] Set("SIP/110-0000000a", "CDR(outbound_cnum)=04912684") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outbound-callerid:19] Set("SIP/110-0000000a", "CDR(outbound_cnam)=") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/110-0000000a", "0?sub-flp-2,s,1()") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:13] Set("SIP/110-0000000a", "OUTNUM=76323001") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:14] Set("SIP/110-0000000a", "custom=SIP/SPA400") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/110-0000000a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/110-0000000a", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/110-0000000a", "dialout-trunk-predial-hook,") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/110-0000000a", "") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/110-0000000a", "0?bypass,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/110-0000000a", "1?Set(CONNECTEDLINE(num,i)=76323001)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/110-0000000a", "1?Set(CONNECTEDLINE(name,i)=CID:04912684)") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/110-0000000a", "0?customtrunk") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/110-0000000a", "SIP/SPA400/76323001,300,Tt") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] netsock2.c:   == Using SIP RTP TOS bits 184
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] netsock2.c:   == Using SIP RTP CoS mark 5
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] app_dial.c:     -- Called SIP/SPA400/76323001
[2015-02-12 15:50:38] VERBOSE[1730][C-00000005] chan_sip.c:     -- Got SIP response 503 "Service Unavailable" back from 192.168.1.70:5060
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] app_dial.c:     -- SIP/SPA400-0000000b is circuit-busy
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] app_dial.c:   == Everyone is busy/congested at this time (1:0/1/0)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/110-0000000a", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/110-0000000a", "0?continue,1:s-CONGESTION,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-dialout-trunk,s-CONGESTION,1)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/110-0000000a", "RC=34") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/110-0000000a", "34,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-dialout-trunk,34,1)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [34@macro-dialout-trunk:1] Goto("SIP/110-0000000a", "continue,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Goto (macro-dialout-trunk,continue,1)
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/110-0000000a", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [continue@macro-dialout-trunk:2] Set("SIP/110-0000000a", "CALLERID(number)=110") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [976323001@from-internal:7] Macro("SIP/110-0000000a", "outisbusy,") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outisbusy:1] Progress("SIP/110-0000000a", "") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outisbusy:2] GotoIf("SIP/110-0000000a", "0?emergency,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outisbusy:3] GotoIf("SIP/110-0000000a", "0?intracompany,1") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outisbusy:4] Playback("SIP/110-0000000a", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[2015-02-12 15:50:38] VERBOSE[5533][C-00000005] file.c:     -- <SIP/110-0000000a> Playing 'all-circuits-busy-now.ulaw' (language 'en')
[2015-02-12 15:50:40] VERBOSE[5533][C-00000005] file.c:     -- <SIP/110-0000000a> Playing 'pls-try-call-later.ulaw' (language 'en')
[2015-02-12 15:50:42] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [s@macro-outisbusy:5] Congestion("SIP/110-0000000a", "20") in new stack
[2015-02-12 15:50:42] WARNING[5533][C-00000005] channel.c: Prodding channel 'SIP/110-0000000a' failed
[2015-02-12 15:50:42] VERBOSE[5533][C-00000005]
 app_macro.c:   == Spawn extension (macro-outisbusy, s, 5) exited 
non-zero on 'SIP/110-0000000a' in macro 'outisbusy'
[2015-02-12 15:50:42] VERBOSE[5533][C-00000005] pbx.c:   == Spawn extension (from-internal, 976323001, 7) exited non-zero on 'SIP/110-0000000a'
[2015-02-12 15:50:42] VERBOSE[5533][C-00000005] pbx.c:     -- Executing [h@from-internal:1] Hangup("SIP/110-0000000a", "") in new stack
[2015-02-12 15:50:42] VERBOSE[5533][C-00000005] pbx.c:   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/110-0000000a'

Thanks for your help guys

How is your SPA400 connected to the system?

It looks like you are trying to connect a trunk to it, and I don’t think that’s right. If I recall correctly, all you need to do is set up the SPA400 as an extension and off you go.

The spa400 is connected to the server as a trunk and the spa is registered successfully in the freepbx