Commit Graph

166 Commits

Author SHA1 Message Date
marian 72f8657188 Added Channel parameters list to be set in all Channel messages. Update it from routing and chan.control.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6339 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:54:04 +00:00
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
marian fd0c7a9d2b Added post dial delay timeout in outgoing channel started from 'maxpdd' routing parameter. It stops when status is called with 'ringing', 'progressing' or 'answered'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
paulc 7711fef5b7 Added support in Socket and RTP module for setting IP QoS by DSCP keywords.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5659 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-03 16:18:41 +00:00
paulc 9c5eacc28f 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://yate.null.ro/svn/yate/trunk@5627 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-19 13:53:54 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc 3cf42e2828 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://yate.null.ro/svn/yate/trunk@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc e827183b56 Added settings for some H.323 timeouts, some may be too tight by OpenH323 default.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5303 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 08:54:56 +00:00
paulc 54e516054f Removed a leftover development change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5302 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 13:59:07 +00:00
paulc fd8fb75f49 Validate and attempt to fix the Q.931 codes returned by OpenH323.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5301 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 13:57:23 +00:00
paulc a779f83eb0 Changed the handling of the "timeout" parameter so it (re)starts when call is answered.
Added "maxcall" and "timeout" setting and handling to channels that lacked it.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5282 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 09:39:49 +00:00
marian ec97de2487 Honor detected method when sending DTMFs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5277 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-20 09:29:28 +00:00
marian 08654d5b53 Override channel dtmf methods in chan.dtmf only if explicitly requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5276 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 14:11:11 +00:00
marian c0a1420b5e Start capability exchange procedure when connection is established and didn't received remote capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5274 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 12:34:50 +00:00
marian e0fdf7c584 Allow dtmf send method(s) to be configured. Detect RFC2833 support when receiving remote capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5265 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 08:49:39 +00:00
oana ca3528c6e2 Set allowed number of simultaneous calls from configuration files. If not set, default to the maxchans setting in yate.conf.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5227 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 13:29:31 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
paulc 59f5dbc216 Fixed h323chan status reporting logic, was not reporting in case of broadcasts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4944 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-23 16:48:29 +00:00
marian 88dfbb9eed Fixed client login to gatekeeper. Implemented logout. Added mutexes to protect the configuration and endpoints list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4672 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-03 15:51:38 +00:00
paulc dbb3e70ac8 Fixed paramMutex in H.323 channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4663 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 18:30:14 +00:00
paulc cd83ba0fce Added new static mutex to protect channel disconnect parameters during access.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4662 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 18:23:26 +00:00
paulc c14f82fb40 Insert a H.323 endpoint in the driver's list only after being initialized.
Delete an endpoint that failed to initialize as it's no longer put in the list.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4647 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-17 14:33:52 +00:00
paulc d73ad10f72 Changed defaults of Fast Start and H.245 Tunneling to true.
Added some comments in the h323chan configuration sample.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4646 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-17 10:16:01 +00:00
paulc 42772c000d Allow global calls limits to be reloaded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4636 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-26 14:55:42 +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 3bac3fd1dc Emit proper user.notify when failing to connect to H.323 Gatekeeper.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4411 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-26 12:49:37 +00:00
paulc 9a13e2166f Test if locking of the H.323 connection succeeded (fails during cleanup).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4294 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-14 08:18:35 +00:00
paulc 77e5b7e71a Protected H.323 endpoint against concurrent creation of connections, the library is not thread safe when copying capabilities.
Should fix many crashes like: assert.cxx(108) PWLib Assertion fail: Invalid array index, file .../ptlib/contain.inl
Thanks to Michele Badaracchi for finding out the source of the problem.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4241 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-30 17:17:30 +00:00
oana 5a1837a521 Fixed checking if a engine.status module is indeed intended for that module. Fixed bug: don't print for a second time the status message for IAX module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4221 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 12:40:44 +00:00
paulc 7c4801873f Automatically copy disconnect parameters to the chan.hangup message.
Provide those parameters to the peer call endpoint when disconnecting it.
Add numeric cause_q931 to disconnect params of h323chan.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4052 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 10:21:01 +00:00
oana 8fc205bb13 Changed the format of the accounts, links and interfaces status reported through engine.status. Added accountUsername OID. Modified the monitoring module to deal with the status change and the need to handle the accountUsername OID information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3938 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-09 14:30:47 +00:00
oana cda9ed670f Added SNMP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
marian 0e266a6690 Use H323Endpoint::InternalMakeCall instead of MakeCall. This will avoid useless SRV requests when compiled with H323Plus.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3666 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-21 15:09:55 +00:00
paulc f909830717 Added support for finding and compiling with H323Plus instead of OpenH323.
The cleanup code still hangs in some versions of ptlib/h323plus.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3651 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-13 15:09:40 +00:00
paulc 0d2aa26761 Lock the YateH323Connection while changing the capabilities and fast start channel lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3124 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:37:41 +00:00
paulc 118d800e9b In YateH323Connection::OnCleared() clean up the m_chan pointer as suggested by Alain Brassard in Mantis issue #201.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3123 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:35:56 +00:00
paulc 21c25c00d7 Use PThread::WaitForTermination() to wait for call proxy thread, avoid 100% CPU load if call takes long to set up.
Give names to PWLib threads to aid in debugging.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3053 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 14:44:31 +00:00
paulc 6eeb68bb1a Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00
paulc 5cde9ef2be Automatically reset the maxcall timer when entering "answered" status.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2991 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-18 19:08:41 +00:00
paulc 05fa7aca7c Copy by default some parameters from call.execute to chan.startup of outgoing calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2964 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 18:34:54 +00:00
paulc 1775676471 Allow Q931::IdentifiedChannelNonExistent starting with 1.15.6 (Mimas Patch 2).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2957 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-19 15:35:20 +00:00
paulc 057f84dd65 Ignore Q931 cause IdentifiedChannelNonExistent in OpenH323 versions older than 1.18.0 where it was not defined.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2956 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-19 15:31:36 +00:00
paulc 8520218d2d Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc 2042e30ca4 Made DataSource inherit Mutex instead of having it as a field.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2614 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 20:49:05 +00:00
paulc c669a24f90 Added mutex names to most Yate modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
paulc 6f5890e792 Added setting for the address the H.323 endpoint binds to.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2481 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-10 15:07:35 +00:00
paulc 762d4b41e2 Look up Q.931 codes in a new table before attempting OpenH323 translated causes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2469 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-03 17:16:58 +00:00