Commit Graph

274 Commits

Author SHA1 Message Date
marian 4d75a65c54 Now a resource is updating its info list when built from an XML element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1942 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 15:13:21 +00:00
marian 1a65279268 Now a resource may keep additional XML elements to be sent with presence.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1940 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 14:31:56 +00:00
marian 51256f0498 Fixed memory leak: getting a child from an XML element is creating a new object. Release it after use.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1936 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-21 11:18:17 +00:00
marian bf8608ca30 Remove jid from roster on server notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1934 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:59:48 +00:00
marian 5c9ec2d0f5 Fixed roster update received from server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1933 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:32:48 +00:00
marian 0f86f74f85 Fixed remote resource removal when not broadcast.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1931 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:19:41 +00:00
marian faed8f2076 Fixed removal of remote user's resource when unavailable. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1929 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:06:57 +00:00
marian ec07bec285 Avoid trying to connect while connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1928 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:05:43 +00:00
marian 01aae9e121 Now an user is removing an unavailable resource if no presence service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1927 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:12:11 +00:00
marian 5fdd6d1d29 Changed the way client streams are created.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1926 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:08:22 +00:00
marian a010637ee1 Fixed jingle error response session id match.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1922 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:30:54 +00:00
marian 24bfe8625a Fixed bug: terminate session on timeout to notify the upper layer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1921 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:26:20 +00:00
marian 6ab41f28ac Changed the behaviour on stanza timeout: try to hangup before destroying the session.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1920 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:53:24 +00:00
marian 603359b279 Fixed iq result decoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1919 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:33:46 +00:00
marian 1b00fcf7f4 Fixed stream iq stanza decoding. Increased jingle stanza timeout. Changed debug and comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1918 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:24:04 +00:00
marian 6f3ba69cb3 Fixed comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1915 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 10:05:37 +00:00
marian 1f3f6803cd Added option to presence service to respond only if the destination user exists in roster.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1913 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 09:43:43 +00:00
marian 1209c0e81d Changed presence service's add probe/subscribe/presence options: they are now keeping incoming and outgoing flags used to automatically add users to roster.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1911 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 15:59:07 +00:00
marian c989ab343a Moved subscribe values from user to new class holding a mask of flags.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1910 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:58:42 +00:00
marian 62fae1d225 Set debug level only if the parameter is present.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1905 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:22:49 +00:00
marian 193e6c8bf9 Removed commented code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1904 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:21:36 +00:00
marian 59e9a8f673 Look for server parameter when creating a client stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1900 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 13:11:58 +00:00
marian 2e63334faf Use jid's domain when creating client streams and destination address is missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1899 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 10:56:32 +00:00
paulc 38c14981a1 Fire the timeout only once for every detected large gap in voice data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1894 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:58:11 +00:00
paulc dadedbb43e Don't allocate a random SSRC with a value of zero.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1893 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:29:58 +00:00
paulc 587b1edc89 Detect and drop the calls for which a proper transaction ACK was not received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1892 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:08:40 +00:00
paulc ef5e8615df Added RTP timeout detection with optional call drop.
The default local RTP binding address can be set from yrtpchan.conf file.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1891 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 16:35:20 +00:00
marian 58f02ce0b5 Changed default ccause value when missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1890 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 11:45:53 +00:00
marian e4c83f2e06 ISDN is now using the SignallingUtils' methods to encode/decode Cause IE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1888 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 11:00:00 +00:00
marian c589c7a0c3 Fixed bug: now the ISDN call is using a destroyed flag instead of Null state to destroy itself.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1887 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 09:10:46 +00:00
marian f01282a1cd Use TelEngine::destruct() instead of deref(). Added more debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1886 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 08:46:27 +00:00
paulc 2a4e5d69f7 Added a proper method for changing the name of an identity.
Fixes random but relatively frequent crashes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1885 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 20:29:48 +00:00
marian 899af77ab6 ISUP circuits state can be loaded from file and saved saved when changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1882 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 15:04:22 +00:00
marian 89fd8d58c5 Avoid building socket data member with pointer to unconstructed stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1881 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:21:59 +00:00
marian 5dd19760f9 Avoid building base class with unconstructed pointer to derived class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1880 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:09:45 +00:00
marian 20b2efae8a Implemented jabber client stream. Major library changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1877 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 15:25:15 +00:00
marian 8b6138eea2 Fixed bug: properly add element end tag when requesting un unclosed element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1872 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 13:09:35 +00:00
paulc 5a5eb16199 Add early init to ChanAssistList constructor, forward it to Module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1866 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-01 07:45:57 +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 eff367371e Avoid double call release: may lead to crash.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1858 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 14:42:01 +00:00
marian f960ce3b44 Fixed Restart IE encoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1854 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 12:31:14 +00:00
marian 9449543500 Fixed channel id check when processing restart requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1853 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 12:04:07 +00:00
marian baba46404d Fixed channel id check when receiving restart requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1852 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 12:00:49 +00:00
marian acfe7a4543 Removed span's D-channel flag. Use the first span to process ISDN restart requests for single interfaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1851 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 10:35:36 +00:00
marian 083d57c318 Added data to span to know if it contains a D-channel. Implemented ISDN response to restart requests for a single interface and all interfaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1850 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 10:11:14 +00:00
marian 2f46051c7d Fixed bug: ISDN call controllers are now properly destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1845 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-26 13:00:00 +00:00
paulc f800b9e17e Fixed build in Windows
git-svn-id: http://yate.null.ro/svn/yate/trunk@1840 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-25 08:47:18 +00:00
marian 9842664b1f Raise a Verify event whenever the circuits' locked state changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1839 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 09:39:50 +00:00
marian 935b6d9f77 Added support to call controller to raise a Verify event when requested by descendants.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1838 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 09:39:09 +00:00
marian 9c18000c72 Changed termination reason when failed to replace call's circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1837 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 08:58:06 +00:00
marian d04f65d210 Changed debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1836 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 08:50:20 +00:00
marian 3e7cd52249 Added circuit range support to circuit group and ISUP. Fixed ISDN method call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1834 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 08:36:45 +00:00
marian cd4dda7b32 Added circuit range class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1829 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 13:20:51 +00:00
marian 97dcf25d11 Fixed debug message when recv UPA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1828 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 12:14:43 +00:00
marian 52d8217126 Don't respond to unexpected UPA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1827 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 11:13:25 +00:00
marian 9a667ec5b9 Fixed bug: make sure we build a correct circuit map, e.g. circuit codes are sequential.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1826 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 10:56:57 +00:00
marian 48030d45f7 Fixed bug: unlock call controller's mutex before exiting from getEvent().
git-svn-id: http://yate.null.ro/svn/yate/trunk@1825 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 09:56:59 +00:00
marian 943a245619 Changed the way the engine is stopping the worker thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1822 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 09:14:31 +00:00
marian 3b5f38e8b4 Fixed range and status processing bug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1818 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-20 11:22:52 +00:00
marian 440779495a Removed STUB debug message from management receiver.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1817 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-20 10:15:43 +00:00
marian d76ff52068 Changed default values for UPT timer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1815 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 14:25:23 +00:00
marian 4ecdccb1c5 Changed UPT timer values. Force UPT re-send when network is down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1814 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 14:09:07 +00:00
marian 3dcb5dc19a Changed default values for UPT timer. Removed user part availability check when sending messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1813 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 13:59:41 +00:00
marian 4f6f69be98 Implemented UPT (user part test). Don't send MSUs if remote user part is not available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1812 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 13:46:34 +00:00
marian 25262cbc01 ISUP: Keep track of the Layer 3 network. Don't send MSUs when down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1811 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 12:20:30 +00:00
marian 13e7665e75 Fixed bug: reset local flags when receiving circuit (un)blocking responses.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1810 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:55:43 +00:00
marian 1e32d32318 Change 'changed' flag when receiving circuit (un)blocking responses.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1809 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:49:53 +00:00
marian afafa0da87 Fixed circuit lock flags when processing circuit events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1808 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:37:17 +00:00
marian 2151ecc2a6 Reimplemented circuit (un)blocking.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1807 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:11:19 +00:00
marian 0adac40c6f Anyone can now obtain the list of circuits attached to a call controller.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1805 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 17:02:31 +00:00
marian 755a717480 Handle received UEC by blocking both sides of the circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1804 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 15:30:45 +00:00
marian c73093a9cc Fixed bug: don't reset again the circuit we requested. Just release it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1803 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 15:14:39 +00:00
marian cc65dbeebb Fixed bug: avoid responding to unexpected RLC for a valid circuit code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1802 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 13:37:24 +00:00
marian 995920a6c6 Copy more parameters in outgoing IAM.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1801 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:38:23 +00:00
marian 0f98764583 Fixed again circuit blocking.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1800 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:29:49 +00:00
paulc 464c3917d4 Fixed compilation in Visual Studio.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1799 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:24:23 +00:00
marian 1556d064f1 Fixed circuit blocking.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1798 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:11:09 +00:00
marian 5a87905721 Fixed circuit (un)blocking.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1797 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:07:08 +00:00
marian b2c0357ed5 Implemented ISUP circuit block/unblock for local side.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1796 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 11:37:15 +00:00
marian 298d4fe4fb Added more circuit lock flags. Simplified code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1794 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 10:26:49 +00:00
marian 2fbe0d2b13 Added circuit events handling to call control and ISUP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1788 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 11:54:52 +00:00
marian bfc8c96303 Fixed debug message to display correct info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1787 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 10:33:45 +00:00
marian 8466ad597e Fixed bug when transmitting CNF.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1781 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 14:34:50 +00:00
marian 595371636e Added method to get the circuit from a circuit event.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1780 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 14:34:22 +00:00
marian 516c65f20c Changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1779 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 10:57:50 +00:00
marian a0d53d5986 Fixed debug output when decoding RangeAndStatus.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1778 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 10:57:29 +00:00
marian aea6b512d4 Fixed bug in CGB/CGU processing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1776 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 09:09:16 +00:00
marian 5270ba52c7 Implemented circuit group block/unblock.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1775 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:56:31 +00:00
marian deddf944cc Dump MSU content to output when asked to send one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1774 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:26:08 +00:00
marian 2ef78aa20e Fixed RangeAndStatus encoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1773 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:18:25 +00:00
marian b25532caf4 Fixed RangeAndStatus parameter encoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1772 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 17:10:24 +00:00
marian 1b863d776a Handle circuit group reset message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1770 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 16:19:42 +00:00
marian c186121aa8 Added method to print SNM messages to output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1768 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 15:44:26 +00:00
marian fce80c56ac Fixed bug: cic group block/unblock message parameter list is now correct.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1767 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 15:41:18 +00:00
marian eb02dc5a36 Handle some management messages. Fixed debug message condition when decoding an ISUP message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1766 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 11:39:44 +00:00
marian 25860c6c18 Conditionally add parameter when decoding a SNM message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1765 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 10:18:32 +00:00
marian 19dad72c7d Fixed deadlock when destroying the ISUP call controller.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1764 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 09:44:43 +00:00
marian ee7c2e88bf Don't compile useless evil code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1763 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 09:23:40 +00:00
marian bbd43135e4 Fixed point code assign.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1762 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 13:02:39 +00:00
marian d9cc46e46d Fixed point code assign.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1761 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 12:37:24 +00:00
marian ad2057026e Fixed point code assignement.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1760 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 12:26:06 +00:00
marian b470d32fa4 Fixed point code assignement.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1759 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 12:16:57 +00:00
marian b6d3e3456c Fixed point code assign.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1758 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 12:07:56 +00:00
marian 46a86854dd Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1757 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 12:03:59 +00:00
marian 16db996748 Fixed SNM message parser.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1756 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 12:00:22 +00:00
marian de1933f563 Added more functionality to SNM message parser.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1755 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 11:54:34 +00:00
marian 2b556161ca Added preliminary SNM message parser.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1754 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 11:08:54 +00:00
paulc 482e23894f Added methods to assign point code and label from a memory block.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1753 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-11 08:48:13 +00:00
marian 30c724c7b0 Fixed bug: when sending ISDN CONNECT message: check if the pointer to the list of parameters is valid before trying to access it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1746 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-06 08:16:00 +00:00
marian 137145cdf3 Fixed bearer caps encoding. Do a hex dump of diagnostic data from cause IE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1740 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 14:54:16 +00:00
paulc 270561a915 Resync sequence and timestamp on new SSRC. Provide the marker bit for decision.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1732 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-18 14:40:36 +00:00
marian bb20508be6 Removed stream cleanup stream. Now the engine is using an iterator to terminate all streams at cleanup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1729 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 13:11:14 +00:00
marian c81b9884d2 Extended JID features. Use them when authenticating component streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1727 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 12:37:40 +00:00
marian f87630067c Removed client stream useless class. Added more stanza types and namespaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1726 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 11:52:26 +00:00
marian 426b955629 Changed jabber library layout. Specialized services can be attached to the engine to process specific stream events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1721 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-12 13:54:29 +00:00
marian 8d64271ac9 Changed debug. Broke some code lines (too long).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1710 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-31 15:45:52 +00:00
marian cd2b30004e Changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1709 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-31 12:11:21 +00:00
marian 14df8c8f91 Added more ISDN behaviour flags. Added utility method to en code a list of flags
git-svn-id: http://yate.null.ro/svn/yate/trunk@1708 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-31 11:21:57 +00:00
marian 52d08feb86 Added switch type and behaviour flags to ISDN call controller.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1704 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-30 16:26:41 +00:00
marian 619b1b5907 Bug fix: send layer 2/3 data in Bearer Capability only for 'packet' transfer mode
git-svn-id: http://yate.null.ro/svn/yate/trunk@1700 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-29 14:17:46 +00:00
marian 127bebb061 Send Bearer Capability IE in responses only if received more then one in the SETUP message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1699 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-29 13:04:25 +00:00
marian 4b19cf546b Fixed some compiler warnings. Fixed bug in passing parameters to a call's setTerminate() method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1691 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 13:48:31 +00:00
marian 25cb7002fc Fixed string length check when assigning to boolean to avoid compiler warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1687 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 13:20:26 +00:00
marian ef606f9ad0 Use proper variable type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1686 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 12:08:47 +00:00
marian 468a1a4019 Fixed minor return value type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1685 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 12:01:46 +00:00
marian b60f6f3163 Added names for circuit type and status.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1684 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 10:28:40 +00:00
marian 8163b1fdd8 Added message parameter prefix support to call controllers. Implemented the prefix for isup call controller.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1672 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-25 16:09:32 +00:00
marian f6eef23d6c ISDN is now decoding the Connected number information element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1657 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 12:36:59 +00:00
marian 11730667c0 The parser is now adding the message type name to the parameter list when decoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1656 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 12:02:16 +00:00
marian 4ea4ab122b Fixed unknown IE dumping.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1655 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 12:01:17 +00:00
marian 600e0091e1 Message parameters with no encoder can now be encoded from a string containing their hexadecimal representation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1653 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-21 14:21:26 +00:00
marian 05387a8399 Added method to encode an ISUP message to a data buffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1649 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-18 13:15:21 +00:00
paulc 3fc8d46810 Performance improvments suggested by Allan Sandfeld:
Change order of transaction to match most recent ones first.
Don't wait in select in SIP channel if we had events last loop.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1631 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-15 15:15:44 +00:00
marian 5765cfaeab Fixed incorrect content length header when building a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1620 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:48:53 +00:00
marian dfa59997e3 Fixed message body build buffer to deal with additional body headers and mime multiparts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1619 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:23:56 +00:00
marian ddd57e003a Added method to decode an ISUP message to a list of parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1617 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:07:05 +00:00
marian 47f897a49d Added MIME body constructors from a header line. Adjusted SIP message parser to handle this.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1607 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 11:32:35 +00:00
paulc aed0337e77 Fixed one more warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1601 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 13:14:57 +00:00
paulc 85a2f72b07 Silenced several benign warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1600 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 13:05:34 +00:00
marian dabd23216d Moved header classes and some utilities from SIP to MIME. Updated SIP module and library to reflect the changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1599 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 12:29:12 +00:00
marian 4a0ba72c1f Fixed minor message header buffer issue.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1597 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 12:15:11 +00:00
marian 3e4f371713 Q931 call accepts DISCONNECT event if not responded (state is not Active).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1590 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 11:48:42 +00:00
marian 74a0ec15df Release call by sending DISCONNECT even if not responded yet.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1589 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 11:35:09 +00:00
marian d78d24fea7 Added more comments to Q931 call states.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1588 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 11:10:48 +00:00
marian 626ae1a10d Fixed state check when sending progress.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1587 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 10:47:53 +00:00
marian 2fb30219c9 Release circuit before sending release or release complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1586 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 10:36:48 +00:00
marian b66af2e31a Added debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1585 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 10:25:02 +00:00
paulc 33e9308b55 Fixed Yet Another buffer too short.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1576 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-24 19:45:58 +00:00
paulc 94ffa2e702 Fixed allocation and indexing of filter vectors.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1575 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-24 19:15:32 +00:00
paulc b0bf1eee63 Fixed invalid buffer index mode (probably typo).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1570 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-21 19:42:12 +00:00