Commit Graph

4245 Commits

Author SHA1 Message Date
marian 57bff41ad4 String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian bd97f588ab Initialize class member in constructor body to avoid VC++ warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4561 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 10:03:41 +00:00
marian 0df2af8655 Removed unused function declarations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4560 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 09:57:52 +00:00
marian 5845857da0 Double the timeout period before using it. Decreased retransmission counters default values to keep the same overall timeout.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4559 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:16:26 +00:00
paulc 354d235f3a Error ELAST (500) indicates a Zaptel/DAHDI event during write() too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4558 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:07:08 +00:00
marian cd5aec032b Added support to choose the transport for sip accounts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4557 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:57:03 +00:00
marian df8ec5d64d Made configurable the number of times to transmit a request or a final response when retransmission is required.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4556 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:11:51 +00:00
marian 80cd472913 Don't retransmit non 2xx final responses to INVITE on reliable transports.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4555 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 12:29:22 +00:00
marian adeaa4d12b Fixed some server modules category in setup script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4554 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 15:01:42 +00:00
marian 827224d80c Added enumroute to Windows build ans setup script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4553 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 14:47:57 +00:00
marian 620cb2d69b Added missing preprocessor define.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4552 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 14:41:26 +00:00
marian feefacaeec The enumroute module is now using yate resolver.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4551 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:54:23 +00:00
marian 51e43d7eb8 Removed jabber library dnsapi dependency.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4550 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:42:47 +00:00
marian 5d1476c2bb Added resolver to Windows build.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4549 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:41:02 +00:00
marian 12e6bd1f60 Added Resolver class to engine. Use it in jabber library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4548 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:04:53 +00:00
andrei e87c54e962 Added wait out of service timer to allow m2pa endpoints to go out of service and to stop processing delayed link status messages.
Added strict m2pa link status messages process method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4547 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 14:15:25 +00:00
marian fe2891e3cc Fixed bug: return proxy address when a line's domain is requested and there is no domain or registrar configured. This bug was introduced in SVN Rev. 4493.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4546 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 11:29:54 +00:00
marian e6b65c4014 Added configurable certificate file to present on outgoing TLS connections.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4545 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:49:27 +00:00
marian 5af7a5f6d9 The openssl socket can now present a certificate if requested by the server during SSL negociation. Added/changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4544 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:42:57 +00:00
marian c12c115546 Set 'npdi' in handled message when called number is found in lnp cache.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4543 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:34:09 +00:00
marian ccf5c2469d Fixed bug: check pointer before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4542 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:32:37 +00:00
marian 161554d22d Always reset a line's party when logout is required in user.login message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4541 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-11 14:52:32 +00:00
marian fe5e9943fd Properly handle host and port in sip generate message handler. Use default when missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4540 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-10 11:22:18 +00:00
paulc b582fe8ff9 Compile Q.931 cause setting code only on OpenH323 versions supporting it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4539 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-05 18:06:41 +00:00
paulc 23503d592f Allow freezing H.323 formats for proxied RTP by setting "lock_formats" to true.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4538 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-03 11:18:03 +00:00
paulc a53139fe80 Allow the "cause_931" parameter of chan.disconnected to alter the Q.931 release cause of H.323 calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4537 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-03 11:00:31 +00:00
paulc 67ef0580c3 Handle chan.control for conference legs to change the mute and silence detection at runtime.
Return the conference call leg status when querying the channels.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4536 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-01 17:35:06 +00:00
marian fc58b9dfdf Remember connection when handling a subscription. Put it in notification messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4535 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:21:20 +00:00
marian 4a475dbbdd Handle route params in user.register and copy them when routing. Unregister users when their connection is down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4534 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:20:07 +00:00
marian 3d82dc9700 Set eol-style svn property to native.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4533 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 12:35:57 +00:00
marian fecabba162 Added missing projects (dbwave, presence, subscription, users) to Windows build.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4532 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 12:16:55 +00:00
marian d8b503eb25 Listener type now defaults to udp if invalid. Handle listener type change in config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4531 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 11:03:19 +00:00
paulc 24748fc227 Allow logging in an account without username if it's explicitely enabled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4530 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 18:24:14 +00:00
marian 177051a1a6 Signal and handle hierarchical (NamedPointer usage) support in user.roster query message for faster processing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4529 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:59:46 +00:00
marian ca5575a0a5 Optimized user roster load from database and query response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4528 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:56:12 +00:00
paulc 8bf08bcd20 Added possibility to reverse the fork.stop match rule.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4527 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:15:55 +00:00
marian c90d715654 Build the tls listener even if context is empty. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4526 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-27 09:27:01 +00:00
marian 5dadf54ec8 Updated accfile account parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4525 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-26 14:37:30 +00:00
marian d0d092e6ec Fixed ssl context parameter name for tls listeners.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4524 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-26 12:49:00 +00:00
marian 3e40ef43a6 Return line's resolved party address/port to match it for incoming requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4523 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-25 13:45:43 +00:00
marian 43a9257733 Use case insensitive comparison when searching for user's contacts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4522 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-22 09:40:12 +00:00
paulc 7afc6c6532 Added missing ISUP content to disconnection SIP messages (BYE, CANCEL, 4xx/5xx).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4521 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 17:27:29 +00:00
marian b2c923bc57 Fixed bug: avoid integer overflow.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4520 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 12:37:23 +00:00
marian 550e4408db Use the proper delete operator to free arrays.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4519 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:58:33 +00:00
marian 038817b39a Avoid repeating array column parsing for each item to set to improve performance for large result sets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4518 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:55:13 +00:00
andrei 7783461e31 Do not restart t2 timer when retransmit Alignment state.
Send OutOfService and Align when aborting alignment on t2 timeout


git-svn-id: http://yate.null.ro/svn/yate/trunk@4517 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 09:51:28 +00:00
marian 0a29a55c92 Added cache load and flush commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4516 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:12:33 +00:00
marian 3f447874fc Don't return true when completing a command, let other modules handle the message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4515 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:04:37 +00:00
paulc 5ef1a53e6f Added more specific channel-congestion and switch-congestion cause aliases.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4514 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-19 15:20:55 +00:00
paulc 527cff8dc1 Notify status change to router or User Part only after unlocking the MTP3.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4513 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-19 14:20:32 +00:00