Commit Graph

4302 Commits

Author SHA1 Message Date
marian 56c62825b1 Listener type now defaults to udp if invalid. Handle listener type change in config.
git-svn-id: http://voip.null.ro/svn/yate@4531 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 11:03:19 +00:00
paulc beee5d66bc Allow logging in an account without username if it's explicitely enabled.
git-svn-id: http://voip.null.ro/svn/yate@4530 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 18:24:14 +00:00
marian 20aab664c4 Signal and handle hierarchical (NamedPointer usage) support in user.roster query message for faster processing.
git-svn-id: http://voip.null.ro/svn/yate@4529 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:59:46 +00:00
marian 4b1cb9f09a Optimized user roster load from database and query response.
git-svn-id: http://voip.null.ro/svn/yate@4528 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:56:12 +00:00
paulc bf8ff12354 Added possibility to reverse the fork.stop match rule.
git-svn-id: http://voip.null.ro/svn/yate@4527 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:15:55 +00:00
marian 8afd45a4f3 Build the tls listener even if context is empty. Added debug.
git-svn-id: http://voip.null.ro/svn/yate@4526 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-27 09:27:01 +00:00
marian 2dc81683ac Updated accfile account parameters.
git-svn-id: http://voip.null.ro/svn/yate@4525 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-26 14:37:30 +00:00
marian 54128520bf Fixed ssl context parameter name for tls listeners.
git-svn-id: http://voip.null.ro/svn/yate@4524 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-26 12:49:00 +00:00
marian 2e3c53bb1e Return line's resolved party address/port to match it for incoming requests.
git-svn-id: http://voip.null.ro/svn/yate@4523 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-25 13:45:43 +00:00
marian ec2ddb95dd Use case insensitive comparison when searching for user's contacts.
git-svn-id: http://voip.null.ro/svn/yate@4522 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-22 09:40:12 +00:00
paulc 90a16a73c8 Added missing ISUP content to disconnection SIP messages (BYE, CANCEL, 4xx/5xx).
git-svn-id: http://voip.null.ro/svn/yate@4521 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 17:27:29 +00:00
marian 4ce61d4356 Fixed bug: avoid integer overflow.
git-svn-id: http://voip.null.ro/svn/yate@4520 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 12:37:23 +00:00
marian 4461ba6e97 Use the proper delete operator to free arrays.
git-svn-id: http://voip.null.ro/svn/yate@4519 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:58:33 +00:00
marian 12d4be5194 Avoid repeating array column parsing for each item to set to improve performance for large result sets.
git-svn-id: http://voip.null.ro/svn/yate@4518 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:55:13 +00:00
andrei f390a0ff0a Do not restart t2 timer when retransmit Alignment state.
Send OutOfService and Align when aborting alignment on t2 timeout


git-svn-id: http://voip.null.ro/svn/yate@4517 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 09:51:28 +00:00
marian 88fcd3a0ec Added cache load and flush commands.
git-svn-id: http://voip.null.ro/svn/yate@4516 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:12:33 +00:00
marian f920b56638 Don't return true when completing a command, let other modules handle the message.
git-svn-id: http://voip.null.ro/svn/yate@4515 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:04:37 +00:00
paulc cf00f2a3db Added more specific channel-congestion and switch-congestion cause aliases.
git-svn-id: http://voip.null.ro/svn/yate@4514 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-19 15:20:55 +00:00
paulc 75bba23db4 Notify status change to router or User Part only after unlocking the MTP3.
git-svn-id: http://voip.null.ro/svn/yate@4513 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-19 14:20:32 +00:00
marian ed81d24426 Fixed bug: use the same format for both directions if changed by called party. Allow formats to be changed when routing an incoming call.
git-svn-id: http://voip.null.ro/svn/yate@4512 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 14:56:08 +00:00
marian bed65faecd Remember running cache threads. Delay engine stop while there are running threads.
git-svn-id: http://voip.null.ro/svn/yate@4511 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 13:45:05 +00:00
marian 932b1e7e7b A template can now be used to build a cache entry id from handled messages.
git-svn-id: http://voip.null.ro/svn/yate@4510 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 11:30:00 +00:00
andrei 77a19912f8 Avoid recovering MSU while m2pa link is operational.
Avoid looping when failed to remove an acknowledged frame.


git-svn-id: http://voip.null.ro/svn/yate@4509 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 11:06:56 +00:00
andrei 2859798379 Check if the m2pa link is operational before sending an MSU
git-svn-id: http://voip.null.ro/svn/yate@4508 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-15 11:54:17 +00:00
paulc f2f3f35245 Increased maximum load chunk size to 50000 to allow efficient loading of large caches.
Clarified the relation between hash list size and cache limit.


git-svn-id: http://voip.null.ro/svn/yate@4507 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-15 11:02:46 +00:00
paulc db9bbd7ce3 Bail out quickly if database query or account are empty after substitition.
git-svn-id: http://voip.null.ro/svn/yate@4506 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-14 15:47:12 +00:00
marian 075df7d03a Cache load thread priority is now configurable.
git-svn-id: http://voip.null.ro/svn/yate@4505 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-14 14:37:19 +00:00
andrei f53f8414ed Scream louder when failed to obtain a sctp socket. Changed debug level.
git-svn-id: http://voip.null.ro/svn/yate@4504 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-14 12:24:29 +00:00
paulc 06645fc1be Allow using "osig-prefix" to override the default "sig." prefix on outbound calls.
Avoid creating duplicate parameters.


git-svn-id: http://voip.null.ro/svn/yate@4503 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 16:47:39 +00:00
paulc 92d1cf1c35 Do not override already set ISUP parameters with defaults.
Avoid creating duplicate parameters.


git-svn-id: http://voip.null.ro/svn/yate@4502 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 16:46:20 +00:00
marian 1321c33d88 Added optional cache periodic reload parameter. Allow a cache to have a 0 ttl (no expire).
git-svn-id: http://voip.null.ro/svn/yate@4501 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 15:20:08 +00:00
andrei 90938c3f14 Implement statusParams instead of msgStatus.
git-svn-id: http://voip.null.ro/svn/yate@4500 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 11:35:33 +00:00
andrei 2a143c0181 Implemented module status.
git-svn-id: http://voip.null.ro/svn/yate@4499 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 10:26:46 +00:00
andrei b7a76c9b1f Check if the sctp flags are defined on the platform.
git-svn-id: http://voip.null.ro/svn/yate@4498 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 07:33:48 +00:00
marian 396fe9d500 Commented section to avoid conflicts with older configuration.
git-svn-id: http://voip.null.ro/svn/yate@4497 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:25:34 +00:00
marian 0aa1a6bc83 Made virtual base class destructor.
git-svn-id: http://voip.null.ro/svn/yate@4496 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:21:39 +00:00
andrei c4ac1bba9d Fixed parameters documentation.
Try to realign the m2pa link only when the transport is up.


git-svn-id: http://voip.null.ro/svn/yate@4495 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:13:02 +00:00
marian ee3ae8ccdf Fixed compiler warning.
git-svn-id: http://voip.null.ro/svn/yate@4494 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:09:29 +00:00
marian f9f3241df5 Added support for tcp/tls sip transport. The sip module can now use (bind on) more then one address for udp.
git-svn-id: http://voip.null.ro/svn/yate@4493 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:55:02 +00:00
andrei 0bc6a8eb4f Memory leak fixed. Clear unacknowledged messages queue when the link status is operational.
git-svn-id: http://voip.null.ro/svn/yate@4492 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:52:06 +00:00
andrei b2cb0b0636 Added the possibility to restart transport from rmanager.
git-svn-id: http://voip.null.ro/svn/yate@4491 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:46:58 +00:00
andrei 54e5e1358a Make the value of maximum unacknowledged messages configurable.
git-svn-id: http://voip.null.ro/svn/yate@4490 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:43:13 +00:00
andrei e33ea53e6b Added OutOfService timer. Try periodically to realign the link.
git-svn-id: http://voip.null.ro/svn/yate@4489 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:39:40 +00:00
andrei ea59415ad0 Added the option to force transport socket to reconnect.
git-svn-id: http://voip.null.ro/svn/yate@4488 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:36:25 +00:00
andrei c79be54280 Added the possibility to set socket linger value.
Try to periodically rebind the stream socket if previews bind failed.


git-svn-id: http://voip.null.ro/svn/yate@4487 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:30:59 +00:00
andrei 237e6cf693 Set SCTP socket specific parameters from the configuration section.
git-svn-id: http://voip.null.ro/svn/yate@4486 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:23:12 +00:00
marian 46b428ae7f The call fork module can now handle separate parameters for each fork target.
git-svn-id: http://voip.null.ro/svn/yate@4485 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:18:39 +00:00
andrei 3ed49993c1 Verify if the SCTP message socket is valid before sending data.
git-svn-id: http://voip.null.ro/svn/yate@4484 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:17:53 +00:00
andrei cf4cf8e44c Added setParams method for Socket.
Reimplement setParam method to set SCTP specific parameters.


git-svn-id: http://voip.null.ro/svn/yate@4483 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:07:57 +00:00
andrei 0d4c79b7b6 Reimplemented Socket::valid method to check if the association id status is operational.
git-svn-id: http://voip.null.ro/svn/yate@4482 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:02:53 +00:00