Comments (2)
Original comment by [email protected]
on 14 Oct 2010 at 2:27
- Changed state: Started
from doubango.
From section 11 of RFC 3312
The mapping of offers and answers to SIP requests and responses is
performed following the rules given in [5]. Therefore, a user agent
including preconditions in the SDP MUST support the PRACK and UPDATE
methods. Consequently, it MUST include the "100rel" [7] tag in the
Supported header field and SHOULD include an Allow header field with
the "UPDATE" tag [5].
I just noticed in tinySIP/src/dialogs/tsip_dialog_invite.client.c that
preconditions and 100 rel are being handled independently even though support
for preconditions
requires 100rel support. So here is another proposed patch
Index: src/dialogs/tsip_dialog_invite.client.c
===================================================================
--- src/dialogs/tsip_dialog_invite.client.c (revision previous)
+++ src/dialogs/tsip_dialog_invite.client.c (revision new)
@@ -157,20 +157,25 @@
self->supported.timer = tsk_true;
}
+ /* 100rel */
+ self->supported._100rel = TSIP_DIALOG_GET_SS(self)->media.enable_100rel;
+
/* QoS
* One Voice Profile - 5.4.1 SIP Precondition Considerations
* The UE shall use the Supported header, and not the Require header, to
indicate the support of precondition in
* accordance with Section 5.1.3.1 of 3GPP TS 24.229.
*/
+if (self->supported._100rel) {
self->qos.type = TSIP_DIALOG_GET_SS(self)->media.qos.type;
self->qos.strength = TSIP_DIALOG_GET_SS(self)->media.qos.strength;
tmedia_session_mgr_set_qos(self->msession_mgr, self->qos.type, self->qos
.strength);
self->supported.precondition = (self->qos.strength == tmedia_qos_strengt
h_optional);
self->require.precondition = (self->qos.strength == tmedia_qos_strength_
mandatory);
+} else {
+ self->qos.type = tmedia_qos_stype_none;
+ self->qos.strength = tmedia_qos_strength_none;
+}
- /* 100rel */
- self->supported._100rel = TSIP_DIALOG_GET_SS(self)->media.enable_100rel;
-
/* send the request */
ret = send_INVITE(self, tsk_false);
Original comment by [email protected]
on 14 Oct 2010 at 10:41
from doubango.
Related Issues (20)
- Video JB reports negative number of packet loss HOT 1
- 02-10 05:29:26.419: I/tinyWRAP(10980): *INFO: Failed to decode the buffer with error code =0, size=0, append=yes HOT 1
- Irregular FPS on Hovis HOT 1
- Enhance video JB HOT 1
- Add XGA (1024x768) as known video size HOT 1
- Rebuild WebRTC-Audio libraries for Android with more NEON functions HOT 1
- Cleanup TCP buffer when SIP parser fails HOT 1
- Do not try to parse "\r\n" or "\0\0" messages used for keepalive HOT 1
- Inbound Calls not receiving on IMSDROID HOT 1
- Sincity 7
- Jitter buffer shows negative count for missing seq numbers
- Time to decode frame message is printed even after the call is terminated
- No codec matched when receiving ACK containing SDP body HOT 4
- TURN not work well,one side have video,the other not HOT 1
- turn work not well,only one side can receive video and audio streams
- symeric NAT not work well HOT 1
- some wifi net enviroment can't register
- Activate denoise HOT 1
- Using sipML5 live demo on Ericsson Bowser App
- Problem in BYE send from Webrtc2sip (Version 2.6.0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doubango.