summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-11Merged revisions 44562 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44562 | crichter | 2006-10-06 14:52:01 +0200 (Fr, 06 Okt 2006) | 9 lines Merged revisions 44335 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44335 | crichter | 2006-10-04 17:26:59 +0200 (Mi, 04 Okt 2006) | 1 line if INFORMATION Message come with keypad instead of called party number, we just use the keypad as called party number. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11Merged revisions 44561 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44561 | crichter | 2006-10-06 14:50:25 +0200 (Fr, 06 Okt 2006) | 9 lines Merged revisions 44334 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44334 | crichter | 2006-10-04 17:13:58 +0200 (Mi, 04 Okt 2006) | 1 line added the option 'reject_cause' to make it possible to set the RELEASE_COMPLETE - cause on the 3. incoming PMP channel, which is automatically rejected because chan_misdn does not support that kind of callwaiting. Therefore chan_misdn supports now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc now gets the info if the requested channel is incoming or outgoing to make the 3. channel possible ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11Merged revisions 44559 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44559 | crichter | 2006-10-06 12:44:34 +0200 (Fr, 06 Okt 2006) | 9 lines Merged revisions 44149 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44149 | crichter | 2006-10-02 15:28:14 +0200 (Mo, 02 Okt 2006) | 1 line fixed the hold/retrieve/transfer issues, removed a useless bc field, added setting of frame.delivery fields, some minor code cleanups ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10More whitespace fixesTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10Merged revisions 44819 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44819 | file | 2006-10-10 13:21:44 -0400 (Tue, 10 Oct 2006) | 2 lines Move some stuff around so that a NOTIFY dialog won't hang around until the end of the world under certain circumstances ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10Merged revisions 44808 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44808 | tilghman | 2006-10-10 11:42:19 -0500 (Tue, 10 Oct 2006) | 2 lines Lost of a bit of logic when this was simplified between 1.2 and 1.4 (Bug 8117) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10Merged revisions 44806 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44806 | file | 2006-10-10 12:30:00 -0400 (Tue, 10 Oct 2006) | 2 lines Bail out if we have no refer structure and we get a refer response ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10Merged revisions 44788 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44788 | file | 2006-10-10 11:23:14 -0400 (Tue, 10 Oct 2006) | 2 lines Only set DTMF information if an RTP structure exists ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10Merged revisions 44786 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44786 | crichter | 2006-10-10 15:50:26 +0200 (Di, 10 Okt 2006) | 9 lines Merged revisions 44785 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44785 | crichter | 2006-10-10 15:34:33 +0200 (Di, 10 Okt 2006) | 1 line (re)added support of dynamical enabling hdlc on bchannels ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10clarify the use of the standard SIP port number, 5060,Luigi Rizzo
and rename the old DEFAULT_SIP_PORT as STANDARD_SIP_PORT to make it clear that this is not something we can change, unlike other defaults. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10improve formatting of SIP packets when dumped to the verboseLuigi Rizzo
output stream, so it is easier to find them in the log. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09Timeout values are in seconds (issue #7122 reported by jmls)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09Merged revisions 44764 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44764 | qwell | 2006-10-09 11:12:35 -0500 (Mon, 09 Oct 2006) | 4 lines Fix a problem where phones that go "missing" never got unregistered. Issue #8067, reported by pj, patch by Anthony LaMantia (with minor whitespace modifications) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09Blocked revisions 44760 via svnmergeJoshua Colp
........ r44760 | file | 2006-10-09 11:46:53 -0400 (Mon, 09 Oct 2006) | 2 lines iaxs[callno] may go away if we try to avoid the deadlock ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09Merged revisions 44759 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44759 | file | 2006-10-09 11:41:28 -0400 (Mon, 09 Oct 2006) | 2 lines Properly avoid a collision with iax2_hangup (issue #8115 reported by vazir) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09Being pedantic... "media" is easier to understand than "data" in the ↵Olle Johansson
function name... :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09slightly restructure sipsock_read() removing a "goto"Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09use S_OR in one placeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-08update_call_counter(): indentation fixes and small simplificationsLuigi Rizzo
at the top of the function. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-08localize some variables and reduce nesting depthLuigi Rizzo
(indentation will be fixed by a separate commit). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-08small simplification to initreqprep()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-08Simplify function parse_request() using a single loop insteadLuigi Rizzo
of two very similar ones. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-08do not dereference p if we know it is NULL.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Fix some debug output for setsockopt for TOSOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07- move definition of global_autoframing to the same place as other globalsOlle Johansson
- set initial value at load/reload - Add questionmarks for someone to fill in for doxygen git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Add/change doxygen and commentsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Recommend using "sip reload" since it's much easier to learn andOlle Johansson
remember. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Explain usage of DEFAULT_SIP_PORTOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Do *NOT* use DEFAULT_SIP_PORT in these comparisions, since users may changeOlle Johansson
that, but the protocol clearly states that if we DO NOT mention a port it is 5060. DEFAULT_SIP_PORT is whatever we default to listen to. I believe it's the third time I revert a patch like this. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Merged revisions 44684 via svnmerge from Paul Cadach
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44684 | pcadach | 2006-10-07 20:39:34 +0600 (Сбт, 07 Окт 2006) | 1 line Propagate caller's transfer capability too ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Extend CALLERID() function for "pres" and "ton" valuesPaul Cadach
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07slightly restructure the code that computes the channel's nameLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07put repeated code to set nat mode in a function.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07put common code in a function to avoid repetitions.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07remove hardwired usage of 5060, use DEFAULT_SIP_PORT insteadLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07improve and document function get_in_brackets(), introducingLuigi Rizzo
a helper function find_closing_quote() of more general use. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07when possible, use ast_set2_flags instead of ast_set/ast_clr .Luigi Rizzo
Also mark XXX some dubious places. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06Merged revisions 44631 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44631 | kpfleming | 2006-10-06 16:28:03 -0500 (Fri, 06 Oct 2006) | 2 lines ensure that mutex locks inside list heads are initialized properly on platforms that require constructor initialization (issue #8029, patch from timrobbins) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06Merged revisions 44628 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44628 | file | 2006-10-06 17:08:54 -0400 (Fri, 06 Oct 2006) | 2 lines Remove the seqno check for RFC2833, the handler is smart enough to not need it. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06basically fix indentation of a large function after previousLuigi Rizzo
simplifications. On passing, use a single exit point. (once done with the cleanup i will merge the changes into 1.4, if applicable) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06s cannot be null here, so remove the useless test and error-handling block.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06simplify logic in preparation to reduce indentationLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06Merged revisions 44605 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44605 | file | 2006-10-06 14:46:28 -0400 (Fri, 06 Oct 2006) | 2 lines When the sequence number rolls over then reset the recorded sequence number for DTMF (issue #8106 reported by bungalow) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06Massive cleanup of the rpt code, updating to current coding guidelinesTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06Merged revisions 44581 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44581 | file | 2006-10-06 12:53:48 -0400 (Fri, 06 Oct 2006) | 10 lines Merged revisions 44580 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44580 | file | 2006-10-06 12:52:14 -0400 (Fri, 06 Oct 2006) | 2 lines Even more frames to treat as though the remote side disappeared (issue #8097 reported by eldadran) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06document a bit the use of templates.Luigi Rizzo
They are highly convenient for writing configuration files, especially if you have many similar entries, or want to switch quickly between different configurations without having to comment/uncomment large sections of the files. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06document the "contact" option a bit better.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06help old bsd-system which don't have RLIMIT_AS and use RLIMIT_VMEMLuigi Rizzo
for virtual memory limits. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06make sure sockets are blocking when they should be blocking.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06Two things:Luigi Rizzo
1. slightly rearrange/simplify the parsing of the argument in sip_register. This brings in a patch that has been in Mantis (5834) for ages, and is the larger part of the commit; 2. implement the "contact" option for peers, similar to the one in users.conf: If you put a "contact" option with a non-empty argument (e.g. contact=123) in a peer section, asterisk will register with the provider as if you had a register= username:secret@host/contact line in the general section. The latter is a very small is a new feature so i am not putting it in the 1.4 branch, although the "contact" option in user.conf is already in the 1.4 branch and so it wouldn't be too strange to merge it. Note that the implementation of "contact" is much simpler than the one in 5834, and limited to a few lines in build_peer(). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44566 65c4cc65-6c06-0410-ace0-fbb531ad65f3