summaryrefslogtreecommitdiff
path: root/channels
AgeCommit message (Collapse)Author
2006-04-12- Adding some refer state definitions from the siptransfer branchOlle Johansson
- A bit more URI conversions - Changes to sip_dual and the SIP invite structure - Add Supported: headers to more requests git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12Fix for Polycom bug...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12Implement a setting for denying/allowing transfer requests. At this stage,Olle Johansson
we only have open/closed. Well, at least you can deny transfers from unknown callers or at least incoming calls. (Part of the SIPtransfer branch) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12Doxygen docsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12reindent block properlyLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12localize some variables, remove useless parenthesesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11remove useless \0, and fix formatting.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11fix logic error; don't test for rtcache flag unless asked to (issue #6923)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11No need to do this in here any longer since the linkedlists macro is fixedJoshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Convert chan_iax2 to use linked lists for multithreading, and add dynamic ↵Joshua Colp
threads. These are used when all pool threads are in use, and will stick around until load dies down. The theory is that during high load you'll have more threads available, and during low load you'll only have the normal pool threads sticking around. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11staticize a function, and normalize code in preparation to module changes.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11mISDN Messages must be freed with free_msg \!\!Christian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11- First stab at removing debug and ignore variables thatOlle Johansson
we pass along function calls, instead implementing them as flags on the incoming packet. - Adding forward declarations of handle_request functions git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Fixup fixup - add some debugging and error handlingOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Resolve conflicts, prepare for next batch of conflicts Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10fixed some issues, that appear at higher loadChristian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10we send nearly everytime a RELEASE, only if we for sure know, that it's a TE ↵Christian Richter
and we did create the call we don't to hear the Inband Info git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Making sure that cancel destroy is only executed once...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Small fixOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- staticize gettag() complete_sip_peer() get_calleridname() arguments;Luigi Rizzo
- use strsep() instead of strchr() where appropriate - constify some args and add comments. - remove a conditional near line 1940 - we already know what to use. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- constification of some functions (args and return values): Luigi Rizzo
transmit_response_reliable() hangup_cause2sip() - remove useless braces; - add comments on some slightly cryptic code segments - mark XXX possible critical pieces of code. - remove an unneeded string termination after ast_copy_string - mark usage of some rarely used functions; - use strsep() instead of emulating it inline; - replace magic constants with sizeof(array) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- localize 'struct cfalias' into the only function using it; Luigi Rizzo
- remove duplicate code to walk through sdp packets, replacing sdpLineNum_iterator_init(&foo); with "foo = 0"; - remove duplicate code to test ast_test_flag(&p->flags[0], SIP_NAT_ROUTE); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10constify get_sdp*() and friends.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10constify get_header(), which let me find out and fix one bug (overwritingLuigi Rizzo
a string in the buffer) and finding out another one (not fixed yet, just marked XXX). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- describe how sip packets are stored internally;Luigi Rizzo
- remove useless braces or local variables; - simplify some code sequences; - mark with XXX a possible locking issue. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10struct sip_request cleanup:Luigi Rizzo
- remove a debug field that was read but never set, so it was basically unused as well as the code testing it (also removed); - make scalar fields contiguous so any array overflow will be less harmful; git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10more cleanup: remove useless braces, replace "if" with "?",Luigi Rizzo
localize a couple of variables, remove trailing whitespace. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Re-instate removed commentOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10another batch of minor code simplificationsLuigi Rizzo
(moving repeated expressions into a function, const on some arguments) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-09a bunch of trivial code normalizations (removal of unnecessaryLuigi Rizzo
casts and parentheses, formatting fixes, pointing out replicated code and so on). No functional changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08since the module API is changing, it's a good time to const-ify the ↵Kevin P. Fleming
description() and key() return values git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07-Fixing some debugging messages in history and consoleOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07Add history events for re-invitesOlle Johansson
(need to nail this issue...) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07make history easier to readOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07Add some more information to SIP historyOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c Olle Johansson
- implement all functions through internal APIs in res_osp.c and app_osplookup.c (homesick) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07Hmm. What is that keyword?? Let me see... Wait... Maybe... Ahh! OOPS!Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07change a couple uses of !strlen() to ast_strlen_zero(). Oddly enough, one ofRussell Bryant
these used to be this way and got changed ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07- sip_alloc failures are also caused by too few available file descriptors, ↵Olle Johansson
so we can not open socket for RTP (audio/video/rtcp). Error message change to clarify. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07- Add cause code for format errorOlle Johansson
- Change to SWITCH_CONGESTION instead of CONGESTION (imported from 1.2) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07Import of revistion 18250 from 1.2Olle Johansson
- Fix minor memory leak - Add proper cause codes on memory allocation failures git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07sorry litle mistakeChristian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18192 ↵Christian Richter
65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07fixed a bridging-endless-loop also fixed the rdnis is not exported issueChristian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07Issue #6674: Set the URI correctly on BYEs when we have an incoming callOlle Johansson
Reported by aubergine, fix by oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06Cosmetic update for outbound REFERsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06Add "NewChan" event to history to track the birth of a new ast_chan from aOlle Johansson
SIP invite git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06Improved handling of 491 responsesOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06Small changes to parse_sip_optionsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06Small fixes to handle_request_inviteOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18056 65c4cc65-6c06-0410-ace0-fbb531ad65f3