Commit Graph

3581 Commits

Author SHA1 Message Date
paulc a90545fad8 Documented the SS7 Management Part settings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3731 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:34:05 +00:00
paulc c3af68d0d4 Added separate setting for enabling sending changeback and changeover between linksets.
This setting is disabled by default so time controlled diversion is used between linksets.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3730 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:08:35 +00:00
paulc 653558edea Fixed a route building bug introduced in Rev 3641 (2010-09-08).
Fixed route test querying that caused the changes above.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3729 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 16:23:36 +00:00
paulc 262d9c50b3 Postpone the resuming of M2UA links after retrieval of sequence number to avoid flooding the gateway if we have many links (de)activating at once.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3728 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:43:20 +00:00
paulc 3b096f95ed Release the router lock before checking each reroute buffer to avoid deadlocks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3727 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:41:46 +00:00
paulc de9b523b57 Changed the way an incoming LUN removes pending LRT and LFU, there can be one of each pending.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3726 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 12:53:41 +00:00
paulc 27fb658bb2 Added a reroute buffer used to implement T3 and T6 (missequencing avoidance).
Changed debug messages and levels to be easier to interpret the typical output.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3725 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 11:17:12 +00:00
paulc 6507806621 Added a message when a link that is not in service is cycled because of maintenance test failure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3724 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:30:09 +00:00
paulc 9f576f9249 Added a debugging message before SS7 SNM sends out a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3723 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:00:00 +00:00
paulc 1610c38f3d Link Force Uninhibit is sent with an 1200ms one-time retry (Q.704 T13).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3722 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 06:50:48 +00:00
paulc 1f5acf67b1 Send a link management SNM even on inhibited links if nothing else is available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3721 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:30:53 +00:00
paulc 95f7c9de99 Force processing of link flags if same flag is set and cleared.
Force a link cycle on maintenance test failure even if the link was inactive.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3720 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:06:18 +00:00
paulc 77d0b1e608 In STP mode answer with TFP to SNM packets with unknown DPC.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3719 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:58:06 +00:00
paulc d748a54632 Cycle a SS7 link that didn't answer to maintenance even if if was never in service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3718 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:49:48 +00:00
paulc 6a89ba42e5 Implemented emergency proving interval in M2PA as 1/16 of normal interval.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3717 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 02:12:35 +00:00
paulc 77d137fcc6 Added new parameter "forcealign" that controls if a link that fails maintenance
test should be realigned.
The "checklinks" and "forcealign" parameters can be changed from control operati
on.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3716 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 01:57:06 +00:00
paulc b726d51010 Access autoconf substititions through make variables for several libraries likely to be used by custom modules described in YateLocal.mak
git-svn-id: http://yate.null.ro/svn/yate/trunk@3715 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-14 15:39:12 +00:00
paulc c77650690a Made the RTP and RTCP received socket addresses member variables so they persist across calls.
This allows skipping a realocation and stringification at every received packet.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3714 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-13 17:18:32 +00:00
paulc 4a6db66a6d Added a separate mutex for the list of RTP reflectors.
This reduces contention on the RTP mutex.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3713 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-12 16:01:47 +00:00
paulc eb82c7d2ac Optimized SocketAddr::assign to avoid assigning same address.
Saves many malloc+free+sprintf calls especially in RTP streams.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3712 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-12 15:39:04 +00:00
paulc 9ea9ed1782 Added a separate constant for the minimum settable debug level threshold.
This fixes a display bug caused by Rev 3680, FAIL and GOON were displayed like CONF.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3710 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-12 09:27:13 +00:00
paulc 06b326577d Fixed a delete / delete[] mismatch spotted using valgrind.
Should be just a cosmetic change on all known platforms.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3707 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-11 14:04:36 +00:00
paulc 644065b54f Add O_LARGEFILE to the log file flags to allow it to grow more than 2GB on systems that support it.
Apart from the initial O_APPEND the log file is never seek()ed anyway.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3705 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-11 11:00:35 +00:00
marian df94c86555 Removed sender and recipient resource check when sending presence error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3704 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-08 13:17:59 +00:00
marian cf7d4c735b Handle MUC invite/decline.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3688 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-05 14:00:56 +00:00
paulc 09144d722d Added a new debug level DebugConf with text CONF for reporting configuration problems.
Limit the minimum debug level so CONF and GOON are always visible besides FAIL.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3680 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 15:28:27 +00:00
paulc 8836341eef Added notes about configuration changes between Yate 2 and 3.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3679 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 15:23:17 +00:00
paulc f92a55f59e Hacked ISDN trunks to use "sig" parameter if "voice" is missing.
This is restoring compatibility with a default in Yate 2.
Note that if the Q.921 name is not the same as the L1 interface name this default won't work properly.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3677 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 14:25:09 +00:00
paulc eba8fee536 Added possibility to copy an arbitrary list of parameters from incoming to outgoing call leg.
The list can be specified per route and can be overriden from routing parameter "copyparams".


git-svn-id: http://yate.null.ro/svn/yate/trunk@3676 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 12:39:52 +00:00
marian 893122fe8c Set and handle single 'group' parameters (roster item group) in user.roster messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3674 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 08:21:57 +00:00
marian 3a2bb71e0f Roster item updates containing group names with reserved characters can now be refused or the unacceptable group can be ignored.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3673 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 15:06:34 +00:00
marian 0ccf15e5ef The jingle session is now properly set the error and associated text in raised events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3672 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 11:41:37 +00:00
marian 6f70222d57 Try to retrieve the error text from error condition element's text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3671 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 11:39:38 +00:00
marian ec1cb9e773 Added basic muc (chat conference) support to jabber client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3670 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-27 08:09:28 +00:00
oana 47a1e9df45 Avoid leaking call parameters from one fork leg to another by using a copy of the original call.execute message for every fork leg.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3669 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-24 15:04:22 +00:00
andrei 0fa13868ae Bug fixed. Set error=offline when route to an alternative number and all its accounts are offline.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3668 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-24 12:00:15 +00:00
paulc 3aeca0c8b8 Fortified codec chain destruction against invalid accesses.
Even if concurrent destruction can still happen it results in no more than a warning message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3667 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-23 14:37:48 +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
marian 165eb0b03c Fixed incoming s2s stream setup bug: accept db:verify elements even if compression may still be negotiated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3665 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-21 13:23:26 +00:00
marian 88060d8976 Changed default value for resource priority in presences generated by the jingle module and made it configurable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3664 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-21 12:31:04 +00:00
paulc 3637c86cc6 Added separate setting to control if initial RTP timeout should cause an action.
This allows dropping a call only if media was first established and then lost.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3663 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-20 14:30:25 +00:00
marian c5bb847080 Handle failure tags when decoding an error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3662 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-20 13:52:38 +00:00
paulc 1ddc1fc050 Made the newly added config files to have native EOL style in SVN.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3661 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-20 10:34:09 +00:00
marian b73fe32bfa Added presence configuration sample file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3660 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-17 12:03:37 +00:00
marian 57cebfbf24 Load database queries from config only if expiring is enabled and account is set. Disable expiring if any of them, except for the cleanup one, is empty.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3659 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-17 12:02:06 +00:00
marian c7e788dd99 Enforced lists count and timers values. Removed unused global variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3658 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-17 10:20:13 +00:00
marian 41ffb399b4 Added users and subscription configuration sample files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3657 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-16 15:06:27 +00:00
marian 38ef22fd6d Added more documentation about jabber listener sections.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3656 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-16 08:46:04 +00:00
paulc 2516e1edcc If auto changing RTP address remember the set address as preferred, change back to it if it sends packets.
This allows recovering RTP sessions stolen by a stale RTP stream or an attacker.
Patch provided by Matthew.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3655 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 14:23:20 +00:00
paulc 597d369054 Use a RefPointer for DataEndpoint when it could be obtained from setEndpoint instead of being carried (and referenced) by a message.
Prevents crashes caused by race conditions when a CallEndpoint is having its DataEndpoints deleted or replaced.
Bug spotted and patch idea provided by Matthew.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3654 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 10:30:35 +00:00