Commit graph

236 commits

Author SHA1 Message Date
Simon Morlat
9d5c1e7403 add possibility to set/get subject in SDP 2014-02-18 17:30:52 +01:00
Simon Morlat
c88c845e0c better handling of sip chat message failures 2014-02-13 21:49:34 +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
Guillaume Beraudo
f021e9aa51 Expose chat message response code and reason. 2014-02-12 16:04:48 +01:00
Simon Morlat
bddbdc7cd8 provisioning in gtk app in progress 2014-02-12 14:25:52 +01:00
Jehan Monnier
aacd7bb5a2 protect call tester add_video against crash when call has fail 2014-02-10 17:35:08 +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
Jehan Monnier
af18f7293b replace belle_aip_header_extension by belle_sip_header 2014-02-07 14:58:53 +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
Jehan Monnier
5c7330b17f avoid 100 trying to reset op auth counters 2014-02-06 15:10:29 +01:00
Jehan Monnier
0dae0d3320 reset op auth count in case of io error 2014-02-04 11:29:24 +01:00
Jehan Monnier
0eef5c5ecb rework behavior for 403/401/407 auth failure to avoid loop and make sure retry are always done 2014-01-30 16:18:38 +01:00
Simon Morlat
b999c757fc fix rare crash in sal
update oRTP
2014-01-28 21:22:28 +01:00
Simon Morlat
b5a6d4a2c6 implement custom headers sending in 200Ok 2014-01-22 18:03:55 +01:00
Simon Morlat
22e1427eb3 fix automatic resuming of calls after failed failed transfer 2014-01-21 12:17:39 +01:00
Simon Morlat
4e82aa626b better checking of incoming SDP, in order to avoid accept things we cannot support. 2014-01-08 12:06:36 +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
e8d63aa3ba remove uri headers from Contact 2013-12-20 14:02:25 +01:00
Simon Morlat
eb93c8a62f fix crash when receiving SDP with many mlines 2013-12-19 17:22:24 +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
70f9617b50 minor changes 2013-12-12 17:26:06 +01:00
Simon Morlat
c53381e0b5 add linphone_proxy_config_set_contact_uri_parameters() 2013-12-12 11:08:38 +01:00
Simon Morlat
6b263466e0 fix another alloc/free mismatch (required for windows) 2013-12-10 21:45:44 +01:00
Ghislain MARY
e9ad2787d1 Free memory allocated by belle_sip_malloc() with belle_sip_free(). 2013-12-10 17:07:44 +01:00
Simon Morlat
a610adecf4 add supported header 2013-12-09 12:19:49 +01:00
Ghislain MARY
e67a8737dd Add configuration to enable/disable DNS SRV resolution. 2013-12-05 14:52:57 +01:00
Simon Morlat
8ffa2c38fe finish to implement multi transport in gtk app.
fix malloc/free mismatch
2013-12-01 21:43:13 +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
f72ac202cf fix build issue in ms2 2013-11-29 19:17:48 +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
Guillaume BIENKOWSKI
f7cf567135 Added a flag to force inclusion of contact headers in ringing responses.
The flag is SAL_OP_CALL_FORCE_CONTACT_IN_RINGING .
This helps handling older versions of SIP servers that expect it to be present in the 183 response.
2013-11-26 14:07:25 +01:00
Simon Morlat
4ddeb921c1 tune routing of outgoing requests:
- do not set the transport in the request-uri, it might confuse servers.
- don't route sips request through tcp or udp
2013-11-22 16:36:42 +01:00
Jehan Monnier
e0256b1f7a fix compilation issue 2013-11-21 16:26:44 +01:00
Guillaume Beraudo
9c955aed32 Fix a few leaks. 2013-11-21 15:50:31 +01:00
Guillaume Beraudo
e8225e64b9 Basic client certificates API 2013-11-21 13:54:31 +01:00
Sylvain Berfini
d5a091ba0a Updated README + fix SIP_INFO DTMF crash when trying to send a DTMF while call is ringing 2013-11-18 11:33:47 +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
Jehan Monnier
e316b02b88 answer 481 in case of CANCEL received for an establshed dialog 2013-11-12 10:27:56 +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
Simon Morlat
b012c49dab answer 481 to unmatched CANCELs (instead of 501) 2013-10-30 12:25:05 +01:00
Jehan Monnier
c7d6cf0e55 implement uri headers 2013-10-23 15:15:51 +02:00
Jehan Monnier
054ecbbe90 fix crash in case of out of dialog NOTIFY rejected by application because unknown from 2013-10-15 09:32:27 +02: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