Commit graph

8382 commits

Author SHA1 Message Date
Olle Johansson
908c153840 First stab at supporting video in chan_local
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 08:03:28 +00:00
Olle Johansson
a3cc752008 Add simple devicestate for chan_local
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 07:56:56 +00:00
Olle Johansson
cd03597f0c Formatting cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 07:52:08 +00:00
Russell Bryant
53df01c9cc when displaying the list of registered music on hold classes, only show
the format if the mode is not "files", because the field has no meaning
in that case


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 03:11:35 +00:00
Kevin P. Fleming
eeb01cda95 revert bogus change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 21:11:43 +00:00
Kevin P. Fleming
0c73d47618 Merged revisions 28380,28384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28380 | kpfleming | 2006-05-18 15:24:07 -0500 (Thu, 18 May 2006) | 2 lines

handle incoming multipart/mixed message bodies in SIP and find the SDP, if presnet (issue #7124 reported and patched by eborgstrom, but very different fix)

........
r28384 | kpfleming | 2006-05-18 15:43:42 -0500 (Thu, 18 May 2006) | 2 lines

fix up a few more places to find the SDP properly (fallout from fix for #7124)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 21:02:21 +00:00
Olle Johansson
e274a70d52 Add missing argument to ast_carefulwrite
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 21:01:38 +00:00
Kevin P. Fleming
1ad7b94144 Merged revisions 28337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28337 | kpfleming | 2006-05-18 14:35:55 -0500 (Thu, 18 May 2006) | 2 lines

use unsigned counters for handling answer/IE lengths while processing DNS results (issue #7174)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 19:39:39 +00:00
Kevin P. Fleming
169e4797fa block this fix from the 1.2 branch; proper fix will go here and is much more complex
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 19:18:08 +00:00
Tilghman Lesher
f0b985853a Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 18:28:52 +00:00
Tilghman Lesher
75e3bafdfd Blocked revisions 28257 via svnmerge
........
r28257 | tilghman | 2006-05-18 12:27:59 -0500 (Thu, 18 May 2006) | 2 lines

Bug 7167 - HasNewVoicemail and VMCOUNT() didn't work when USE_ODBC_STORAGE was defined

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 17:29:32 +00:00
Kevin P. Fleming
42cf0b0a8f add another media path reinvite 'flavor', where we will only redirect our media to devices that we know are not behind a NAT (based on the evidence collected when we receive media from them)
also, documented the 'canreinvite=update' option in the sample config file


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 16:57:59 +00:00
Kevin P. Fleming
48c36f4b89 adding new code should require following the formatting guidelines :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 16:38:26 +00:00
Joshua Colp
9d4d49cfeb Merged revisions 28212 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28212 | file | 2006-05-18 13:31:16 -0300 (Thu, 18 May 2006) | 2 lines

Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 16:32:37 +00:00
Joshua Colp
b37f523eff Merged revisions 28169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28169 | file | 2006-05-18 11:27:21 -0300 (Thu, 18 May 2006) | 2 lines

Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 14:40:20 +00:00
Joshua Colp
6d603ec09c Allow contexts in regexten so that extensions can be added to multiple contexts when peer registers (issue #6869 reported by and created by Marquis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 14:07:46 +00:00
Olle Johansson
e4bedcd7e8 Remove unsupported, unimplemented, unfunctional "v" option from meetme documentation
(Imported from 1.2)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 12:19:00 +00:00
Christian Richter
4694f5e02e this is not a warning, it might happen during call initialization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 08:45:43 +00:00
Russell Bryant
1f0e09e81e force a "make clean" because existing .depend files in the subdirectories
may be bogus


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 06:48:58 +00:00
Russell Bryant
808f26a24d fix file dependency generation so that the resulting files in the subdirectories
are not of zero length (issue #7138, reported/patched by casper, fixed by a
different patch)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 06:41:53 +00:00
Joshua Colp
5769ed6ea2 Fix receiving message count information from a remote IAX2 peer. (issue #7163 reported by and fixed by akohlsmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 00:12:54 +00:00
Joshua Colp
e08dc08ae2 Add SPRINTF dialplan function made by the ever insaneful Corydon (issue #7078 reported by Corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 00:00:32 +00:00
Joshua Colp
4edfd20a7a Remove needless check for autofill (issue #7180 reported by Marquis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 22:51:28 +00:00
Joshua Colp
a6480b61b0 Merged revisions 27973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27973 | file | 2006-05-17 19:34:08 -0300 (Wed, 17 May 2006) | 2 lines

Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 22:35:53 +00:00
Joshua Colp
6eb1d09ad9 Only set the RTP DTMF information of an RTP structure does indeed exist.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 22:02:15 +00:00
Olle Johansson
10c0ed16f0 Issue #7176 - Crash in expire_register (imported from 1.2)
This is a bad fix, since peer should never be 0. Why is it zero
on Royk's system? 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 19:37:51 +00:00
Olle Johansson
270d5f6191 Adding a debug line
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 18:19:17 +00:00
Joshua Colp
10994f5fbc Merged revisions 27847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27847 | file | 2006-05-17 14:07:52 -0300 (Wed, 17 May 2006) | 2 lines

Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 17:10:44 +00:00
Joshua Colp
15358932ec Add distinctive ring detection with Caller ID for Australia, New Zealand, and other countries. (issue #3596 reported by deon patch by dbowerman with minor mods by moi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 16:51:47 +00:00
Christian Richter
3fb070853b fixed bug that we've lost the orginator of the call.. now we can hear to disconnect indications again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 15:29:01 +00:00
Joshua Colp
6137943e4c Blocked revisions 27767 via svnmerge
........
r27767 | file | 2006-05-17 12:17:04 -0300 (Wed, 17 May 2006) | 2 lines

OSPNext does not handle success/failure correctly (issue #7147 reported and fixed by eborgstrom)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 15:19:29 +00:00
Olle Johansson
33729e6954 Block TRANSFER_CONTEXT patch for 1.2 only, since is already implemented in siptransfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 09:29:55 +00:00
Olle Johansson
770a4a30c5 Use pointer instead of un-needed buffer. Thanks Kevin!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 06:18:09 +00:00
Tilghman Lesher
ffe4dedf29 Merged revisions 27636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27636 | tilghman | 2006-05-16 21:19:50 -0500 (Tue, 16 May 2006) | 2 lines

Bug 7125 - Fix race condition between resequencing and leaving a message

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 02:27:17 +00:00
Joshua Colp
d2da48b156 Inherit channel variables when call forwarding through chan_local (issue #7095 reported by raarts)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 23:39:29 +00:00
Kevin P. Fleming
c3dce57d95 mark RTP sessions that are not carrying DTMF
allow native bridging of RTP sessions that are not carrying DTMF even when the bridge needs to listen to DTMF (when SIP INFO is used for DTMF, for example)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 22:11:02 +00:00
Kevin P. Fleming
ca8f9083c0 clean up some compiler warnings (no reason to use signed integers for buffer lengths, ever)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:45:15 +00:00
Matthew Fredrickson
99648dd713 Add option for enabling and disabling echo cancellation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:43:20 +00:00
Tilghman Lesher
912f9f9dc7 Argument macro janitor for func_odbc, fixes #7171
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:14:01 +00:00
Olle Johansson
eeb2184920 Send a=recvonly when put on hold, otherwise a=sendrecv to indicate that we want two streams.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 20:13:10 +00:00
Kevin P. Fleming
50a91c69c3 make this app actually compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 20:09:30 +00:00
Kevin P. Fleming
e140c0ba9f Merged revisions 27468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27468 | kpfleming | 2006-05-16 15:05:17 -0500 (Tue, 16 May 2006) | 2 lines

don't leak frames when deferring DTMF or dropping duplicate ANSWER frames (issue #7041, slightly different fix, reported/patched by clausf)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 20:08:29 +00:00
Olle Johansson
28d9dc7997 Typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 19:21:20 +00:00
Olle Johansson
185cebac91 Adding check of option_debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 19:20:50 +00:00
Olle Johansson
e4c0a90649 Show all formats for an active SIP call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 18:06:27 +00:00
Christian Richter
a309a2db9f fixed very bad memory overwrite which leaded to segfaults on some systems. removed redundant buffer betweend mISDN reading thread and ast_read in favour of the already existing pipe, this clarifies the way a voice frame takes between mISDN and asterisk a lot. centralized debugging of NumberPlan. removed a compiler warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 14:34:21 +00:00
Olle Johansson
c625a539be One sipfrag attachment is enough...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 12:44:04 +00:00
Olle Johansson
ea510a4cf9 - Format fixes
- Adding if(option_debug) in front of complicated debug messages...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 12:42:59 +00:00
Russell Bryant
43afee3a0c return the result of the cli command registration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 03:18:57 +00:00
Russell Bryant
8047e8067e fix bogus patch to allow setting the CDR amaflags. (The original patch in
issue #7166 was fine.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 03:18:22 +00:00