Commit Graph

53 Commits

Author SHA1 Message Date
marian dea9b5d77f Fixed documentation.
git-svn-id: http://voip.null.ro/svn/yate@6421 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 14:03:02 +00:00
marian 23ea1f1eaa Avoid resetting started RTP when handling re-invite/update containing currently used codec.
git-svn-id: http://voip.null.ro/svn/yate@6420 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 13:58:46 +00:00
marian 8d6195341d Postpone 'fmtp' and 'gpmd' lines processing until codec name is set. Fixes receiving non standard payload number with fmtp/gpmd line set before corresponding 'rtpmap' line.
git-svn-id: http://voip.null.ro/svn/yate@6409 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-20 11:19:12 +00:00
oana 25422700b2 Add support in SIP, SDP, RTP and CDR build for tracing a call.
git-svn-id: http://voip.null.ro/svn/yate@6406 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 14:18:49 +00:00
marian b7e67edec9 Added capability to disable SDP forward from routing.
git-svn-id: http://voip.null.ro/svn/yate@6393 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-09 07:15:06 +00:00
marian 38015c2c1a Fixed bug: search the whole mappings list when building SDP: current format may be present with different payload.
git-svn-id: http://voip.null.ro/svn/yate@6380 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-14 15:02:18 +00:00
paulc 6b2daa2d48 Added G.722 codec from the WebRTC code.
git-svn-id: http://voip.null.ro/svn/yate@6363 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-06 18:31:54 +00:00
paulc ab451bd5c8 Added basic support for forwarding the VP9 codec payload.
git-svn-id: http://voip.null.ro/svn/yate@6358 acf43c95-373e-0410-b603-e72c3f656dc1
2019-09-04 10:29:00 +00:00
marian 0e90f99c59 SDP parse: adjust payload name for configured octet align amr when rtpmap line is parsed and amr is identified by name: this is the point where amr (dynamic payload) is properly identified.
git-svn-id: http://voip.null.ro/svn/yate@6323 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-14 09:39:28 +00:00
paulc 5c8ba3ebcb Avoid parsing unsupported duplicate codecs and mixing up their parameters.
Keep General Purpose Media Parameters with codec and propagate when forwarding RTP.


git-svn-id: http://voip.null.ro/svn/yate@6296 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-07 10:27:43 +00:00
paulc e01e1b86a1 Be more tolerant about presence of an underline at end of the "osdp-prefix" parameter.
git-svn-id: http://voip.null.ro/svn/yate@6295 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-06 16:46:37 +00:00
paulc 1a983eaeb1 Added basic parsing of H.264 format in SDP.
git-svn-id: http://voip.null.ro/svn/yate@6261 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-11 13:19:00 +00:00
marian aa426bcd3c Added capability to set amr 'fmtp' parameters in SDP session: set them in each offer when rtp forward is not enabled.
git-svn-id: http://voip.null.ro/svn/yate@6223 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-24 14:36:56 +00:00
marian 558b3c5b64 Avoid building multiple 'fmtp' lines for a single format.
git-svn-id: http://voip.null.ro/svn/yate@6222 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-23 13:28:27 +00:00
marian cd25d547f1 Expect more parameters in a 'fmtp' line. Remove only parameters we are using to detect format variant(s).
git-svn-id: http://voip.null.ro/svn/yate@6221 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-23 13:23:24 +00:00
paulc 5471c02ad5 Added SDP support for VP8 and some H.263 variants.
Fixed a conflict for the MP4V-ES codec.


git-svn-id: http://voip.null.ro/svn/yate@6179 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 14:07:43 +00:00
paulc 0927d996a6 Switch AMR octet-aligned mode early enough to store the correct format parameters.
git-svn-id: http://voip.null.ro/svn/yate@6152 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 18:38:12 +00:00
paulc 8c0fe9852d Added support for setting AMR and other codecs' parameters in SDP.
Build and package separately the AMR-NB and GSM-EFR codecs.


git-svn-id: http://voip.null.ro/svn/yate@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
marian 122e36cdda Fixed AMR octet align detection when the SDP line contains extra field(s).
git-svn-id: http://voip.null.ro/svn/yate@6122 acf43c95-373e-0410-b603-e72c3f656dc1
2016-06-02 11:30:10 +00:00
paulc e68274d3d1 Added support for parsing and updating bandwidth in SDP.
git-svn-id: http://voip.null.ro/svn/yate@6103 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-09 17:41:35 +00:00
paulc 6fabac567e Added GSM-EFR codec support and transcoder.
git-svn-id: http://voip.null.ro/svn/yate@5945 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:26:51 +00:00
paulc d715665116 Accept SDP crypto with tag 0.
Fixes bug #367.


git-svn-id: http://voip.null.ro/svn/yate@5880 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-25 13:28:05 +00:00
paulc a70481639e Increment the SDP session version only if the hash of the body (except version) has changed.
This helps with some SIP endpoints that reject any SDP change.


git-svn-id: http://voip.null.ro/svn/yate@5861 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:37:11 +00:00
paulc d56cecb40e Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
marian a308bc5fe5 Handle and set IPv6 addresses in SDP.
git-svn-id: http://voip.null.ro/svn/yate@5672 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:27:45 +00:00
marian 0754464000 Fixed bug: freeze sdp session origin address to avoid changing it.
git-svn-id: http://voip.null.ro/svn/yate@5654 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-17 14:17:49 +00:00
marian 647898bf96 Added extra method parameter to allow empty address when creating passtrough sdp, updating sdp and fill rtp params.
git-svn-id: http://voip.null.ro/svn/yate@5637 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:00:12 +00:00
marian 0c666f5f97 Fixed bug: properly convert pointers.
git-svn-id: http://voip.null.ro/svn/yate@5628 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-22 08:52:09 +00:00
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian 51406e17e2 Notify SDPSession descendents before dispatching chan.rtp. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@5607 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 08:35:00 +00:00
marian 81a49d562b Fixed bug: the 'mode' attribute of ilbc payload overrides the 'ptime' SDP line.
git-svn-id: http://voip.null.ro/svn/yate@5576 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 09:40:06 +00:00
marian 239ff37b81 Fixed bug: don't add SDP media ptime parameter if ilbc is not offered.
git-svn-id: http://voip.null.ro/svn/yate@5510 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-31 13:43:06 +00:00
marian 4f596b7a60 Fixed bug: don't advertise RFC2833 telephone event support when missing and rtp is forwarded.
git-svn-id: http://voip.null.ro/svn/yate@5275 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 12:55:17 +00:00
paulc d83aad16d3 Reduce complexity of appending multiple objects to a list.
git-svn-id: http://voip.null.ro/svn/yate@5271 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:59:42 +00:00
paulc 57577ceb53 Allow setting the external address of a NAT in the SDP sent by SIP.
git-svn-id: http://voip.null.ro/svn/yate@5058 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 21:33:21 +00:00
andrei 50e4c9521a Added iSAC formats.
git-svn-id: http://voip.null.ro/svn/yate@4951 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-02 17:39:00 +00:00
paulc ef09d1a59b Fixed allocation of dynamic RTP payloads to avoid conflicts.
git-svn-id: http://voip.null.ro/svn/yate@4926 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 13:51:04 +00:00
paulc cd13b06593 Optimized const String usage in the SDP library.
git-svn-id: http://voip.null.ro/svn/yate@4425 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 13:03:53 +00:00
paulc f60ca31f81 Allow forcing the SDP parser to update the formats list.
git-svn-id: http://voip.null.ro/svn/yate@4414 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-28 12:28:35 +00:00
paulc 3736466398 The default RFC 2833 payload can be configured and overriden per call.
git-svn-id: http://voip.null.ro/svn/yate@4287 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-12 15:41:49 +00:00
paulc 1fab878b8f If we find a RFC2833 mapping in SDP it cannot be a regular payload too.
git-svn-id: http://voip.null.ro/svn/yate@4283 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 15:43:51 +00:00
paulc 8c02021eeb Use static const Regexps wherever possible to speed up code.
git-svn-id: http://voip.null.ro/svn/yate@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc 3f364ef2bd Pick only the already offered formats from an arbitrary list of media formats.
This removes the possibility of accidentally answering with a codec that was not offered.


git-svn-id: http://voip.null.ro/svn/yate@3347 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 15:46:36 +00:00
paulc a3b65e3faa Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://voip.null.ro/svn/yate@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc 81e5d1050e Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://voip.null.ro/svn/yate@3078 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 13:53:18 +00:00
marian 929f79d534 Fixed ILBC payload name in rtpmap.
git-svn-id: http://voip.null.ro/svn/yate@2949 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-16 13:35:54 +00:00
paulc 3624562f55 Added an extra parameter to SDPSession::updateFormats() allowing it to add or remove media.
Use the SDPSession::updateFormats() method in SIP instead of reimplementing it.


git-svn-id: http://voip.null.ro/svn/yate@2873 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 22:54:56 +00:00
paulc 221cbb9019 Explicitely set "media"="false" when other but no audio media is present since the default for audio is true.
git-svn-id: http://voip.null.ro/svn/yate@2872 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 20:43:27 +00:00
paulc 748e8b3ae6 Mark media as muted if chan.rtp returned an empty local IP address.
git-svn-id: http://voip.null.ro/svn/yate@2858 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-25 13:16:00 +00:00
paulc 1c1216ada5 Add the media format to the chan.rtp message even if not starting it.
git-svn-id: http://voip.null.ro/svn/yate@2836 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 15:02:43 +00:00