dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

47 Commits

Author SHA1 Message Date
tilghman 634731c024 Merged revisions 53070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53070 | tilghman | 2007-02-01 13:21:20 -0600 (Thu, 01 Feb 2007) | 10 lines

Merged revisions 53069 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007) | 2 lines

No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01 19:27:22 +00:00
russell ee25f98f93 Merged revisions 53046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines

Merged revisions 53045 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines

Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31 21:35:15 +00:00
file cd15e6156e Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 00:11:32 +00:00
tilghman bf11804cf1 Fix bug introduced during constification (reported by tzanger via IRC)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-21 03:25:57 +00:00
qwell 189872a68e Merged revisions 51265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51265 | qwell | 2007-01-18 16:50:23 -0600 (Thu, 18 Jan 2007) | 4 lines

Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.

Issue 8832, patch(es) by tgrman

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51266 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 22:56:35 +00:00
kpfleming 1fe1dccf33 make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50571 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 15:01:46 +00:00
kpfleming 809525b045 Merged revisions 50562 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50562 | kpfleming | 2007-01-12 08:42:24 -0600 (Fri, 12 Jan 2007) | 10 lines

Merged revisions 50561 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r50561 | kpfleming | 2007-01-12 08:34:15 -0600 (Fri, 12 Jan 2007) | 2 lines

minor documentation clarification

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50563 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 14:45:20 +00:00
file abf42442c7 Merged revisions 50266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50266 | file | 2007-01-09 22:51:29 -0500 (Tue, 09 Jan 2007) | 2 lines

Ensure data's existence before trying to access it. (issue #8774 reported by rcourtna)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50267 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 03:53:30 +00:00
qwell fb97e146a9 Merged revisions 49742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49742 | qwell | 2007-01-05 18:24:38 -0600 (Fri, 05 Jan 2007) | 7 lines

Save 1 whopping byte of allocated memory!

This looks like it may have been a chicken/egg scenario..

You had to call a cleanup func, because everything was allocated.
Then since you had to call a cleanup func, you were forced to allocate - ie; strdup("").

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49743 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06 00:28:16 +00:00
kpfleming ec3737e835 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49711 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 23:32:42 +00:00
kpfleming d8e7fcf209 Merged revisions 49676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines

reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 22:43:18 +00:00
kpfleming 87686ce875 Merged revisions 49006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines

since these variables all have static duration, none of them need initializers (they default to zero anyway)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27 22:14:33 +00:00
file 8140a34777 Switch list of global variables to read/write locks.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21 03:20:08 +00:00
file aeb26a4c11 Convert alternate dialplan switch list to use read/write locks.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48680 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21 01:48:35 +00:00
rizzo d78959e745 convert the final clients of ast_build_string to use ast_str_*()
Now the only module left using it is chan_sip.c



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48559 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18 15:38:50 +00:00
rizzo 889d8eecec remove the macro LOAD_OH and expand it inline in the only
place where it was used.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15 03:59:31 +00:00
rizzo bf09fdc230 make sure that showdialplan sends only one
'Response: Success ' message even in case of
a recursive call.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48459 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-13 23:08:02 +00:00
rizzo 24d16af409 clean up function manager_show_dialplan_helper()
reducing indentation and normalizing loops.

While doing this, remove some unused variables,
fix an uninitialized string (idaction), and mark
some places where the behaviour is not what we would expect
(e.g. an empty context is reported as an error same as
a non-existent one). Given that this function is
not in 1.4, the above can be changed without too many
backward compatibility concerns.

Not applicable to 1.4 or below.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48458 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-13 22:54:41 +00:00
oej 7d8d79e3ae Documentation updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48164 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 20:34:23 +00:00
oej 5a2011b9d7 Doxygen update
- Document cause codes
- Document a bit more on channel variables - global, predefined and local
- Fix some doxygen in channel.h. Adding one comment for two definitions does not
  work. They won't be copied to each.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47986 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24 14:00:19 +00:00
file ce05153a12 This should already be called while locked.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47404 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 03:34:13 +00:00
file 0493983b13 Display CID matching information when using dialplan show. (issue #8279 reported by caio1982)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08 18:26:52 +00:00
murf 4d6996c27a A fair number of changes for the sake of bug 7506
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 21:47:49 +00:00
tilghman 278341b071 Merged revisions 47051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines

Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 23:16:09 +00:00
file 59ae68a326 Let's make application/function/hint lists read/write lists... just for kicks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47037 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 21:40:53 +00:00
oej f171dba1a0 Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46508 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 21:18:39 +00:00
russell b1b9710998 fix various spelling mistakes in comments (issue #8237, jmls)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26 17:52:15 +00:00
murf 6c89612673 As per ToDo list, I have made it so that Wait(), WaitExten(), Congestion(), Busy(), Read(), WaitForRing(), will now either actually handle a floating point argument as advertised, or has been upgraded to accept a floating point [timeout] arg.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05 01:40:06 +00:00
mogorman 4a1aaf52ae bug #8076 check option_debug before printing to debug channel.
patch provided in bugnote, with minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03 15:53:07 +00:00
file fc09ef5f07 Cache the application pointer so we don't have to needlessly search for it over and over. This should yield a suitable performance increase.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43954 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 22:49:55 +00:00
qwell ee459bcc3c Add BACKGROUNDSTATUS to Background()
Issue #7835, original patch by bcnit - redone by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 20:03:23 +00:00
qwell df5a8ce91b Merged revisions 43803 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43803 | qwell | 2006-09-27 12:44:02 -0700 (Wed, 27 Sep 2006) | 4 lines

Fix an issue with PLAYBACKSTATUS not being set under certain circumstances.
Fix a minor issue, to make it use the filenames that were parsed, instead of the entire argument string.
Fix Background() to return -1 like Playback(), if no args are specified.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43804 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 19:45:24 +00:00
tilghman 33d8fe4c3e Remove deprecated CLI apps from the core
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43449 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 21:17:39 +00:00
tilghman c8a470374f Remove 1.4 changes from UPGRADE.txt, remove deprecated callerid field, remove deprecated SetGlobalVar app
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43444 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 20:01:54 +00:00
mogorman d5df46a93e similar patch for verbose vs debug with minor changes
bug 2617


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 16:23:45 +00:00
kpfleming 5aacb6a82d merge qwell's CLI verbification work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00
kpfleming 5c0e56df21 merge markster's usersconf branch with some slight changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16 23:53:58 +00:00
bweschke 2dfdcd3b53 Provide a little more protection to make sure that a MOH class is specified when using the 'm' option with WaitExten, and prevent a segfault in the process.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41930 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 21:26:04 +00:00
bweschke fde2dce41e Fix enum indexing problem with m() in WaitExten. Reported by Pavel J, in asterisk-dev.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41916 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 20:44:14 +00:00
murf 709b82f1b4 Another formatting update for PCadach.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41695 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:48:06 +00:00
murf 82dc9e6325 PCadach wanted better formatting of those 'if' conditions for 7859.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41692 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 16:33:22 +00:00
murf 04df54629e This small tweek will hopefully fix 7859, and silence all possible others
along that line.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 15:57:05 +00:00
kpfleming fbe5134cb5 change default setting for autofallthrough
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41475 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30 21:44:05 +00:00
murf bd80958009 This change fixes bug 7820. Way back in April this bug was reintroduced, it appears, when a bunch of restructuring was done. This code was basically left out during the restructuring. In the case of the failure in 7820, it is trying to match the extension _x. with _x., and failing, because the 'x' should only match 0 thru 9. I **could** upgrade the code so that that N,Z, and X match not only their intended number ranges, but also N,Z,and X respectively. And, moreover, X could also match N and Z, and Z could also match N. I have no idea why this bug took so long to turn up. I have no idea what a more thorough treatment of the code would do to working code, either. So I left it as it ***was***.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 23:08:42 +00:00
russell e64409c155 Merged revisions 40994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r40994 | russell | 2006-08-24 15:41:26 -0400 (Thu, 24 Aug 2006) | 11 lines

Fix a few issues related to the handling of channel variables
 - in pbx_builtin_serialize_variables(), the variable list traversal would stop
   on a variables with empty name/values, which is not appropriate
 - When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
   AST_LIST_REMOVE
 - During masquerading, when copying the variables list from one channel to the
   other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
   It leaves the tail pointer of the list invalid.  Introduce a new macro,
   AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802, softins)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40995 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24 19:53:43 +00:00
kpfleming 3426d30f6a don't initialize global variables list twice
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40789 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 20:04:59 +00:00
kpfleming 8b0c007ad9 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00