[jitsi-dev] Send a SIP header to Asterisk from JIGASI


I'm using JIGASI and I would like to send a SIP header to Asterisk server
with some data as roomName for example, when I make a call from Jitsi. In
Jitsi the Call SIP number dialog call the function:

dial: function (to, from, roomName, roomPass) {
                var self = this;
                var req = $iq(
                        type: 'set',
                        xmlns: this.RAYO_XMLNS,
                        name: 'JvbRoomName',
                        value: roomName

                if (roomPass !== null && roomPass.length) {

                            name: 'JvbRoomPassword',
                            value: roomPass

                    function (result) {
                        console.info('Dial result ', result);

                        var resource = $(result).find('ref').attr('uri');
                        this.call_resource =
                                "Received call resource: " +
                    function (error) {
                        console.info('Dial error ', error);

but JIGASI doesn't send JvbRoomName to SIP server.

I really appreciate any help you can provide.


to: this.connection.emuc.focusMucJid
                        to: to,
                        from: from