[App_rpt-users] Echolink / IRLP all node disconnect

Stephen Rodgers sales at qrvc.com
Thu Sep 24 03:53:38 UTC 2009


James Nessen wrote:
> Outside of disconnecting manually, I don't think there is a way to  
> disconnect only echolink stations.  IRLP one is easy since you can  
> only have a single node connected.
> 
> Jim, K6JWN
> 
> On Sep 23, 2009, at 2:51 PM, David McGough wrote:
> 
>> Hi Everyone,
>>
>> Before I start hacking on the code, I though I'd ask if there is any
>> current way the to perform a disconnect operation for all echolink  
>> or IRLP
>> nodes??? I know about (and am currently using) ilink command 6 to  
>> perform
>> an "all disconnect"....But, I need to be more selective.
>>
>> Thanks in advance!
>>
>> 73, David kb4fxc
>>
>>
>> _______________________________________________
>> App_rpt-users mailing list
>> App_rpt-users at qrvc.com
>> http://qrvc.com/mailman/listinfo/app_rpt-users
> 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
> 

Here's a way it could possibly be done without changing any C source code...

<Rube_Golberg_mode = on>

1. Use the autopatch to invoke a context in extensions.conf
2. Use the system command in the context to call a script
3. Have the script do an asterisk -rx rpt nodes xxxx and parse the
output for nodes beginning with a 3 or 4. (After throwing out the
leading R.C, or T)
4. Have the script send disconnect commands for each matching node:
asterisk -rx rpt fun *1node
5. Exit the script

<Rube_Golberg_mode = off>


You may run in to some snags. I haven't tried this myself it's just an idea.

Steve
WA6ZFT



More information about the App_rpt-users mailing list