Commit Graph

9870 Commits

Author SHA1 Message Date
Jason Parker
3c72ad9cb1 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/branches/1.4@44888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11 16:57:06 +00:00
Christian Richter
8621f03cf2 removed warning because of missing prototype declaration
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-11 09:18:41 +00:00
Olle Johansson
84a6a67b15 Do not set default/global values in the variable declaration, set it in reload_config()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 19:23:36 +00:00
Joshua Colp
e0dbc80f61 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/branches/1.4@44819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 17:21:44 +00:00
Paul Cadach
53024e3508 CHANNEL() function sometime mix parameter and value
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 16:44:54 +00:00
Tilghman Lesher
88873fbafa 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/branches/1.4@44808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 16:42:19 +00:00
Joshua Colp
e4380a1b2e Bail out if we have no refer structure and we get a refer response
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 16:30:00 +00:00
Luigi Rizzo
0681269434 more merge from trunk (comments and change a static function name)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 16:21:22 +00:00
Joshua Colp
74171605af Only set DTMF information if an RTP structure exists
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 15:23:14 +00:00
Christian Richter
76dd912066 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/branches/1.4@44786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 13:50:26 +00:00
Luigi Rizzo
fde338ba2c whitespace changes related to previous commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 08:25:15 +00:00
Luigi Rizzo
e0f745b1f6 merge a few code simplifications that have gone
into trunk during last week, to reduce differences
between the two branches and make porting fixes easier.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-10 08:18:42 +00:00
Jason Parker
f3ba83ae1a 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/branches/1.4@44764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09 16:12:35 +00:00
Joshua Colp
f11d155547 iaxs[callno] may go away if we try to avoid the deadlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09 15:46:53 +00:00
Joshua Colp
8a7f8f5592 Properly avoid a collision with iax2_hangup (issue #8115 reported by vazir)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09 15:41:28 +00:00
Olle Johansson
80ae948972 Block change from 1.2. Something broke severly when trying to merge it directly...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-09 14:52:42 +00:00
Luigi Rizzo
9d88cfa8dc merge svn 44744: do not dereference p if we know it is NULL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-08 14:14:14 +00:00
Paul Cadach
e2676b1098 Propagate caller's transfer capability too
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 14:39:34 +00:00
Luigi Rizzo
f480d547cc merge revision 44664 - put common code in a function to avoid repetitions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 11:37:30 +00:00
Luigi Rizzo
169342bc0d remove hardwired usage of 5060, use DEFAULT_SIP_PORT instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 11:11:16 +00:00
Luigi Rizzo
35d8151b55 merge rev 44253 - option_debug checking before printing to debug channel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 11:04:30 +00:00
Luigi Rizzo
e65f2bd612 backport simplifications on sip_register,
usage of ast_set2_flag(), 
and fixes to the handling of failed module loading.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 10:59:27 +00:00
Luigi Rizzo
e5a838cac1 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/branches/1.4@44650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 09:36:00 +00:00
Kevin P. Fleming
f804e2f153 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/branches/1.4@44631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 21:28:03 +00:00
Kevin P. Fleming
35697a1fce remove Jingle as per mog
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 21:09:16 +00:00
Joshua Colp
faf38b71ef Remove the seqno check for RFC2833, the handler is smart enough to not need it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 21:08:54 +00:00
Kevin P. Fleming
0f29a4ddd3 various cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 21:07:44 +00:00
Joshua Colp
2d3da5b500 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/branches/1.4@44605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 18:46:28 +00:00
Joshua Colp
1a5c679e51 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/branches/1.4@44581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 16:53:48 +00:00
Luigi Rizzo
f24ec459b2 make sure sockets are blocking when they should be blocking.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 15:59:23 +00:00
Christian Richter
290fe898f0 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/branches/1.4@44563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 12:53:41 +00:00
Christian Richter
37df5208a1 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/branches/1.4@44562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 12:52:01 +00:00
Christian Richter
13825dab85 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/branches/1.4@44561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 12:50:25 +00:00
Christian Richter
e0005b654a 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/branches/1.4@44559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 10:44:34 +00:00
Joshua Colp
dba3dae7f8 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/branches/1.4@44502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 19:57:16 +00:00
Steve Murphy
25b33fd0c8 This mod fixes a problem pointed out by dgarstang. Many thanks to Doug\!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 18:21:39 +00:00
Joshua Colp
8d2f872a84 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/branches/1.4@44486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 18:01:51 +00:00
Kevin P. Fleming
6a70807a36 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/branches/1.4@44476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 16:10:01 +00:00
Steve Murphy
80e8dd637b I put the accumulated changes from the commit logs and inspection, into CHANGES. Hope everyone approves\!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 15:22:37 +00:00
Steve Murphy
743097a6c1 Hang on a minute, the install process sticks muted.conf in /etc/asterisk, so that's where muted should look for it, right\?
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 15:04:22 +00:00
Joshua Colp
db989fc58c Don't totally bail out if T.38 was negotiated
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 02:40:40 +00:00
Kevin P. Fleming
1a8cca387b this change was correct, the old version is no longer needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 01:42:06 +00:00
Kevin P. Fleming
ca2bdd54c7 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/branches/1.4@44433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 01:30:05 +00:00
Luigi Rizzo
85d81f17d1 as far as i can tell astman only uses newt...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 22:52:11 +00:00
Luigi Rizzo
00a6fcb35e put linker flags in ASTLDFLAGS where they belong
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 22:50:48 +00:00
Kevin P. Fleming
0ee719e52f 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/branches/1.4@44393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 21:17:30 +00:00
Kevin P. Fleming
5c4434d0e7 make LOW_MEMORY builds actually work
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 21:04:21 +00:00
Steve Murphy
c37666252d These changes fix the problems reported in bug 8090
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:57:08 +00:00
Kevin P. Fleming
ff05bf15c8 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/branches/1.4@44378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:47:22 +00:00
Steve Murphy
caa0d129f2 I've been meaning to add some explanation about muted... here it is
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 17:04:21 +00:00