Comunicating with iframe with Ember.js application

I am creating chat for my current php application with using Ember.js with Ember-CLI. I want to open chat application by click on person. At first opening iframe opens Ember application and it is ok. But how can I pass person’s id next time when user clicks on person. I need to call only‘consultation’,10492);

and pass another id. Please give me up any ideas.