Problems using Tenotos as SIP Trunk

I keep getting the error you get when shiz be configured/dialed wrong. SIP registration is successful though. Here’s the log:

[2012-04-23 00:53:06] VERBOSE[3292] netsock2.c: == Using SIP RTP TOS bits 184 [2012-04-23 00:53:06] VERBOSE[3292] netsock2.c: == Using SIP RTP CoS mark 5 [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Macro("SIP/101-0000005d", "user-callerid,LIMIT,") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Set("SIP/101-0000005d", "AMPUSER=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] GotoIf("SIP/101-0000005d", "0?report") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] ExecIf("SIP/101-0000005d", "1?Set(REALCALLERIDNUM=101)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] Set("SIP/101-0000005d", "AMPUSER=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:5] Set("SIP/101-0000005d", "AMPUSERCIDNAME=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:6] GotoIf("SIP/101-0000005d", "0?report") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:7] Set("SIP/101-0000005d", "AMPUSERCID=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:8] Set("SIP/101-0000005d", "CALLERID(all)="101" <101>") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:9] NoOp("SIP/101-0000005d", "[TRACE](3) Current Concurrency Count for 101: 0, User Limit: 0") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:10] GotoIf("SIP/101-0000005d", "0?limit") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:11] ExecIf("SIP/101-0000005d", "1?Set(GROUP(concurrency_limit)=101)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:12] ExecIf("SIP/101-0000005d", "0?Set(CHANNEL(language)=)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:13] GosubIf("SIP/101-0000005d", "0?sub-ccss,s,1(from-internal,17328779952)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:14] GotoIf("SIP/101-0000005d", "1?continue") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-user-callerid,s,27) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:27] Set("SIP/101-0000005d", "CALLERID(number)=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:28] Set("SIP/101-0000005d", "CALLERID(name)=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:29] Set("SIP/101-0000005d", "CHANNEL(language)=en") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:30] NoOp("SIP/101-0000005d", "[TRACE](3) Using CallerID "101" <101>") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] NoOp("SIP/101-0000005d", "[TRACE](1) Calling Out Route: Local") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] Set("SIP/101-0000005d", "MOHCLASS=default") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] ExecIf("SIP/101-0000005d", "1?Set(TRUNKCIDOVERRIDE=7328551234)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:5] Set("SIP/101-0000005d", "_NODEST=") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:6] Gosub("SIP/101-0000005d", "sub-record-check,s,1(out,17328779952,)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] GotoIf("SIP/101-0000005d", "1?check") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (sub-record-check,s,3) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] Set("SIP/101-0000005d", "MON_FMT=wav") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] GotoIf("SIP/101-0000005d", "1?next") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (sub-record-check,s,7) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:7] ExecIf("SIP/101-0000005d", "0?Return()") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/101-0000005d", "0?out,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:9] Set("SIP/101-0000005d", "__REC_STATUS=INITIALIZED") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:10] ExecIf("SIP/101-0000005d", "0?Set(__REC_POLICY_MODE=)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:11] Set("SIP/101-0000005d", "NOW=1335156786") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:12] Set("SIP/101-0000005d", "__DAY=23") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:13] Set("SIP/101-0000005d", "__MONTH=04") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:14] Set("SIP/101-0000005d", "__YEAR=2012") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:15] Set("SIP/101-0000005d", "__TIMESTR=20120423-005306") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:16] Set("SIP/101-0000005d", "__FROMEXTEN=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:17] Set("SIP/101-0000005d", "__CALLFILENAME=out-17328779952-101-20120423-005306-1335156786.93") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:18] Goto("SIP/101-0000005d", "out,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (sub-record-check,out,1) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] NoOp("SIP/101-0000005d", "[TRACE](3) Recording Check out 17328779952") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] ExecIf("SIP/101-0000005d", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] GosubIf("SIP/101-0000005d", "0?record,1(exten,17328779952,101)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] Return("SIP/101-0000005d", "") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:7] Macro("SIP/101-0000005d", "dialout-trunk,4,17328779952,") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Set("SIP/101-0000005d", "DIAL_TRUNK=4") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] GosubIf("SIP/101-0000005d", "0?sub-pincheck,s,1()") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/101-0000005d", "0?disabletrunk,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] Set("SIP/101-0000005d", "DIAL_NUMBER=17328779952") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:5] Set("SIP/101-0000005d", "DIAL_TRUNK_OPTIONS=tr") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:6] Set("SIP/101-0000005d", "OUTBOUND_GROUP=OUT_4") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:7] GotoIf("SIP/101-0000005d", "0?nomax") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/101-0000005d", "0?chanfull") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/101-0000005d", "0?skipoutcid") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:10] Set("SIP/101-0000005d", "DIAL_TRUNK_OPTIONS=") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:11] Macro("SIP/101-0000005d", "outbound-callerid,4") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] ExecIf("SIP/101-0000005d", "0?Set(CALLERPRES()=)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] ExecIf("SIP/101-0000005d", "0?Set(REALCALLERIDNUM=101)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/101-0000005d", "1?normcid") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-outbound-callerid,s,6) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:6] Set("SIP/101-0000005d", "USEROUTCID=") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:7] Set("SIP/101-0000005d", "EMERGENCYCID=") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:8] Set("SIP/101-0000005d", "TRUNKOUTCID=7328551234") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/101-0000005d", "1?trunkcid") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-outbound-callerid,s,12) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:12] ExecIf("SIP/101-0000005d", "1?Set(CALLERID(all)=7328551234)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]nd-callerid:13] ExecIf("SIP/101-0000005d", "0?Set(CALLERID(all)=)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:14] ExecIf("SIP/101-0000005d", "1?Set(CALLERID(all)=7328551234)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:15] ExecIf("SIP/101-0000005d", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:12] GosubIf("SIP/101-0000005d", "0?sub-flp-4,s,1()") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:13] Set("SIP/101-0000005d", "OUTNUM=17328779952") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:14] Set("SIP/101-0000005d", "custom=SIP/tenotos") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:15] ExecIf("SIP/101-0000005d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:16] ExecIf("SIP/101-0000005d", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:17] Macro("SIP/101-0000005d", "dialout-trunk-predial-hook,") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] MacroExit("SIP/101-0000005d", "") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:18] GotoIf("SIP/101-0000005d", "0?bypass,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:19] ExecIf("SIP/101-0000005d", "1?Set(CONNECTEDLINE(num,i)=17328779952)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:20] ExecIf("SIP/101-0000005d", "1?Set(CONNECTEDLINE(name,i)=CID:7328551234)") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:21] GotoIf("SIP/101-0000005d", "0?customtrunk") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:22] Dial("SIP/101-0000005d", "SIP/tenotos/17328779952,300,") in new stack [2012-04-23 00:53:06] VERBOSE[11162] netsock2.c: == Using SIP RTP TOS bits 184 [2012-04-23 00:53:06] VERBOSE[11162] netsock2.c: == Using SIP RTP CoS mark 5 [2012-04-23 00:53:06] VERBOSE[11162] app_dial.c: -- Called SIP/tenotos/17328779952 [2012-04-23 00:53:06] VERBOSE[11162] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:23] NoOp("SIP/101-0000005d", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:24] Goto("SIP/101-0000005d", "s-CONGESTION,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Set("SIP/101-0000005d", "RC=34") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] Goto("SIP/101-0000005d", "34,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-dialout-trunk,34,1) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Goto("SIP/101-0000005d", "continue,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-dialout-trunk,continue,1) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] GotoIf("SIP/101-0000005d", "1?noreport") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Goto (macro-dialout-trunk,continue,3) [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] NoOp("SIP/101-0000005d", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] Set("SIP/101-0000005d", "CALLERID(number)=101") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:8] Macro("SIP/101-0000005d", "outisbusy,") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Progress("SIP/101-0000005d", "") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:2] GotoIf("SIP/101-0000005d", "0?emergency,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/101-0000005d", "0?intracompany,1") in new stack [2012-04-23 00:53:06] VERBOSE[11162] pbx.c: -- Executing [[email protected]:4] Playback("SIP/101-0000005d", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack [2012-04-23 00:53:06] VERBOSE[11162] file.c: -- Playing 'all-circuits-busy-now.ulaw' (language 'en') [2012-04-23 00:53:08] VERBOSE[11162] app_macro.c: == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/101-0000005d' in macro 'outisbusy' [2012-04-23 00:53:08] VERBOSE[11162] pbx.c: == Spawn extension (from-internal, 17328779952, 8) exited non-zero on 'SIP/101-0000005d' [2012-04-23 00:53:08] VERBOSE[11162] pbx.c: -- Executing [[email protected]:1] Hangup("SIP/101-0000005d", "") in new stack [2012-04-23 00:53:08] VERBOSE[11162] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/101-0000005d'