Commit Graph

4290 Commits

Author SHA1 Message Date
paulc 04f7e9d36b Destruction of SS7 User Parts detaches from network/router in the base class.
Fixes crash when removing a Test Part at runtime.


git-svn-id: http://voip.null.ro/svn/yate@4569 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 10:02:56 +00:00
paulc d0571280e6 Signaling engine can return existing component without referencing it.
Reference the SS7Router only when it's created allowing it to be destroyed at shutdown.


git-svn-id: http://voip.null.ro/svn/yate@4568 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 09:46:36 +00:00
paulc ed388c9c56 Added separate mutex for MTP transmit statistics, avoids a deadlock.
git-svn-id: http://voip.null.ro/svn/yate@4567 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 09:10:14 +00:00
marian b3102149c5 Added extra check to avoid building a sip party with invalid remote address.
git-svn-id: http://voip.null.ro/svn/yate@4566 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 15:03:23 +00:00
paulc 3690dfe215 Added ability to match NTFY by endpoint, use it as default for FXO/FXS.
Report base endpoint of each span in status.


git-svn-id: http://voip.null.ro/svn/yate@4565 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 13:28:18 +00:00
paulc 43a1b64125 Fixed MGCP endpoint matching when port is not present.
Fixed MGCP range matching against a trunk.
Added debugging of MGCP matching when compiled with XDEBUG.


git-svn-id: http://voip.null.ro/svn/yate@4564 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 09:45:51 +00:00
paulc 40abd053c0 Fixed meaning of parameter: clump -> clamp.
git-svn-id: http://voip.null.ro/svn/yate@4563 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:47:01 +00:00
marian 4fc28f755c String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://voip.null.ro/svn/yate@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian 82a1e0dd88 Initialize class member in constructor body to avoid VC++ warning.
git-svn-id: http://voip.null.ro/svn/yate@4561 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 10:03:41 +00:00
marian 90272f0a7d Removed unused function declarations.
git-svn-id: http://voip.null.ro/svn/yate@4560 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 09:57:52 +00:00
marian 94117426bd Double the timeout period before using it. Decreased retransmission counters default values to keep the same overall timeout.
git-svn-id: http://voip.null.ro/svn/yate@4559 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:16:26 +00:00
paulc dbb5b4959f Error ELAST (500) indicates a Zaptel/DAHDI event during write() too.
git-svn-id: http://voip.null.ro/svn/yate@4558 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:07:08 +00:00
marian 7bd8a85cb3 Added support to choose the transport for sip accounts.
git-svn-id: http://voip.null.ro/svn/yate@4557 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:57:03 +00:00
marian fa56ec84d8 Made configurable the number of times to transmit a request or a final response when retransmission is required.
git-svn-id: http://voip.null.ro/svn/yate@4556 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:11:51 +00:00
marian c5c48c7253 Don't retransmit non 2xx final responses to INVITE on reliable transports.
git-svn-id: http://voip.null.ro/svn/yate@4555 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 12:29:22 +00:00
marian f2c3598eb4 Fixed some server modules category in setup script.
git-svn-id: http://voip.null.ro/svn/yate@4554 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 15:01:42 +00:00
marian 3a31488a33 Added enumroute to Windows build ans setup script.
git-svn-id: http://voip.null.ro/svn/yate@4553 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 14:47:57 +00:00
marian 83d3dd9e7c Added missing preprocessor define.
git-svn-id: http://voip.null.ro/svn/yate@4552 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 14:41:26 +00:00
marian 234ed6cd7a The enumroute module is now using yate resolver.
git-svn-id: http://voip.null.ro/svn/yate@4551 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:54:23 +00:00
marian f4041d56f7 Removed jabber library dnsapi dependency.
git-svn-id: http://voip.null.ro/svn/yate@4550 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:42:47 +00:00
marian c66d2a4d17 Added resolver to Windows build.
git-svn-id: http://voip.null.ro/svn/yate@4549 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:41:02 +00:00
marian b6355eecd6 Added Resolver class to engine. Use it in jabber library.
git-svn-id: http://voip.null.ro/svn/yate@4548 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:04:53 +00:00
andrei a2b2595631 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://voip.null.ro/svn/yate@4547 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 14:15:25 +00:00
marian 3fe340c3ee 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://voip.null.ro/svn/yate@4546 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 11:29:54 +00:00
marian dc20a43184 Added configurable certificate file to present on outgoing TLS connections.
git-svn-id: http://voip.null.ro/svn/yate@4545 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:49:27 +00:00
marian aa51715370 The openssl socket can now present a certificate if requested by the server during SSL negociation. Added/changed debug.
git-svn-id: http://voip.null.ro/svn/yate@4544 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:42:57 +00:00
marian 3e6a61094a Set 'npdi' in handled message when called number is found in lnp cache.
git-svn-id: http://voip.null.ro/svn/yate@4543 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:34:09 +00:00
marian e0c49ac2d2 Fixed bug: check pointer before using it.
git-svn-id: http://voip.null.ro/svn/yate@4542 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:32:37 +00:00
marian d8ac36e914 Always reset a line's party when logout is required in user.login message.
git-svn-id: http://voip.null.ro/svn/yate@4541 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-11 14:52:32 +00:00
marian 11ea7cbf94 Properly handle host and port in sip generate message handler. Use default when missing.
git-svn-id: http://voip.null.ro/svn/yate@4540 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-10 11:22:18 +00:00
paulc b56331ac5c Compile Q.931 cause setting code only on OpenH323 versions supporting it.
git-svn-id: http://voip.null.ro/svn/yate@4539 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-05 18:06:41 +00:00
paulc 390409e24c Allow freezing H.323 formats for proxied RTP by setting "lock_formats" to true.
git-svn-id: http://voip.null.ro/svn/yate@4538 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-03 11:18:03 +00:00
paulc 49075b0222 Allow the "cause_931" parameter of chan.disconnected to alter the Q.931 release cause of H.323 calls.
git-svn-id: http://voip.null.ro/svn/yate@4537 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-03 11:00:31 +00:00
paulc 38ed888921 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://voip.null.ro/svn/yate@4536 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-01 17:35:06 +00:00
marian 092f55cb2a Remember connection when handling a subscription. Put it in notification messages.
git-svn-id: http://voip.null.ro/svn/yate@4535 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:21:20 +00:00
marian 51dd5ac3ac Handle route params in user.register and copy them when routing. Unregister users when their connection is down.
git-svn-id: http://voip.null.ro/svn/yate@4534 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:20:07 +00:00
marian 86bebfa098 Set eol-style svn property to native.
git-svn-id: http://voip.null.ro/svn/yate@4533 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 12:35:57 +00:00
marian 1868bdd4bd Added missing projects (dbwave, presence, subscription, users) to Windows build.
git-svn-id: http://voip.null.ro/svn/yate@4532 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 12:16:55 +00:00
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