how to setup the xbee modules to have light bridge

I try to communicate between the xbee modules. Each module have a switch and a led and and the switch should control the led on the other xbee led!

xbee1 dl=2 my=1 ia=1 ir=14 d0=3 d1=5
d0 switch
d1 led
xbee2 dl=1 my=2 ia=1 ir=14 d0=5 d1=1
d0 led
d1 switch

how have to setup the modules.

with the button exmaple does it works(http://examples.digi.com/sensors/802-15-4-digital-input-with-a-button/3/)

IA tells the radio which module to listen to. You have them both set to only listen to a module that has a MY of 1.