[RESOLVED] Cause 20 - Subscriber absent - But which one?

Dear folks, I have a problem debugging a TAPI issue (we are running in device and user mode).
ActivaTSP dials extension 555 in this case.
Everything seems to be working, but the two cause 20’s trouble me, because I don’t know what exactly they mean, why they occur, and which subscriber they are actually talking about.

My question is, which two subscribers are absent??? SIP/101 and SIP102?? Or just SIP101? (That one would make sense).
I would really appreciate some help as to find out which ones it’s talking about…

I am getting the following call log. Please note the last two lines with subscriber absent:

-- Executing [[email protected]:1] Set("Local/[email protected];2", "__RINGTIMER=15") in new stack
-- Executing [[email protected]:2] Macro("Local/[email protected];2", "exten-vm,555,555,0,0,0") in new stack
-- Executing [[email protected]:1] Macro("Local/[email protected];2", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("Local/[email protected];2", "AMPUSER=555") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "0?report") in new stack
-- Executing [[email protected]:3] ExecIf("Local/[email protected];2", "1?Set(REALCALLERIDNUM=555)") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "AMPUSER=") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "AMPUSERCIDNAME=") in new stack
-- Executing [[email protected]:6] GotoIf("Local/[email protected];2", "1?report") in new stack
-- Goto (macro-user-callerid,s,14)
-- Executing [[email protected]:14] GotoIf("Local/[email protected];2", "0?continue") in new stack
-- Executing [[email protected]:15] Set("Local/[email protected];2", "__TTL=64") in new stack
-- Executing [[email protected]:16] GotoIf("Local/[email protected];2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,27)
-- Executing [[email protected]:27] Set("Local/[email protected];2", "CALLERID(number)=555") in new stack
-- Executing [[email protected]:28] Set("Local/[email protected];2", "CALLERID(name)=#Id=37") in new stack
-- Executing [[email protected]:29] Set("Local/[email protected];2", "CDR(cnum)=555") in new stack
-- Executing [[email protected]:30] Set("Local/[email protected];2", "CDR(cnam)=#Id=37") in new stack
-- Executing [[email protected]:31] Set("Local/[email protected];2", "CHANNEL(language)=en") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "RingGroupMethod=none") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "__EXTTOCALL=555") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "__PICKUPMARK=555") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "RT=15") in new stack
-- Executing [[email protected]:6] Gosub("Local/[email protected];2", "sub-record-check,s,1(exten,555,)") in new stack
-- Executing [[email protected]:1] Set("Local/[email protected];2", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:2] GotoIf("Local/[email protected];2", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [[email protected]:7] Set("Local/[email protected];2", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:8] GotoIf("Local/[email protected];2", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [[email protected]:11] ExecIf("Local/[email protected];2", "0?Return()") in new stack
-- Executing [[email protected]:12] ExecIf("Local/[email protected];2", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [[email protected]:13] GotoIf("Local/[email protected];2", "0?exten,1") in new stack
-- Executing [[email protected]:14] Set("Local/[email protected];2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:15] Set("Local/[email protected];2", "NOW=1362498674") in new stack
-- Executing [[email protected]:16] Set("Local/[email protected];2", "__DAY=05") in new stack
-- Executing [[email protected]:17] Set("Local/[email protected];2", "__MONTH=03") in new stack
-- Executing [[email protected]:18] Set("Local/[email protected];2", "__YEAR=2013") in new stack
-- Executing [[email protected]:19] Set("Local/[email protected];2", "__TIMESTR=20130305-165114") in new stack
-- Executing [[email protected]:20] Set("Local/[email protected];2", "__FROMEXTEN=555") in new stack
-- Executing [[email protected]:21] Set("Local/[email protected];2", "__CALLFILENAME=exten-555-555-20130305-165114-1362498674.178") in new stack
-- Executing [[email protected]:22] Goto("Local/[email protected];2", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [[email protected]:1] GotoIf("Local/[email protected];2", "0?callee") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [[email protected]:3] GotoIf("Local/[email protected];2", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [[email protected]:10] Set("Local/[email protected];2", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [[email protected]:11] GosubIf("Local/[email protected]7;2", "0?record,1(exten,555,555)") in new stack
-- Executing [[email protected]:12] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:7] Macro("Local/[email protected];2", "dial-one,15,Ttr,555") in new stack
-- Executing [[email protected]:1] Set("Local/[email protected];2", "DEXTEN=555") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "DIALSTATUS_CW=") in new stack
-- Executing [[email protected]:3] GosubIf("Local/[email protected];2", "0?screen,1()") in new stack
-- Executing [[email protected]:4] GosubIf("Local/[email protected];2", "0?cf,1()") in new stack
-- Executing [[email protected]:5] GotoIf("Local/[email protected];2", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [[email protected]:8] GotoIf("Local/[email protected];2", "0?nodial") in new stack
-- Executing [[email protected]:9] GotoIf("Local/[email protected];2", "0?continue") in new stack
-- Executing [[email protected]:10] Set("Local/[email protected];2", "EXTHASCW=ENABLED") in new stack
-- Executing [[email protected]:11] GotoIf("Local/[email protected];2", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [[email protected]:23] GotoIf("Local/[email protected];2", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [[email protected]:24] ExecIf("Local/[email protected];2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [[email protected]:25] GotoIf("Local/[email protected];2", "0?nodial") in new stack
-- Executing [[email protected]:26] GosubIf("Local/[email protected];2", "1?dstring,1():dlocal,1()") in new stack
-- Executing [[email protected]:1] Set("Local/[email protected];2", "DSTRING=") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "DEVICES=101&102") in new stack
-- Executing [[email protected]:3] ExecIf("Local/[email protected];2", "0?Return()") in new stack
-- Executing [[email protected]:4] ExecIf("Local/[email protected];2", "0?Set(DEVICES=01&102)") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "LOOPCNT=2") in new stack
-- Executing [[email protected]:6] Set("Local/[email protected];2", "ITER=1") in new stack
-- Executing [[email protected]:7] Set("Local/[email protected];2", "THISDIAL=SIP/101") in new stack
-- Executing [[email protected]:8] GosubIf("Local/[email protected];2", "1?zap2dahdi,1()") in new stack
-- Executing [[email protected]:1] ExecIf("Local/[email protected];2", "0?Return()") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "NEWDIAL=") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "LOOPCNT2=1") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "ITER2=1") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "THISPART2=SIP/101") in new stack
-- Executing [[email protected]:6] ExecIf("Local/[email protected];2", "0?Set(THISPART2=DAHDI/101)") in new stack
-- Executing [[email protected]:7] Set("Local/[email protected];2", "NEWDIAL=SIP/101&") in new stack
-- Executing [[email protected]:8] Set("Local/[email protected];2", "ITER2=2") in new stack
-- Executing [[email protected]:9] GotoIf("Local/[email protected];2", "0?begin2") in new stack
-- Executing [[email protected]:10] Set("Local/[email protected];2", "THISDIAL=SIP/101") in new stack
-- Executing [[email protected]:11] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:9] Set("Local/[email protected];2", "DSTRING=SIP/101&") in new stack
-- Executing [[email protected]ne:10] Set("Local/[email protected];2", "ITER=2") in new stack
-- Executing [[email protected]:11] GotoIf("Local/[email protected];2", "1?begin") in new stack
-- Goto (macro-dial-one,dstring,7)
-- Executing [[email protected]:7] Set("Local/[email protected];2", "THISDIAL=SIP/102") in new stack
-- Executing [[email protected]:8] GosubIf("Local/[email protected];2", "1?zap2dahdi,1()") in new stack
-- Executing [[email protected]:1] ExecIf("Local/[email protected];2", "0?Return()") in new stack
-- Executing [[email protected]:2] Set("Local/[email protected];2", "NEWDIAL=") in new stack
-- Executing [[email protected]:3] Set("Local/[email protected];2", "LOOPCNT2=1") in new stack
-- Executing [[email protected]:4] Set("Local/[email protected];2", "ITER2=1") in new stack
-- Executing [[email protected]:5] Set("Local/[email protected];2", "THISPART2=SIP/102") in new stack
-- Executing [[email protected]:6] ExecIf("Local/[email protected];2", "0?Set(THISPART2=DAHDI/102)") in new stack
-- Executing [[email protected]:7] Set("Local/[email protected];2", "NEWDIAL=SIP/102&") in new stack
-- Executing [[email protected]:8] Set("Local/[email protected];2", "ITER2=2") in new stack
-- Executing [[email protected]:9] GotoIf("Local/[email protected];2", "0?begin2") in new stack
-- Executing [[email protected]:10] Set("Local/[email protected];2", "THISDIAL=SIP/102") in new stack
-- Executing [[email protected]:11] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:9] Set("Local/[email protected];2", "DSTRING=SIP/101&SIP/102&") in new stack
-- Executing [[email protected]:10] Set("Local/[email protected];2", "ITER=3") in new stack
-- Executing [[email protected]:11] GotoIf("Local/[email protected];2", "0?begin") in new stack
-- Executing [[email protected]:12] Set("Local/[email protected];2", "DSTRING=SIP/101&SIP/102") in new stack
-- Executing [[email protected]:13] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:27] GotoIf("Local/[email protected];2", "0?nodial") in new stack
-- Executing [[email protected]:28] GotoIf("Local/[email protected];2", "0?skiptrace") in new stack
-- Executing [[email protected]:29] GosubIf("Local/[email protected];2", "1?ctset,1():ctclear,1()") in new stack
-- Executing [[email protected]:1] Set("Local/[email protected];2", "DB(CALLTRACE/555)=555") in new stack
-- Executing [[email protected]:2] Return("Local/[email protected];2", "") in new stack
-- Executing [[email protected]:30] Set("Local/[email protected];2", "D_OPTIONS=Ttr") in new stack
-- Executing [[email protected]:31] ExecIf("Local/[email protected];2", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [[email protected]:32] ExecIf("Local/[email protected];2", "0?SIPAddHeader()") in new stack
-- Executing [[email protected]:33] ExecIf("Local/[email protected];2", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [[email protected]:34] GosubIf("Local/[email protected];2", "0?qwait,1()") in new stack
-- Executing [[email protected]:35] Set("Local/[email protected];2", "__CWIGNORE=") in new stack
-- Executing [[email protected]:36] Set("Local/[email protected];2", "__KEEPCID=TRUE") in new stack
-- Executing [[email protected]:37] GotoIf("Local/[email protected];2", "0?usegoto,1") in new stack
-- Executing [[email protected]:38] GotoIf("Local/[email protected];2", "1?godial") in new stack
-- Goto (macro-dial-one,s,42)
-- Executing [[email protected]:42] Dial("Local/[email protected];2", "SIP/101&SIP/102,15,Ttr") in new stack

[2013-03-05 16:51:14] WARNING[5151][C-0000004f]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
[2013-03-05 16:51:14] WARNING[5151][C-0000004f]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)

From the ISDN hangup causes(google them)

The subscriber here is the dialed extension.

Cause No. 20 - subscriber absent.
This cause value is used when a mobile station has logged off. Radio contact is not obtained with a mobile station or if a personal telecommunication user is temporarily not addressable at any user-network interface.

You get two because both subscribers

SIP/101&SIP/102

are not available looks like its a Activa problem not an asterisk/FreePBX one.

The thing is, though, SIP/102 actually rings and the call connects properly.
That’s what is confusing me.

Sorry I don’t do windows.

I would like to add that once SIP/101 is logged off, none of the two messages occur, so it seems as though Asterisk logs the warning twice for the single occurrence of SIP/101 being offline.

It seems as though this solves my “problem”, but it interesting nonetheless…