You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -80,7 +81,7 @@ MongooseIM allows a user to ask for an unanswered `session-initiate` request.
80
81
This may be useful in web applications when there is a need to handle the call in a new browser window.
81
82
82
83
In order to get the `session-initiate`, which was not answered yet, the user can send a `get` Jingle stanza to self with action set to `existing-session-initiate`.
83
-
In result, MongooseIM will resent the original `session-initiate` request to the device which sent the query.
84
+
As a result, MongooseIM will resend the original `session-initiate` request to the device which sent the query.
84
85
85
86
86
87
### Prerequisites
@@ -123,10 +124,10 @@ All the sequence diagrams where generated with [textart.io/sequence](https://tex
123
124
The source code is embedded in the markdown file below every diagram inside a comment `<!--- --->`
124
125
125
126
126
-
#### 1. Establishing a session with other XMPP user
127
+
#### 1. Establishing a session with another XMPP user
127
128
128
129
With the mod_jingle_sip enabled, all Jingle IQ set stanzas listed above are intercepted, translated to SIP packets and sent to a SIP Proxy.
129
-
This means that current implementation will also translate stanzas addressed to a user in the same domain.
130
+
This means that the current implementation will also translate stanzas addressed to a user in the same domain.
130
131
This allows the SIP entity to control how the call between XMPP users is established.
131
132
Below there are sequence diagrams showing the communication between XMPP users, MongooseIM and SIP Proxy as in our tests.
132
133
It's possible that the SIP Proxy or other SIP entity decides that the call needs to be forked
@@ -247,7 +248,7 @@ See the following examples for more information.
247
248
###### 1.3.1 Terminating an accepted call
248
249
249
250
The easiest scenario is when the call was accepted as in [1.2](#12-signaling-session-accept-to-other-xmpp-user-via-sip-proxy).
250
-
In this case one of the users sends a `session-terminate` Jingle action with reason `success`.
251
+
In this case one of the users sends a `session-terminate` Jingle action with a reason `success`.
251
252
This is translated to a SIP `BYE` request with `to` and `from` headers set appropriately -
252
253
`from` is the user who wants to terminate the call and `to` is the user on the other end of the session.
253
254
The `BYE` request is sent to the SIP Proxy and then to the other user in a similar way to session acceptance.
@@ -266,6 +267,6 @@ MongooseIM translates this to SIP `486 Busy Here` **Response** (because this is
266
267
267
268
Establishing a session with a SIP user (or a SIP entity) works the same as in the previous section.
268
269
The only difference is that the SIP Proxy will not call MongooseIM back (as it may happen for call to other XMPP user).
269
-
Instead the SIP message send by MongooseIM to SIP Proxy will be delivered directly to the SIP user's device.
270
+
Instead the SIP message sent by MongooseIM to SIP Proxy will be delivered directly to the SIP user's device.
0 commit comments