dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

471 Commits

Author SHA1 Message Date
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
russell 7f1c29e56e Merged revisions 51262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51262 | russell | 2007-01-18 15:54:23 -0600 (Thu, 18 Jan 2007) | 5 lines

Ensure that the locations given to the Asterisk configure script for ncurses,
curses, termcap, or tinfo are further passed along to the editline configure
script.  This fixes some cross-compilation environments.
(issue #8637, reported by ovi, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 21:57:55 +00:00
tilghman 8b6327fe84 Merged revisions 51256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51256 | tilghman | 2007-01-18 15:14:24 -0600 (Thu, 18 Jan 2007) | 10 lines

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

........
r51255 | tilghman | 2007-01-18 15:11:34 -0600 (Thu, 18 Jan 2007) | 2 lines

If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51257 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 21:15:59 +00:00
qwell 22f025f885 Fix filename completion for "module load" and "load" CLI commands.
Issue 8846


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51249 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 19:03:25 +00:00
russell 6d94715209 Fix trunk version of manager support for users.conf. Now it actually pays
attention to the "hasmanager" option.

(Thanks to Anthony L. for pointing out that this was broken!)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51247 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 18:54:51 +00:00
qwell 615ce7f302 Merged revisions 51241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51241 | qwell | 2007-01-18 12:28:29 -0600 (Thu, 18 Jan 2007) | 2 lines

Fix an issue with deprecated commands

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51242 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 18:36:17 +00:00
russell f0963f006f Merged revisions 51233 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51233 | russell | 2007-01-18 11:18:43 -0600 (Thu, 18 Jan 2007) | 3 lines

Make the "hasmanager" option in users.conf actually have an effect.
(issue #8740, LnxPrgr3)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51234 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 17:33:33 +00:00
file 58d2e51da6 Merged revisions 51211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51211 | file | 2007-01-17 19:18:44 -0500 (Wed, 17 Jan 2007) | 2 lines

Pass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51212 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 00:20:50 +00:00
tilghman 0b428448af Merged revisions 51195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51195 | tilghman | 2007-01-17 14:56:15 -0600 (Wed, 17 Jan 2007) | 12 lines

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

........
r51194 | tilghman | 2007-01-17 14:52:21 -0600 (Wed, 17 Jan 2007) | 4 lines

When ast_strip_quoted was called with a zero-length string, it would treat a
NULL as if it were the quoting character (and would thus return the string
in memory immediately following the passed-in string).

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51196 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-17 20:57:51 +00:00
file 595e6fc3d8 Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51193 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-17 19:43:13 +00:00
file 799b67a560 Merged revisions 51182 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51182 | file | 2007-01-17 01:36:41 -0500 (Wed, 17 Jan 2007) | 2 lines

Return the correct result when directly writing out a packet so that the core doesn't then decide to handle it the regular way again. (issue #8833 reported by rcourtna)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51183 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-17 06:37:47 +00:00
qwell 174a032d2f Merged revisions 51170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51170 | qwell | 2007-01-16 18:20:56 -0600 (Tue, 16 Jan 2007) | 4 lines

Fix issue with dtmf continuation packets when the dtmf digit is 0...

Issue 8831

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51171 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-17 00:22:20 +00:00
qwell 03f3a0f685 Merged revisions 51146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51146 | qwell | 2007-01-16 11:36:53 -0600 (Tue, 16 Jan 2007) | 6 lines

Display more useful output when streaming files.

Include the channel name to which the file is being played.

Issue 8828, patch by junky.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51147 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16 17:39:39 +00:00
russell b6714c8699 Merged revisions 51057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51057 | russell | 2007-01-15 19:15:44 -0600 (Mon, 15 Jan 2007) | 3 lines

It is possible for the config pointer to be NULL here, so it needs to be
checked before dereferencing it.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51058 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16 01:16:57 +00:00
file 96d205289a Merged revisions 50895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50895 | file | 2007-01-15 11:36:07 -0500 (Mon, 15 Jan 2007) | 2 lines

Move event processing into do_message so that it gets executed again when events are tripped.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50896 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15 16:40:48 +00:00
kpfleming a5d83fb31d Merged revisions 50867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50867 | kpfleming | 2007-01-15 09:03:06 -0600 (Mon, 15 Jan 2007) | 2 lines

use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15 15:08:45 +00:00
file bc7d45f56c Merged revisions 50820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50820 | file | 2007-01-14 16:59:05 -0500 (Sun, 14 Jan 2007) | 2 lines

Add missing newlines for two memory CLI commands.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50821 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-14 22:00:51 +00:00
tilghman 0bff1f49ef Bug 8803 - Fix crash in API
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50784 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-14 05:34:32 +00:00
tilghman 95b9e252e6 Merged revisions 50782 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50782 | tilghman | 2007-01-13 23:13:47 -0600 (Sat, 13 Jan 2007) | 10 lines

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

........
r50781 | tilghman | 2007-01-13 23:01:16 -0600 (Sat, 13 Jan 2007) | 2 lines

Bug 8814 - db should look for its header using a relative path, instead of the system path (Fixes FreeWRT)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-14 05:19:09 +00:00
file 8a4c69c624 Merged revisions 50727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50727 | file | 2007-01-13 01:00:24 -0500 (Sat, 13 Jan 2007) | 2 lines

Only write a frame out to the channel if one exists. There are cases where one may not and would therefore cause the channel driver to segfault. (issue #8434 reported by slimey)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 06:01:49 +00:00
file 451d1a2d55 Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50629 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 18:13:50 +00:00
file 9b1dfc49c6 Merged revisions 50602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50602 | file | 2007-01-12 11:42:33 -0500 (Fri, 12 Jan 2007) | 2 lines

We need to check for res being 0 in do_message itself, otherwise our headers will get lost.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50603 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12 16:47:20 +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
kpfleming fed10bc0b7 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50538 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11 23:42:14 +00:00
file 56f828fb5c Merged revisions 50466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50466 | file | 2007-01-11 00:19:39 -0500 (Thu, 11 Jan 2007) | 2 lines

Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11 05:21:03 +00:00
file 58da384069 Merged revisions 50405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50405 | file | 2007-01-10 14:46:29 -0500 (Wed, 10 Jan 2007) | 2 lines

Fix parsing when using something like ldap settings. (done by anthonyl)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50406 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 19:49:26 +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
file fc31d4eec7 Make callback declaration match one used in trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50056 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 20:10:23 +00:00
file a5f38dd107 Merged revisions 50032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50032 | file | 2007-01-08 13:21:31 -0500 (Mon, 08 Jan 2007) | 2 lines

Disable the more intense packet2packet bridging until the bugs can be worked out.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50033 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 18:23:39 +00:00
oej 38af1ed26e Issue #8663 - Add passthrough support for MPEG4 (neutrino88).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49968 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 11:49:23 +00:00
tilghman b218a25733 When calling the Realtime app more than once, unset fields which were
previously set are erroneously still set (Bug 6701).  After discussion,
it was determined this should only be changed in trunk.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49801 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 16:21:12 +00:00
tilghman 434af92d0e Reduce duplication of code (Issue 6542)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49784 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 14:32:20 +00:00
qwell ab72b6bec8 Fix a segfault when using "countries" that don't have a matching zone.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07 07:43:52 +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 28749c0589 probably shouldn't leave the mmap'ed file hanging around in memory
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49735 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06 00:02:06 +00:00
kpfleming 717d699a13 a little more const-ification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49727 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 23:58:53 +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 a037fd277b Merged revisions 49680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49680 | kpfleming | 2007-01-05 16:52:37 -0600 (Fri, 05 Jan 2007) | 2 lines

don't 'consume' the params list before we try to use it again

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49681 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 22:53:38 +00:00
kpfleming 56867dba7a use mmap() to read in the results of the manager action for an HTTP request, instead of reading it into a buffer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49679 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 22:52:16 +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
file e37f8f077a Merged revisions 49675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49675 | file | 2007-01-05 17:14:47 -0500 (Fri, 05 Jan 2007) | 2 lines

Don't keep repeating the warning over and over when the end of the call is reached. (issue #8724 reported by xrg)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49677 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 22:18:03 +00:00
kpfleming 7003774388 use a rwlock-list for the list of TLS objects
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49608 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 00:12:10 +00:00
kpfleming cdcfae5230 Merged revisions 49553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49553 | kpfleming | 2007-01-04 16:51:01 -0600 (Thu, 04 Jan 2007) | 2 lines

add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49578 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04 23:18:36 +00:00
file 01dbc383ec Merged revisions 49551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49551 | file | 2007-01-04 17:28:29 -0500 (Thu, 04 Jan 2007) | 2 lines

Only free comments and line buffer once we reach the first level. (issue #8678 reported by ssokol, fixed by anthonyl)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49552 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04 22:34:24 +00:00
kpfleming 779a16372f Merged revisions 49536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49536 | kpfleming | 2007-01-04 15:58:42 -0600 (Thu, 04 Jan 2007) | 2 lines

don't mark these allocations as 'cache' allocations when caching has been disabled

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49538 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04 21:59:06 +00:00
file a3df7ad6e7 It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49525 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04 21:40:54 +00:00
kpfleming f409b5bba7 Merged revisions 49457,49460-49461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49457 | kpfleming | 2007-01-04 12:05:47 -0600 (Thu, 04 Jan 2007) | 2 lines

make building of codec_gsm against the system GSM library actually work

........
r49460 | kpfleming | 2007-01-04 12:16:40 -0600 (Thu, 04 Jan 2007) | 2 lines

don't define this type either if LOW_MEMORY is enabled

........
r49461 | kpfleming | 2007-01-04 12:17:01 -0600 (Thu, 04 Jan 2007) | 2 lines

don't do frame header caching in the core if LOW_MEMORY is defined

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04 18:19:55 +00:00
murf ed1607f9cc Merged revisions 49237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49237 | murf | 2007-01-02 15:30:53 -0700 (Tue, 02 Jan 2007) | 1 line

This is a slight modification to Josh's edits for #8579; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49238 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-02 22:43:36 +00:00
oej f90683f775 Fix manager too.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49094 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 19:52:22 +00:00