Commit graph

159 commits

Author SHA1 Message Date
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
Jehan Monnier
b7a487bef4 add privacy support 2013-06-10 17:39:53 +02:00
Ghislain MARY
a9cf6dc87e Use new marshalling API. 2013-06-10 15:30:59 +02:00
Simon Morlat
5183b21761 change info api so that INFO message can only be sent through calls (as requested by the RFC) 2013-06-06 21:01:53 +02:00
Simon Morlat
36e445f97f generic subscribe notify api in progress 2013-06-06 11:01:54 +02:00
Jehan Monnier
fe1cddbfaa no longuer return registration failure in case of first retry 2013-06-04 21:25:52 +02:00
Simon Morlat
74844e0448 add alias parameter in via for Registers
add declarations for new SUBSCRIBE/NOTIFY/PUBLISH api
2013-05-27 12:25:05 +02:00
Jehan Monnier
c223c2f8c0 fix case where auth is present but there neither passwd nor ha1 2013-05-27 08:39:04 +02:00
Simon Morlat
5e8f0d1ca3 fix OPTION to be OPTIONS
add allow header in 200Ok for INVITE
2013-05-24 16:13:39 +02:00
Ghislain MARY
0408a776e4 Load user DNS hosts file for tests. 2013-05-23 15:22:00 +02:00
Simon Morlat
2391436cd2 add option to allow to set contact in MESSAGE requests (specific for a SIP server) 2013-05-23 14:37:52 +02:00
Jehan Monnier
53128dec9d avoid crash with op->auth_info 2013-05-22 17:40:51 +02:00
Ghislain MARY
6c8ee3348e Initialize variable that may be used uninitialized otherwise. 2013-05-21 14:52:59 +02:00
Jehan Monnier
23967d8ca8 fix ortp initiale ref count. Remove abusive traces 2013-05-21 11:16:45 +02:00
Simon Morlat
bfe2437bbe fix bad event name, should be "presence", not "Presence". 2013-05-20 19:03:40 +02:00