Commit graph

328 commits

Author SHA1 Message Date
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Simon Morlat
546b953c5d fix severe bug (everything broken) 2015-01-15 21:34:14 +01:00
Guillaume BIENKOWSKI
838520350c Use const for sal_address_is_ipv6() 2015-01-15 17:19:58 +01:00
Guillaume BIENKOWSKI
0c4e7456d9 Prevent creating sip addresses which are not valid when using them 2015-01-15 17:19:45 +01:00
Guillaume BIENKOWSKI
f2a4cb60d2 Fix a crash when an absolute address is passed to linphone_core_invite.
See bug #2009.
2015-01-15 11:37:30 +01:00
Simon Morlat
76c6886119 fix potential crash when receiving an incoming call for which audio is declined (due to incompatible codecs), but video is accepted. 2014-12-22 16:23:26 +01:00
Jehan Monnier
d8ce5b8904 fix crash when tunnel mode is compiled but disabled 2014-12-02 12:11:55 +01:00
Simon Morlat
93493976b3 tester automatically creates unique accounts on flexisip server before running tests. This allows several developer to run the test suite simultaneously ! 2014-12-01 15:25:54 +01:00
Jehan Monnier
e7e36bb329 add basic support for tel uri in incomming calls 2014-11-28 18:04:37 +01:00
Simon Morlat
89ac410152 fix crash without tunnel, fix compilation on debian 6 2014-11-16 12:09:22 +01:00
Simon Morlat
1716178e38 fix compilation without tunnel 2014-11-15 11:38:06 +01:00
Simon Morlat
d0095948b9 Allow the tunnel mode to work with any proxy config (except for sips destinations)
fix the tunnel tests, that were not working correctly.
2014-11-14 20:17:54 +01:00
Gautier Pelloux-Prayer
abe5a19431 Do not crash if SDP could not be parsed and had some unit tests. - avoid crash if missing SDP in REINVITE ACK - resume previous media parametrs instead of aborting call in case of invalid SDP in REINVITE 2014-11-06 17:25:36 +01:00
Gautier Pelloux-Prayer
1466639bac Do not notify that a call was received when INVITE was invalid and rejected (488 Not acceptable for instance) 2014-11-05 16:54:03 +01:00
Guillaume BIENKOWSKI
2c94056796 Fix SDP overflow commit 2014-10-30 15:41:50 +01:00
Simon Morlat
de1f471a89 Revert "Fix SDP overflow"
This reverts commit 0c5309a3c8.
2014-10-29 22:59:39 +01:00
Guillaume BIENKOWSKI
18e619884c Remove dirstamp 2014-10-29 15:41:03 +01:00
Guillaume BIENKOWSKI
0c5309a3c8 Fix SDP overflow 2014-10-29 15:38:57 +01:00
Jehan Monnier
4e1e0df405 make sure session timer requires refresher to not be linphone 2014-10-14 15:37:26 +02:00
Simon Morlat
3e1e3c93f4 fix crash when declining an update
refine conditions for refusing an UPDATE
2014-09-25 14:15:06 +02:00
François Grisez
df8d324aa7 Change naming convention of variables 2014-09-18 16:03:45 +02:00
Simon Morlat
3e39cc5758 remove warning that produces all the time 2014-09-18 12:24:27 +02:00
Simon Morlat
49b5e76b6a update ms2, ortp to use new ortp_random() 2014-09-16 15:46:52 +02:00
François Grisez
32cd807f61 Change the implementation of sal_enable_tunnel and sal_disable_tunnel 2014-09-15 11:32:42 +02:00
Jehan Monnier
a3e84af3fb fix incoming UPDATE without sdp (session timer case) 2014-09-11 15:08:45 +02:00
Simon Morlat
6337fe8429 fix crash in test and memory leak of LinphoneCallParams 2014-09-08 22:05:29 +02:00
Simon Morlat
f4a4a6440b Support for incoming UPDATEs within dialog.
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Jehan Monnier
4be60e396d fix liblinphone useragent 2014-09-02 09:09:39 +02:00
Simon Morlat
ec0a93b632 prevent unnecessary lookup in pending auth list 2014-08-27 12:04:59 +02:00
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
93a0794c39 fix remote user-agent not set correctly in case of call forking 2014-06-26 17:32:37 +02:00
Gautier Pelloux-Prayer
5cf381b667 add linphone_core_get_user_agent to retrieve local user agent 2014-06-24 14:17:11 +02:00
Ghislain MARY
2f6136009c Handle "rtcp-fb ccm fir" attribute in SDP. 2014-06-24 13:59:11 +02:00
Ghislain MARY
3e13527bb3 Activate PLI, SLI and RPSI when receiving rtcp-fb nack attribute. 2014-06-24 10:51:10 +02:00
Simon Morlat
85bf7d9a97 fix possible use of freed object 2014-06-23 18:52:53 +02:00
Ghislain MARY
94105aaa1f Handle AVPF RR interval in milliseconds + fix negotiation of rtcp-fb trr-int parameter. 2014-06-19 09:55:19 +02:00
Simon Morlat
0021b21feb fix bad handling of call transfer sipfrags and compilation warning 2014-06-13 12:57:23 +02:00
Simon Morlat
0d5af07a7e fix memory leaks 2014-06-10 16:30:47 +02:00
Ghislain MARY
6f95bbc5d2 Fix bug 0001279: Wrong usage of n_active_streams in the media descriptions.
Inactive streams are now allowed between active streams in the SDP.
2014-06-10 13:26:41 +02:00
Simon Morlat
649a5a5fe8 fix memory leaks 2014-06-09 22:14:06 +02:00
Simon Morlat
35cd2665b7 enhance multiple early media forking test to check that dialogs are ok 2014-06-09 14:06:13 +02:00
Johan Pascal
3c918dfd8b Merge branch 'master' of git.linphone.org:linphone into dev_filetransfer 2014-06-09 13:40:06 +02:00
Simon Morlat
2f8244d39b memory leak hunting 2014-06-06 10:07:25 +02:00
Simon Morlat
f9c01ebdb4 fix ICE status not updated at callee side in case of video mline rejected.
add new tests.
2014-06-05 16:00:41 +02:00
Ghislain MARY
3bf28e79af Do not include rtcp-xr and rtcp-fb attributes for inactive medias in the SDP. 2014-06-05 10:53:36 +02:00
Simon Morlat
31d767f9e3 fix compilation error 2014-06-04 15:17:48 +02:00
Simon Morlat
10c9de93ca implement early media forking at client side 2014-06-04 15:16:21 +02:00
Jehan Monnier
ba5c902bba add option sip_update to linphonerc to disable SIP UPDATE 2014-06-03 10:24:44 +02:00
Simon Morlat
a5af301c13 fix memory leaks 2014-06-02 17:33:34 +02:00
Ghislain MARY
0cd71d6548 Fix issue with rtcp-fb attributes in SDP of response. 2014-06-02 11:02:41 +02:00