Olle Johansson
5d3d87900e
- Remove redundant forward declaration
...
- Change variable name to make register_verify more readable (p -> peer not pvt in this function)
- Get Contact: header only once instead of twice
- Add some comments to register_verify
Caused by issue #7327... :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 15:17:18 +00:00
Joshua Colp
ce311227ac
Change a bit of logic in peer expiry back to the way it used to be
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 02:54:32 +00:00
Russell Bryant
1b85726c28
optimize the display of the module selection menus by only clearing the screen
...
and starting over if a selection has changed or the menu needs to be scrolled.
For moving the cursor up and down the menu, it works a lot faster now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 22:11:38 +00:00
Russell Bryant
40b3ce5c8f
suppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330 , casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:42:13 +00:00
Russell Bryant
9aac1c0035
Merged revisions 33548 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33548 | russell | 2006-06-11 17:21:23 -0400 (Sun, 11 Jun 2006) | 2 lines
fix another place where a frame does not get free'd
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:23:16 +00:00
Russell Bryant
4cef7b714e
fix up some places where frames are not free'd and remove an unnecessary
...
unlock of the confs list where it is not possible for it to be locked
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:12:56 +00:00
Russell Bryant
e5660b2af6
Blocked revisions 33545 via svnmerge
...
........
r33545 | russell | 2006-06-11 17:08:04 -0400 (Sun, 11 Jun 2006) | 4 lines
fix up five little places where frames would not be free'd and remove an
unnecessary mutex_unlock where there is no way for it to be locked at
that time
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:09:08 +00:00
Russell Bryant
f1d5c83b8a
Merged revisions 33515 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33515 | russell | 2006-06-11 16:48:41 -0400 (Sun, 11 Jun 2006) | 4 lines
fix a place that would leak a frame (all of these fixes are in applications
that call ast_read() on a channel but have code paths in them that would not
free the frame)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:49:16 +00:00
Russell Bryant
67cae6a0c7
Merged revisions 33513 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33513 | russell | 2006-06-11 16:45:06 -0400 (Sun, 11 Jun 2006) | 2 lines
fix a couple places that would leak a frame
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:46:05 +00:00
Olle Johansson
e41fcca65a
- Complete addition of forward declarations and grouping of functions
...
- Change/add comments
- Declare internal function as static
- Remove functionname: in descriptions of functions
- Move Enums to top of file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:42:11 +00:00
Russell Bryant
d13b9e74be
Merged revisions 33510 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33510 | russell | 2006-06-11 16:38:39 -0400 (Sun, 11 Jun 2006) | 2 lines
fix two places that would cause a frame to be leaked
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:39:19 +00:00
Kevin P. Fleming
e3ddee7d7f
make latest header file changes for this file too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:10:26 +00:00
Russell Bryant
7100403fd9
Merged revisions 33480 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33480 | russell | 2006-06-11 11:08:12 -0400 (Sun, 11 Jun 2006) | 2 lines
fix a case where an HTML frame would be leaked
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:09:06 +00:00
Russell Bryant
e0bd903246
Merged revisions 33466 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33466 | russell | 2006-06-11 11:02:40 -0400 (Sun, 11 Jun 2006) | 4 lines
Free frames read from the channel when measuring noise. This resulted in about
9 or 10 seconds of leaked frames in both the TestClient and TestServer
applications
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:04:36 +00:00
Russell Bryant
de340b92f3
Blocked revisions 33449 via svnmerge
...
........
r33449 | russell | 2006-06-11 10:56:55 -0400 (Sun, 11 Jun 2006) | 2 lines
backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:59:09 +00:00
Russell Bryant
558d3924ac
don't leak a frame when breaking out of the loop on a timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:52:04 +00:00
Russell Bryant
b4e2138311
don't leak a frame when exiting when the user presses '#'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:48:25 +00:00
Russell Bryant
1ab804f0ab
don't leak a frame when breaking out of the main loop of this app
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:44:58 +00:00
Russell Bryant
171992e505
don't use ast_copy_string when building for an external tool
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10 04:41:34 +00:00
Russell Bryant
89672b86d0
don't redefine PATH_MAX
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10 04:38:04 +00:00
Russell Bryant
0e140be311
convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-10 04:34:48 +00:00
Kevin P. Fleming
3e41331bf3
get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 23:13:52 +00:00
Olle Johansson
8ef5092031
Issue #7325 - Parse string after URI decoding (casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 21:32:48 +00:00
Olle Johansson
90806eb6f2
Add RTP QoS report variables to doc. Catch it in the "h" extension, store it in the CDR
...
or in a database or... whatever you want to.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 21:30:31 +00:00
Olle Johansson
d2fa9efdad
Store RTCP reports in channel variables and SIP history
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 21:28:52 +00:00
Olle Johansson
6d4ab87321
- RTP debug message formatting
...
- Add rtcp report to SIP history
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 21:09:42 +00:00
Kevin P. Fleming
8d88bf549d
there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:40:10 +00:00
Kevin P. Fleming
b31b0be819
various minor portability fixes (mostly from tholo for OpenBSD)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:26:25 +00:00
Olle Johansson
13a98f92fe
Move payloadtype back home to rtp.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:13:47 +00:00
Olle Johansson
8bee8de932
Another try at hanging up the transferer channel after the masq
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:09:55 +00:00
Joshua Colp
dcab298cfc
Don't double check existence of a variable (issue #7300 reported by foamdino)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 19:05:30 +00:00
Joshua Colp
b42ad64f4d
Blocked revisions 33300 via svnmerge
...
........
r33300 | file | 2006-06-09 15:52:51 -0300 (Fri, 09 Jun 2006) | 2 lines
Allow the format outputted by meetme list to be used for meetme commands (like kick) (issue #7322 reported by darkskiez)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:54:01 +00:00
Matt O'Gorman
76fae31988
oops moved block without renaming a variable correctly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:37:26 +00:00
Joshua Colp
6723184a62
Merged revisions 33297 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33297 | file | 2006-06-09 15:26:42 -0300 (Fri, 09 Jun 2006) | 2 lines
Remove an unneeded double lock (issue #7310 reported by arkadia)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:29:58 +00:00
Joshua Colp
5349ae6f46
Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:20:28 +00:00
Joshua Colp
a23af6559c
Merged revisions 33294 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33294 | file | 2006-06-09 15:08:00 -0300 (Fri, 09 Jun 2006) | 2 lines
Handle hangup during recording of screened name (issue #7304 reported by kulldominique)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:12:46 +00:00
Joshua Colp
e3fe7e1c08
Add more missing newlines (issue #7323 reported by darkskiez)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:36:54 +00:00
Joshua Colp
68c0ffbe05
Blocked revisions 33264 via svnmerge
...
........
r33264 | file | 2006-06-09 13:31:29 -0300 (Fri, 09 Jun 2006) | 2 lines
Add missing newlines (issue #7323 reported by darkskiez)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:33:34 +00:00
Matt O'Gorman
124357f300
convert one of my linked lists to ast_linklist
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:08:33 +00:00
Olle Johansson
bcf82f32d5
Don't force context for domain= setting (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 15:57:28 +00:00
Olle Johansson
2366793c63
Remove the return value from functions that return something that is never checked anywhere.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 13:35:41 +00:00
Christian Richter
fcb7d3df26
when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 10:31:30 +00:00
Olle Johansson
9f5aa13142
Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 09:47:44 +00:00
Olle Johansson
ce10b34ca6
Enabling and disabling debug messages...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 09:38:13 +00:00
Jeffrey C. Ollie
a0bb17434f
Move a couple semicolons to a more traditional location. Was pointed out by Steven <critch@basesys.com> on the -dev list.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 02:20:25 +00:00
Kevin P. Fleming
09778b268e
move 'struct ast_rtp' back to rtp.c where it belongs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 23:10:45 +00:00
Russell Bryant
9cdd66dd01
always include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
...
problem on mac and place asterisk.h back at the top of menuselect.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:49:59 +00:00
Olle Johansson
36506dad2d
Debug logging fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:30:20 +00:00
Olle Johansson
5f286add13
Make menuselect compile on os/x...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:16:19 +00:00
Olle Johansson
fee02a9b7d
At least reply if we get a fatal error in handling a packet.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:14:54 +00:00