Commit Graph

148 Commits

Author SHA1 Message Date
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
paulc f57aed64f6 Made several tables static const.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2466 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-31 23:22:27 +00:00
paulc 43b9cf0f81 Added capability to route to "line/..." no matter what protocol it uses.
Added driver method to query the existence of a line, use it in routing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2073 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:48:49 +00:00
paulc 4b5152a697 Added DISABLE_CAPS_DUMP directive to disable unportable capabilities dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1976 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-06 16:27:37 +00:00
paulc 0f630bd627 Added capability to mark or block duplicate DTMFs detected by different methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1954 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-25 13:11:49 +00:00
paulc dd4cb25c3c Properly (re)negotiate capabilities according to "formats" message parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1750 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-08 00:22:54 +00:00
paulc 5cb3978be0 Improved debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1749 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-07 14:48:26 +00:00
paulc ba6b674298 Detect G.729 Annex B
git-svn-id: http://yate.null.ro/svn/yate/trunk@1747 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-06 17:15:29 +00:00
paulc 2631d3461d Store the disconnect reason until it's possible to forward it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1723 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 09:40:00 +00:00
paulc cf40bf6e25 Preserve the call end reason while hanging up.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1540 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-13 12:25:18 +00:00
paulc 9c6c9fa074 Added heartbeatdrop and registeredonly settings for gatekeeper.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1438 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-27 15:39:11 +00:00
paulc aaaf786530 Added code and setting to emit inband DTMFs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1417 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-03 19:24:12 +00:00
paulc e39385fdd5 Use TelEngine::destruct(obj) or GenObject::destruct() wherever applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1325 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 15:40:50 +00:00
paulc fc2ca1eadb Detect that RTP forwarding is not desired just after routing finished.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1216 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-12 19:51:10 +00:00
paulc 0c6bfd0b86 Disable RTP forward gracefully if caller does not support it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1201 acf43c95-373e-0410-b603-e72c3f656dc1
2007-02-27 20:23:15 +00:00
paulc 1772be6a38 Fixed automatical detection of early media availability in RTP proxy mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1178 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-28 17:37:46 +00:00
paulc 6b562ead96 Added capability to copy parameters from call.execute to outgoing channel's
chan.startup (and from there to call.cdr).


git-svn-id: http://yate.null.ro/svn/yate/trunk@1174 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-23 00:17:11 +00:00
paulc 0b9eb42145 Fixed connection unlocking bug introduced by previous commit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1143 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-19 22:41:29 +00:00
paulc 7b8d5db7fb Added option to start new calls in a PWlib thread as the Gatekeeper client
crashes otherwise.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1139 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-19 13:43:38 +00:00