Commit Graph

1466 Commits

Author SHA1 Message Date
paulc b4350bddd5 Use TelEngine::destruct(obj) or GenObject::destruct() wherever applicable.
git-svn-id: http://voip.null.ro/svn/yate@1325 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 15:40:50 +00:00
paulc 391293496f Added debug, ddebug and xdebug targets.
git-svn-id: http://voip.null.ro/svn/yate@1324 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 14:15:16 +00:00
paulc 89a62ecf76 Removed useless YATE_API that prevented compiling on VS 2005
git-svn-id: http://voip.null.ro/svn/yate@1323 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 13:23:29 +00:00
paulc b4f8056f72 Moved the destroyed() method to RefObject (since its call in GenObject is
not guaranteed). Added inline helper destruct functions.


git-svn-id: http://voip.null.ro/svn/yate@1322 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 12:51:13 +00:00
paulc 02a45da0a8 Added pre-destruction notification method.
git-svn-id: http://voip.null.ro/svn/yate@1321 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 11:16:41 +00:00
paulc 52936a4e83 Keep found connection referenced during processing, fixed crashings on SIP
messages received during hangups caused by other channels.


git-svn-id: http://voip.null.ro/svn/yate@1320 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 10:41:56 +00:00
paulc d30ab4881e Fixed bad parameter order bug that prevented proper simultaneous operation.
git-svn-id: http://voip.null.ro/svn/yate@1319 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 23:04:08 +00:00
paulc 96aa4b2b03 Fixed minor typo.
git-svn-id: http://voip.null.ro/svn/yate@1318 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 22:37:50 +00:00
paulc c305335c5f Improved handler installation debugging message.
git-svn-id: http://voip.null.ro/svn/yate@1317 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 22:36:26 +00:00
paulc 54107e1a34 Forward the called id parameters to the outgoing calls.
git-svn-id: http://voip.null.ro/svn/yate@1316 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 21:56:20 +00:00
paulc be38e34df4 Allow to override DTMF sending method from the chan.dtmf "method" parameter.
git-svn-id: http://voip.null.ro/svn/yate@1315 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 21:55:14 +00:00
paulc 3213f6a906 Added capability to finalize a CDR entry with a call.drop message.
git-svn-id: http://voip.null.ro/svn/yate@1314 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 15:01:12 +00:00
paulc 3277a3b487 Constified a parameter.
git-svn-id: http://voip.null.ro/svn/yate@1313 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 13:58:01 +00:00
paulc e9104a715f Added capability to copy parameters from operation to various messages.
git-svn-id: http://voip.null.ro/svn/yate@1312 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 13:55:53 +00:00
paulc 1813f9adba Removed Driver::msgStatus() since was identical to the base class Module.
git-svn-id: http://voip.null.ro/svn/yate@1311 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 13:41:50 +00:00
paulc 18cb09b371 Added method to copy multiple parameters from a list of names.
git-svn-id: http://voip.null.ro/svn/yate@1310 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 13:27:44 +00:00
paulc 9eee3a1213 Added capability to change directory before executing Yate.
git-svn-id: http://voip.null.ro/svn/yate@1309 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-11 14:38:30 +00:00
paulc eac752fb9e Added channel ID in notifies and tracking for a (music) player channel.
git-svn-id: http://voip.null.ro/svn/yate@1308 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-11 12:23:57 +00:00
paulc cc2a224d26 Improved passing of parameters to outgoing calls.
git-svn-id: http://voip.null.ro/svn/yate@1307 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-11 10:08:10 +00:00
paulc 5a1be97e8f Added new features: matching by function, message renaming, new message.
git-svn-id: http://voip.null.ro/svn/yate@1306 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-09 22:47:18 +00:00
paulc b2a1165731 Added "newcall"="true" in user.auth for requests that can create a new call.
git-svn-id: http://voip.null.ro/svn/yate@1305 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-09 20:22:33 +00:00
paulc 336236b837 Added address field to the recorder call endpoints.
git-svn-id: http://voip.null.ro/svn/yate@1304 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-08 16:44:42 +00:00
marian 24a5c862f3 Fixed RX underrun interval
git-svn-id: http://voip.null.ro/svn/yate@1303 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-08 07:30:29 +00:00
marian d803b2e910 Fixed RX underrun debug message
git-svn-id: http://voip.null.ro/svn/yate@1302 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-07 11:07:48 +00:00
paulc d11daeb6a1 Clear the "sig" parameter if was added by us.
git-svn-id: http://voip.null.ro/svn/yate@1301 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 19:57:06 +00:00
paulc cb23089074 Add device name to paramater "sig" if not already present - fixes monitor.
git-svn-id: http://voip.null.ro/svn/yate@1300 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 18:32:53 +00:00
paulc 07c52cff4f Added support for detection on stereo input streams (left/right/mixed).
Fixed thresholds for detecting DTMF tones more reliably.


git-svn-id: http://voip.null.ro/svn/yate@1299 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 17:47:53 +00:00
paulc 13ff077a7c Added support for play/record raw stereo PCM and G.711 files.
git-svn-id: http://voip.null.ro/svn/yate@1298 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 17:46:24 +00:00
paulc 26f62f7d3d Properly match the entire prefix (name/) before trying to match links.
git-svn-id: http://voip.null.ro/svn/yate@1297 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 11:55:29 +00:00
paulc 9a71223e56 Fixed another stereo->mono conversion bug.
git-svn-id: http://voip.null.ro/svn/yate@1296 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-05 15:57:08 +00:00
paulc 94132dc141 Fixed mono buffer allocation (fatal bug) and signedness of averaging.
git-svn-id: http://voip.null.ro/svn/yate@1295 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-05 14:06:41 +00:00
marian 244c103a7b Added chan.masquerade handler
git-svn-id: http://voip.null.ro/svn/yate@1294 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-04 14:59:49 +00:00
paulc 1256a5f275 The "autorepeat" parameter is copied to the replacement media attach message.
git-svn-id: http://voip.null.ro/svn/yate@1293 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-04 12:41:58 +00:00
paulc 870f99c7b5 Added setting to limit the SIP socket receiver buffer size.
git-svn-id: http://voip.null.ro/svn/yate@1292 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-03 17:02:04 +00:00
marian fdd4693990 Changed RX underrun notification timer interval
git-svn-id: http://voip.null.ro/svn/yate@1291 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-03 12:06:14 +00:00
marian a4e868dd81 Set address of signalling channel
git-svn-id: http://voip.null.ro/svn/yate@1290 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-03 11:04:17 +00:00
marian e40c7c09cb Fixed passive recording failure if format parameter is missing
git-svn-id: http://voip.null.ro/svn/yate@1289 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-02 14:33:57 +00:00
marian 604689287c Added basic ISUP call handling
git-svn-id: http://voip.null.ro/svn/yate@1288 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-02 14:30:54 +00:00
paulc f5d367b281 Added support for generating fake early media if real one isn't available.
git-svn-id: http://voip.null.ro/svn/yate@1287 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-30 22:39:03 +00:00
marian 5b6e1994b1 Added timer used by the interface to notify Rx underrun. Changed some debug info
git-svn-id: http://voip.null.ro/svn/yate@1286 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-27 11:50:39 +00:00
paulc e4853a4050 Fixed socket read behaviour in PHP >= 4.1.0, patch provided by Tais Hansen.
git-svn-id: http://voip.null.ro/svn/yate@1285 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-24 21:42:19 +00:00
paulc 2a89916a5c Solved one very narrow timeframe where destruction race was possible.
git-svn-id: http://voip.null.ro/svn/yate@1284 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-20 16:53:40 +00:00
paulc 0c1be8a37e Added extra variable to solve asynchronous destruction race between data
and disconnector threads.


git-svn-id: http://voip.null.ro/svn/yate@1283 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-20 00:08:33 +00:00
paulc 193cdcb095 Avoid useless mutex lock when thread is already gone.
git-svn-id: http://voip.null.ro/svn/yate@1282 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-20 00:07:25 +00:00
marian 4982e1cb15 Fixed channel disconnect reason
git-svn-id: http://voip.null.ro/svn/yate@1281 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-19 08:43:14 +00:00
paulc 4108e1336f Set the source thread name to help in debugging.
git-svn-id: http://voip.null.ro/svn/yate@1280 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-18 00:59:24 +00:00
paulc af062b9474 Fortified against a race condition that could lead to double deletion.
git-svn-id: http://voip.null.ro/svn/yate@1279 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-18 00:51:28 +00:00
paulc 7f41857bf1 Set the disconnector thread name to help in debugging.
git-svn-id: http://voip.null.ro/svn/yate@1278 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-18 00:47:57 +00:00
marian c641cb6aab Prevent hangup reason change when already hung up
git-svn-id: http://voip.null.ro/svn/yate@1277 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-17 10:14:25 +00:00
marian 7657c7251d Fixed hangup reason propagation. Changed some debug levels and texts
git-svn-id: http://voip.null.ro/svn/yate@1276 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-17 09:01:48 +00:00