Commit Graph

61 Commits

Author SHA1 Message Date
oana f1e4762f95 Bug fix: properly read IP address from configuration file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4812 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 09:52:24 +00:00
marian f9ac656740 Refuse new incoming calls if don't accepted by the driver (engine exiting or full) in sig, iax and jingle modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4794 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-04 15:58:31 +00:00
marian 2c3127876c Add login/logout failure error to user.notify message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4677 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 15:30:55 +00:00
marian 1051c59a8f Allow registration expire time to be changed by the user.register message when acting as registrar.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4645 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-12 14:35:52 +00:00
marian 04b7b695a1 Added video support to iax channel. Added/changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4644 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-12 14:23:19 +00:00
marian 1a544b3915 Add 'newcall' parameter in 'user.auth', true for new call authentication, false otherwise.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4581 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 11:05:23 +00:00
marian 110ae190cd Fixed bug: use the same format for both directions if changed by called party. Allow formats to be changed when routing an incoming call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4512 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 14:56:08 +00:00
marian eae45ad032 Added support for call token IAX extension. The frame is now keeping its own IE list to avoid parsing it again.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4480 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-11 12:46:14 +00:00
marian a726ca4b7c Try to bind the IAX socket on a random port if failed to bind on configured one. Fixed socket read/write error reporting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4474 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-06 11:33:15 +00:00
paulc 31b8230290 Emit new message "user.authfail" for paswword mismatch for existing users.
Use that message in the ban script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4451 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 13:39:24 +00:00
paulc ba4e89a1ee Add the billid parameter to IAX generated user.auth messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4397 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-19 12:48:37 +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
marian 01d6f7601c Safely allow IAX lines to be processed asynchronously (IAX line is now a Mutex and RefObject). Fixed IAX line (un)register transaction abort.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3791 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:43:16 +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
paulc 682c4c9d2a Use static const Regexps wherever possible to speed up code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc d95cb2fec6 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://yate.null.ro/svn/yate/trunk@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc ebd4da0abb Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +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 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 a2812051f2 Added Semaphore class, made Mutex derive from (new class) Lockable, made Lock able to get a lock on any Lockable - Mutex or Semaphore.
Use pthread_mutex_timedlock and sem_timedwait if available on platform.
Fixed a bug in the IAX channel exposed by Mutex having virtual methods.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2761 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 12:57:14 +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 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc c23251c4d0 Fixed more warnings on different platforms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +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 9b292f5868 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +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 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 b5f010dfc3 Added DTMF detection method to chan.dtmf messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1943 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 22:50:20 +00:00
paulc 7a7d60364d Don't force username as called number in registration.
As protocol extension allow to register specific called number and context.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1859 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-28 16:06:21 +00:00
marian e9c25ec52f Added call progress notification handling. Fixed driver setup
git-svn-id: http://yate.null.ro/svn/yate/trunk@1456 acf43c95-373e-0410-b603-e72c3f656dc1
2007-10-11 08:24:39 +00:00
marian c3478bfd8e Added thread priority - config file setting and message parameter "thread".
git-svn-id: http://yate.null.ro/svn/yate/trunk@1333 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-23 14:15:22 +00:00
marian 0eadbd0468 Fixed channel disconnect reason
git-svn-id: http://yate.null.ro/svn/yate/trunk@1281 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-19 08:43:14 +00:00
marian 2ba6c67c8b Prevent hangup reason change when already hung up
git-svn-id: http://yate.null.ro/svn/yate/trunk@1277 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-17 10:14:25 +00:00
marian 9dcab07692 Fixed hangup reason propagation. Changed some debug levels and texts
git-svn-id: http://yate.null.ro/svn/yate/trunk@1276 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-17 09:01:48 +00:00
paulc bb164993c0 Made the default of some settings depend on running in client or server mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1242 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-02 12:51:23 +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
marian 4462ff767a Fixed authentication bug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1160 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-10 18:56:27 +00:00
paulc 8cdf41e522 Fixed format list building bug (#59) reported by mikma.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1107 acf43c95-373e-0410-b603-e72c3f656dc1
2006-11-10 17:13:12 +00:00
marian 290ba01e9e Fixed bug in formats parameter transmitted when routing
git-svn-id: http://yate.null.ro/svn/yate/trunk@1099 acf43c95-373e-0410-b603-e72c3f656dc1
2006-11-02 08:03:06 +00:00
marian 5ba84fb8d8 Moved Yate payload texts from library to channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1096 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-31 15:18:08 +00:00
marian ce7be9b075 Bug fixed: set the preffered format for outgoing calls. Timestamps are forwarded to Yate as samples.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1092 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-26 14:14:47 +00:00
marian c87c32f5d0 Fixed registration bug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1075 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-14 10:51:52 +00:00
marian 6f3a8d84f0 Added the capability to handle the formats parameter of a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1052 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-25 14:03:14 +00:00
paulc afa85a2762 Parameter "iaxcontext" is now used instead of "calledname" to avoid clashes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1025 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-12 16:54:29 +00:00
paulc 98fdadeb00 Added support for multiple data sniffers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1021 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-08 09:50:19 +00:00
paulc c532c01af2 Worked around a VC++ bug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1005 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-19 10:18:25 +00:00
paulc 4c77f6e109 Added client account tracking by user.notify messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@994 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-12 16:49:02 +00:00
paulc d4663516f3 Added bind address for IAX. Improved module documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@990 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-08 10:04:30 +00:00