Commit graph

77 commits

Author SHA1 Message Date
Simon Morlat
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +01:00
Simon Morlat
269f8d1c4e add new API to obtain full details about failures (calls, registration, events).
Fix bug when receiving a 487 after cancelling call, resulting in a call waiting tone to be played.
2014-03-21 18:15:28 +01:00
Ghislain MARY
4c3baa0528 Define RTCP XR structure in oRTP instead of sal. 2014-03-19 16:07:04 +01:00
Jehan Monnier
260e7e1d5c minimal SIP UPDATE support 2014-03-18 09:08:25 +01:00
Simon Morlat
a0b7b1f3b0 rework implementation of SUBSCRIBEs delayed to successful registration.
In case of network errors, SUBSCRIBE could be sent before registration refresh, this should be fixed.
2014-03-11 17:25:07 +01:00
Simon Morlat
95030951d1 add new function to play a file locally, in or out of calls.
add new function to define a tone or wav file to be played automatically upon call errors
2014-03-04 22:58:56 +01:00
Ghislain MARY
8bc0b2e8a4 Handle RTCP XR SDP attribute parsing and creation. 2014-03-04 16:28:23 +01:00
Simon Morlat
1af4a7c091 improve SDP<->SalMediaDescription conversion and offer answer algorithm 2014-02-28 16:31:05 +01:00
Ghislain MARY
ca5f624bc6 Divide huge function in smaller blocks. 2014-02-24 14:48:47 +01:00
Guillaume BIENKOWSKI
b57f8b1526 Added 302 redirection support.
+ removed macros for sal_op_get_contact compatibility
2014-02-19 10:50:36 +01:00
Simon Morlat
9d5c1e7403 add possibility to set/get subject in SDP 2014-02-18 17:30:52 +01:00
Guillaume Beraudo
93f5e85967 Expose chat message reason based on LinphoneReason.
The response code is not exposed to allow mrtp in the future.
There is no possibility to retrieve the code or the sip reason phrase.
2014-02-13 17:20:04 +01:00
Simon Morlat
931c8ade5f Revert "Expose chat message response code and reason."
This reverts commit f021e9aa51.
2014-02-12 17:47:16 +01:00
Sylvain Berfini
f76c0ead31 Improved remote provisioning code + added test suite for it 2014-02-12 17:21:22 +01:00
Guillaume Beraudo
f021e9aa51 Expose chat message response code and reason. 2014-02-12 16:04:48 +01:00
Simon Morlat
a96c066572 re-enable test "TLS with non tls server" (works with lastest belle-sip) 2014-02-07 18:44:39 +01:00
Simon Morlat
e708ccad51 custom header management improvement.
It is now possible to set custom contact.
Other custom headers passed to the sal override SIP headers that would created by default.
2014-02-06 17:27:58 +01:00
Simon Morlat
092375c98a SDP offer answer fix: declined streams must remain as inactive in future offers. 2014-01-24 11:11:24 +01:00
Simon Morlat
22e1427eb3 fix automatic resuming of calls after failed failed transfer 2014-01-21 12:17:39 +01:00
Simon Morlat
041e20edfb * fix incorrect behavior when the body of an INVITE cannot be understood or parsed.
Previously it was answering 200Ok.
* do not send 415 but 488 in case of incompatible codecs, which is more correct according to the RFC.
415 should be replied if the body cannot be understood (for example: is not application/sdp)
2014-01-06 23:24:00 +01:00
Ghislain MARY
d468050c8b Implement RFC3994: Indication of Message Composition for Instant Messaging. 2014-01-03 15:01:18 +01:00
Simon Morlat
ffaf96828f Implement fully compatible IPv4/IPv6 mode.
Requires belle-sip upgrade.
2013-12-17 11:56:00 +01:00
Simon Morlat
95e3f26dca implement manual mode refresher for generic subscribe 2013-12-13 10:22:28 +01:00
Simon Morlat
c53381e0b5 add linphone_proxy_config_set_contact_uri_parameters() 2013-12-12 11:08:38 +01:00
Ghislain MARY
e67a8737dd Add configuration to enable/disable DNS SRV resolution. 2013-12-05 14:52:57 +01:00
Simon Morlat
6f9f860a2e allow multiple transports in gtk application, allow to configure transport per proxy (not yet finished) 2013-11-30 11:25:55 +01:00
Simon Morlat
a8d304fd8f * implement reporting of dtmf received via SIP info
* dtmf can be typed on keyboard with gtk app.
2013-11-28 11:59:35 +01:00
Simon Morlat
41f0390f93 generate SRTP keys more securely
simplify management of SalMediaDescription
take into account changes in local encryption keys while updating streams.
2013-11-27 16:50:25 +01:00
Jehan Monnier
e0256b1f7a fix compilation issue 2013-11-21 16:26:44 +01:00
Guillaume Beraudo
e8225e64b9 Basic client certificates API 2013-11-21 13:54:31 +01:00
Simon Morlat
82eaf99776 adapt to new resolver api. 2013-11-17 22:29:59 +01:00
Simon Morlat
d447704d15 add "encoding" field to LinphoneContent 2013-11-14 22:17:01 +01:00
Simon Morlat
0177c5f876 fix compilation errors due to signature change in linphone_auth_info_new()
fix failed tests in case of failed authentication.
2013-11-05 22:00:19 +01:00
Simon Morlat
811b453d06 add a domain parameter in LinphoneAuthInfo, to workaround non-unicity of realm in real world. 2013-11-04 15:00:50 +01:00
Jehan Monnier
a5c40facf6 add tests to make sure unsuccesfull incall transactions do not abort the call. 2013-10-11 10:31:56 +02:00
Simon Morlat
573f530569 remove all getaddrinfo() blocking calls from coreapi.
Stun server is resolved asynchronously.
2013-09-27 11:41:15 +02:00
Ghislain MARY
ae764ae952 Always use int values for getter/setter of LinphoneAddress port. 2013-09-19 16:12:40 +02:00
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
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
aeb7876482 transition to belle-sip automatic contact and new nat-helper. 2013-08-30 21:29:29 +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
Jehan Monnier
c820f3f059 add missing makedile file 2013-08-20 16:58:17 +02:00
Jehan Monnier
7a6d1c2946 better test in case of io error 2013-07-16 19:29:56 +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
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
ed655060c8 few privacy cleanups 2013-06-18 16:33:59 +02:00