Gautier Pelloux-Prayer
82ec76a4e1
Reuse previous nonce if outbound proxy realm is set to avoid reauthentication
2014-07-25 14:37:01 +02:00
Simon Morlat
0d5af07a7e
fix memory leaks
2014-06-10 16:30:47 +02:00
Simon Morlat
649a5a5fe8
fix memory leaks
2014-06-09 22:14:06 +02:00
Simon Morlat
10c9de93ca
implement early media forking at client side
2014-06-04 15:16:21 +02:00
Simon Morlat
a63a3f59cd
avoid sending dummy route headers as much as possible
2014-05-09 15:20:14 +02:00
Simon Morlat
7553aa6492
- linphone now puts Route headers in requests (except register) for outbound proxy configurations, according to RFC3261
...
This behavior can be reverted by putting [sip]->use_no_initial_route=1 in the configuration file.
- accept presence NOTIFY without bodies, instead of replying 415
- remove belle-sip warning at start due to stack not created early enough.
2014-04-25 23:13:26 +02:00
Gautier Pelloux-Prayer
4386f18b21
replace tabs with spaces and remove trailing spaces
2014-04-22 17:22:51 +02:00
Simon Morlat
274d50168e
implement digest authentication for anonymous calls (with id privacy)
2014-04-02 22:23:52 +02: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
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
Simon Morlat
161540a1cf
cosmetic changes
2014-02-20 15:43:32 +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
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
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
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
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
a610adecf4
add supported header
2013-12-09 12:19:49 +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
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
Jehan Monnier
c7d6cf0e55
implement uri headers
2013-10-23 15:15:51 +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
005140d321
improve notification of generic subscribe errors
2013-09-24 22:21:38 +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
c413a81e39
bugfixes in Event api when refreshing subscribes
...
fix test suite
2013-09-13 16:10:34 +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
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
42654a327c
add LinphoneReasonUnauthorized
2013-08-21 11:29:32 +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
6e6e33ae23
- few renamings
...
- robustify releasing of calls
2013-07-30 16:56:54 +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
bdd9839dea
add alias to SUBSCRIBE as well
2013-07-08 10:40:07 +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
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
9e60a96b18
add contact header in REFER requests
...
update ms2
2013-06-11 22:34:43 +02:00
Jehan Monnier
b7a487bef4
add privacy support
2013-06-10 17:39: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