summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-16+ comment some unclear fields of struct mansession;Luigi Rizzo
+ let some commands (Challenge, Login) be processed even if already authenticated, as it doesn't harm and prevents some incorrect error messages + remove custom code for Logoff - the existing handler was ok. Some indentation fixes may be necessary git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16When adding new functions, please add a forward declaration.Olle Johansson
I *know* it is not required, but it makes navigation easier and will help when splitting up this large source code file. Thank you! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16Importing rev 45196 from 1.4 - don't kill dialog for a bad responseOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16A B2BUA should *not* issue proxy auth.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16+ comment some unclear requirements for master_eventqLuigi Rizzo
+ remove the need for an snprintf in astman_get_header() + fix comment for manager list eventq + localize one variable and minor code simplifications. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16protect access to first_action with actionlock.Luigi Rizzo
Mark with XXX one place (during command execution) where navigation should be protected with actionlock, but is not because it would block requests for a long time. To solve this properly we need to put reference counts in the struct manager_action. A suboptimal fix is to copy the record on a search and then unlock the list while we work on the copy. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16comment some functions, and more small code simplificationsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16fix indentation of a large block after changes in previous commitLuigi Rizzo
(basically whitespace only). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16simplify string parsing routines using ast_skip_*() functions.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-15don't forget to close a descriptor on a malloc failure.Luigi Rizzo
On passing, small rearrangement of the code to reduce indentation. There is a bit more cleanup planned for this file, so a merge to 1.4 will be done when it is all done. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-15typo: serer -> serverLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-14update the doc string for both AEL and extensions.conf users.Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45125 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45125 | kpfleming | 2006-10-13 18:02:48 -0500 (Fri, 13 Oct 2006) | 7 lines ------------------------------------------------------------------------ r45119 | kpfleming | 2006-10-13 17:57:42 -0500 (Fri, 13 Oct 2006) | 2 lines don't drop the entire permit/deny list when an attempt is made to add an invalid entry (BE-92) ------------------------------------------------------------------------ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Inherit the context and extension until the channel is answeredJoshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45106 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45106 | file | 2006-10-13 17:06:09 -0400 (Fri, 13 Oct 2006) | 2 lines Clear the quiet flag too since we are restarting a recognition again (reported on -dev by Stephan Edelman) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45104 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45104 | file | 2006-10-13 17:01:13 -0400 (Fri, 13 Oct 2006) | 2 lines Check return value from engine in case of failure (ie: out of licenses) (reported on -dev mailing list) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45088 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45088 | crichter | 2006-10-13 21:19:46 +0200 (Fr, 13 Okt 2006) | 1 line avoiding warning, fixing potential bug ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45079 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45079 | file | 2006-10-13 14:42:49 -0400 (Fri, 13 Oct 2006) | 2 lines And file said... let the compiler warnings STOP! ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Correction for bug 8128 in trunkSteve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45066 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r45066 | file | 2006-10-13 13:05:02 -0400 (Fri, 13 Oct 2006) | 10 lines Merged revisions 45060 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r45060 | file | 2006-10-13 13:01:22 -0400 (Fri, 13 Oct 2006) | 2 lines Turn on volume adjustment if it needs to be on (issue #8136 reported by mnicholson) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45051 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45051 | file | 2006-10-13 12:20:58 -0400 (Fri, 13 Oct 2006) | 2 lines Move say.conf existence check to do_say function since it is called from multiple places (issue #8144 reported by kshumard) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45049 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r45049 | kpfleming | 2006-10-13 11:19:35 -0500 (Fri, 13 Oct 2006) | 10 lines Merged revisions 45048 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r45048 | kpfleming | 2006-10-13 11:18:08 -0500 (Fri, 13 Oct 2006) | 2 lines when sending a call to a peer, use the proper socket if we have multiple bindings (reported on asterisk-dev) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45040 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45040 | file | 2006-10-13 12:01:17 -0400 (Fri, 13 Oct 2006) | 2 lines Complete merging in RPID screen changes (issue #8101 reported by hristo, patch by oej in revision 44757) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45031 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r45031 | file | 2006-10-13 11:53:22 -0400 (Fri, 13 Oct 2006) | 10 lines Merged revisions 45030 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r45030 | file | 2006-10-13 11:49:53 -0400 (Fri, 13 Oct 2006) | 2 lines Pass the right value to usleep for sleeping, and always add the background refresh item back into the scheduler if enabled since it is deleted during reload. (issue #8142 reported by p_lindheimer) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45027 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r45027 | kpfleming | 2006-10-13 10:41:14 -0500 (Fri, 13 Oct 2006) | 2 lines use a configure script test for PMTU discovery control instead of just assuming it's available on Linux ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 45026 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r45026 | crichter | 2006-10-13 16:45:39 +0200 (Fr, 13 Okt 2006) | 9 lines Merged revisions 45020 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r45020 | crichter | 2006-10-13 15:11:13 +0200 (Fr, 13 Okt 2006) | 1 line fixed some echocandisable issues when bridged. this caused a kernel panic sometimes..also some minor formatting fixes ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Try to avoid the use of 'z' modifier in cases where it is notLuigi Rizzo
necessary - rather, cast the argument to int. In this case, the string is in a UDP packet and as such limited to 64k so its length can be safely represented in an int without truncation (besides, this is just a debugging message!) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13arguments to auth_headers() needed to be swapped here.Luigi Rizzo
To avoid the same mistake in the future (due to slightly confusing variable names), add a comment. On passing, remove a redundant initialization. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13Merged revisions 44994 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44994 | crichter | 2006-10-13 09:52:41 +0200 (Fr, 13 Okt 2006) | 9 lines Merged revisions 44993 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44993 | crichter | 2006-10-13 09:40:07 +0200 (Fr, 13 Okt 2006) | 1 line fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44982 via svnmerge from Matt O'Gorman
https://svn.digium.com/svn/asterisk/branches/1.4 ........ r44982 | mogorman | 2006-10-12 15:34:49 -0500 (Thu, 12 Oct 2006) | 2 lines fix for bug 7764. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12eliminate compiler warningKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44971 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44971 | kpfleming | 2006-10-12 14:14:24 -0500 (Thu, 12 Oct 2006) | 2 lines we can only send one 'a=ptime' attribute per media session, not one for each format ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44956 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44956 | kpfleming | 2006-10-12 13:38:51 -0500 (Thu, 12 Oct 2006) | 10 lines Merged revisions 44955 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44955 | kpfleming | 2006-10-12 13:31:26 -0500 (Thu, 12 Oct 2006) | 2 lines ensure that IAX2 and SIP sockets allow UDP fragmentation when running on Linux (thanks to Brian Candler on the asterisk-dev list for the tip) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44945 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44945 | russell | 2006-10-12 12:56:32 -0400 (Thu, 12 Oct 2006) | 2 lines fix a silly typo in a comment that I saw while reading the commit list ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12put flags in an enum and remove a couple of unused definesRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44942 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44942 | file | 2006-10-12 12:08:50 -0400 (Thu, 12 Oct 2006) | 2 lines Pass off AUDIO_LIBS so muted can link on OSX (issue #8135 reported by ssokol) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12+ move [almost] all instances of WWW-Authenticate/Proxy-AuthenticateLuigi Rizzo
and friends in a function, auth_headers(), which is used to simplify the interface of do_{proxy|register}_auth(). + use PROXY_AUTH = 407, WWW_AUTH = 401 as values for enum sip_auth_type; No functional change, only code cleanup. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44921 via svnmerge from Nadi Sarrar
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44921 | nadi | 2006-10-12 14:55:25 +0200 (Do, 12 Okt 2006) | 2 lines append_event must be called while holding the session lock ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12Merged revisions 44911 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44911 | russell | 2006-10-12 06:24:36 -0400 (Thu, 12 Oct 2006) | 2 lines change some debug output to use LOG_DEBUG instead of verbose output ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11reduce indentation of two large blocksLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11operator != also works between booleans...Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11Merged revisions 44888 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44888 | qwell | 2006-10-11 11:57:06 -0500 (Wed, 11 Oct 2006) | 3 lines These are already set by the parent Makefile.. There is no need to have this here (it doesn't actually work anyways). ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11Remove doc/linkedlists.txt as it is no longer needed. The top of the file ↵Russell Bryant
reads: As of 2004-12-23, this documentation is no longer maintained. The doxygen documentation generated from linkedlists.h should be referred to in its place, as it is more complete and better maintained. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11Revert Luigi's accidental commit of his local changes when debugging some SIPRussell Bryant
authentication issues. This was committed in revision 44844, where the commit message was just "small formatting cleanup", so I am pretty sure he didn't mean to commit this part. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11remove duplicate prototypes. Have not checked if there are more.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11simplify and comment handle_response_peerpoke()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11fix indentation of a function after previous commitLuigi Rizzo
(whitespace-only change) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11handle_response_peerpoke() does not need to return anything.Luigi Rizzo
(Reindentation in the next commit.) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11small formatting cleanupLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11Merged revisions 44563 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44563 | crichter | 2006-10-06 14:53:41 +0200 (Fr, 06 Okt 2006) | 9 lines Merged revisions 44460 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44460 | crichter | 2006-10-05 12:02:38 +0200 (Do, 05 Okt 2006) | 1 line fixed segfault which happens during hold/transfer action ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44843 65c4cc65-6c06-0410-ace0-fbb531ad65f3