Commit graph

173 commits

Author SHA1 Message Date
Jehan Monnier
92abb3d3e5 an op is considered as secure if both from and to uri are sips 2013-09-09 12:41:17 +02:00
Sylvain Berfini
8f186adebb Fix compilation for WP 2013-09-09 11:58:39 +02:00
Simon Morlat
77b06af7a1 fix crash and update ms2 2013-09-05 17:19:52 +02:00
Simon Morlat
9a671657c6 make use of bellesip's new dialog's request queue to fix bugs around transfer notification
add notification of failed transfers (new test in call suite for that)
In case of failed transfer, referer call is resumed (if necessary) and notified of the failure.
remove deprecated code.
2013-09-03 22:34:04 +02:00
Simon Morlat
e1c0e1aa4f bugfix when adding body to request: previous body, content-type and content-lenght must first be removed. 2013-09-02 16:33:36 +02:00
Simon Morlat
aeb7876482 transition to belle-sip automatic contact and new nat-helper. 2013-08-30 21:29:29 +02:00
Jehan Monnier
50469413f0 fix crash when presence request is declined by an error sip message 2013-08-28 12:04:43 +02:00
Simon Morlat
798bd06597 prevent double notification of network reachable true or false. 2013-08-28 11:24:23 +02:00
Simon Morlat
bd95305d7f add reference counting to LinphoneAddress and SalAddress 2013-08-27 21:06:49 +02:00
Jehan Monnier
42654a327c add LinphoneReasonUnauthorized 2013-08-21 11:29:32 +02:00
Margaux Clerc
42261f4900 Make the call transfer even if the call ends 2013-08-18 21:14:00 +02:00
Simon Morlat
d16f15f1ed do not send 501 to out of dialog BYE, but rather 481. 2013-08-13 18:04:04 +02:00
Simon Morlat
1d144769f8 update oRTP to fix errors with telephone-event and srtp.
fix sal to get Referred-by header set in INVITEs consecutive to an incoming REFER request.
2013-08-08 13:06:13 +02:00
Simon Morlat
491294b279 Fix case where a call is cancelled by a user while no provisionnal response has been received yet (was not functional)
Add a test for this case.
Reformat the code for indentation and break statement positions.
2013-08-07 00:55:43 +02:00
Simon Morlat
3a163296ba fix linphone_core_accept_call_with_params() as it was in exosip implementation so that it does not compute sdp answer two times (for 180 and 200). 2013-08-04 14:43:29 +02:00
Jehan Monnier
eb37b082a0 remove trailling " from external body url 2013-08-04 12:28:30 +02:00
Jehan Monnier
eaad8d79a9 make sure offers/answer algo is executed on call accept to take call params into account 2013-08-03 22:42:33 +02:00
Jehan Monnier
7614c63d61 configure refresher nat helper for subscribtion 2013-07-31 23:42:12 +02:00
Simon Morlat
53e4a3c585 fix condition for requiring 100rel 2013-07-31 23:27:42 +02:00
Simon Morlat
6e6e33ae23 - few renamings
- robustify releasing of calls
2013-07-30 16:56:54 +02:00
Simon Morlat
cc2a5467d3 replace call to belle_sip_object_instance_of(). 2013-07-27 01:27:08 +02:00
Jehan Monnier
2454b37eb4 reset contact ip/port in case of 481 answer to a subscribe 2013-07-26 23:49:04 +02:00
Simon Morlat
eb1f6822d7 fix crash when receiving a NOTIFY for a closed subscription. 2013-07-26 22:09:16 +02:00
Jehan Monnier
c76dab4120 make sure vfu request creation failure does not lead for a crash 2013-07-25 10:25:42 +02:00
Jehan Monnier
37ca2d40db make sure to delete ongoing dialog if any in case of 481 received to a
subscription
2013-07-23 16:24:47 +02:00
Jehan Monnier
60334f9d21 only repport call error for negative answer to INVITE transaction 2013-07-16 22:10:57 +02:00
Jehan Monnier
7a6d1c2946 better test in case of io error 2013-07-16 19:29:56 +02:00
Jehan Monnier
89f3e2ceda set callid more early, add option to disable uuid (to reduce message size) 2013-07-12 09:04:27 +02:00
Simon Morlat
ecaa31dc45 fix refresh of SUBCRIBEs that failed with 481 2013-07-11 16:06:34 +02:00
Jehan Monnier
3fda5955fd fix various crash due to // transaction 2013-07-09 17:05:34 +02:00
Jehan Monnier
2f3f665343 make sure dialog is in the right state before notifying 2013-07-09 17:05:34 +02:00
Simon Morlat
bdd9839dea add alias to SUBSCRIBE as well 2013-07-08 10:40:07 +02:00
Simon Morlat
0b2d04d624 many improvements
* re-send SUBSCRIBEs after network gets reachable again
* allow to set the default SUBSCRIBE expires using [sip] "subscribe_expires" property
* re-send initial SUBSCRIBE if remote peer lost the dialog context
2013-07-05 23:05:20 +02:00
Simon Morlat
83268b313b * fixes for dialog serialization
* fix crash when receiving a NOTIFY after a SUBSCRIBE is terminated
2013-07-05 16:12:56 +02:00
Jehan Monnier
8b674d05e3 avoid crash if SIP request cannot be created 2013-07-02 16:37:42 +02:00
Jehan Monnier
62e978c0bd fix mline when media is declined, remove not implemented test 2013-07-01 20:40:58 +02:00
Simon Morlat
8cdbcae27a fix bad unref during out of subscribe notify 2013-06-26 17:43:07 +02:00
Simon Morlat
6a033f8a64 retry the PUBLISH if they get a bad match (412) 2013-06-26 15:11:00 +02:00
Jehan Monnier
48140cefd0 remove unwanted quotes from LinphoenMessage external body url 2013-06-24 16:27:37 +02:00
Simon Morlat
866af779ab handle out of dialogs incoming NOTIFY.
Use in [sip]:
allow_out_of_subscribe_presence=1

to allow them for presence (unsecure)
2013-06-24 12:16:35 +02:00
Ghislain MARY
5acc4dd2ec Fix some memory leaks. 2013-06-20 09:28:03 +02:00
Ghislain MARY
8c9c96218a Use presence model to notify presence.
Use libxml2 to generate XML content.
2013-06-19 17:22:26 +02:00
Ghislain MARY
220c471369 Use xml parser to get presence status. 2013-06-19 17:22:26 +02:00
Simon Morlat
f3630b5d37 fix mistake 2013-06-18 16:56:09 +02:00
Simon Morlat
ed655060c8 few privacy cleanups 2013-06-18 16:33:59 +02:00
Jehan Monnier
500d97e548 add privacy settings at proxy level 2013-06-13 08:35:49 +02:00
Simon Morlat
e5f1ae5773 add patch for vacation status 2013-06-12 22:19:26 +02:00
Simon Morlat
9e60a96b18 add contact header in REFER requests
update ms2
2013-06-11 22:34:43 +02:00
Ghislain MARY
411b841bb0 Use size_t instead of unsigned int for offset parameter of marshal function. 2013-06-11 12:32:50 +02:00
Jehan Monnier
edadbeb040 Merge branch 'belle-sip' of ssh://git.linphone.org/linphone-private into belle-sip 2013-06-10 17:40:00 +02:00