Commit Graph

11039 Commits

Author SHA1 Message Date
Olle Johansson ec67ab7602 Adding some doxygen for udptl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 08:56:22 +00:00
Paul Cadach c543862805 Blocked revisions 51895 via svnmerge
........
r51895 | pcadach | 2007-01-24 00:04:59 -0800 (Срд, 24 Янв 2007) | 1 line

Allow x64 builds of H.323 (please, rebuild configure)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 08:07:19 +00:00
Russell Bryant dab41a355d Merged revisions 51848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51848 | russell | 2007-01-23 18:59:58 -0600 (Tue, 23 Jan 2007) | 14 lines

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

........
r51843 | russell | 2007-01-23 18:57:28 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix an issue related to synchronization of recordings when using Monitor().
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298, #8887, report and patch by guillecabeza, patch files created and
 testing done by whoiswes)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 01:00:57 +00:00
Joshua Colp 68c1f5338f Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:22:50 +00:00
Russell Bryant 19a8da7bed Merged revisions 51829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51829 | russell | 2007-01-23 18:19:55 -0600 (Tue, 23 Jan 2007) | 12 lines

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

........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines

Don't set a new value for the END_ variable on the channel before using the
old value.  If you do, it will lead to accessing a memory address that has
been free()'d.  (issue #8895, arkadia)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:21:32 +00:00
Joshua Colp ee3ab150f6 Merged revisions 51788 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51788 | file | 2007-01-23 17:46:31 -0500 (Tue, 23 Jan 2007) | 2 lines

Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:59:55 +00:00
Russell Bryant ac884e0c3a Merged revisions 51781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51781 | russell | 2007-01-23 16:04:01 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix some bugs in process_message().  The manager session lock needs to be held
when sending some sort of response, or calling one of the manager action
callbacks.  This resolves an issue where people using the GUI would get random
crashes when they start clicking around a lot.
(issue #8711, reported and debugged by zandbelt)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:09:23 +00:00
Russell Bryant d2aac79910 Blocked revisions 51755 via svnmerge
........
r51755 | russell | 2007-01-23 15:52:52 -0600 (Tue, 23 Jan 2007) | 2 lines

Fix setting the default port of 8088 on 64-bit or big-endian machines.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 21:54:35 +00:00
Russell Bryant 8137080816 Merged revisions 51750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51750 | russell | 2007-01-23 15:33:15 -0600 (Tue, 23 Jan 2007) | 4 lines

When traversing the list of manager actions, the iterator needs to be
initialized to the list head *after* locking the list.  Also, lock the actions
list in one place it is being accessed where it was not being done.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 21:38:31 +00:00
Steve Murphy 80435b54a5 Merged revisions 51716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51716 | murf | 2007-01-23 13:32:54 -0700 (Tue, 23 Jan 2007) | 1 line

this mod from 8593 (dstchannel in cdr is empty when transfer call).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 20:36:08 +00:00
Steve Murphy 4182cd1184 Merged revisions 51683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51683 | murf | 2007-01-23 11:58:27 -0700 (Tue, 23 Jan 2007) | 1 line

via 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggested this mod, saying it would allow 'WITHHELD' to appear in the name field, which would be useful
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 19:11:53 +00:00
Olle Johansson ef4db783c6 Issue #8817 - Registry corruption when packet retransmits fail. (tootai, patchy by oej)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 15:36:01 +00:00
Paul Cadach cd61f69a83 Merged revisions 51615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51615 | pcadach | 2007-01-22 22:51:51 -0800 (Пнд, 22 Янв 2007) | 1 line

Do not abort Asterisk startup if h323 configuration file not found (reported by mithraen)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 06:56:26 +00:00
Joshua Colp 1fda861ff8 Make 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue #8165 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 04:45:43 +00:00
Joshua Colp 34df128519 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: https://origsvn.digium.com/svn/asterisk/trunk@51560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 03:15:04 +00:00
Joshua Colp 5a25c156c6 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: https://origsvn.digium.com/svn/asterisk/trunk@51559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 03:02:09 +00:00
Joshua Colp 445abea012 No more conflicts on properties! svnmerge-block be gone!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 01:51:22 +00:00
Joshua Colp fa6d3941df 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: https://origsvn.digium.com/svn/asterisk/trunk@51514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 01:47:55 +00:00
Joshua Colp b86d65958f Might as well go crazy here too and make the autoservice list read/write.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 00:16:55 +00:00
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 00:11:32 +00:00
Joshua Colp dcdc6c0bc6 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: https://origsvn.digium.com/svn/asterisk/trunk@51467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 23:53:16 +00:00
Joshua Colp 39d3580ee4 Make the RTP stack better conform to coding guidelines. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 23:51:42 +00:00
Steve Murphy 85f65b1ff0 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: https://origsvn.digium.com/svn/asterisk/trunk@51413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:42:28 +00:00
Joshua Colp ea17720d1e 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: https://origsvn.digium.com/svn/asterisk/trunk@51408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:22:07 +00:00
Olle Johansson 1a5dfca2a1 Remove (to quote Rizzo) "useless" variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:00:25 +00:00
Tilghman Lesher f7dd25f20c Fix bug introduced during constification (reported by tzanger via IRC)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-21 03:25:57 +00:00
Russell Bryant 8724e1c42e Add a comment that the frame type constants are transmitted directly over IAX2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 18:27:35 +00:00
Jason Parker 641f38105a 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: https://origsvn.digium.com/svn/asterisk/trunk@51351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 06:54:45 +00:00
Jason Parker 9e220dfd97 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: https://origsvn.digium.com/svn/asterisk/trunk@51349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 06:18:09 +00:00
Russell Bryant d26bb9ccb6 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: https://origsvn.digium.com/svn/asterisk/trunk@51344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 00:13:52 +00:00
Russell Bryant c39e1b8246 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: https://origsvn.digium.com/svn/asterisk/trunk@51342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 22:34:13 +00:00
Russell Bryant cde480e400 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: https://origsvn.digium.com/svn/asterisk/trunk@51340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 21:21:03 +00:00
Russell Bryant 73409003e2 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: https://origsvn.digium.com/svn/asterisk/trunk@51332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 19:31:54 +00:00
Russell Bryant 3275357f20 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: https://origsvn.digium.com/svn/asterisk/trunk@51329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 19:09:04 +00:00
Russell Bryant e1c1095534 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: https://origsvn.digium.com/svn/asterisk/trunk@51327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 19:03:43 +00:00
Russell Bryant dcca8f345f 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: https://origsvn.digium.com/svn/asterisk/trunk@51314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 18:06:03 +00:00
Luigi Rizzo 9d509eaf76 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: https://origsvn.digium.com/svn/asterisk/trunk@51312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 18:00:00 +00:00
Luigi Rizzo e7c5029d23 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: https://origsvn.digium.com/svn/asterisk/trunk@51310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:48:48 +00:00
Luigi Rizzo a52fa7e5ad sizeof() is compatible with format %d so don't be too
picky on printf formats.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:45:46 +00:00
Luigi Rizzo 455ea1c99e remove variable declaration in the middle of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:38:28 +00:00
Russell Bryant 3808ad7535 Regenerate configure script to reflect recent zaptel changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:19:59 +00:00
Russell Bryant c2eba9d0df Include tonezone.h for linux, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:19:45 +00:00
Russell Bryant 32339eedfb 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: https://origsvn.digium.com/svn/asterisk/trunk@51303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:02:36 +00:00
Luigi Rizzo 80243d0f0c forgot to add AST_LIBS += $(BKTR_LIB)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:51:31 +00:00
Luigi Rizzo 5b9114fa73 include "asterisk/zapata.h" to get the zaptel headers.
this should be the last one left around...



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:40:25 +00:00
Luigi Rizzo 0a8d59d88a whoops, fix a cut&paste error...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:35:37 +00:00
Luigi Rizzo 03fc21712a slight change to the initialization of a structure,
also using '\0' to make it clear we need a (char)0



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:32:05 +00:00
Russell Bryant 606ee0dab4 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: https://origsvn.digium.com/svn/asterisk/trunk@51296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:30:00 +00:00
Luigi Rizzo 3fefb9d516 include "asterisk/zapata.h" to get the zaptel headers.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:28:24 +00:00
Luigi Rizzo b005ea3eee include "asterisk/zapata.h" to get the zaptel headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:24:11 +00:00