Commit graph

5572 commits

Author SHA1 Message Date
Mark Spencer
86ec024624 Fix music on hold leak (bug #4842)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-28 18:37:55 +00:00
Mark Spencer
9f136f57fe Don't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-28 18:24:04 +00:00
Mark Spencer
716a669818 Remove per-context maxmsg which should never have made it in (bug #4843)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-28 18:14:13 +00:00
Russell Bryant
9d880dd2b2 remove useless call to time() and an extra variable when we can just use the
one we already have


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 23:05:52 +00:00
Russell Bryant
50a1d758d5 the time must be initialized for the 'n' option to actually work (bug #4834)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 22:55:48 +00:00
Russell Bryant
bbb33e5c41 don't crash if no group is specified (bug #4836)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 22:43:18 +00:00
Russell Bryant
80af1153bc fix warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 22:19:49 +00:00
Russell Bryant
5196d60538 use Set instead of SetVar in the sample so that we don't get warnings when
running the demo :-)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 05:45:52 +00:00
Jeremy McNamara
adae4181f0 Stomp on deadlock. Bug #4555
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 04:45:11 +00:00
Jeremy McNamara
2fc8abd8ae one-way-audio problem on multihomed host with bind to secondary address. Bug #4505
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 04:39:53 +00:00
Kevin P. Fleming
11891d28da and now we know why #define-ing constants and trying to keep them in sequence is a bad idea...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 02:17:06 +00:00
Kevin P. Fleming
9080884688 fix breakage that was causing PUBLISH to be sent instead of CANCEL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 00:58:54 +00:00
Kevin P. Fleming
f99dcb7586 add a few const's
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 00:32:37 +00:00
Kevin P. Fleming
b774d41660 enhance SIP_PEER function to return additional items (bug #4816)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 22:13:31 +00:00
Kevin P. Fleming
531554d835 additional documentation of options (bug #4811)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 22:05:50 +00:00
Kevin P. Fleming
bafebbd909 warn users about voicemail menu structure change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 21:57:32 +00:00
Kevin P. Fleming
c4c9401efd make queue and interface name matching case-insensitive (bug #4815)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 21:53:56 +00:00
Kevin P. Fleming
2c0f42361e correct comment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 21:49:07 +00:00
Kevin P. Fleming
5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 16:29:56 +00:00
Russell Bryant
a657d3a7fa fix build issue for FreeBSD (bug #4802)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 14:40:41 +00:00
Kevin P. Fleming
4df19fa1c2 clean up SIP response and pedantic REGISTER matching (bug #3663)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:26:47 +00:00
Kevin P. Fleming
8703628608 add explanatory comment about timestamp compensation (bug #4763)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:13:20 +00:00
Kevin P. Fleming
f6c059d451 process asterisk.conf in a single pass, instead of twice (bug #4689)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:09:13 +00:00
Russell Bryant
0d695659ca don't set the event mask if the given eventmask was not valid
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:01:39 +00:00
Russell Bryant
eb7f5e8d0b make sure a reponse is sent when setting the EventMask to on (bug #4799)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:58:34 +00:00
Kevin P. Fleming
f358db3d43 use CDR API calls instead of re-implementing them (bug #4726)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:56:18 +00:00
Kevin P. Fleming
307566933f more extensive documentation (bug #4444)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:52:25 +00:00
Kevin P. Fleming
e355c40279 add some basic documentation about asterisk.conf (bug #4758, rewritten)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:38:54 +00:00
Kevin P. Fleming
ae95c5d7e1 allow longer file version strings (bug #4765)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:19:13 +00:00
Kevin P. Fleming
9b8ee1f3e4 set the 'number complete' bit properly (bug #4771)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:16:35 +00:00
Kevin P. Fleming
8b3f4e3022 formatting cleanups (bug #4782)
fill out some Manager events with additional headers (bug #4782)
re-word some log messages to be clearer (bug #4782)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:13:32 +00:00
Kevin P. Fleming
1a5aa9c836 add dedicated function for adding Content-Length header (bug #4795)
use ast_build_string to build large text bodies (bug #4795)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 21:58:32 +00:00
Russell Bryant
829a14ed07 remove the need to have the BUSYDETECT routine defined in the CFLAGS unless
you want to use one other than the default


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 21:57:14 +00:00
Kevin P. Fleming
6596f8496e _really_ rewrite get_in_brackets to do the right thing (including skipping escaped double-quote characters)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 21:40:17 +00:00
Russell Bryant
8223580a4a formatting and callingpres support (bug #4787)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 20:04:46 +00:00
Kevin P. Fleming
6d7b939467 ensure translators don't generate old timestamps when silent periods end (bug #4707 with formatting fixes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 19:41:39 +00:00
Kevin P. Fleming
ff5409507c minor updates (bug #4777)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 19:17:43 +00:00
Kevin P. Fleming
a0acccffa5 fix line-ending style (bug #4778)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 19:13:21 +00:00
Kevin P. Fleming
654f3909e2 minor updates (bug #4779)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 19:11:19 +00:00
Russell Bryant
f34930313c get rid of potential memory leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 19:10:38 +00:00
Kevin P. Fleming
6074f3441a add MD5-hash matching (bug #4764, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:59:11 +00:00
Kevin P. Fleming
1aa875b656 combine bracket-removing functions (bug #4794, with compiler warning mod)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:36:58 +00:00
Russell Bryant
cdf79750c0 squash a warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:34:40 +00:00
Kevin P. Fleming
1e9beaa1d2 ensure that port number in URI is presented when needed (bug #4784)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:11:19 +00:00
Kevin P. Fleming
a953eb06c3 formatting cleanups (bug #4786, with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 18:09:04 +00:00
Kevin P. Fleming
1153f74259 add plain-text hangup cause private header to outbound BYE/CANCEL (bug #4783 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:39:48 +00:00
Russell Bryant
eeb34ffd63 more formatting fixes! (bug #4780)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:31:53 +00:00
Kevin P. Fleming
5238d544e9 ensure socket address family is copied (bug #4789)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:31:50 +00:00
Russell Bryant
36093d24f7 get rid of a warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:27:36 +00:00
Russell Bryant
76b6344760 add ability to set or read both callerid name and num in one call to the function
This one is for you, Mark :-p


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:26:59 +00:00