Archived
14
0
Fork 0
Commit graph

15210 commits

Author SHA1 Message Date
dbailey
78694457f4 Change the time zone offset from a hard code to use res_phoneprov variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114456 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 22:50:33 +00:00
murf
137c1d8d9e (closes issue #12467)
Reported by: atis
Tested by: murf

This upgrade adds the ~~ (concatenation) string operator to expr2.
While not needed in normal runtime pbx operation, it is needed when
raw exprs are being syntax checked. This plays into future syntax-
unification plans. By permission of atis, this addition in trunk 
and the reason of why things are as they are will suffice to close
this bug.

I also added a short note about the previous addition of "sip show sched"
to the CLI in CHANGES, which I discovered I forgot in a previous commit.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114423 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 21:13:02 +00:00
mattf
724844c275 Add support for generic name transmission (#12484) on SS7 in chan_zap
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114389 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 18:44:35 +00:00
jpeeler
0cb9b81541 This removes an invalid warning message for an incorrectly entered pin, but more importantly removes an inapplicable check. If the first argument passed to app_authenticate does not contain a '/', the argument should be treated as the sole fixed "password" to match against and that is all. (Previous behavior was attempting to open a file based on the pin.)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114327 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 15:34:37 +00:00
russell
e2341e6bee Add a simple janitor project
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114325 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 15:01:04 +00:00
file
9279bf9d6d Merged revisions 114322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114322 | file | 2008-04-21 11:39:32 -0300 (Mon, 21 Apr 2008) | 4 lines

Only drop audio if we receive it without a progress indication. We allow other frames through such as DTMF because they may be needed to complete the call.
(closes issue #12440)
Reported by: aragon

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114323 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 14:40:33 +00:00
file
814861757a Only print out the error message if ldap_modify_ext_s actually returns an error, and not success.
(closes issue #12438)
Reported by: gservat
Patches:
      res_config_ldap.c-patch-code uploaded by gservat (license 466)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114320 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 14:34:06 +00:00
seanbright
72c0111028 Minor logging cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114314 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-20 14:52:07 +00:00
mattf
d110b0e236 SS7:Added - Generic Name / Access Transport / Redirecting Number handling. #12425
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-19 16:58:24 +00:00
tilghman
3b4f001901 Blocked revisions 114299 via svnmerge
........
r114299 | tilghman | 2008-04-19 08:57:17 -0500 (Sat, 19 Apr 2008) | 2 lines

Ensure that help text terminates with a newline

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114300 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-19 13:58:56 +00:00
tilghman
238aad8edc Blocked revisions 114297 via svnmerge
........
r114297 | tilghman | 2008-04-19 08:49:50 -0500 (Sat, 19 Apr 2008) | 4 lines

MOH usage information needs a terminating newline, or else
"asterisk -rx 'help moh reload'" will hang.  Reported via
-dev list, fixed by me.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114298 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-19 13:53:38 +00:00
seanbright
b15ebcc3aa Ignore refcounter
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114295 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-19 00:15:31 +00:00
russell
d12659fe30 Merged revisions 114284 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114284 | russell | 2008-04-18 16:48:06 -0500 (Fri, 18 Apr 2008) | 2 lines

Don't destroy a manager session if poll() returns an error of EAGAIN.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114285 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 21:51:05 +00:00
russell
2049774232 Merged revisions 114278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114278 | russell | 2008-04-18 15:01:09 -0500 (Fri, 18 Apr 2008) | 2 lines

ensure directories are created before we try to install stuff into them

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114279 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 20:01:47 +00:00
russell
d54a6d5827 Merged revisions 114275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114275 | russell | 2008-04-18 14:58:55 -0500 (Fri, 18 Apr 2008) | 2 lines

SUBDIRS_INSTALL is already listed as a subtarget for bininstall

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114276 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 19:59:17 +00:00
file
dac67d5b03 Make sure ADSI is marked as unavailable on Unistim channels so voicemail does not try to do some ADSI jazz.
(closes issue #12460)
Reported by: PerryB


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114271 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 19:35:33 +00:00
file
4fabc3fc02 Add MEETME_INFO dialplan function that allows querying various properties of a Meetme conference.
(closes issue #11691)
Reported by: junky
Patches:
      meetme_info.patch uploaded by jpeeler (license 325)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114261 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 18:15:11 +00:00
mmichelson
1b556f00bb Merged revisions 114257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114257 | mmichelson | 2008-04-18 12:44:29 -0500 (Fri, 18 Apr 2008) | 6 lines

Clearing up error messages so they make a bit more sense. Also removing a redundant error
message.

Issue AST-15


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114259 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 18:03:06 +00:00
file
c80bbab204 If the parsing of the config file fails make sure we unlock ldap_lock.
(closes issue #12477)
Reported by: IgorG


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114254 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 16:11:27 +00:00
dbailey
559a50aedd Add g__object_unref to clean up gmime message object
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114253 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 16:05:29 +00:00
russell
19aa5da91a Blocked revisions 114248 via svnmerge
........
r114248 | russell | 2008-04-18 10:24:09 -0500 (Fri, 18 Apr 2008) | 5 lines

Ensure that we don't ast_strdupa(NULL)
(closes issue #12476)
Reported by: davidw
Patch by me

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114249 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 15:25:50 +00:00
seanbright
8d7dc1e296 Merged revisions 114245 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114245 | seanbright | 2008-04-18 09:33:32 -0400 (Fri, 18 Apr 2008) | 1 line

Only complete the SIP channel name once for 'sip show channel <channel>'
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114246 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 13:38:07 +00:00
tilghman
b770616142 Merged revisions 114242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114242 | tilghman | 2008-04-18 01:49:16 -0500 (Fri, 18 Apr 2008) | 3 lines

For consistency sake, ensure that the values that ${CALLINGPRES} returns are valid as an
input to SetCallingPres.  (Closes issue #12472)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114243 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 06:53:47 +00:00
russell
b084c56193 Merged revisions 114230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114230 | russell | 2008-04-17 17:15:43 -0500 (Thu, 17 Apr 2008) | 6 lines

Remove redundant safety net.  The check for the autoservice channel list state
accomplishes the same goal in a better way.

(issue #12470)
Reported By: atis

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114233 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 22:24:00 +00:00
russell
a12ad00e36 Make this file compile. The variable str is never set anywhere. Furthermore,
it duplicates a lot of code.  I will leave it to murf to clean up.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114231 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 22:21:32 +00:00
jpeeler
473b76beed added info describing DNS manager
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 21:09:37 +00:00
mmichelson
be662a0ee1 Merged revisions 114226 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114226 | mmichelson | 2008-04-17 16:03:29 -0500 (Thu, 17 Apr 2008) | 9 lines

Declaration of the peer channel in this scope was making it so the peer variable defined
in the outer scope was never set properly, therefore making iterating through the channel
list always restart from the beginning. This bug would have affected anyone who called
chanspy without specifying a first argument.

(closes issue #12461)
Reported by: stever28


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114227 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 21:04:40 +00:00
mmichelson
8291a614a7 Blocked revisions 114211 via svnmerge
........
r114211 | mmichelson | 2008-04-17 11:50:46 -0500 (Thu, 17 Apr 2008) | 4 lines

Add prototype for ast_dsp_frame_freed. I'm not sure how this was
compiling before...


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114212 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 16:51:09 +00:00
mmichelson
e2b60bdefe Merged revisions 114207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114207 | mmichelson | 2008-04-17 11:28:03 -0500 (Thu, 17 Apr 2008) | 12 lines

It was possible for a reference to a frame which was part of a freed DSP to still be
referenced, leading to memory corruption and eventual crashes. This code change ensures
that the dsp is freed when we are finished with the frame. This change is very similar
to a change Russell made with translators back a month or so ago.

(closes issue #11999)
Reported by: destiny6628
Patches:
      11999.patch uploaded by putnopvut (license 60)
Tested by: destiny6628, victoryure


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114208 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 16:40:12 +00:00
russell
34c9a24433 Merged revisions 114204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114204 | russell | 2008-04-17 11:23:45 -0500 (Thu, 17 Apr 2008) | 3 lines

Fix the bininstall target to install from subdirs, as well.
(closes issue AST-8, patch from bmd at switchvox)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114205 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 16:25:29 +00:00
tilghman
084bd8a463 fileio.h does not exist; io.h does, though.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114202 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 15:12:52 +00:00
murf
7efc47b076 Thanks to snuff for finding these omissions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114201 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 14:45:16 +00:00
phsultan
4196fb6c52 Merged revisions 114198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114198 | phsultan | 2008-04-17 15:42:23 +0200 (Thu, 17 Apr 2008) | 2 lines

Use keepalives effectively in order diagnose bug #12432.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114199 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 13:46:17 +00:00
tilghman
a7b77f9c82 Merged revisions 114195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114195 | tilghman | 2008-04-17 07:56:38 -0500 (Thu, 17 Apr 2008) | 8 lines

Add special case for when the agi cannot be executed, to comply with the documentation that
we return failure in that case.
(closes issue #12462)
 Reported by: fmueller
 Patches: 
       20080416__bug12462.diff.txt uploaded by Corydon76 (license 14)
 Tested by: fmueller

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114196 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 12:59:04 +00:00
seanbright
68822de9df Update the CHANGES file with yesterday's ChanSpy change. Sorry Kevin, just saw your e-mail.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114194 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 12:25:23 +00:00
seanbright
2a329b3d37 Merged revisions 114191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114191 | seanbright | 2008-04-17 06:51:20 -0400 (Thu, 17 Apr 2008) | 1 line

Make sure we have enough room for the recording's filename.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114192 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 10:55:05 +00:00
murf
993e45a63b This is the scariest commit I've done in a long time. This is the astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114190 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 23:53:27 +00:00
tilghman
d9fc402428 Standardized routines for forking processes (keeps all the specialized code in one place).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114188 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 22:57:54 +00:00
murf
c99aa3db82 A small enhancement-- I added the routine log_show_lock to utils.c, which if the mentioned lock has been acquired, this routine will log to the console the normal info about that lock you'd see from the CLI when you do a 'core show locks'. It's solely for debug-- if the lock is NOT acquired, there is no output. I use it to show 'unexpected' locks, to see where/why a lock is pre-locked. This command is to be called from points of interest, like just before a trylock, and helps to spot fleeting, highly temporal locks that normally are not locked...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114187 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:54:41 +00:00
kpfleming
2076b70279 Merged revisions 114184 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114184 | kpfleming | 2008-04-16 15:46:38 -0500 (Wed, 16 Apr 2008) | 6 lines

use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to all zeroes in case it contains fields that we don't write values into (which it does as of Zaptel 1.4.10)

(closes issue #12456)
Reported by: fnordian


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114185 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:47:30 +00:00
murf
7ba4ed906e Introducing a small optimization to event_unsubscribe; events now use a Doubly-Linked list for events, gives fast deletions, for the sake of channel driver mwi events. From team/murf/bug11210.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114183 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:28:08 +00:00
murf
800b2ead72 Introducing a small upgrade to the ast_sched_xxx facility, to keep it from eating up lots of cpu cycles. See CHANGES. From the team/murf/bug11210 branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114182 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:09:39 +00:00
tilghman
464f3efc89 Blocked revisions 114180 via svnmerge
........
r114180 | tilghman | 2008-04-16 14:59:37 -0500 (Wed, 16 Apr 2008) | 3 lines

Backport revisions for latest vpb drivers to 1.4
(Closes issue #12457)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114181 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:00:27 +00:00
murf
d3a9bac0e7 Introducing various astobj2 enhancements, chief being a refcount tracing feature, and various documentation updates in astobj2.h, and the addition of standalone utility, refcounter, that will filter the trace output for unbalanced, unfreed objects. This comes from the team/murf/bug11210 branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114175 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:45:28 +00:00
qwell
8dd150d41c Blocked revisions 114173 via svnmerge
........
r114173 | qwell | 2008-04-16 12:30:09 -0500 (Wed, 16 Apr 2008) | 7 lines

Fix "fallthrough" behavior here, so config options in a previously configured user don't override settings in general.

(closes issue #12458)
Reported by: tzafrir
Patches:
      chanzap_users_sections.diff uploaded by tzafrir (license 46)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114174 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:31:02 +00:00
murf
9eb33a0a0e Introducing doubly linked lists to trunk from branch team/murf/bug11210.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114172 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:14:18 +00:00
file
f1ec6dee3d Blocked revisions 114167 via svnmerge
........
r114167 | file | 2008-04-16 11:10:46 -0300 (Wed, 16 Apr 2008) | 6 lines

Include the proper headers for using mkdir on FreeBSD.
(closes issue #12430)
Reported by: ys
Patches:
      app_meetme.c.diff uploaded by ys (license 281)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114168 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 14:11:18 +00:00
seanbright
1152ea8b17 Add the ability to disable channel technology name playback when speaking the current channel name
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114165 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 12:23:13 +00:00
tilghman
67c7e1e162 Oops, buffer wasn't long enough for query
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-15 20:51:08 +00:00
oej
f5a2dfcd7b Merged revisions 114148 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114148 | oej | 2008-04-15 22:26:05 +0200 (Tis, 15 Apr 2008) | 2 lines

Handle subscribe queues in all situations... Thanks to festr_ on irc for telling me about this bug.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114151 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-15 20:39:29 +00:00