dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

11126 Commits

Author SHA1 Message Date
file af01b998e1 Make 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue #8165 reported by mnicholson)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51592 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 04:45:43 +00:00
file f6e99009de Add SRV Lookup support on outbound calls to chan_iax2. It's listed in the RFC so we might want to support it and please don't hurt me Marko ... (issue #7812 reported by drorlb)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51560 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 03:15:04 +00:00
file b076eb2564 Merged revisions 51558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51558 | file | 2007-01-22 22:00:12 -0500 (Mon, 22 Jan 2007) | 2 lines

Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51559 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 03:02:09 +00:00
file 2c26c7a4cf No more conflicts on properties! svnmerge-block be gone!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51515 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 01:51:22 +00:00
file 62a8ee7772 Merged revisions 51513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51513 | file | 2007-01-22 20:45:04 -0500 (Mon, 22 Jan 2007) | 10 lines

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

........
r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan 2007) | 2 lines

Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51514 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 01:47:55 +00:00
file bbbb5ec421 Might as well go crazy here too and make the autoservice list read/write.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51487 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 00:16:55 +00:00
file cd15e6156e Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 00:11:32 +00:00
file 363b34c1e9 Change RTP protos list to be read/write. Most of the time it's only going to be read so making it use mutex locks was a waste.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22 23:53:16 +00:00
file 98bcb4fcb0 Make the RTP stack better conform to coding guidelines. (issue #8679 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22 23:51:42 +00:00
murf 47046d0ba7 Merged revisions 51409 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51409 | murf | 2007-01-22 12:28:51 -0700 (Mon, 22 Jan 2007) | 1 line

This fixes 8836, according to dnatural
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51413 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22 19:42:28 +00:00
file e50a0640bd Merged revisions 51407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51407 | file | 2007-01-22 14:13:44 -0500 (Mon, 22 Jan 2007) | 10 lines

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

........
r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan 2007) | 2 lines

Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51408 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22 19:22:07 +00:00
oej 0bf83c44b8 Remove (to quote Rizzo) "useless" variable.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51405 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22 19:00:25 +00:00
tilghman bf11804cf1 Fix bug introduced during constification (reported by tzanger via IRC)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-21 03:25:57 +00:00
russell 4c89bb0cf2 Add a comment that the frame type constants are transmitted directly over IAX2.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51352 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-20 18:27:35 +00:00
qwell 53d316df05 Merged revisions 51350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51350 | qwell | 2007-01-20 00:53:49 -0600 (Sat, 20 Jan 2007) | 5 lines

Fix Italian numeral support in say.conf for "_[2-9]00" case.

"2131" would've translated to something along the lines of (pardon my..Italian {or lack thereof})
  "duecentocentotrentuno", which makes no sense at all.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51351 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-20 06:54:45 +00:00
qwell fae338754e Merged revisions 51348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51348 | qwell | 2007-01-20 00:16:06 -0600 (Sat, 20 Jan 2007) | 8 lines

Fix German language support in say.conf

Properly support 21, 31, 41, 51, 61, 71, 81, and 91.
  einundzwanzig has the same format as zweiundzwanzig (as do all other "_ZX" spoken numerals)

Fix support for numbers in the 10,000,000 to 99,999,999 range.
Add support for numbers in the 100,000,000 to 999,999,999 range.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51349 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-20 06:18:09 +00:00
russell 139a802987 Merged revisions 51343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51343 | russell | 2007-01-19 18:13:06 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove an unused instance of an unnamed enum.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51344 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-20 00:13:52 +00:00
russell ad0a788fca Merged revisions 51341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51341 | russell | 2007-01-19 16:19:10 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove another duplicated definition

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51342 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 22:34:13 +00:00
russell 4430ca3d67 Merged revisions 51339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51339 | russell | 2007-01-19 15:20:20 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove a variable that was declared twice.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51340 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 21:21:03 +00:00
russell 5e125dba8f Merged revisions 51331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51331 | russell | 2007-01-19 13:30:54 -0600 (Fri, 19 Jan 2007) | 3 lines

Add a couple more processors that need optimizations excluded.
(issue #8637)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51332 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 19:31:54 +00:00
russell e0f20efc9b Merged revisions 51328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51328 | russell | 2007-01-19 13:08:25 -0600 (Fri, 19 Jan 2007) | 5 lines

Fix VLDTMF support in chan_gtalk.  AST_FRAME_DTMF and AST_FRAME_DTMF_END are
actually the same thing.  So, a digit would have been interpreted incorrectly
here.  Since the channel driver will always have the begin and end callbacks
called for a digit, only support the button-down and button-up messages.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 19:09:04 +00:00
russell 28fc9842d6 Merged revisions 51326 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51326 | russell | 2007-01-19 13:02:55 -0600 (Fri, 19 Jan 2007) | 2 lines

Bump the cleancount since my last commit changed the channel structure.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 19:03:43 +00:00
russell f91595d103 Merged revisions 51311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines

Merge the changes from the /team/group/vldtmf_fixup branch.

The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged.  So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio.  However,
since there was no audio coming in, the DTMF_END was never generated.  This
caused DTMF based features to no longer work.

To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf).  If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.

Channel drivers also now get passed the length of the digit to their digit_end
callback.  This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.

(issue #8597, maybe others...)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51314 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 18:06:03 +00:00
rizzo 8358f66e73 As the comment in the diff says:
AST_INLINE_API() is a macro that takes a block of code as an argument.
Using preprocessor #directives in the argument is not supported by all
compilers, and it is a bit of an obfuscation anyways, so avoid it.
As a workaround, define a macro that produces either its argument
or nothing, and use that instead of #ifdef/#endif within the
argument to AST_INLINE_API().



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51312 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 18:00:00 +00:00
rizzo 3c6e4ff612 in the interest of portability, avoid using %zd when all
we need is to print is an integer that fits in 16 bits.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51310 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:48:48 +00:00
rizzo 84edbd709c sizeof() is compatible with format %d so don't be too
picky on printf formats.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51309 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:45:46 +00:00
rizzo 21c2f9dfd0 remove variable declaration in the middle of a block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51308 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:38:28 +00:00
russell 18b9da7de3 Regenerate configure script to reflect recent zaptel changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51305 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:19:59 +00:00
russell 1f9c96e98d Include tonezone.h for linux, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51304 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:19:45 +00:00
russell fdfddd745a Merged revisions 51302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51302 | russell | 2007-01-19 10:56:17 -0600 (Fri, 19 Jan 2007) | 12 lines

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

........
r51300 | russell | 2007-01-19 10:44:09 -0600 (Fri, 19 Jan 2007) | 4 lines

Fix a memory leak on command line tab completion.  The container for the
matches was freed, but the individual matches themselves were not.
(issue #8851, arkadia)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51303 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:02:36 +00:00
rizzo dd2d4360e6 forgot to add AST_LIBS += $(BKTR_LIB)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51301 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:51:31 +00:00
rizzo 0296424b69 include "asterisk/zapata.h" to get the zaptel headers.
this should be the last one left around...



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:40:25 +00:00
rizzo 78ca0b0e7c whoops, fix a cut&paste error...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51298 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:35:37 +00:00
rizzo 397696742a slight change to the initialization of a structure,
also using '\0' to make it clear we need a (char)0



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51297 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:32:05 +00:00
russell 2da13ceac8 Break out of the config processing loop for manager.conf once the correct user
has been found so that 'cat' is non-NULL.  This way, users.conf is only checked
when necessary.  (issue #8852, akohlsmith, committed patch a bit different)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51296 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:30:00 +00:00
rizzo f760c40aef include "asterisk/zapata.h" to get the zaptel headers.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51295 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:28:24 +00:00
rizzo de9af03a02 include "asterisk/zapata.h" to get the zaptel headers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51294 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:24:11 +00:00
rizzo 86820c1e16 include "asterisk/zapata.h" instead of testing for
the location of the header files.

On passing, add a cast to insure -Werror clean compilation
on FreeBSD 6.x, where time_t does not match %ld



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51293 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:21:24 +00:00
rizzo 6897a0cbe0 include "asterisk/zapata.h" instead of looking
directly for the zaptel.h and tonezone.h



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51292 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:16:19 +00:00
rizzo 9b8b765eb7 another freebsd-specific check for zaptel compatibility
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 15:59:05 +00:00
rizzo 209acd6684 Add a stub file to find the zaptel headers in the right
place, rather than repeating the check on every single file.

Changes to the individual files are coming.

The header file name has been suggested by kevin.

Approved by: kpfleming



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51290 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 15:48:13 +00:00
rizzo c9e87c0635 forgot to add BKTR_INCLUDE and BKTR_LIB in makeopts.in
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51289 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 15:32:17 +00:00
rizzo 4e463b1cad add comments that AC_USE_SYSTEM_EXTENSIONS and AST_PROG_LD
do not work on FreeBSD - presumably they depend on some
auto* feature that is not installed by default.

I am not sure on what is a proper fix. In my local copy
i simply comment them out.

The AST_PROG_LD is a long standing isse, there were attempts
to fix it in the past but probably not enough has been copied
to acinclude.m4, and i had forgotten about it because i
commented out this call in configure.ac long ago



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51288 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:44:55 +00:00
rizzo 062db24b7c Add check for backtrace support on platforms that do not have
it natively.

Part of it leaked in in a previous commit.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51287 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:39:02 +00:00
rizzo 592f4faece remove a useless (and harmful on some platforms) -lnsl
from IKSEMEL_LIB.

Actually i am not even sure whether
-lgcrypt -lgpg-error are needed.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51286 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:36:27 +00:00
rizzo 1b4f5d64c7 simplify checking for zaptel version and location
(for linux, this is functionally equivalent to the previous
method; for FreeBSD, it re-adds inspection in $PREFIX/zaptel.h).

Please wait to regenerate the "configure" file as i have
another few pending changes to configure.ac

Not applicable to 1.4 until acinclude.m4 is also updated.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51285 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:32:13 +00:00
dhubbard 1527f6b883 Merged revisions 51274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51274 | dhubbard | 2007-01-18 18:17:32 -0600 (Thu, 18 Jan 2007) | 3 lines

chan_zap compiles without libpri after committing 7877 patch


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51275 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 00:28:25 +00:00
dhubbard a8ff2acd32 Merged revisions 51272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51272 | dhubbard | 2007-01-18 17:56:49 -0600 (Thu, 18 Jan 2007) | 11 lines

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

........
r51271 | dhubbard | 2007-01-18 17:47:10 -0600 (Thu, 18 Jan 2007) | 3 lines

issue 7877: chan_zap module reload does not use default/initialized values on subsequent loads.  Reset configuration variables to default values prior to parsing configuration file.


........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51273 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 00:06:35 +00:00
qwell 189872a68e Merged revisions 51265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51265 | qwell | 2007-01-18 16:50:23 -0600 (Thu, 18 Jan 2007) | 4 lines

Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.

Issue 8832, patch(es) by tgrman

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51266 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 22:56:35 +00:00
russell 7f1c29e56e Merged revisions 51262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51262 | russell | 2007-01-18 15:54:23 -0600 (Thu, 18 Jan 2007) | 5 lines

Ensure that the locations given to the Asterisk configure script for ncurses,
curses, termcap, or tinfo are further passed along to the editline configure
script.  This fixes some cross-compilation environments.
(issue #8637, reported by ovi, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 21:57:55 +00:00