Joshua Colp
461d49d2bd
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: https://origsvn.digium.com/svn/asterisk/trunk@51212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
a48fdb83a5
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: https://origsvn.digium.com/svn/asterisk/trunk@51196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c71d6c12f7
Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3e6d6e0e62
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: https://origsvn.digium.com/svn/asterisk/trunk@51183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
9ca780a271
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: https://origsvn.digium.com/svn/asterisk/trunk@51171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
dad1116c72
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: https://origsvn.digium.com/svn/asterisk/trunk@51147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a01ebfc13b
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: https://origsvn.digium.com/svn/asterisk/trunk@51058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2964e9eab6
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: https://origsvn.digium.com/svn/asterisk/trunk@50896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
74f401d05f
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: https://origsvn.digium.com/svn/asterisk/trunk@50869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
35ce830d76
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: https://origsvn.digium.com/svn/asterisk/trunk@50821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
836956f1df
Bug 8803 - Fix crash in API
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
b2cb3f86c4
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: https://origsvn.digium.com/svn/asterisk/trunk@50783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d986f00e73
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: https://origsvn.digium.com/svn/asterisk/trunk@50728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e82a8a1d0a
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: https://origsvn.digium.com/svn/asterisk/trunk@50629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c64ced140f
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: https://origsvn.digium.com/svn/asterisk/trunk@50603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
17ea9c930e
make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
aa3eea042d
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: https://origsvn.digium.com/svn/asterisk/trunk@50563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
1439e0fa75
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: https://origsvn.digium.com/svn/asterisk/trunk@50538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
4942fd94d2
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: https://origsvn.digium.com/svn/asterisk/trunk@50467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
278f2fe4c1
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: https://origsvn.digium.com/svn/asterisk/trunk@50406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fd06f29945
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: https://origsvn.digium.com/svn/asterisk/trunk@50267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ee137a5eaa
Make callback declaration match one used in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
91a7ca8df7
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: https://origsvn.digium.com/svn/asterisk/trunk@50033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
68ff3c3575
Issue #8663 - Add passthrough support for MPEG4 (neutrino88).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
c4c2c546da
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: https://origsvn.digium.com/svn/asterisk/trunk@49801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
33d5a8a582
Reduce duplication of code (Issue 6542)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
5012135417
Fix a segfault when using "countries" that don't have a matching zone.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
5abda34cd9
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: https://origsvn.digium.com/svn/asterisk/trunk@49743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4a6ed271f5
probably shouldn't leave the mmap'ed file hanging around in memory
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d0f3b18d16
a little more const-ification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cd73a483f1
const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d0542012c0
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: https://origsvn.digium.com/svn/asterisk/trunk@49681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3d376fca97
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: https://origsvn.digium.com/svn/asterisk/trunk@49679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
87b9abc892
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: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a9c3429b07
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: https://origsvn.digium.com/svn/asterisk/trunk@49677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2288b11bf4
use a rwlock-list for the list of TLS objects
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4764795b37
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: https://origsvn.digium.com/svn/asterisk/trunk@49578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
50d9c8ad07
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: https://origsvn.digium.com/svn/asterisk/trunk@49552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c5c17a1434
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: https://origsvn.digium.com/svn/asterisk/trunk@49538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
af3e5903c8
It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec2ae45651
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: https://origsvn.digium.com/svn/asterisk/trunk@49463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
7c6b71df21
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: https://origsvn.digium.com/svn/asterisk/trunk@49238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e5b5a92a56
Fix manager too.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9074555e37
- Add error handling to ast_parse_allow_disallow
...
- Use this in chan_sip configuration parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f83b845f08
- Implement error handling in ast_append_ha
...
- Use this in chan_sip
- Document ha functions in acl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e2a50de88f
Clarify why we are reading in a frame in the Packet2Packet bridge.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3f7899c9da
small formatting fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c6c83cf01e
Merged revisions 49066 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49066 | file | 2006-12-30 00:46:57 -0500 (Sat, 30 Dec 2006) | 2 lines
If the Packet2Packet bridge is being broken because of a masquerade then attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b712e10a13
Convert uri_redirects list to read/write locks.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6d9273d0d8
Merged revisions 49024 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49024 | qwell | 2006-12-28 14:52:46 -0500 (Thu, 28 Dec 2006) | 2 lines
make the uris_lock a rwlock instead of a mutex lock - needs to be forward ported to trunk
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago