Commit graph

182 commits

Author SHA1 Message Date
Simon Morlat
fed415507f enhance event API to be notified of publish states.
lp-gen-wrappers is in progress
2013-09-17 14:03:52 +02:00
Simon Morlat
f9e0782528 enable generic publish not to be refreshed automatically 2013-09-16 20:31:16 +02:00
Jehan Monnier
5c88a8dd21 fix crash in sal_process_authentication when auth cannot be sent synchronously 2013-09-16 16:41:04 +02:00
Simon Morlat
26a522902e fix crash in presence unsubscription 2013-09-13 18:38:27 +02:00
Simon Morlat
c413a81e39 bugfixes in Event api when refreshing subscribes
fix test suite
2013-09-13 16:10:34 +02:00
Simon Morlat
ab2b7d0e38 allow contacts to be sent in publish, and better management of publish. 2013-09-12 03:20:50 +02:00
Simon Morlat
9df7a19ca3 support all reasons for linphone_core_decline_call().
update ms2
2013-09-10 16:29:25 +02:00
Simon Morlat
5dea3b42f0 avoid crashing when no soundcard is present.
update ms2
2013-09-09 17:52:14 +02:00
Simon Morlat
358516fd68 prevent publish to be sent while client is registering on the same proxy. 2013-09-09 14:14:27 +02:00
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