mirror of
				https://github.com/ShaYmez/HBmonitor.git
				synced 2025-10-29 20:00:28 -04:00 
			
		
		
		
	Added TX/RX to OpenBridge Listings
This commit is contained in:
		
							parent
							
								
									1e93b076f8
								
							
						
					
					
						commit
						17cb9aafb4
					
				| @ -83,7 +83,7 @@ | |||||||
|     <tr> |     <tr> | ||||||
|         <td style="font-weight:bold"> {{ _openbridge}} </td> |         <td style="font-weight:bold"> {{ _openbridge}} </td> | ||||||
|         <td>{{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }}<br><div style="font: 8pt arial, sans-serif">{{ _table['OPENBRIDGES'][_openbridge]['TARGET_IP'] }}:{{ _table['OPENBRIDGES'][_openbridge]['TARGET_PORT'] }}</div></td> |         <td>{{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }}<br><div style="font: 8pt arial, sans-serif">{{ _table['OPENBRIDGES'][_openbridge]['TARGET_IP'] }}:{{ _table['OPENBRIDGES'][_openbridge]['TARGET_PORT'] }}</div></td> | ||||||
|         <td>{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS']  %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }}) {% endfor %}</td> |         <td>{% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS']  %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }} | {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}) {% endfor %}</td> | ||||||
| 
 | 
 | ||||||
|     </tr> |     </tr> | ||||||
|     {% endfor %} |     {% endfor %} | ||||||
|  | |||||||
| @ -380,7 +380,7 @@ def rts_update(p): | |||||||
| 
 | 
 | ||||||
|     if system in CTABLE['OPENBRIDGES']: |     if system in CTABLE['OPENBRIDGES']: | ||||||
|         if action == 'START': |         if action == 'START': | ||||||
|             CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (alias_call(sourceSub, subscriber_ids), destination) |             CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids), destination) | ||||||
|         if action == 'END': |         if action == 'END': | ||||||
|             if streamId in CTABLE['OPENBRIDGES'][system]['STREAMS']: |             if streamId in CTABLE['OPENBRIDGES'][system]['STREAMS']: | ||||||
|                 del CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] |                 del CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user