Commit Graph

4308 Commits

Author SHA1 Message Date
paulc f45a073446 Check the number of plugins still loaded at shutdown, newer glibc sucks badly!
Warn if at shutdown there are mutexes locked or plugins loaded.


git-svn-id: http://voip.null.ro/svn/yate@4587 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-02 18:06:56 +00:00
marian e0d61348ba Changed cache commands syntax.
git-svn-id: http://voip.null.ro/svn/yate@4586 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-01 15:07:52 +00:00
marian 9084761f89 Delay stream termination on I/O error if we have pending xml elements.
git-svn-id: http://voip.null.ro/svn/yate@4585 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-01 15:04:31 +00:00
marian c76fe8afb8 Fixed bugs. Properly build a contact from array row content, not from column name. Make sure the user exists when processing the result of l
oad user roster database query.


git-svn-id: http://voip.null.ro/svn/yate@4584 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-31 10:27:09 +00:00
marian aebb4916c7 Add connection_id to notification data when handling sip subscribe methods.
git-svn-id: http://voip.null.ro/svn/yate@4583 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 12:21:00 +00:00
paulc b6e228f9e4 Initialize SCTP test variables so the result report doesn't end with ...
git-svn-id: http://voip.null.ro/svn/yate@4582 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 12:13:10 +00:00
marian 0373cb9ea0 Add 'newcall' parameter in 'user.auth', true for new call authentication, false otherwise.
git-svn-id: http://voip.null.ro/svn/yate@4581 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 11:05:23 +00:00
paulc a184b2ce1a Avoid compile warnings on really old wanpipe
git-svn-id: http://voip.null.ro/svn/yate@4580 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 10:17:35 +00:00
paulc e8da4872cd Reject really old Zaptel that does not support ZT_GETVERSION.
git-svn-id: http://voip.null.ro/svn/yate@4579 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 10:12:09 +00:00
andrei 4557d1d974 Check if set delayed acknowledge timer struct exists.
git-svn-id: http://voip.null.ro/svn/yate@4578 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 09:42:26 +00:00
marian 695de94a2b The entity capabilities cache file is now configurable.
git-svn-id: http://voip.null.ro/svn/yate@4577 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 14:09:32 +00:00
andrei d6d45acc93 Notify L3Users when a route state has changed.
git-svn-id: http://voip.null.ro/svn/yate@4576 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 12:14:32 +00:00
paulc 37b76c0bb5 Separate the event writing code from the debug variable check.
git-svn-id: http://voip.null.ro/svn/yate@4575 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 11:08:59 +00:00
paulc 60237de62d Increment the pointer with the right amount after encoding one speex frame.
git-svn-id: http://voip.null.ro/svn/yate@4574 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 09:49:04 +00:00
paulc ec22b3c4ca At end of routing check if the INVITE transaction still exists.
This allows proper processing of an early CANCEL while routing is in progress.


git-svn-id: http://voip.null.ro/svn/yate@4573 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 09:42:30 +00:00
marian 76a1c40a0d The contact list now remembers and restores contact group items expanded/collapsed state.
git-svn-id: http://voip.null.ro/svn/yate@4572 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-26 15:07:23 +00:00
andrei 65bea65ac0 Added the possibility to set sctp sack parameters.
Set sctp message socket parameters.


git-svn-id: http://voip.null.ro/svn/yate@4571 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-26 11:34:41 +00:00
marian 757e87c271 Fixed bug: use referenced SS7ISUPCall pointers when the call controller is not locked.
git-svn-id: http://voip.null.ro/svn/yate@4570 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 15:13:33 +00:00
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