Commit Graph

1653 Commits

Author SHA1 Message Date
paulc 0b7a881e84 Loop while writing to the output since the socket is non-blocking.
git-svn-id: http://voip.null.ro/svn/yate@1663 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 20:14:18 +00:00
paulc 99e11c17bd Don't report flood during shutdown, we are tearing down lots of calls.
git-svn-id: http://voip.null.ro/svn/yate@1662 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 17:01:13 +00:00
paulc 9a33015070 Print thread name when hard cancelling - helps in detecting potential problems.
git-svn-id: http://voip.null.ro/svn/yate@1661 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:52:11 +00:00
paulc 3969214d9b Added initial support for forwarding calls inside a cluster.
git-svn-id: http://voip.null.ro/svn/yate@1660 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:36:31 +00:00
marian 8c7c26ee91 Added option to enable/disable isup body encode and decode.
git-svn-id: http://voip.null.ro/svn/yate@1659 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:03:13 +00:00
marian f640e55a86 Added support to send multipart bodies (with isup messages).
git-svn-id: http://voip.null.ro/svn/yate@1658 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:01:51 +00:00
marian fa6a95f401 ISDN is now decoding the Connected number information element.
git-svn-id: http://voip.null.ro/svn/yate@1657 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 12:36:59 +00:00
marian 6ab17d5ca6 The parser is now adding the message type name to the parameter list when decoding.
git-svn-id: http://voip.null.ro/svn/yate@1656 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 12:02:16 +00:00
marian 824d172c13 Fixed unknown IE dumping.
git-svn-id: http://voip.null.ro/svn/yate@1655 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 12:01:17 +00:00
marian 2c7b956158 Changed debug level when failed to set clear channel.
git-svn-id: http://voip.null.ro/svn/yate@1654 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-22 10:17:05 +00:00
marian 9298fae938 Message parameters with no encoder can now be encoded from a string containing their hexadecimal representation.
git-svn-id: http://voip.null.ro/svn/yate@1653 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-21 14:21:26 +00:00
marian fee206ad6c Now a data block can be built from a string containing hexadecimal values.
git-svn-id: http://voip.null.ro/svn/yate@1652 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-21 14:09:14 +00:00
paulc 3b9b063351 Added node name (for clustering) and use it in heartbeat and regexroute.
git-svn-id: http://voip.null.ro/svn/yate@1651 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-19 11:19:52 +00:00
marian 3972627ada Added isup.encode message handler.
git-svn-id: http://voip.null.ro/svn/yate@1650 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-18 13:16:46 +00:00
marian cf35a70a4e Added method to encode an ISUP message to a data buffer.
git-svn-id: http://voip.null.ro/svn/yate@1649 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-18 13:15:21 +00:00
marian 0a24c79db3 Fixed bug in isup.decode: removed message user data check
git-svn-id: http://voip.null.ro/svn/yate@1648 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-18 08:19:36 +00:00
marian f7c38a37e0 Fixed some comments.
git-svn-id: http://voip.null.ro/svn/yate@1647 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-18 07:56:01 +00:00
marian 184af57345 Expect a NamedPointer when requested to decode an isup message buffer.
git-svn-id: http://voip.null.ro/svn/yate@1646 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:55:40 +00:00
marian faf1d02d92 Use a NamedPointer to request isup buffer decoding.
git-svn-id: http://voip.null.ro/svn/yate@1645 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:54:56 +00:00
marian c97cbfc1db Now set param replaces the whole object.
git-svn-id: http://voip.null.ro/svn/yate@1644 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:40:47 +00:00
marian 4d2954e9d7 Expect a NamedPointer parameter when requested to send raw data.
git-svn-id: http://voip.null.ro/svn/yate@1643 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:37:56 +00:00
marian ab9d3758bf Use a NamedPointer parameter to send the data block containg the modulated caller id.
git-svn-id: http://voip.null.ro/svn/yate@1642 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:35:57 +00:00
marian 483cfea4a3 Added the NamedPointer class. Add NamedString::getObject()
git-svn-id: http://voip.null.ro/svn/yate@1641 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:31:48 +00:00
marian 13e6b15464 Removed useless comments.
git-svn-id: http://voip.null.ro/svn/yate@1640 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 14:26:50 +00:00
marian 485926d629 Recorder: fixed call.preroute failure condition.
git-svn-id: http://voip.null.ro/svn/yate@1639 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 13:46:53 +00:00
marian ae0e69bc89 Preroute ISDN recorder before routing.
git-svn-id: http://voip.null.ro/svn/yate@1638 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 13:42:37 +00:00
marian 97f786ad06 Fixed bug: send chan.masquerade to parent class if not processed by the analog driver.
git-svn-id: http://voip.null.ro/svn/yate@1637 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 13:24:29 +00:00
marian a71360aab5 Added timer to ignore some ring events. It should ensure proper ring event processing regardless the ring pattern.
git-svn-id: http://voip.null.ro/svn/yate@1636 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 13:21:22 +00:00
marian 7bac9b1bb4 Added chan.masquerade handler.
git-svn-id: http://voip.null.ro/svn/yate@1635 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 10:00:13 +00:00
marian 948ee4376d Call monitor group masquerade: stop searching the monitor list after found a monitor.
git-svn-id: http://voip.null.ro/svn/yate@1634 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 09:43:05 +00:00
marian e14947a501 isup.decode: don't remove the message-type parameter when failed to decode a message.
git-svn-id: http://voip.null.ro/svn/yate@1633 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-16 09:24:15 +00:00
paulc 4b026e8ebb Added missing maxforwards and floodevents settings.
git-svn-id: http://voip.null.ro/svn/yate@1632 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-15 19:52:15 +00:00
paulc 25dbed9cde 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://voip.null.ro/svn/yate@1631 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-15 15:15:44 +00:00
paulc 10862f1edf Fixed bug in fallback priority determination, allow finer tuning.
git-svn-id: http://voip.null.ro/svn/yate@1630 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-15 13:22:14 +00:00
marian 8275232fcd Added option to enable/disable ISUP message decoding.
git-svn-id: http://voip.null.ro/svn/yate@1629 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 15:54:43 +00:00
marian 55357d52d9 Added support to decode ISUP messages received in application/isup bodies
git-svn-id: http://voip.null.ro/svn/yate@1628 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 15:53:52 +00:00
marian ae55071b89 Trim all blanks from boundary before using it.
git-svn-id: http://voip.null.ro/svn/yate@1627 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:12:11 +00:00
marian 476ea3f93e Changed comment.
git-svn-id: http://voip.null.ro/svn/yate@1626 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:10:20 +00:00
marian 2a8ec70c42 Changed comment.
git-svn-id: http://voip.null.ro/svn/yate@1625 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:08:56 +00:00
marian ea0d8dc407 Now the module is handling the SDP received in a multipart body (only the first SDP body, regardless the multipart subtype).
git-svn-id: http://voip.null.ro/svn/yate@1624 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:06:08 +00:00
marian 08956688cc Added isup.decode message handler.
git-svn-id: http://voip.null.ro/svn/yate@1623 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 10:12:54 +00:00
marian 2b47e672ee Added flag to know when a multipart last boundary was found.
git-svn-id: http://voip.null.ro/svn/yate@1622 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 10:00:39 +00:00
marian 2dedf1e725 Fixed bugs in build and parse multipart bodies.
git-svn-id: http://voip.null.ro/svn/yate@1621 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 09:50:19 +00:00
marian 9ebac2f423 Fixed incorrect content length header when building a message.
git-svn-id: http://voip.null.ro/svn/yate@1620 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:48:53 +00:00
marian ff1b2e26d8 Fixed message body build buffer to deal with additional body headers and mime multiparts.
git-svn-id: http://voip.null.ro/svn/yate@1619 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:23:56 +00:00
marian 7931834b73 Added mime multipart class. Removed useless mime isup class.
git-svn-id: http://voip.null.ro/svn/yate@1618 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:22:03 +00:00
marian 3e65136bd3 Added method to decode an ISUP message to a list of parameters.
git-svn-id: http://voip.null.ro/svn/yate@1617 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 14:07:05 +00:00
marian 0559e42e1e Fixed bug: Lock2 contructor is now using the maxwait parameter.
git-svn-id: http://voip.null.ro/svn/yate@1616 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 12:39:56 +00:00
paulc ed5764c719 Changed menu names to be unique.
git-svn-id: http://voip.null.ro/svn/yate@1615 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-10 18:44:20 +00:00
paulc 92cce6ab5f Added missing Qt UI files.
git-svn-id: http://voip.null.ro/svn/yate@1614 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-10 09:37:02 +00:00