summaryrefslogtreecommitdiff
path: root/channels
AgeCommit message (Collapse)Author
2006-05-20fix the possibility of writing one byte past the end of a buffer.Russell Bryant
(issue #7189, Mithraen) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20Merged revisions 28896 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28896 | kpfleming | 2006-05-19 19:55:31 -0500 (Fri, 19 May 2006) | 2 lines don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100, maybe others) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19attributes need trailing CR-LFKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19allow chan_h323 to build (issue #7006, casper)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Merged revisions 28794 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28794 | kpfleming | 2006-05-19 14:39:55 -0500 (Fri, 19 May 2006) | 2 lines use the specified 'subscribecontext' for a peer rather than the context found via the target domain (domain contexts are for calls, not for subscriptions) (issue #7122, reported by raarts) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19As requested by kpfleming, renaming messagecount to inboxcount and ↵Tilghman Lesher
messagecount2 to messagecount. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Clean up some chan_zap code to make it more readable. (issue #6834 reported ↵Joshua Colp
by ppyy) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Merged revisions 28698 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r28698 | file | 2006-05-19 14:04:02 -0300 (Fri, 19 May 2006) | 2 lines Make the minidle option actually exist as documented (issue #7159 reported by imran) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19fix up a patch that did not merge properly from 1.2 ... weird Russell Bryant
(issue #6866, flefoll) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Adding send_text capability to chan_localOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19First stab at supporting video in chan_localOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Add simple devicestate for chan_localOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19Formatting cleanupOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Merged revisions 28380,28384 via svnmerge from Kevin P. Fleming
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-18add another media path reinvite 'flavor', where we will only redirect our ↵Kevin P. Fleming
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-18adding new code should require following the formatting guidelines :-)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Allow contexts in regexten so that extensions can be added to multiple ↵Joshua Colp
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-18this is not a warning, it might happen during call initializationChristian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18Fix receiving message count information from a remote IAX2 peer. (issue ↵Joshua Colp
#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-17Merged revisions 27973 via svnmerge from Joshua Colp
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-17Only set the RTP DTMF information of an RTP structure does indeed exist.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17Issue #7176 - Crash in expire_register (imported from 1.2)Olle Johansson
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-17Adding a debug lineOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17Add distinctive ring detection with Caller ID for Australia, New Zealand, ↵Joshua Colp
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-17fixed bug that we've lost the orginator of the call.. now we can hear to ↵Christian Richter
disconnect indications again git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17Use pointer instead of un-needed buffer. Thanks Kevin!Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16mark RTP sessions that are not carrying DTMFKevin P. Fleming
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-16Add option for enabling and disabling echo cancellationMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16Send a=recvonly when put on hold, otherwise a=sendrecv to indicate that we ↵Olle Johansson
want two streams. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16Show all formats for an active SIP callOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16fixed very bad memory overwrite which leaded to segfaults on some systems. ↵Christian Richter
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-16One sipfrag attachment is enough...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now beRussell Bryant
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 - The recent change to linklists.h broke the build on linux for some reason.Russell Bryant
So, I have removed all of the uses of AST_LIST_HEAD_INIT and replaced them with the equivalent static initializations. - On passing, fix a memory leak in the unload_module() function of chan_agent. The agents list mutex was never destroyed, and the elements in the agents list were not freed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11simplify determine_firstline_partsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11remove last instance of add_blank_header()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11remove almost all useless instances of add_blank_header() but one,Luigi Rizzo
for which i need to investigate a bit more (but i am almost 100% sure that one is also useless). I do the commit in two steps so it is easier to track the problem. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11- Use systemname for realm in sip, if we have no configuration for realmOlle Johansson
- Optionally send systemname in manager (cool when you have a manager proxy) - Use systemname in CLI prompt git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11remove trailing spaceLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11remove a duplicate prototypeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11remove duplicated code in add_headerLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11simplify init_req()Luigi Rizzo
As the rest of the chan_sip.c changes i am committing, this is Approved by: oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11cleanup init_resp with proper variable names and arguments.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11staticize a variable.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11replace list unlinking with UNLINK macroLuigi Rizzo
(when the list becomes an astobj this will be revisited; however at the moment the change would be too intrusive). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11simplify sip_pretend_ack also removing a bug in the existingLuigi Rizzo
code which called ast_skip_blanks erroneously. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Merged revisions 26760 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r26760 | kpfleming | 2006-05-11 03:52:46 -0500 (Thu, 11 May 2006) | 2 lines ensure that we send a response to REGISTER requests that are successfully authenticated but contain invalid Contact URIs ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Ignore CANCEL on call that is already answeredOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Small formatting fixesOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Issue #OEJ12399.3 - Set default maxcallbitrate for users too. Olle Johansson
(Well, could have opened a branch for this, but felt community pressure not to... ;-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26755 65c4cc65-6c06-0410-ace0-fbb531ad65f3