Commit Graph

9938 Commits

Author SHA1 Message Date
Christian Richter
a05d2ebb96 avoiding warning, fixing potential bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 19:19:46 +00:00
Joshua Colp
8a9517ba9a And file said... let the compiler warnings STOP!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 18:42:49 +00:00
Joshua Colp
ba3ac1c86b Merged revisions 45060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45060 | file | 2006-10-13 13:01:22 -0400 (Fri, 13 Oct 2006) | 2 lines

Turn on volume adjustment if it needs to be on (issue #8136 reported by mnicholson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 17:05:02 +00:00
Joshua Colp
c1f12bd5ad Move say.conf existence check to do_say function since it is called from multiple places (issue #8144 reported by kshumard)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 16:20:58 +00:00
Kevin P. Fleming
7f8528f21c Merged revisions 45048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45048 | kpfleming | 2006-10-13 11:18:08 -0500 (Fri, 13 Oct 2006) | 2 lines

when sending a call to a peer, use the proper socket if we have multiple bindings (reported on asterisk-dev)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 16:19:35 +00:00
Joshua Colp
1bfbc1419a Complete merging in RPID screen changes (issue #8101 reported by hristo, patch by oej in revision 44757)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 16:01:17 +00:00
Joshua Colp
a825206313 Merged revisions 45030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45030 | file | 2006-10-13 11:49:53 -0400 (Fri, 13 Oct 2006) | 2 lines

Pass the right value to usleep for sleeping, and always add the background refresh item back into the scheduler if enabled since it is deleted during reload. (issue #8142 reported by p_lindheimer)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 15:53:22 +00:00
Kevin P. Fleming
1944a9a07c 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/branches/1.4@45027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 15:41:14 +00:00
Christian Richter
3a602aa1d7 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/branches/1.4@45026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 14:45:39 +00:00
Christian Richter
887395b103 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/branches/1.4@44994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 07:52:41 +00:00
Luigi Rizzo
0e230d79d8 merge formatting and minor code simplifications from trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 22:07:11 +00:00
Matt O'Gorman
0c4d8edca6 fix for bug 7764.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 20:34:49 +00:00
Kevin P. Fleming
ec4bf13915 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/branches/1.4@44971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 19:14:24 +00:00
Kevin P. Fleming
09f6a6a167 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/branches/1.4@44956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 18:38:51 +00:00
Russell Bryant
def01ced3d fix a silly typo in a comment that I saw while reading the commit list
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 16:56:32 +00:00
Joshua Colp
4a4fc523b8 Pass off AUDIO_LIBS so muted can link on OSX (issue #8135 reported by ssokol)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 16:08:50 +00:00
Nadi Sarrar
8adb217804 append_event must be called while holding the session lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 12:55:25 +00:00
Russell Bryant
fecc14cd0f change some debug output to use LOG_DEBUG instead of verbose output
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 10:24:36 +00:00
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