[jitsi-dev] Signaling with Jicofo


#1

Hi all,

My team and I are developing an application which talks with Jicofo by XMPP/bosh. This application intends to do exactly the same thing that Jitsi-meet does, but in the backend. So, I'm implementing the caps, muc, discovery and Jingle XMPP extensions.

Now I'm stucked in the following problem: when I send a jingle session-accept, Jicofo is returning a service-unavaliable msg error. Does someone have any idea of what is happening, or what can we do to receive an ACK, the expected result?

Jingle session-accept msg:

<iq xmlns="jabber:client" to="55a7b133f505063475ac5f57@jitsi.example.com/focus" type="set" id="5:sendIQ">

  <jingle xmlns="urn:xmpp:jingle:1" action="session-accept" initiator="55a7b133f505063475ac5f57@jitsi.example.com/focus" responder="f946d0a3-65ed-46b2-885d-c861f7f95734@jitsi.example.com/96094434-2df8-4887-b80e-767efd2c40a3" sid="cbkvrsdh2m90n">

    <group xmlns="urn:xmpp:jingle:apps:grouping:0" semantics="BUNDLE">

      <content name="audio"/>

      <content name="video"/>

      <content name="data"/>

    </group>

    <content creator="responder" name="audio" senders="both">

      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio" ssrc="2322685060">

        <payload-type id="111" name="opus" clockrate="48000" channels="2">

          <parameter name="minptime" value="10"/>

          <parameter name="useinbandfec" value="1"/>

        </payload-type>

        <payload-type id="103" name="ISAC" clockrate="16000" channels="1"/>

        <payload-type id="104" name="ISAC" clockrate="32000" channels="1"/>

        <payload-type id="0" name="PCMU" clockrate="8000" channels="1"/>

        <payload-type id="8" name="PCMA" clockrate="8000" channels="1"/>

        <payload-type id="106" name="CN" clockrate="32000" channels="1"/>

        <payload-type id="105" name="CN" clockrate="16000" channels="1"/>

        <payload-type id="13" name="CN" clockrate="8000" channels="1"/>

        <payload-type id="126" name="telephone-event" clockrate="8000" channels="1"/>

        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="2322685060">

          <parameter name="cname" value="c/leQT5QztHIGMMV"/>

          <parameter name="msid" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i e37f3657-d54c-4292-a835-3a5411b17c6b"/>

          <parameter name="mslabel" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i"/>

          <parameter name="label" value="e37f3657-d54c-4292-a835-3a5411b17c6b"/>

        </source>

        <rtcp-mux/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0" uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>

      </description>

      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

        <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256" setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

      </transport>

    </content>

    <content creator="responder" name="video" senders="both">

      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="video" ssrc="1929596930">

        <payload-type id="100" name="VP8" clockrate="90000" channels="1">

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="ccm" subtype="fir"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="nack"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="nack" subtype="pli"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="goog-remb"/>

        </payload-type>

        <payload-type id="116" name="red" clockrate="90000" channels="1"/>

        <payload-type id="117" name="ulpfec" clockrate="90000" channels="1"/>

        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="1929596930">

          <parameter name="cname" value="c/leQT5QztHIGMMV"/>

          <parameter name="msid" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i a099dc5f-ecd5-4c52-b3fe-faef9e51b6bb"/>

          <parameter name="mslabel" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i"/>

          <parameter name="label" value="a099dc5f-ecd5-4c52-b3fe-faef9e51b6bb"/>

        </source>

        <rtcp-mux/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0" uri="urn:ietf:params:rtp-hdrext:toffset" id="2"/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0" uri="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" id="3"/>

      </description>

      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

        <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256" setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

      </transport>

      <content creator="responder" name="data">

        <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

          <sctpmap xmlns="urn:xmpp:jingle:transports:dtls-sctp:1" number="5000" protocol="webrtc-datachannel" streams="1024"/>

          <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256" setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

        </transport>

      </content>

    </content>

  </jingle>

</iq>

Jicofo Error:

<body xmlns:stream="http://etherx.jabber.org/streams" xmlns="http://jabber.org/protocol/httpbind" sid="be6ddcc1-6882-4500-8541-b9b776ea61b6">

  <iq xmlns="jabber:client" type="error" to="f946d0a3-65ed-46b2-885d-c861f7f95734@jitsi.example.com/96094434-2df8-4887-b80e-767efd2c40a3" from="55a7b133f505063475ac5f57@jitsi.example.com/focus" id="5:sendIQ">

    <error type="cancel">

      <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

    </error>

  </iq>

</body>

Best

Juliano Medeiros Coimbra, Architect
T: +55.19.3112-1200 ext. 1454
DaitanGroup | www.daitangroup.com<http://www.daitangroup.com/> | Highly Reliable Outsourcing. Value Added Services Worldwide.
Privileged and confidential. If this message has been received in error, please notify sender and delete it immediately.
Conteúdo confidencial. Se esta mensagem foi recebida por engano, favor avisar o remetente e apagá-la im


#2

Hi,

···

On Thu, Jul 16, 2015 at 6:54 PM, Juliano Medeiros Coimbra <jcoimbra@daitangroup.com> wrote:

Hi all,

My team and I are developing an application which talks with Jicofo by
XMPP/bosh. This application intends to do exactly the same thing that
Jitsi-meet does, but in the backend. So, I'm implementing the caps, muc,
discovery and Jingle XMPP extensions.

Now I'm stucked in the following problem: when I send a jingle
session-accept, Jicofo is returning a service-unavaliable msg error. Does
someone have any idea of what is happening, or what can we do to receive an
ACK, the expected result?

Jingle session-accept msg:

<iq xmlns="jabber:client"
to="55a7b133f505063475ac5f57@jitsi.example.com/focus" type="set"
id="5:sendIQ">

  <jingle xmlns="urn:xmpp:jingle:1" action="session-accept"
initiator="55a7b133f505063475ac5f57@jitsi.example.com/focus"
responder="f946d0a3-65ed-46b2-885d-c861f7f95734@jitsi.example.com/96094434-2df8-4887-b80e-767efd2c40a3"
sid="cbkvrsdh2m90n">

    <group xmlns="urn:xmpp:jingle:apps:grouping:0" semantics="BUNDLE">

      <content name="audio"/>

      <content name="video"/>

      <content name="data"/>

    </group>

    <content creator="responder" name="audio" senders="both">

      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio"
ssrc="2322685060">

        <payload-type id="111" name="opus" clockrate="48000" channels="2">

          <parameter name="minptime" value="10"/>

          <parameter name="useinbandfec" value="1"/>

        </payload-type>

        <payload-type id="103" name="ISAC" clockrate="16000" channels="1"/>

        <payload-type id="104" name="ISAC" clockrate="32000" channels="1"/>

        <payload-type id="0" name="PCMU" clockrate="8000" channels="1"/>

        <payload-type id="8" name="PCMA" clockrate="8000" channels="1"/>

        <payload-type id="106" name="CN" clockrate="32000" channels="1"/>

        <payload-type id="105" name="CN" clockrate="16000" channels="1"/>

        <payload-type id="13" name="CN" clockrate="8000" channels="1"/>

        <payload-type id="126" name="telephone-event" clockrate="8000"
channels="1"/>

        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="2322685060">

          <parameter name="cname" value="c/leQT5QztHIGMMV"/>

          <parameter name="msid" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i
e37f3657-d54c-4292-a835-3a5411b17c6b"/>

          <parameter name="mslabel"
value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i"/>

          <parameter name="label"
value="e37f3657-d54c-4292-a835-3a5411b17c6b"/>

        </source>

        <rtcp-mux/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>

      </description>

      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"
ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

        <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256"
setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

      </transport>

    </content>

    <content creator="responder" name="video" senders="both">

      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="video"
ssrc="1929596930">

        <payload-type id="100" name="VP8" clockrate="90000" channels="1">

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="ccm"
subtype="fir"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="nack"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="nack"
subtype="pli"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0"
type="goog-remb"/>

        </payload-type>

        <payload-type id="116" name="red" clockrate="90000" channels="1"/>

        <payload-type id="117" name="ulpfec" clockrate="90000"
channels="1"/>

        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="1929596930">

          <parameter name="cname" value="c/leQT5QztHIGMMV"/>

          <parameter name="msid" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i
a099dc5f-ecd5-4c52-b3fe-faef9e51b6bb"/>

          <parameter name="mslabel"
value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i"/>

          <parameter name="label"
value="a099dc5f-ecd5-4c52-b3fe-faef9e51b6bb"/>

        </source>

        <rtcp-mux/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="urn:ietf:params:rtp-hdrext:toffset" id="2"/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" id="3"/>

      </description>

      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"
ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

        <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256"
setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

      </transport>

      <content creator="responder" name="data">

        <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"
ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

          <sctpmap xmlns="urn:xmpp:jingle:transports:dtls-sctp:1"
number="5000" protocol="webrtc-datachannel" streams="1024"/>

          <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256"
setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

        </transport>

      </content>

    </content>

  </jingle>

</iq>

Jicofo Error:

<body xmlns:stream="http://etherx.jabber.org/streams"
xmlns="http://jabber.org/protocol/httpbind"
sid="be6ddcc1-6882-4500-8541-b9b776ea61b6">

  <iq xmlns="jabber:client" type="error"
to="f946d0a3-65ed-46b2-885d-c861f7f95734@jitsi.example.com/96094434-2df8-4887-b80e-767efd2c40a3"
from="55a7b133f505063475ac5f57@jitsi.example.com/focus" id="5:sendIQ">

    <error type="cancel">

      <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

    </error>

  </iq>

</body>

You may want to check Jicofo logs: /var/log/jitsi/jicofo.log for exceptions.

Regards,
Pawel


#3

Hi Pawel,

Thank you for you attention. I am attaching Jicofo's log.

In our understanding Jicofo sends a "session-initiate" for two clients, however nothing about the session-accept error is logged.

We are trying to validate all the previous "discovery" and "presence" messages. One odd thing is that I receive "presences" from jicofo with an "etherpad" field:

<etherpad xmlns="http://jitsi.org/jitmeet/etherpad">80cc2933c55a4bf89876f7b8f7725101</etherpad>

This never happens with jicofo and jitsi-meet.

Here goes our log:

2015-06-17 10:53:14.930 INFO: [129] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().370 Focus request for room: 55a908d9f505063475ac5f70@conference.jitsi.example.com
2015-06-17 10:53:14.931 INFO: [129] org.jitsi.jicofo.FocusManager.createConference().263 Created new focus for 55a908d9f505063475ac5f70@conference.jitsi.example.com@auth.jitsi.example.com conferences count: 1 options:
    channelLastN: -1
    call_control: callcontrol.jitsi.example.com
    adaptiveLastN: false
    adaptiveSimulcast: false
    bridge: jitsi-videobridge.jitsi.example.com
    openSctp: true
2015-06-17 10:53:14.932 INFO: [129] org.jitsi.jicofo.JitsiMeetConference.joinTheRoom().277 Joining the room: 55a908d9f505063475ac5f70@conference.jitsi.example.com
2015-06-17 10:53:14.932 INFO: [127] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().370 Focus request for room: 55a908d9f505063475ac5f70@conference.jitsi.example.com
2015-06-17 10:53:14.933 INFO: [129] org.jitsi.jicofo.ChatRoomRoleAndPresence.init().104 Auto owner feature enabled
2015-06-17 10:53:14.935 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged().147 Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@143df246 member=org.jitsi.impl.protocol.xmpp.ChatMemberImpl@6eecdc0b]
2015-06-17 10:53:14.935 WARNING: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.electNewOwner().202 Focus role unknown
2015-06-17 10:53:14.935 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.electNewOwner().206 Obtained focus role: OWNER
2015-06-17 10:53:14.935 INFO: [117] org.jitsi.jicofo.JitsiMeetConference.onMemberJoined().380 Member 55a908d9f505063475ac5f70@conference.jitsi.example.com/focus joined.
2015-06-17 10:53:14.935 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().298 Focus role: OWNER init: false
2015-06-17 10:53:14.940 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().298 Focus role: OWNER init: false
2015-06-17 10:53:14.979 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged().147 Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@143df246 member=org.jitsi.impl.protocol.xmpp.ChatMemberImpl@469ee6f0]
2015-06-17 10:53:14.980 INFO: [117] org.jitsi.impl.protocol.xmpp.ChatRoomImpl.grantOwnership().623 Grant owner to 6a00eaa5-9b94-4e58-9563-db87c63debb6@jitsi.example.com/9a505015-ded4-4e9f-967d-c9e2dfe68dc7
2015-06-17 10:53:14.983 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.electNewOwner().247 Granted owner to 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5
2015-06-17 10:53:14.983 INFO: [117] org.jitsi.jicofo.JitsiMeetConference.onMemberJoined().380 Member 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5 joined.
2015-06-17 10:53:32.421 INFO: [126] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().370 Focus request for room: 55a908d9f505063475ac5f70@conference.jitsi.example.com
2015-06-17 10:53:32.423 INFO: [135] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().370 Focus request for room: 55a908d9f505063475ac5f70@conference.jitsi.example.com
2015-06-17 10:53:32.435 INFO: [117] org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged().147 Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@143df246 member=org.jitsi.impl.protocol.xmpp.ChatMemberImpl@6ac7852f]
2015-06-17 10:53:32.436 INFO: [117] org.jitsi.jicofo.JitsiMeetConference.onMemberJoined().380 Member 55a908d9f505063475ac5f70@conference.jitsi.example.com/f1dd859e joined.
2015-06-17 10:53:32.436 INFO: [117] org.jitsi.impl.protocol.xmpp.colibri.OperationSetColibriConferenceImpl.createNewConference().63 Conference created: org.jitsi.impl.protocol.xmpp.colibri.ColibriConferenceImpl@50f9076d
2015-06-17 10:53:32.436 INFO: [117] org.jitsi.jicofo.JitsiMeetConference.inviteChatMember().446 Added participant for: 55a908d9f505063475ac5f70@conference.jitsi.example.com/f1dd859e
2015-06-17 10:53:32.436 INFO: [117] org.jitsi.jicofo.JitsiMeetConference.inviteChatMember().446 Added participant for: 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5
2015-06-17 10:53:32.437 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().97 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5, features:
2015-06-17 10:53:32.437 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 http://jabber.org/protocol/caps
2015-06-17 10:53:32.437 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:ietf:rfc:5761
2015-06-17 10:53:32.437 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:ietf:rfc:5888
2015-06-17 10:53:32.437 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:1
2015-06-17 10:53:32.437 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:dtls:0
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:rtp:1
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:rtp:audio
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:rtp:video
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:transports:dtls-sctp:1
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:transports:ice-udp:1
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:rayo:client:1
2015-06-17 10:53:32.438 INFO: [72] org.jitsi.jicofo.JitsiMeetConference.discoverFeaturesAndInvite().546 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5 has bundle ? true
2015-06-17 10:53:32.439 INFO: [72] org.jitsi.jicofo.JitsiMeetConference.allocateChannels().661 Using jitsi-videobridge.jitsi.example.com to allocate channels for: 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5
2015-06-17 10:53:32.452 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().97 55a908d9f505063475ac5f70@conference.jitsi.example.com/f1dd859e, features:
2015-06-17 10:53:32.453 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 http://jabber.org/protocol/caps
2015-06-17 10:53:32.453 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:ietf:rfc:5761
2015-06-17 10:53:32.453 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:ietf:rfc:5888
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:1
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:dtls:0
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:rtp:1
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:rtp:audio
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:apps:rtp:video
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:transports:dtls-sctp:1
2015-06-17 10:53:32.454 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:jingle:transports:ice-udp:1
2015-06-17 10:53:32.455 INFO: [111] org.jitsi.jicofo.util.DiscoveryUtil.discoverParticipantFeatures().100 urn:xmpp:rayo:client:1
2015-06-17 10:53:32.455 INFO: [111] org.jitsi.jicofo.JitsiMeetConference.discoverFeaturesAndInvite().546 55a908d9f505063475ac5f70@conference.jitsi.example.com/f1dd859e has bundle ? true
2015-06-17 10:53:32.455 INFO: [111] org.jitsi.jicofo.JitsiMeetConference.allocateChannels().661 Using jitsi-videobridge.jitsi.example.com to allocate channels for: 55a908d9f505063475ac5f70@conference.jitsi.example.com/f1dd859e
2015-06-17 10:53:32.628 INFO: [72] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.initiateSession().86 INVITE PEER: 55a908d9f505063475ac5f70@conference.jitsi.example.com/6a00eaa5
2015-06-17 10:53:32.720 INFO: [111] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.initiateSession().86 INVITE PEER: 55a908d9f505063475ac5f70@conference.jitsi.example.com/f1dd859e

Best
Juliano

···

________________________________________
De: dev <dev-bounces@jitsi.org> em nome de Paweł Domas <pawel.domas@jitsi.org>
Enviado: sexta-feira, 17 de julho de 2015 04:58
Para: Jitsi Developers
Cc: Felipe Pedroni Favoreto
Assunto: Re: [jitsi-dev] Signaling with Jicofo

Hi,

On Thu, Jul 16, 2015 at 6:54 PM, Juliano Medeiros Coimbra <jcoimbra@daitangroup.com> wrote:

Hi all,

My team and I are developing an application which talks with Jicofo by
XMPP/bosh. This application intends to do exactly the same thing that
Jitsi-meet does, but in the backend. So, I'm implementing the caps, muc,
discovery and Jingle XMPP extensions.

Now I'm stucked in the following problem: when I send a jingle
session-accept, Jicofo is returning a service-unavaliable msg error. Does
someone have any idea of what is happening, or what can we do to receive an
ACK, the expected result?

Jingle session-accept msg:

<iq xmlns="jabber:client"
to="55a7b133f505063475ac5f57@jitsi.example.com/focus" type="set"
id="5:sendIQ">

  <jingle xmlns="urn:xmpp:jingle:1" action="session-accept"
initiator="55a7b133f505063475ac5f57@jitsi.example.com/focus"
responder="f946d0a3-65ed-46b2-885d-c861f7f95734@jitsi.example.com/96094434-2df8-4887-b80e-767efd2c40a3"
sid="cbkvrsdh2m90n">

    <group xmlns="urn:xmpp:jingle:apps:grouping:0" semantics="BUNDLE">

      <content name="audio"/>

      <content name="video"/>

      <content name="data"/>

    </group>

    <content creator="responder" name="audio" senders="both">

      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio"
ssrc="2322685060">

        <payload-type id="111" name="opus" clockrate="48000" channels="2">

          <parameter name="minptime" value="10"/>

          <parameter name="useinbandfec" value="1"/>

        </payload-type>

        <payload-type id="103" name="ISAC" clockrate="16000" channels="1"/>

        <payload-type id="104" name="ISAC" clockrate="32000" channels="1"/>

        <payload-type id="0" name="PCMU" clockrate="8000" channels="1"/>

        <payload-type id="8" name="PCMA" clockrate="8000" channels="1"/>

        <payload-type id="106" name="CN" clockrate="32000" channels="1"/>

        <payload-type id="105" name="CN" clockrate="16000" channels="1"/>

        <payload-type id="13" name="CN" clockrate="8000" channels="1"/>

        <payload-type id="126" name="telephone-event" clockrate="8000"
channels="1"/>

        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="2322685060">

          <parameter name="cname" value="c/leQT5QztHIGMMV"/>

          <parameter name="msid" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i
e37f3657-d54c-4292-a835-3a5411b17c6b"/>

          <parameter name="mslabel"
value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i"/>

          <parameter name="label"
value="e37f3657-d54c-4292-a835-3a5411b17c6b"/>

        </source>

        <rtcp-mux/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="urn:ietf:params:rtp-hdrext:ssrc-audio-level" id="1"/>

      </description>

      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"
ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

        <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256"
setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

      </transport>

    </content>

    <content creator="responder" name="video" senders="both">

      <description xmlns="urn:xmpp:jingle:apps:rtp:1" media="video"
ssrc="1929596930">

        <payload-type id="100" name="VP8" clockrate="90000" channels="1">

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="ccm"
subtype="fir"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="nack"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0" type="nack"
subtype="pli"/>

          <rtcp-fb xmlns="urn:xmpp:jingle:apps:rtp:rtcp-fb:0"
type="goog-remb"/>

        </payload-type>

        <payload-type id="116" name="red" clockrate="90000" channels="1"/>

        <payload-type id="117" name="ulpfec" clockrate="90000"
channels="1"/>

        <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="1929596930">

          <parameter name="cname" value="c/leQT5QztHIGMMV"/>

          <parameter name="msid" value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i
a099dc5f-ecd5-4c52-b3fe-faef9e51b6bb"/>

          <parameter name="mslabel"
value="xh0cbuxs0sqAJNeIdFZ6QbpZd7q5wIuDzq3i"/>

          <parameter name="label"
value="a099dc5f-ecd5-4c52-b3fe-faef9e51b6bb"/>

        </source>

        <rtcp-mux/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="urn:ietf:params:rtp-hdrext:toffset" id="2"/>

        <rtp-hdrext xmlns="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"
uri="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" id="3"/>

      </description>

      <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"
ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

        <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256"
setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

      </transport>

      <content creator="responder" name="data">

        <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1"
ufrag="/IuQOR9mgPEHMUwW" pwd="oedhudB/EfAGdyfWVEawTUV3">

          <sctpmap xmlns="urn:xmpp:jingle:transports:dtls-sctp:1"
number="5000" protocol="webrtc-datachannel" streams="1024"/>

          <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256"
setup="active">DE:C3:45:05:71:F4:37:0C:53:14:00:2E:40:5F:D4:33:C5:EC:76:A1:82:2F:14:55:9E:CA:A8:B2:4C:F5:6B:B0</fingerprint>

        </transport>

      </content>

    </content>

  </jingle>

</iq>

Jicofo Error:

<body xmlns:stream="http://etherx.jabber.org/streams"
xmlns="http://jabber.org/protocol/httpbind"
sid="be6ddcc1-6882-4500-8541-b9b776ea61b6">

  <iq xmlns="jabber:client" type="error"
to="f946d0a3-65ed-46b2-885d-c861f7f95734@jitsi.example.com/96094434-2df8-4887-b80e-767efd2c40a3"
from="55a7b133f505063475ac5f57@jitsi.example.com/focus" id="5:sendIQ">

    <error type="cancel">

      <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

    </error>

  </iq>

</body>

You may want to check Jicofo logs: /var/log/jitsi/jicofo.log for exceptions.

Regards,
Pawel

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

Hi,

Hi Pawel,

Thank you for you attention. I am attaching Jicofo's log.

In our understanding Jicofo sends a "session-initiate" for two clients, however nothing about the session-accept error is logged.

From the logs it looks like Jicofo sends ‘session-imitate’. Are you sure that the response is sent to the correct address ?

We are trying to validate all the previous "discovery" and "presence" messages. One odd thing is that I receive "presences" from jicofo with an "etherpad" field:

<etherpad xmlns="http://jitsi.org/jitmeet/etherpad">80cc2933c55a4bf89876f7b8f7725101</etherpad>

This <etherpad> tag in presence is normal and it tells the users what etherpad url is used in the conference.

Regards,
Pawel

···

On 17 Jul 2015, at 16:31, Juliano Medeiros Coimbra <jcoimbra@daitangroup.com> wrote: