asterisk/asterisk.git
14 years agoMerged revisions 45027 via svnmerge from
Kevin P. Fleming [Fri, 13 Oct 2006 15:47:42 +0000 (15:47 +0000)]
Merged revisions 45027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45027 | kpfleming | 2006-10-13 10:41:14 -0500 (Fri, 13 Oct 2006) | 2 lines

use a configure script test for PMTU discovery control instead of just assuming it's available on Linux

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 45026 via svnmerge from
Christian Richter [Fri, 13 Oct 2006 15:42:09 +0000 (15:42 +0000)]
Merged revisions 45026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45026 | crichter | 2006-10-13 16:45:39 +0200 (Fr, 13 Okt 2006) | 9 lines

Merged revisions 45020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45020 | crichter | 2006-10-13 15:11:13 +0200 (Fr, 13 Okt 2006) | 1 line

fixed some echocandisable issues when bridged. this caused a kernel panic sometimes..also some minor formatting fixes
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45028 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoTry to avoid the use of 'z' modifier in cases where it is not
Luigi Rizzo [Fri, 13 Oct 2006 11:18:01 +0000 (11:18 +0000)]
Try to avoid the use of 'z' modifier in cases where it is not
necessary - rather, cast the argument to int.

In this case, the string is in a UDP packet and as such
limited to 64k so its length can be safely represented in an int
without truncation (besides, this is just a debugging message!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoarguments to auth_headers() needed to be swapped here.
Luigi Rizzo [Fri, 13 Oct 2006 11:11:19 +0000 (11:11 +0000)]
arguments to auth_headers() needed to be swapped here.
To avoid the same mistake in the future (due to slightly
confusing variable names), add a comment.

On passing, remove a redundant initialization.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45009 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44994 via svnmerge from
Christian Richter [Fri, 13 Oct 2006 08:23:41 +0000 (08:23 +0000)]
Merged revisions 44994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44994 | crichter | 2006-10-13 09:52:41 +0200 (Fr, 13 Okt 2006) | 9 lines

Merged revisions 44993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44993 | crichter | 2006-10-13 09:40:07 +0200 (Fr, 13 Okt 2006) | 1 line

fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45000 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44982 via svnmerge from
Matt O'Gorman [Thu, 12 Oct 2006 20:41:37 +0000 (20:41 +0000)]
Merged revisions 44982 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

........
r44982 | mogorman | 2006-10-12 15:34:49 -0500 (Thu, 12 Oct 2006) | 2 lines

fix for bug 7764.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44983 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoeliminate compiler warning
Kevin P. Fleming [Thu, 12 Oct 2006 19:16:16 +0000 (19:16 +0000)]
eliminate compiler warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44971 via svnmerge from
Kevin P. Fleming [Thu, 12 Oct 2006 19:15:25 +0000 (19:15 +0000)]
Merged revisions 44971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44971 | kpfleming | 2006-10-12 14:14:24 -0500 (Thu, 12 Oct 2006) | 2 lines

we can only send one 'a=ptime' attribute per media session, not one for each format

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44972 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44956 via svnmerge from
Kevin P. Fleming [Thu, 12 Oct 2006 18:43:52 +0000 (18:43 +0000)]
Merged revisions 44956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44956 | kpfleming | 2006-10-12 13:38:51 -0500 (Thu, 12 Oct 2006) | 10 lines

Merged revisions 44955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44955 | kpfleming | 2006-10-12 13:31:26 -0500 (Thu, 12 Oct 2006) | 2 lines

ensure that IAX2 and SIP sockets allow UDP fragmentation when running on Linux (thanks to Brian Candler on the asterisk-dev list for the tip)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44957 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44945 via svnmerge from
Russell Bryant [Thu, 12 Oct 2006 16:57:36 +0000 (16:57 +0000)]
Merged revisions 44945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44945 | russell | 2006-10-12 12:56:32 -0400 (Thu, 12 Oct 2006) | 2 lines

fix a silly typo in a comment that I saw while reading the commit list

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44946 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoput flags in an enum and remove a couple of unused defines
Russell Bryant [Thu, 12 Oct 2006 16:51:31 +0000 (16:51 +0000)]
put flags in an enum and remove a couple of unused defines

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44942 via svnmerge from
Joshua Colp [Thu, 12 Oct 2006 16:11:32 +0000 (16:11 +0000)]
Merged revisions 44942 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44942 | file | 2006-10-12 12:08:50 -0400 (Thu, 12 Oct 2006) | 2 lines

Pass off AUDIO_LIBS so muted can link on OSX (issue #8135 reported by ssokol)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44943 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago+ move [almost] all instances of WWW-Authenticate/Proxy-Authenticate
Luigi Rizzo [Thu, 12 Oct 2006 15:12:54 +0000 (15:12 +0000)]
+ move [almost] all instances of WWW-Authenticate/Proxy-Authenticate
  and friends in a function, auth_headers(), which is used to
  simplify the interface of do_{proxy|register}_auth().

+ use PROXY_AUTH = 407, WWW_AUTH = 401 as values for enum sip_auth_type;

No functional change, only code cleanup.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44933 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44921 via svnmerge from
Nadi Sarrar [Thu, 12 Oct 2006 13:04:03 +0000 (13:04 +0000)]
Merged revisions 44921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44921 | nadi | 2006-10-12 14:55:25 +0200 (Do, 12 Okt 2006) | 2 lines

append_event must be called while holding the session lock

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44911 via svnmerge from
Russell Bryant [Thu, 12 Oct 2006 10:26:54 +0000 (10:26 +0000)]
Merged revisions 44911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44911 | russell | 2006-10-12 06:24:36 -0400 (Thu, 12 Oct 2006) | 2 lines

change some debug output to use LOG_DEBUG instead of verbose output

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoreduce indentation of two large blocks
Luigi Rizzo [Wed, 11 Oct 2006 23:36:25 +0000 (23:36 +0000)]
reduce indentation of two large blocks

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44901 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agooperator != also works between booleans...
Luigi Rizzo [Wed, 11 Oct 2006 23:26:44 +0000 (23:26 +0000)]
operator != also works between booleans...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44900 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44888 via svnmerge from
Jason Parker [Wed, 11 Oct 2006 16:57:59 +0000 (16:57 +0000)]
Merged revisions 44888 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44888 | qwell | 2006-10-11 11:57:06 -0500 (Wed, 11 Oct 2006) | 3 lines

These are already set by the parent Makefile..
There is no need to have this here (it doesn't actually work anyways).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44889 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove doc/linkedlists.txt as it is no longer needed. The top of the file reads:
Russell Bryant [Wed, 11 Oct 2006 13:45:40 +0000 (13:45 +0000)]
Remove doc/linkedlists.txt as it is no longer needed.  The top of the file reads:

As of 2004-12-23, this documentation is no longer maintained. The doxygen documentation
generated from linkedlists.h should be referred to in its place, as it is more complete
and better maintained.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44877 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRevert Luigi's accidental commit of his local changes when debugging some SIP
Russell Bryant [Wed, 11 Oct 2006 13:38:37 +0000 (13:38 +0000)]
Revert Luigi's accidental commit of his local changes when debugging some SIP
authentication issues.  This was committed in revision 44844, where the commit
message was just "small formatting cleanup", so I am pretty sure he didn't mean
to commit this part.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44876 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove duplicate prototypes. Have not checked if there are more.
Luigi Rizzo [Wed, 11 Oct 2006 13:21:33 +0000 (13:21 +0000)]
remove duplicate prototypes. Have not checked if there are more.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44875 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify and comment handle_response_peerpoke()
Luigi Rizzo [Wed, 11 Oct 2006 13:12:31 +0000 (13:12 +0000)]
simplify and comment handle_response_peerpoke()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44874 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix indentation of a function after previous commit
Luigi Rizzo [Wed, 11 Oct 2006 12:24:57 +0000 (12:24 +0000)]
fix indentation of a function after previous commit
(whitespace-only change)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44865 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agohandle_response_peerpoke() does not need to return anything.
Luigi Rizzo [Wed, 11 Oct 2006 09:17:05 +0000 (09:17 +0000)]
handle_response_peerpoke() does not need to return anything.
(Reindentation in the next commit.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosmall formatting cleanup
Luigi Rizzo [Wed, 11 Oct 2006 08:56:09 +0000 (08:56 +0000)]
small formatting cleanup

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44563 via svnmerge from
Christian Richter [Wed, 11 Oct 2006 08:45:40 +0000 (08:45 +0000)]
Merged revisions 44563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44563 | crichter | 2006-10-06 14:53:41 +0200 (Fr, 06 Okt 2006) | 9 lines

Merged revisions 44460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44460 | crichter | 2006-10-05 12:02:38 +0200 (Do, 05 Okt 2006) | 1 line

fixed segfault which happens during hold/transfer action
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44843 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44562 via svnmerge from
Christian Richter [Wed, 11 Oct 2006 08:39:50 +0000 (08:39 +0000)]
Merged revisions 44562 via svnmerge from
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

14 years agoMerged revisions 44561 via svnmerge from
Christian Richter [Wed, 11 Oct 2006 08:34:03 +0000 (08:34 +0000)]
Merged revisions 44561 via svnmerge from
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

14 years agoMerged revisions 44559 via svnmerge from
Christian Richter [Wed, 11 Oct 2006 08:23:16 +0000 (08:23 +0000)]
Merged revisions 44559 via svnmerge from
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

14 years agoMore whitespace fixes
Tilghman Lesher [Tue, 10 Oct 2006 20:52:50 +0000 (20:52 +0000)]
More whitespace fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44819 via svnmerge from
Joshua Colp [Tue, 10 Oct 2006 17:23:14 +0000 (17:23 +0000)]
Merged revisions 44819 via svnmerge from
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

14 years agoMerged revisions 44808 via svnmerge from
Tilghman Lesher [Tue, 10 Oct 2006 16:46:01 +0000 (16:46 +0000)]
Merged revisions 44808 via svnmerge from
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

14 years agoMerged revisions 44806 via svnmerge from
Joshua Colp [Tue, 10 Oct 2006 16:31:05 +0000 (16:31 +0000)]
Merged revisions 44806 via svnmerge from
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

14 years agoMerged revisions 44788 via svnmerge from
Joshua Colp [Tue, 10 Oct 2006 15:25:05 +0000 (15:25 +0000)]
Merged revisions 44788 via svnmerge from
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

14 years agoMerged revisions 44786 via svnmerge from
Christian Richter [Tue, 10 Oct 2006 14:54:58 +0000 (14:54 +0000)]
Merged revisions 44786 via svnmerge from
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

14 years agoclarify the use of the standard SIP port number, 5060,
Luigi Rizzo [Tue, 10 Oct 2006 08:08:35 +0000 (08:08 +0000)]
clarify the use of the standard SIP port number, 5060,
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

14 years agoimprove formatting of SIP packets when dumped to the verbose
Luigi Rizzo [Tue, 10 Oct 2006 07:40:27 +0000 (07:40 +0000)]
improve formatting of SIP packets when dumped to the verbose
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

14 years agoTimeout values are in seconds (issue #7122 reported by jmls)
Joshua Colp [Mon, 9 Oct 2006 18:23:21 +0000 (18:23 +0000)]
Timeout values are in seconds (issue #7122 reported by jmls)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44768 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44764 via svnmerge from
Jason Parker [Mon, 9 Oct 2006 16:15:16 +0000 (16:15 +0000)]
Merged revisions 44764 via svnmerge from
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

14 years agoBlocked revisions 44760 via svnmerge
Joshua Colp [Mon, 9 Oct 2006 15:52:29 +0000 (15:52 +0000)]
Blocked revisions 44760 via svnmerge

........
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

14 years agoMerged revisions 44759 via svnmerge from
Joshua Colp [Mon, 9 Oct 2006 15:49:45 +0000 (15:49 +0000)]
Merged revisions 44759 via svnmerge from
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

14 years agoBeing pedantic... "media" is easier to understand than "data" in the function name...
Olle Johansson [Mon, 9 Oct 2006 11:20:02 +0000 (11:20 +0000)]
Being pedantic... "media" is easier to understand than "data" in the function name... :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44753 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoslightly restructure sipsock_read() removing a "goto"
Luigi Rizzo [Mon, 9 Oct 2006 09:04:30 +0000 (09:04 +0000)]
slightly restructure sipsock_read() removing a "goto"

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44752 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse S_OR in one place
Luigi Rizzo [Mon, 9 Oct 2006 08:33:52 +0000 (08:33 +0000)]
use S_OR in one place

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44751 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdate_call_counter(): indentation fixes and small simplifications
Luigi Rizzo [Sun, 8 Oct 2006 23:26:10 +0000 (23:26 +0000)]
update_call_counter(): indentation fixes and small simplifications
at the top of the function.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44750 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agolocalize some variables and reduce nesting depth
Luigi Rizzo [Sun, 8 Oct 2006 23:04:12 +0000 (23:04 +0000)]
localize some variables and reduce nesting depth
(indentation will be fixed by a separate commit).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44749 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosmall simplification to initreqprep()
Luigi Rizzo [Sun, 8 Oct 2006 22:45:01 +0000 (22:45 +0000)]
small simplification to initreqprep()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44748 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoSimplify function parse_request() using a single loop instead
Luigi Rizzo [Sun, 8 Oct 2006 22:20:35 +0000 (22:20 +0000)]
Simplify function parse_request() using a single loop instead
of two very similar ones.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44747 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodo not dereference p if we know it is NULL.
Luigi Rizzo [Sun, 8 Oct 2006 14:10:26 +0000 (14:10 +0000)]
do not dereference p if we know it is NULL.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44745 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix some debug output for setsockopt for TOS
Olle Johansson [Sat, 7 Oct 2006 20:42:27 +0000 (20:42 +0000)]
Fix some debug output for setsockopt for TOS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44731 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- move definition of global_autoframing to the same place as other globals
Olle Johansson [Sat, 7 Oct 2006 18:57:11 +0000 (18:57 +0000)]
- move definition of global_autoframing to the same place as other globals
- 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

14 years agoAdd/change doxygen and comments
Olle Johansson [Sat, 7 Oct 2006 16:32:31 +0000 (16:32 +0000)]
Add/change doxygen and comments

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44708 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRecommend using "sip reload" since it's much easier to learn and
Olle Johansson [Sat, 7 Oct 2006 16:26:11 +0000 (16:26 +0000)]
Recommend using "sip reload" since it's much easier to learn and
remember.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44707 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoExplain usage of DEFAULT_SIP_PORT
Olle Johansson [Sat, 7 Oct 2006 16:03:36 +0000 (16:03 +0000)]
Explain usage of DEFAULT_SIP_PORT

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44706 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDo *NOT* use DEFAULT_SIP_PORT in these comparisions, since users may change
Olle Johansson [Sat, 7 Oct 2006 15:38:18 +0000 (15:38 +0000)]
Do *NOT* use DEFAULT_SIP_PORT in these comparisions, since users may change
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

14 years agoMerged revisions 44684 via svnmerge from
Paul Cadach [Sat, 7 Oct 2006 14:48:32 +0000 (14:48 +0000)]
Merged revisions 44684 via svnmerge from
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

14 years agoExtend CALLERID() function for "pres" and "ton" values
Paul Cadach [Sat, 7 Oct 2006 14:45:49 +0000 (14:45 +0000)]
Extend CALLERID() function for "pres" and "ton" values

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44685 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoslightly restructure the code that computes the channel's name
Luigi Rizzo [Sat, 7 Oct 2006 12:50:42 +0000 (12:50 +0000)]
slightly restructure the code that computes the channel's name

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44675 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoput repeated code to set nat mode in a function.
Luigi Rizzo [Sat, 7 Oct 2006 12:20:16 +0000 (12:20 +0000)]
put repeated code to set nat mode in a function.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44674 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoput common code in a function to avoid repetitions.
Luigi Rizzo [Sat, 7 Oct 2006 11:28:38 +0000 (11:28 +0000)]
put common code in a function to avoid repetitions.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44664 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove hardwired usage of 5060, use DEFAULT_SIP_PORT instead
Luigi Rizzo [Sat, 7 Oct 2006 11:11:39 +0000 (11:11 +0000)]
remove hardwired usage of 5060, use DEFAULT_SIP_PORT instead

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44663 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoimprove and document function get_in_brackets(), introducing
Luigi Rizzo [Sat, 7 Oct 2006 09:36:09 +0000 (09:36 +0000)]
improve and document function get_in_brackets(), introducing
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

14 years agowhen possible, use ast_set2_flags instead of ast_set/ast_clr .
Luigi Rizzo [Sat, 7 Oct 2006 08:56:59 +0000 (08:56 +0000)]
when possible, use ast_set2_flags instead of ast_set/ast_clr .
Also mark XXX some dubious places.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44641 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44631 via svnmerge from
Kevin P. Fleming [Fri, 6 Oct 2006 21:29:14 +0000 (21:29 +0000)]
Merged revisions 44631 via svnmerge from
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

14 years agoMerged revisions 44628 via svnmerge from
Joshua Colp [Fri, 6 Oct 2006 21:10:42 +0000 (21:10 +0000)]
Merged revisions 44628 via svnmerge from
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

14 years agobasically fix indentation of a large function after previous
Luigi Rizzo [Fri, 6 Oct 2006 21:04:43 +0000 (21:04 +0000)]
basically fix indentation of a large function after previous
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

14 years agos cannot be null here, so remove the useless test and error-handling block.
Luigi Rizzo [Fri, 6 Oct 2006 20:34:11 +0000 (20:34 +0000)]
s cannot be null here, so remove the useless test and error-handling block.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44617 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify logic in preparation to reduce indentation
Luigi Rizzo [Fri, 6 Oct 2006 20:16:13 +0000 (20:16 +0000)]
simplify logic in preparation to reduce indentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44616 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44605 via svnmerge from
Joshua Colp [Fri, 6 Oct 2006 18:47:49 +0000 (18:47 +0000)]
Merged revisions 44605 via svnmerge from
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

14 years agoMassive cleanup of the rpt code, updating to current coding guidelines
Tilghman Lesher [Fri, 6 Oct 2006 17:27:30 +0000 (17:27 +0000)]
Massive cleanup of the rpt code, updating to current coding guidelines

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44595 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44581 via svnmerge from
Joshua Colp [Fri, 6 Oct 2006 16:56:05 +0000 (16:56 +0000)]
Merged revisions 44581 via svnmerge from
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

14 years agodocument a bit the use of templates.
Luigi Rizzo [Fri, 6 Oct 2006 16:43:36 +0000 (16:43 +0000)]
document a bit the use of templates.
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

14 years agodocument the "contact" option a bit better.
Luigi Rizzo [Fri, 6 Oct 2006 16:20:42 +0000 (16:20 +0000)]
document the "contact" option a bit better.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44578 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agohelp old bsd-system which don't have RLIMIT_AS and use RLIMIT_VMEM
Luigi Rizzo [Fri, 6 Oct 2006 16:08:28 +0000 (16:08 +0000)]
help old bsd-system which don't have RLIMIT_AS and use RLIMIT_VMEM
for virtual memory limits.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44577 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake sure sockets are blocking when they should be blocking.
Luigi Rizzo [Fri, 6 Oct 2006 15:59:57 +0000 (15:59 +0000)]
make sure sockets are blocking when they should be blocking.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44568 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoTwo things:
Luigi Rizzo [Fri, 6 Oct 2006 15:41:12 +0000 (15:41 +0000)]
Two things:
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

14 years agoRemove deprecated "incominglimit" config option
Olle Johansson [Fri, 6 Oct 2006 09:01:09 +0000 (09:01 +0000)]
Remove deprecated "incominglimit" config option

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdate example commands to match current syntax
Luigi Rizzo [Fri, 6 Oct 2006 06:43:49 +0000 (06:43 +0000)]
update example commands to match current syntax
(does not apply to 1.4)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44537 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoregenerate the configure script to reflect the latest changes done by
Russell Bryant [Fri, 6 Oct 2006 02:24:26 +0000 (02:24 +0000)]
regenerate the configure script to reflect the latest changes done by
Luigi Rizzo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44527 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix indenting a bit (issue #8082 reported by selsky)
Joshua Colp [Thu, 5 Oct 2006 20:13:04 +0000 (20:13 +0000)]
Fix indenting a bit (issue #8082 reported by selsky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44516 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44502 via svnmerge from
Joshua Colp [Thu, 5 Oct 2006 19:58:50 +0000 (19:58 +0000)]
Merged revisions 44502 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44502 | file | 2006-10-05 15:57:16 -0400 (Thu, 05 Oct 2006) | 10 lines

Merged revisions 44501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44501 | file | 2006-10-05 15:55:41 -0400 (Thu, 05 Oct 2006) | 2 lines

Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoThese mods fix a problem pointed out by dgartang, where in certain situations, the...
Steve Murphy [Thu, 5 Oct 2006 18:29:06 +0000 (18:29 +0000)]
These mods fix a problem pointed out by dgartang, where in certain situations, the target of a goto cannot be found, even right under your nose. This is because the current context is not updated properly, and rather than waste time and find why and where the context should have been updated, I just use my newly added 'dad' ptrs, and pop until I have either the context or extension, and use that instead.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44489 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44486 via svnmerge from
Joshua Colp [Thu, 5 Oct 2006 18:03:34 +0000 (18:03 +0000)]
Merged revisions 44486 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44486 | file | 2006-10-05 14:01:51 -0400 (Thu, 05 Oct 2006) | 2 lines

One more T.38 fix! Don't leave a reinvite hanging by a thread if the other side is already setup with T.38

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44476 via svnmerge from
Kevin P. Fleming [Thu, 5 Oct 2006 16:11:09 +0000 (16:11 +0000)]
Merged revisions 44476 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44476 | kpfleming | 2006-10-05 11:10:01 -0500 (Thu, 05 Oct 2006) | 3 lines

don't segfault when an argument without a close parenthesis is found
stop parsing as soon as that situation occurs

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44477 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBasically, this commit only simplifies configure.ac and makes the
Luigi Rizzo [Thu, 5 Oct 2006 15:42:14 +0000 (15:42 +0000)]
Basically, this commit only simplifies configure.ac and makes the
mechanism more flexible, but otherwise should not affect your build
even if you regenerate the "configure" script.
(Most likely you need to run bootstrap.sh as you really need to re-run
autoheader for reasons that i do not completely understand).

If you don't regenerate "configure", of course you will see no difference.

In detail:

- restructure the check for mandatory modules to remove some
  redundant code blocks;

- extend the AST_EXT_LIB_CHECK so that it can used also for
  checking headers;

- define the AST_C_DEFINE_CHECK macro to test for #defined symbols;

- for the two above macros, add a last argument that getscopied into
  HAVE_$1_VERSION so the source can adapt to different versions of the
  same libraries/header/etc

- document the above;

- document a problem that existed before and i did not manage to solve:
  the 'description' argument to AC_DEFINE does not substiture shell variables
  so you will not see the actual values in the comments (in autoconfig.h)..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44467 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44450 via svnmerge from
Joshua Colp [Thu, 5 Oct 2006 02:43:07 +0000 (02:43 +0000)]
Merged revisions 44450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44450 | file | 2006-10-04 22:40:40 -0400 (Wed, 04 Oct 2006) | 2 lines

Don't totally bail out if T.38 was negotiated

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44451 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44436 via svnmerge from
Kevin P. Fleming [Thu, 5 Oct 2006 01:43:02 +0000 (01:43 +0000)]
Merged revisions 44436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44436 | kpfleming | 2006-10-04 20:42:06 -0500 (Wed, 04 Oct 2006) | 2 lines

this change was correct, the old version is no longer needed

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44437 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAs per ToDo list, I have made it so that Wait(), WaitExten(), Congestion(), Busy...
Steve Murphy [Thu, 5 Oct 2006 01:40:06 +0000 (01:40 +0000)]
As per ToDo list, I have made it so that Wait(), WaitExten(), Congestion(), Busy(), Read(), WaitForRing(), will now either actually handle a floating point argument as advertised, or has been upgraded to accept a floating point [timeout] arg.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44435 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44433 via svnmerge from
Kevin P. Fleming [Thu, 5 Oct 2006 01:30:44 +0000 (01:30 +0000)]
Merged revisions 44433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44433 | kpfleming | 2006-10-04 20:30:05 -0500 (Wed, 04 Oct 2006) | 10 lines

Merged revisions 44432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44432 | kpfleming | 2006-10-04 20:27:57 -0500 (Wed, 04 Oct 2006) | 2 lines

fix Polycom presence notification again

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44434 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify checks for OSS using AST_EXT_LIB_CHECK;
Luigi Rizzo [Wed, 4 Oct 2006 23:52:23 +0000 (23:52 +0000)]
simplify checks for OSS using AST_EXT_LIB_CHECK;

remove two repeated blocks using better logic.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44423 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosmall formatting fix
Luigi Rizzo [Wed, 4 Oct 2006 23:47:20 +0000 (23:47 +0000)]
small formatting fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44422 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agowhen only checking headers, do not set $1_LIB.
Luigi Rizzo [Wed, 4 Oct 2006 23:41:08 +0000 (23:41 +0000)]
when only checking headers, do not set $1_LIB.

Also PBX_$1=0 is the default so we don't need to set it explicitly.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44421 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodocument, and extend a bit the macro AST_EXT_LIB_CHECK so that
Luigi Rizzo [Wed, 4 Oct 2006 23:01:45 +0000 (23:01 +0000)]
document, and extend a bit the macro AST_EXT_LIB_CHECK so that
it can be used in more places in configure.ac

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44420 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agorestore proper CPPFLAGS and LDFLAGS for FreeBSD,
Luigi Rizzo [Wed, 4 Oct 2006 22:59:02 +0000 (22:59 +0000)]
restore proper CPPFLAGS and LDFLAGS for FreeBSD,
until a better solution is found.

Please do not commit the regenerated "configure" file yet,
as there are some more simplifications to be applied to
configure.ac and acinclude.m4 in the next few days.

For the same reason, i am postponing the commit to the 1.4 branch
until the above changes are complete.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44411 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocorrect libraries for astman, at least so i think...
Luigi Rizzo [Wed, 4 Oct 2006 22:52:35 +0000 (22:52 +0000)]
correct libraries for astman, at least so i think...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44410 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoput linker flags in ASTLDFLAGS where they belong
Luigi Rizzo [Wed, 4 Oct 2006 22:51:17 +0000 (22:51 +0000)]
put linker flags in ASTLDFLAGS where they belong

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44408 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44393 via svnmerge from
Kevin P. Fleming [Wed, 4 Oct 2006 21:20:55 +0000 (21:20 +0000)]
Merged revisions 44393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44393 | kpfleming | 2006-10-04 16:17:30 -0500 (Wed, 04 Oct 2006) | 11 lines

Merged revisions 44392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44392 | kpfleming | 2006-10-04 16:15:29 -0500 (Wed, 04 Oct 2006) | 3 lines

remove workaround for old Polycom firmware SUBSCRIBE requests
add workaround for new Polycom firmware SUBSCRIBE requests (bug is known to exist in 2.0.1 firmware)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44394 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44390 via svnmerge from
Kevin P. Fleming [Wed, 4 Oct 2006 21:10:36 +0000 (21:10 +0000)]
Merged revisions 44390 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44390 | kpfleming | 2006-10-04 16:04:21 -0500 (Wed, 04 Oct 2006) | 2 lines

make LOW_MEMORY builds actually work

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 44378 via svnmerge from
Kevin P. Fleming [Wed, 4 Oct 2006 19:51:38 +0000 (19:51 +0000)]
Merged revisions 44378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines

update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoThese changes resolve the problems in bug 8090, where there's a crash compiling an...
Steve Murphy [Wed, 4 Oct 2006 19:33:37 +0000 (19:33 +0000)]
These changes resolve the problems in bug 8090, where there's a crash compiling an empty context

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44377 65c4cc65-6c06-0410-ace0-fbb531ad65f3