Commit Graph

676 Commits

Author SHA1 Message Date
Manawyrm 6fa07fb632 Add new clearmode codec support for data calls
This new codec will get handled like RFC4040 in yrtpchan, ysipchan
and will just be handled as alaw audio in zapcard/DAHDI.

The zapcard code will set the udi bearer cap to any calls with the
clearmode format (which would get sent via SIP/SDP).
2023-09-19 18:29:40 +02:00
Ioana Stanciu afc46246ca Import commercial version of YATE SIP and SDP implementation. 2023-05-23 15:16:31 +03:00
Ioana Stanciu 3539304e63 Add support for HEP3 packet capture in SIP. 2023-05-23 14:27:45 +03:00
Ioana Stanciu 87bd925d49 Add module for HEP3 packet capture. 2023-05-23 14:22:42 +03:00
marian e3f3ba3884 Added support for multiple sniffer rules containing filter/age/params. 2023-05-18 15:25:14 +03:00
Ioana Stanciu cc9c0fc206 Re-written the Wireshark message sniffer module. 2023-03-10 13:57:59 +02:00
marian 5ed7e84f2c Added javascript support to install message handlers running a separate context for each handled message.
Handlers can be installed from a global script or separate config section.
Added support to share objects (JsObject descendants implementing cloneForCopy() method) between scripts. Each script will obtain a copy of a shared object.
2023-03-06 15:00:41 +02:00
marian 88c7f844ba Put mysql query failure error (timeout, noconn, deadlock) when detected.
Extended counters to 64bit. Report total query queued and run duration in status.
Added configurable option to report (debug) queries running for more than a specifed duration.
2023-03-06 12:04:41 +02:00
Ioana Stanciu ca129ad5ba Import SVN ignore propgs to git. 2023-02-17 16:53:39 +02:00
marian e8419f18b5 Added Configuration file directives used to include a section into another one.
git-svn-id: http://voip.null.ro/svn/yate@6580 acf43c95-373e-0410-b603-e72c3f656dc1
2022-12-19 11:54:39 +00:00
marian dcfe3ddf66 Added option used to extend the number of configuration max include file depth.
git-svn-id: http://voip.null.ro/svn/yate@6577 acf43c95-373e-0410-b603-e72c3f656dc1
2022-12-13 10:12:28 +00:00
marian b4e6c6e136 Added option used to delay failed to bind warning: may be used when some interfaces are going to be initialized after sip module startup.
git-svn-id: http://voip.null.ro/svn/yate@6576 acf43c95-373e-0410-b603-e72c3f656dc1
2022-12-13 08:17:06 +00:00
oana 52368b722b Document in regexroute.conf.sample setting filter for extra handlers.
git-svn-id: http://voip.null.ro/svn/yate@6554 acf43c95-373e-0410-b603-e72c3f656dc1
2022-04-05 08:59:41 +00:00
marian 67ca493a9c Added support for new include directive '': do not warn when file/directory fails to be included.
git-svn-id: http://voip.null.ro/svn/yate@6552 acf43c95-373e-0410-b603-e72c3f656dc1
2022-03-16 13:47:44 +00:00
oana 94a2b7ce80 Add support for building and running multiple instances of the same script.
git-svn-id: http://voip.null.ro/svn/yate@6542 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-09 10:59:28 +00:00
marian 611407bd55 Added separate module for debug messages put in regexroute matching rules using the debug function to allow setting a different debug level for them. Made regexroute itself a module using its own debug level (it no longer uses the global debug level for debug messages).
git-svn-id: http://voip.null.ro/svn/yate@6533 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 07:38:24 +00:00
marian 372a550973 Added support to enable REFER handling per call leg. Added configurable support (default:disabled) to send a call.update message with operation=transfer before internal handling on REFER.
git-svn-id: http://voip.null.ro/svn/yate@6527 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-15 14:19:43 +00:00
oana 67fcb0ae20 Added msleep function that permits sleeping when handling a message.
git-svn-id: http://voip.null.ro/svn/yate@6520 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:24:10 +00:00
marian bb26b4e217 Added support to track message enqueue/dispatch time. Added support to track the time spent by a message in handler.
git-svn-id: http://voip.null.ro/svn/yate@6513 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 08:02:49 +00:00
marian cf842f90dd Added support to match message parameter(s) in sniffer.
git-svn-id: http://voip.null.ro/svn/yate@6510 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-05 13:27:55 +00:00
paulc 18220252b4 Allow up to 12 bits for the node ID.
git-svn-id: http://voip.null.ro/svn/yate@6501 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-16 10:10:00 +00:00
marian 98e943c8b8 Added SDP support for stereo slin/alaw/mulaw.
git-svn-id: http://voip.null.ro/svn/yate@6483 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 10:02:58 +00:00
paulc 4a42c622b4 Added sniffer option to deiplay only messages with age or delay higher than a certain value.
git-svn-id: http://voip.null.ro/svn/yate@6466 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-15 13:05:28 +00:00
paulc 904991d4e4 Made the rmanager prompt configurable for each authentication level.
git-svn-id: http://voip.null.ro/svn/yate@6456 acf43c95-373e-0410-b603-e72c3f656dc1
2020-12-11 12:34:47 +00:00
oana 83ef49437f Add tracking for Javascript object creation and destruction.
Add command that reports how many objects are still alive that have been created at the reported code line.
Fix constructor for ConfigFile.



git-svn-id: http://voip.null.ro/svn/yate@6442 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:01:31 +00:00
paulc a1dd97cf0d Added setting to track created objects per script instead of whole module.
git-svn-id: http://voip.null.ro/svn/yate@6438 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 13:24:46 +00:00
oana 0ef2cc7605 Add command line argument for running YATE with a required affinity.
Add configuration for affinity of RTPGroup threads.



git-svn-id: http://voip.null.ro/svn/yate@6430 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 13:12:56 +00:00
marian c36e67711e Added support to retry a query when deadlock is returned by the server.
git-svn-id: http://voip.null.ro/svn/yate@6417 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-21 14:00:05 +00:00
paulc 5fadec52f2 Added setting to execute account operations on reload.
git-svn-id: http://voip.null.ro/svn/yate@6414 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-13 14:27:52 +00:00
marian 51b6b1d2f2 Fixed documentation.
git-svn-id: http://voip.null.ro/svn/yate@6413 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-10 08:20:08 +00:00
paulc 22ebf95683 Added support for configuring a larger number of worker threads.
git-svn-id: http://voip.null.ro/svn/yate@6411 acf43c95-373e-0410-b603-e72c3f656dc1
2020-06-26 10:29:53 +00:00
paulc 1db8917b18 Added a limit of how many messages can be queued to an external script.
git-svn-id: http://voip.null.ro/svn/yate@6400 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 15:39:14 +00:00
paulc f099430479 Added support for checking if a module is loaded.
Added support for configuration conditionals on module loaded.


git-svn-id: http://voip.null.ro/svn/yate@6399 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 13:50:14 +00:00
marian 485782c9fa Added configurable option to put all headers received in initial SIP requests in yate message.
git-svn-id: http://voip.null.ro/svn/yate@6385 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-26 13:08:04 +00:00
paulc 5f1c43af00 Added support for adding extra runtime parameters from main config file or Engine command.
For thread safety reason runtime parameters cannot be deleted or modified.


git-svn-id: http://voip.null.ro/svn/yate@6377 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-01 17:38:17 +00:00
marian dbdc6b6c2e Added separate mutex to protect the scripts list and operations. Avoids locking the module if script parse is taking a long time.
git-svn-id: http://voip.null.ro/svn/yate@6376 acf43c95-373e-0410-b603-e72c3f656dc1
2019-12-19 12:21:42 +00:00
paulc 8ac988d434 Allow overriding from (pre)routing the ENUM domains used.
Added option to continue routing even if ENUM has returned a matching answer.


git-svn-id: http://voip.null.ro/svn/yate@6371 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-18 16:00:19 +00:00
marian 614e4caf04 Always update dialog uri from Contact header when handling 2xx answer to INVITE. Added option (default: disable) to also change party if autochangeparty is enabled.
git-svn-id: http://voip.null.ro/svn/yate@6369 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-13 11:18:31 +00:00
oana 93677a25be Add global node ID information to the engine.
git-svn-id: http://voip.null.ro/svn/yate@6368 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-13 10:44:03 +00:00
paulc 9401c35524 Added support for setting the current timestamp in external to yate messages.
Always set the current time if protocol did not set it.


git-svn-id: http://voip.null.ro/svn/yate@6359 acf43c95-373e-0410-b603-e72c3f656dc1
2019-10-03 13:25:17 +00:00
sabina bfc2e5de31 Added files for wiresniff module. Identical to Rev. 2213
git-svn-id: http://voip.null.ro/svn/yate@6331 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-27 12:57:17 +00:00
paulc 4ab37a1a79 Added support for allowing extra commands in restricted user mode.
git-svn-id: http://voip.null.ro/svn/yate@6329 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-20 13:07:33 +00:00
marian 00b0b1e408 Added SIPS URI support.
git-svn-id: http://voip.null.ro/svn/yate@6321 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-06 09:37:17 +00:00
paulc 7de893f3c1 Added support for following forked transactions' 1xx provisional messages.
git-svn-id: http://voip.null.ro/svn/yate@6318 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-03 12:19:25 +00:00
paulc fcf945b0bf Added option to restart engine if system time jumps around too much.
git-svn-id: http://voip.null.ro/svn/yate@6291 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:13:53 +00:00
paulc 2b0d280395 Added explanation for conditional blocks.
git-svn-id: http://voip.null.ro/svn/yate@6288 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-05 10:41:02 +00:00
paulc c91d771298 Added support for late SDP in ACK for reINVITE transactions.
Allow SDP forwarding when the media address is 0.0.0.0 or :: (muted).


git-svn-id: http://voip.null.ro/svn/yate@6287 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-18 15:48:17 +00:00
paulc ddd1dd37a6 Add a Retry-After header to the 503 generated in case of Engine congestion.
git-svn-id: http://voip.null.ro/svn/yate@6286 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-14 14:02:51 +00:00
marian a26e45ad25 Removed unused parameters documentation.
git-svn-id: http://voip.null.ro/svn/yate@6283 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-23 08:01:09 +00:00
marian 13bedcd33c Clarified documentation.
git-svn-id: http://voip.null.ro/svn/yate@6282 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-23 07:53:27 +00:00