Commit Graph

57 Commits

Author SHA1 Message Date
marian 62217132de Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6509 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-04 07:35:53 +00:00
marian f7ce4dc6f0 Fixed bug: put alaw/mulaw in rtpmap dictionary start for proper matching when parsing receivd SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6484 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 11:46:57 +00:00
marian 0b8f9b48cc Added SDP support for stereo slin/alaw/mulaw.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6483 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 10:02:58 +00:00
paulc 51b6cf6bfa Fixed several issues exposed by the Microsoft compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6459 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 14:08:19 +00:00
marian 614ace3007 Fixed documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6421 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 14:03:02 +00:00
marian 6031f15896 Avoid resetting started RTP when handling re-invite/update containing currently used codec.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6420 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 13:58:46 +00:00
marian 1eae4a0eee 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://yate.null.ro/svn/yate/trunk@6409 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-20 11:19:12 +00:00
oana 636e41a2cd Add support in SIP, SDP, RTP and CDR build for tracing a call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6406 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 14:18:49 +00:00
marian 354b2b278d Added capability to disable SDP forward from routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6393 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-09 07:15:06 +00:00
marian 188bd8c716 Fixed bug: search the whole mappings list when building SDP: current format may be present with different payload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6380 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-14 15:02:18 +00:00
paulc 828ea4ddfa Added G.722 codec from the WebRTC code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6363 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-06 18:31:54 +00:00
paulc 08b861eb54 Added basic support for forwarding the VP9 codec payload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6358 acf43c95-373e-0410-b603-e72c3f656dc1
2019-09-04 10:29:00 +00:00
marian 72fa0b7b68 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://yate.null.ro/svn/yate/trunk@6323 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-14 09:39:28 +00:00
paulc 9e2d134ea5 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://yate.null.ro/svn/yate/trunk@6296 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-07 10:27:43 +00:00
paulc f79efe0b93 Be more tolerant about presence of an underline at end of the "osdp-prefix" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6295 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-06 16:46:37 +00:00
paulc abdcb5841f Added basic parsing of H.264 format in SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6261 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-11 13:19:00 +00:00
marian 33921b778b 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://yate.null.ro/svn/yate/trunk@6223 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-24 14:36:56 +00:00
marian 64d5a0ec86 Avoid building multiple 'fmtp' lines for a single format.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6222 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-23 13:28:27 +00:00
marian 98b08016c4 Expect more parameters in a 'fmtp' line. Remove only parameters we are using to detect format variant(s).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6221 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-23 13:23:24 +00:00
paulc e116a6cad9 Added SDP support for VP8 and some H.263 variants.
Fixed a conflict for the MP4V-ES codec.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6179 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 14:07:43 +00:00
paulc 97ccf927fa Switch AMR octet-aligned mode early enough to store the correct format parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6152 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 18:38:12 +00:00
paulc 09ff4188b9 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://yate.null.ro/svn/yate/trunk@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
marian ee68319ac4 Fixed AMR octet align detection when the SDP line contains extra field(s).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6122 acf43c95-373e-0410-b603-e72c3f656dc1
2016-06-02 11:30:10 +00:00
paulc 2461efa911 Added support for parsing and updating bandwidth in SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6103 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-09 17:41:35 +00:00
paulc 3bba322664 Added GSM-EFR codec support and transcoder.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5945 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:26:51 +00:00
paulc cc2279cffa Accept SDP crypto with tag 0.
Fixes bug #367.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5880 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-25 13:28:05 +00:00
paulc 8f8fe9ad85 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://yate.null.ro/svn/yate/trunk@5861 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:37:11 +00:00
paulc 37a72e4bc1 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://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
marian 39e88dc6b7 Handle and set IPv6 addresses in SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5672 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:27:45 +00:00
marian a248b6019e Fixed bug: freeze sdp session origin address to avoid changing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5654 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-17 14:17:49 +00:00
marian ef9ce9c3cc Added extra method parameter to allow empty address when creating passtrough sdp, updating sdp and fill rtp params.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5637 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:00:12 +00:00
marian 02aa711b46 Fixed bug: properly convert pointers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5628 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-22 08:52:09 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian bd9a10d476 Notify SDPSession descendents before dispatching chan.rtp. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5607 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 08:35:00 +00:00
marian c52c646fd4 Fixed bug: the 'mode' attribute of ilbc payload overrides the 'ptime' SDP line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5576 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 09:40:06 +00:00
marian 67c5b6a96a Fixed bug: don't add SDP media ptime parameter if ilbc is not offered.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5510 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-31 13:43:06 +00:00
marian 1204460b32 Fixed bug: don't advertise RFC2833 telephone event support when missing and rtp is forwarded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5275 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 12:55:17 +00:00
paulc 082d93a3a3 Reduce complexity of appending multiple objects to a list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5271 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:59:42 +00:00
paulc e7c7b6ceba Allow setting the external address of a NAT in the SDP sent by SIP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5058 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 21:33:21 +00:00
andrei 8fcb756d4e Added iSAC formats.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4951 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-02 17:39:00 +00:00
paulc 3f428ef094 Fixed allocation of dynamic RTP payloads to avoid conflicts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4926 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 13:51:04 +00:00
paulc 1d456ad9a4 Optimized const String usage in the SDP library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4425 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 13:03:53 +00:00
paulc 1f05aaeb1c Allow forcing the SDP parser to update the formats list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4414 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-28 12:28:35 +00:00
paulc 3c4e6a01b6 The default RFC 2833 payload can be configured and overriden per call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4287 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-12 15:41:49 +00:00
paulc f4cf176deb If we find a RFC2833 mapping in SDP it cannot be a regular payload too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4283 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 15:43:51 +00:00
paulc 682c4c9d2a Use static const Regexps wherever possible to speed up code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc f2919a82f4 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://yate.null.ro/svn/yate/trunk@3347 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 15:46:36 +00:00
paulc 15904daef1 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://yate.null.ro/svn/yate/trunk@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc 8b0c5ed985 Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3078 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 13:53:18 +00:00
marian 995d6fb6a0 Fixed ILBC payload name in rtpmap.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2949 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-16 13:35:54 +00:00