Commit Graph

2544 Commits

Author SHA1 Message Date
paulc 18b6c0041d Added a base class for all digest calculation classes.
Added SHA256 calculation class.
Added HMAC calculation methods.
Added test module for cryptographic functions validation.


git-svn-id: http://voip.null.ro/svn/yate@5651 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-13 12:43:20 +00:00
paulc 959dafed80 Prevent the monitoring module from handling all monitor.query at priority 100.
git-svn-id: http://voip.null.ro/svn/yate@5649 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 13:01:44 +00:00
paulc 90112ddece Use returned string of monitor.query message if "value" parameter is not set.
Removed an unnecessary string copy.


git-svn-id: http://voip.null.ro/svn/yate@5648 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 12:57:08 +00:00
paulc 4bf815b7bd Use the proper method to clear saved media parameters.
git-svn-id: http://voip.null.ro/svn/yate@5646 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:55:50 +00:00
paulc 89bf29db01 Attempt to revert to previous media if our reINVITE was refused.
git-svn-id: http://voip.null.ro/svn/yate@5645 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:48:41 +00:00
paulc 0cd904b3d0 Check if the file exists before trying to send a fax.
git-svn-id: http://voip.null.ro/svn/yate@5644 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:46:51 +00:00
oana 50693ae1cf Fixed compile warnings which appear when compiling with xdebug.
git-svn-id: http://voip.null.ro/svn/yate@5642 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-09 15:26:27 +00:00
paulc 7282f18730 Provide a mapping for SIP 488 code so it propagates correctly.
git-svn-id: http://voip.null.ro/svn/yate@5640 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:21:23 +00:00
paulc da947b7370 Make the SVN revision accessible to engine, rmanager, SNMP.
git-svn-id: http://voip.null.ro/svn/yate@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
marian 7714eb89e0 Fixed bug: allow empty address (hold) when handling re-invite with rtp forward.
git-svn-id: http://voip.null.ro/svn/yate@5638 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:01:45 +00:00
paulc 0b869b4437 Check the timestamps of all files included in Javascript.
On initialization reload scripts if any included file has changed.
Reload routing script only if it has changed.


git-svn-id: http://voip.null.ro/svn/yate@5631 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-28 13:19:42 +00:00
paulc bbb4fccc91 Added separate config sections for SIP MESSAGE and OPTIONS.
Made the routed MESSAGE advertising and processing disabled by default.
Removed separate in-dialog authetication for MESSAGE, follow same rule as BYE.


git-svn-id: http://voip.null.ro/svn/yate@5629 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-23 11:52:11 +00:00
paulc b23d7782cc Emit alerts for SIP and H.323 flood / local congestions.
Try to detect early the OpenH323 cleaner overload for outbound calls.


git-svn-id: http://voip.null.ro/svn/yate@5627 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-19 13:53:54 +00:00
paulc 35345b0104 Fixed SNMP Counter64 implementation.
git-svn-id: http://voip.null.ro/svn/yate@5624 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-14 08:39:08 +00:00
marian 868f2c5cf3 Moved msg.execute route type config parameter to separate section. Made it configurable for call.execute also. Drop global mutex lock when done using global data.
git-svn-id: http://voip.null.ro/svn/yate@5622 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 11:19:23 +00:00
marian 73e27b0e58 Add a configurable route_type parameter if missing when late routing a msg.execute message.
git-svn-id: http://voip.null.ro/svn/yate@5621 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 10:10:33 +00:00
marian 959901913f Fixed compile error.
git-svn-id: http://voip.null.ro/svn/yate@5620 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:32:24 +00:00
marian 5dda0433d1 Always handle MESSAGE method. Route incoming MESSAGE received outside INVITE dialog using call.route and send it using msg.execute. Forward MESSAGE received inside INVITE dialogs to channel peer using chan.text.
git-svn-id: http://voip.null.ro/svn/yate@5619 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:31:33 +00:00
marian 2ab24ed2e2 Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
git-svn-id: http://voip.null.ro/svn/yate@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +00:00
paulc 52fc035ed7 Don't display telnet window size changes in non-debug compile.
git-svn-id: http://voip.null.ro/svn/yate@5615 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:53:15 +00:00
paulc c572fbbce3 Fixed warnings - mostly conversions - exposed by Visual C++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@5614 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:24:10 +00:00
paulc 751937b0ec More fixes related to 32 and 64 bit types usage in JS.
git-svn-id: http://voip.null.ro/svn/yate@5613 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 10:18:23 +00:00
paulc e498bdc20f Fixed 64 bit types usage in Javascript, was broken on 32 bit machines.
git-svn-id: http://voip.null.ro/svn/yate@5612 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 09:49:52 +00:00
paulc e23ad9bb51 Fixed comment destroyed by script.
git-svn-id: http://voip.null.ro/svn/yate@5610 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:49:03 +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 414a5d9414 Stop chan.rtp dispatch for audio or video media with empty formats list.
git-svn-id: http://voip.null.ro/svn/yate@5608 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 08:37:10 +00:00
paulc ccae9ca1cf Added settings to allow matching inbound calls from broken registrars.
git-svn-id: http://voip.null.ro/svn/yate@5606 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-05 20:45:29 +00:00
paulc f777b559d2 Added Javascript methods for enabling and controlling debug levels.
git-svn-id: http://voip.null.ro/svn/yate@5605 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-05 09:56:52 +00:00
marian 972a23de13 Reset connect retry counter when received data not when connect succeeds. Fixes forever connect retry when connection is closed after accepted without receiving any data. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@5604 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 14:28:44 +00:00
marian 73bb976de9 Initialize all CallMonitor data members.
git-svn-id: http://voip.null.ro/svn/yate@5603 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 13:48:45 +00:00
oana 89974c646d Emit a user.authfail message when authentification for a SNMP request fails.
git-svn-id: http://voip.null.ro/svn/yate@5602 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 13:24:22 +00:00
marian 10f0d6bffc Check ssl availability. Don't bind a tls listener if the context is not valid. Don't try to connect a tls transport if ssl is not available.
git-svn-id: http://voip.null.ro/svn/yate@5601 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 11:56:53 +00:00
marian 8e97f597ee Fixed bug: start transport worker thread after init to make sure data is initialized. Fixes incoming tcp transport race condition.
git-svn-id: http://voip.null.ro/svn/yate@5600 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 11:11:38 +00:00
marian c9257c678e Propagate non-retryable send errors to transaction. Terminate outgoing transactions in Trying state if first send attempt failed. Reset failed message party otherwise.
git-svn-id: http://voip.null.ro/svn/yate@5599 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 10:01:39 +00:00
marian 4a0533fa36 Fixed conversion from boolean false to pointer.
git-svn-id: http://voip.null.ro/svn/yate@5598 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 07:10:00 +00:00
paulc d23fcafcee Added possibility to sepcify the hexa separator in regexroute.
Accelerated function name comparations in regexroute.


git-svn-id: http://voip.null.ro/svn/yate@5597 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 15:23:59 +00:00
paulc a19f534767 Added unHexify version that automatically detects separator presence.
git-svn-id: http://voip.null.ro/svn/yate@5596 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 14:52:52 +00:00
paulc 6071cb7777 MIB type usage fixes, use Gauge32 instead of Counter32 for values that do not roll-over.
git-svn-id: http://voip.null.ro/svn/yate@5592 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-31 12:23:56 +00:00
paulc 28d69900c8 Fixed order of declarations in the genericAlarm notification.
Renamed leaf moduleInfo to moduleExtra to fix a duplicate name.


git-svn-id: http://voip.null.ro/svn/yate@5589 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-29 12:51:30 +00:00
marian a833e3dc52 Incoming registration NAT detection: don't check port for non udp parties.
git-svn-id: http://voip.null.ro/svn/yate@5588 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-23 14:39:46 +00:00
paulc 7221317efd Copy a SIP remote party change to the "address" parameter.
Add change information for address and contact in the call.update message.
Delay updating channel parameters until the reINVITE is accepted.


git-svn-id: http://voip.null.ro/svn/yate@5583 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-16 13:15:40 +00:00
paulc 655d4a34fe Cleaned up and simplified the direction QoS monitoring code.
git-svn-id: http://voip.null.ro/svn/yate@5579 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 12:05:46 +00:00
paulc 99a7cc1f21 Add alarmText (if provided) to the new style specificAlarm trap.
git-svn-id: http://voip.null.ro/svn/yate@5578 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 11:57:59 +00:00
paulc f0434cf4d3 Send trap sysUpTimeInstance with 1/100 s resolution.
git-svn-id: http://voip.null.ro/svn/yate@5577 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 11:42:10 +00:00
paulc f964a7922d Moved all trap variables to a common specificAlarm trap OID.
Edited the MIB so genericAlarm and specificAlarm use the NOTIFICATION-TYPE macro.


git-svn-id: http://voip.null.ro/svn/yate@5574 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:46:19 +00:00
paulc cc07622946 Check for disabled traps when placed in a specific alarm too.
Don't send the trap if all its parameters were disabled.


git-svn-id: http://voip.null.ro/svn/yate@5573 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:40:15 +00:00
paulc b39d2c4d71 Synchronized parameters CPU modules, fixes a bug introduced by Rev. 5396
Simplified logic and cleaned up code.


git-svn-id: http://voip.null.ro/svn/yate@5572 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:38:13 +00:00
paulc 22dcf9f53e Use Alarm() in places that could prevent normal operation.
This allows sending SNMP traps when parts of the service become non-operational.


git-svn-id: http://voip.null.ro/svn/yate@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc d170440805 Send alarms from the SNMP module.
Disable trap sending on SNMP service shutdown caused by socket error.


git-svn-id: http://voip.null.ro/svn/yate@5568 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 11:38:23 +00:00
paulc 67e0e4ce66 Sent the unexpectedRestart trap only if the child was terminated by a signal.
git-svn-id: http://voip.null.ro/svn/yate@5566 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 08:10:40 +00:00