Remote IMC2 channels can now be listened to via IMC2 bindings. For this to work, create an IMC2ChannelMapping object with the channel you'd like to serve as the gateway to the remote IMC2 channel. Enter the IMC2 channel's name as the imc2_channel_name field and make sure the object is enabled. Any incoming ice-msg-b packets directed at your chosen channel will now be emitted to the appropriate channel as if it were local, with one difference: the user name is sender@origin. Sending messages is hopefully soon to follow.

This commit is contained in:
Greg Taylor 2009-04-17 03:34:46 +00:00
parent 573d1b6e88
commit 42f11b208b
4 changed files with 43 additions and 0 deletions

6
src/imc2/admin.py Normal file
View file

@ -0,0 +1,6 @@
from src.imc2.models import IMC2ChannelMapping
from django.contrib import admin
class IMC2ChannelMappingAdmin(admin.ModelAdmin):
list_display = ('channel', 'imc2_channel_name', 'is_enabled')
admin.site.register(IMC2ChannelMapping, IMC2ChannelMappingAdmin)