Commit Graph

2044 Commits

Author SHA1 Message Date
paulc 8c230e1d21 Fixed a few errors exposed by -Wunused-but-set-variable.
Removed some leftover variables exposed by same new compiler check.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4589 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-08 10:36:32 +00:00
paulc c731cfacf5 Find and include speex.h from the speex/ subdirectory.
This breaks libspeex 1.0.3 and older which are no longer supported anyway.
Because of differences in UWB support libspeex 1.0.5 is minimum.
Patch by James Le Cuirot.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4588 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-07 08:56:41 +00:00
marian 87ade157b6 Changed cache commands syntax.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4586 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-01 15:07:52 +00:00
marian 59517e37f1 Fixed bugs. Properly build a contact from array row content, not from column name. Make sure the user exists when processing the result of l
oad user roster database query.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4584 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-31 10:27:09 +00:00
marian 93a23a29a6 Add connection_id to notification data when handling sip subscribe methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4583 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 12:21:00 +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
paulc 7bbc8eb963 Avoid compile warnings on really old wanpipe
git-svn-id: http://yate.null.ro/svn/yate/trunk@4580 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 10:17:35 +00:00
andrei 16f4e24e19 Check if set delayed acknowledge timer struct exists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4578 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 09:42:26 +00:00
marian 6dc556a891 The entity capabilities cache file is now configurable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4577 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 14:09:32 +00:00
paulc 5516235b2d Separate the event writing code from the debug variable check.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4575 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 11:08:59 +00:00
paulc cbcda51de9 Increment the pointer with the right amount after encoding one speex frame.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4574 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 09:49:04 +00:00
paulc ca1b7c21d8 At end of routing check if the INVITE transaction still exists.
This allows proper processing of an early CANCEL while routing is in progress.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4573 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 09:42:30 +00:00
marian 979e496e80 The contact list now remembers and restores contact group items expanded/collapsed state.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4572 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-26 15:07:23 +00:00
andrei 06e41311ef Added the possibility to set sctp sack parameters.
Set sctp message socket parameters.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4571 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-26 11:34:41 +00:00
marian eb783b04e6 Added extra check to avoid building a sip party with invalid remote address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4566 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 15:03:23 +00:00
paulc 77d032c00b Added ability to match NTFY by endpoint, use it as default for FXO/FXS.
Report base endpoint of each span in status.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4565 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 13:28:18 +00:00
paulc 2ae861f747 Fixed MGCP endpoint matching when port is not present.
Fixed MGCP range matching against a trunk.
Added debugging of MGCP matching when compiled with XDEBUG.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4564 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 09:45:51 +00:00
marian 57bff41ad4 String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian 5845857da0 Double the timeout period before using it. Decreased retransmission counters default values to keep the same overall timeout.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4559 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:16:26 +00:00
paulc 354d235f3a Error ELAST (500) indicates a Zaptel/DAHDI event during write() too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4558 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:07:08 +00:00
marian df8ec5d64d Made configurable the number of times to transmit a request or a final response when retransmission is required.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4556 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:11:51 +00:00
marian feefacaeec The enumroute module is now using yate resolver.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4551 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:54:23 +00:00
marian fe2891e3cc Fixed bug: return proxy address when a line's domain is requested and there is no domain or registrar configured. This bug was introduced in SVN Rev. 4493.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4546 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 11:29:54 +00:00
marian e6b65c4014 Added configurable certificate file to present on outgoing TLS connections.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4545 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:49:27 +00:00
marian 5af7a5f6d9 The openssl socket can now present a certificate if requested by the server during SSL negociation. Added/changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4544 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:42:57 +00:00
marian c12c115546 Set 'npdi' in handled message when called number is found in lnp cache.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4543 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:34:09 +00:00
marian ccf5c2469d Fixed bug: check pointer before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4542 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-12 09:32:37 +00:00
marian 161554d22d Always reset a line's party when logout is required in user.login message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4541 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-11 14:52:32 +00:00
marian fe5e9943fd Properly handle host and port in sip generate message handler. Use default when missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4540 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-10 11:22:18 +00:00
paulc b582fe8ff9 Compile Q.931 cause setting code only on OpenH323 versions supporting it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4539 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-05 18:06:41 +00:00
paulc 23503d592f Allow freezing H.323 formats for proxied RTP by setting "lock_formats" to true.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4538 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-03 11:18:03 +00:00
paulc a53139fe80 Allow the "cause_931" parameter of chan.disconnected to alter the Q.931 release cause of H.323 calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4537 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-03 11:00:31 +00:00
paulc 67ef0580c3 Handle chan.control for conference legs to change the mute and silence detection at runtime.
Return the conference call leg status when querying the channels.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4536 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-01 17:35:06 +00:00
marian 4a475dbbdd Handle route params in user.register and copy them when routing. Unregister users when their connection is down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4534 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:20:07 +00:00
marian d8b503eb25 Listener type now defaults to udp if invalid. Handle listener type change in config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4531 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 11:03:19 +00:00
paulc 24748fc227 Allow logging in an account without username if it's explicitely enabled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4530 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 18:24:14 +00:00
marian 177051a1a6 Signal and handle hierarchical (NamedPointer usage) support in user.roster query message for faster processing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4529 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:59:46 +00:00
marian ca5575a0a5 Optimized user roster load from database and query response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4528 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:56:12 +00:00
paulc 8bf08bcd20 Added possibility to reverse the fork.stop match rule.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4527 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-28 11:15:55 +00:00
marian c90d715654 Build the tls listener even if context is empty. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4526 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-27 09:27:01 +00:00
marian 3e40ef43a6 Return line's resolved party address/port to match it for incoming requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4523 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-25 13:45:43 +00:00
marian 43a9257733 Use case insensitive comparison when searching for user's contacts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4522 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-22 09:40:12 +00:00
paulc 7afc6c6532 Added missing ISUP content to disconnection SIP messages (BYE, CANCEL, 4xx/5xx).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4521 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 17:27:29 +00:00
marian b2c923bc57 Fixed bug: avoid integer overflow.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4520 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 12:37:23 +00:00
marian 550e4408db Use the proper delete operator to free arrays.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4519 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:58:33 +00:00
marian 038817b39a Avoid repeating array column parsing for each item to set to improve performance for large result sets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4518 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 11:55:13 +00:00
marian 0a29a55c92 Added cache load and flush commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4516 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:12:33 +00:00
marian 3f447874fc Don't return true when completing a command, let other modules handle the message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4515 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:04:37 +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 304ca28170 Remember running cache threads. Delay engine stop while there are running threads.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4511 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 13:45:05 +00:00