<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><P><SPAN>In the watchdog script you could issue this command :</SPAN></P>
<P><SPAN>asterisk -r -x "rpt showvars <NODE>" (where <NODE> is you node number of course, and include the quotation marks)</SPAN></P>
<P><SPAN></SPAN> </P>
<P><SPAN>Doing this with my node connected to 2135 gives this result:</SPAN></P>
<P><SPAN></SPAN> </P>
<P><SPAN><EM>Variable listing for node 27783:   <BR>RPT_TXKEYED=0   <BR>RPT_NUMLINKS=34<BR>RPT_LINKS=34,TW3SBA,T2135,T8701,T27296,T2122,T27356,T27262,T27349,T2121,T27355,T27261,T27348,T2377,T27657,T27658,T27690,T27354,T27258,T27499,T27701,T27572,T27372,T27373,T2341,T27854,T2242,T27653,T27702,T27672,T2300,T27635,T27470,T27665,T27266<BR>RPT_NUMALINKS=2   <BR>RPT_ALINKS=2,W3SBATU,2135TU   <BR>RPT_ETXKEYED=0   <BR>RPT_RXKEYED=0   <BR>RPT_AUTOPATCHUP=0    <BR>-- 8 variables</EM><BR></SPAN></P>
<P><SPAN>Which could be parsed for the node number that you want to reject.</SPAN></P>
<P><SPAN></SPAN> </P>
<P><SPAN>Then within the output of : asterisk -r -x "rpt stats <NODE>" the last DTMF command executed is shown.</SPAN></P>
<P><SPAN>For example :</SPAN></P>
<P><SPAN><EM> ************************ NODE 27783 STATISTICS *************************</EM></SPAN></P>
<P><SPAN><EM>Selected system state............................: 0<BR>Signal on input..................................: NO<BR>System...........................................: ENABLED<BR>Parrot Mode......................................: DISABLED<BR>Scheduler........................................: ENABLED<BR>Tail Time........................................: STANDARD<BR>Time out timer...................................: ENABLED<BR>Incoming connections.............................: ENABLED<BR>Time out timer state.............................: RESET<BR>Time outs since system initialization............: 0<BR>Identifier state.................................: CLEAN<BR>Kerchunks today..................................: 0<BR>Kerchunks since system initialization............: 0<BR>Keyups today.....................................: 63<BR>Keyups since system initialization...............: 1190<BR>DTMF commands today..............................: 2<BR>DTMF commands since system initialization........: 6<BR><STRONG>Last DTMF command executed.......................: 32135</STRONG><BR>TX time today....................................: 00:01:38.292<BR>TX time since system initialization..............: 01:10:31.702<BR>Uptime...........................................: 36:58:08<BR>Nodes currently connected to us..................: W3SBA, 2135<BR>Autopatch........................................: ENABLED<BR>Autopatch state..................................: DOWN<BR>Autopatch called number..........................: N/A<BR>Reverse patch/IAXRPT connected...................: DOWN<BR>User linking commands............................: ENABLED<BR>User functions...................................: ENABLED</EM></SPAN></P>
<P><SPAN></SPAN> </P>
<P><SPAN>Parse and use that line to construct a disconnect command to nullify the last.  Then maybe play an "conflicting node" voice  announcement.</SPAN></P>
<P><SPAN></SPAN> </P>
<P><SPAN>Bob, WB3AWJ</SPAN></P>
<P><SPAN>Loganville, PA</SPAN></P>
<P><SPAN></SPAN> </P>
<P><SPAN></SPAN> </P>
<P><SPAN> </P></SPAN></div></body></html>