Commit Graph

192 Commits

Author SHA1 Message Date
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
marian 72f8657188 Added Channel parameters list to be set in all Channel messages. Update it from routing and chan.control.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6339 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:54:04 +00:00
paulc 11a02cf913 Resolved or silenced a number of compile warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5891 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 16:30:15 +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 fd0c7a9d2b Added post dial delay timeout in outgoing channel started from 'maxpdd' routing parameter. It stops when status is called with 'ringing', 'progressing' or 'answered'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
marian e0942e7e65 Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +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 e620049e17 Change host direction if possible and re-negotiate the transport when receiving stream hosts from remote.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5497 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-26 12:31:28 +00:00
marian ee3138f16e Change file transfer host direction when failed to connect to remote provided host. Signal it to remote party.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5492 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-25 14:55:29 +00:00
marian 32b5f99080 Wait for session initiate result to send stream host for file transfer session.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5482 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 11:13:10 +00:00
marian 5a3356066b Fixed bug: use driver mutex to reset session user data pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5463 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 15:00:31 +00:00
marian 4249bd40d0 Don't remove file path when starting a file transfer path.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5432 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 10:16:45 +00:00
marian 0db06d7034 Fixed bug: always look for transport candidates in session accept.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5359 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-14 08:52:22 +00:00
marian 94b6e06060 Make sure the user data pointer carried by handled message is a CallEndpoint one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5287 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-01 11:00:30 +00:00
paulc a779f83eb0 Changed the handling of the "timeout" parameter so it (re)starts when call is answered.
Added "maxcall" and "timeout" setting and handling to channels that lacked it.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5282 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 09:39:49 +00:00
paulc d4aacc8ce9 Always use the RTP started flag, no matter in which version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5230 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 23:08:21 +00:00
paulc 3919a0668e Fixed Jingle audio content creation in a scenario with immediate answer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5229 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 21:09:08 +00:00
paulc 237b6c9c55 Reset Jingle audio content on answer only if it was an early media one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5228 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 18:02:21 +00:00
oana ca3528c6e2 Set allowed number of simultaneous calls from configuration files. If not set, default to the maxchans setting in yate.conf.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5227 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 13:29:31 +00:00
paulc 7e655f0d61 Add the "bitrate" as a generic payload parameter in addition to the attribute.
On inbound contents read the bitrate from generic parameter in preference to attribute.
Add the bitrate to the iLBC formats as some clients use it a a type hint instead of ptime.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5204 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-17 14:25:38 +00:00
paulc 3d0ac3522e List incoming Jingle codecs in caller's preferred order if available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5182 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-05 17:02:10 +00:00
paulc 9b762309cc Lock the Jingle channel while changing its formats list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5181 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-05 11:25:18 +00:00
paulc f268caafdc Support changing formats from routing for inbound Jingle calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5180 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-05 11:09:13 +00:00
paulc 4e3a6a1bbd Overwrite the "direction" parameter added in Rev. 5121 in "chan.rtp" messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5168 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-02 09:49:25 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
marian 029db42476 Enqueue call.ringing when initiate stanza is confirmed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5040 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-04 09:13:49 +00:00
marian f6e6e325d3 Send ringing if ring with content flag is set and call is progressing with ealy media
git-svn-id: http://yate.null.ro/svn/yate/trunk@5038 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-04 07:51:04 +00:00
marian 395c7fef58 Added flags controlling ringing for incoming channels. Optionally add session content in jingle ringing stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5033 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-01 14:30:26 +00:00
marian 4d3033bff4 Added google raw udp transport support for jingle version 1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5031 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-30 09:47:59 +00:00
marian ed57a612c0 Added support to offer p2p transport for outgoing jingle sessions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4982 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-27 07:37:56 +00:00
marian a3ef7e0139 Added isac to jingle known codecs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4957 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-06 16:01:37 +00:00
marian 967ac21f1a Reset received rtp ssrc media attribute to avoid sending it back.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4901 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 10:04:07 +00:00
marian f9ac656740 Refuse new incoming calls if don't accepted by the driver (engine exiting or full) in sig, iax and jingle modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4794 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-04 15:58:31 +00:00
marian d6fd6d4907 Fixed jingle SRTP negotiation and setup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4727 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-29 15:51:14 +00:00
paulc cd83ba0fce Added new static mutex to protect channel disconnect parameters during access.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4662 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 18:23:26 +00:00
paulc 42772c000d Allow global calls limits to be reloaded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4636 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-26 14:55:42 +00:00
marian 7cebe1115d Added google p2p transport support for jingle version 1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4479 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-11 09:32:16 +00:00
paulc 1ae0546b45 Added class for pseudo random number generation.
Replace library ::random() and ::rand() calls with shared Random method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian 6e60f28f8c Properly match ilbc when handling formats set from routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4366 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-11 17:11:25 +00:00
marian 80f6ae01eb Removed unused function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4308 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 08:35:31 +00:00
marian 8b2cfff57a Conditionally compile function used only for debug purposes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4307 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 08:32:39 +00:00
marian 7b5a2192b3 Fixed bug: restart rtp and transport when used media format or payload id changes in received session accept. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4297 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-14 14:41:33 +00:00
marian e4aaf7039c Handle (o)jingle_flags parameter from routing and replace session flags. Set the parameter when redirecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4281 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:50:17 +00:00
marian 8c477b27cb Initialize jingle engine when module initializes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4279 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:17:50 +00:00
marian 28f530dfa4 Remember telephone event payload id and name for received contents and reflect them when responding. Update telephone event for sent contents. Set event payload id when starting rtp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4246 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 11:16:36 +00:00
marian 23fb59874a Fixed media checking for incoming contents. Fixed ilbc codec negotiation. Added speex to codecs list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4240 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-30 15:14:40 +00:00
marian 251e690172 Set yate node in presence entity capability child.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4217 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-25 10:31:09 +00:00
marian af714423c3 Allow overriding dtmf method on incoming jingle channels.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4205 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 09:59:14 +00:00
marian 2daa2c0e78 Avoid adding twice the module parameter when dispatching jabber.account messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4201 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 14:03:48 +00:00
paulc 7c4801873f Automatically copy disconnect parameters to the chan.hangup message.
Provide those parameters to the peer call endpoint when disconnecting it.
Add numeric cause_q931 to disconnect params of h323chan.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4052 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 10:21:01 +00:00