dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

206 Commits

Author SHA1 Message Date
russell 4f3c4dc7f2 Do a massive conversion for using the ast_verb() macro
(closes issue #10277, patches by mvanbaak)

Basically, this changes ...

if (option_verbose > 2)
   ast_verbose(VERBOSE_PREFIX_3, "Something\n");

to ...

ast_verb(3, "Something\n");


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26 15:49:18 +00:00
file 899643789e Merged revisions 75619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r75619 | file | 2007-07-18 12:25:45 -0300 (Wed, 18 Jul 2007) | 2 lines

Don't bother reloading chan_h323 if it did not load successfully in the first place. This would otherwise cause a crash.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75620 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18 15:26:52 +00:00
file dfd569c434 Merged revisions 71576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71576 | file | 2007-06-25 10:13:45 -0400 (Mon, 25 Jun 2007) | 2 lines

Build a peer as well when hash323 is enabled in users.conf (issue #9599 reported by asagage)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71577 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25 14:15:05 +00:00
russell 7a0fe5c93f Convert uses of strdup() to ast_strdup()
(issue #9983, eliel)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69436 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 23:01:01 +00:00
russell f042431847 Add a massive set of changes for converting to use the ast_debug() macro.
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 19:39:12 +00:00
russell ae627acb2f Fix a bunch of doxygen errors and document more things
(issue #9842, snuffy)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68339 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07 23:07:25 +00:00
tilghman 017773401f ast_calloc janitor (Inspired by issue 9860)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66981 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-03 06:10:27 +00:00
russell a42bc96f14 Add a new API call for creating detached threads. Then, go replace all of the
places in the code where the same block of code for creating detached threads
was replicated.  (patch from bbryant)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65968 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 18:30:19 +00:00
russell 3d2428efd4 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
file doc/qos.tex has been updated to document the new functionality.
(issue #9540, patch submitted by IgorG)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62457 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-30 16:16:26 +00:00
murf 0b50472037 Merged revisions 60989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line

This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61152 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10 05:41:34 +00:00
oej 91d182e341 Change URL to OpenH323 (thanks, Tzafrir!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58822 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-12 09:37:13 +00:00
oej 10edb20a8e Doxygen additions, corrections
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56665 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24 20:29:41 +00:00
oej 9df447ca21 Creating new doxygen macro "\extref" to create page that lists
external libraries and URLs to these. Please help me add these
references.

We might want to create a similar macro "\linuxpackage" to list
the needed Linux packages in popular distributions.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56647 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24 19:27:50 +00:00
file 8adf5e3aa6 Update chan_h323 to new set_rtp_peer definition.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55351 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18 19:09:29 +00:00
pcadach 9e58b235fc Merged revisions 53881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53881 | pcadach | 2007-02-10 01:09:49 -0800 (Сбт, 10 Фев 2007) | 1 line

Fix VLDTMF reception
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53885 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-10 09:23:09 +00:00
pcadach 2357bb195e Oops -- Merged revisions 53057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53057 | pcadach | 2007-02-01 03:07:41 -0800 (Чтв, 01 Фев 2007) | 1 line

chan_h323 is very stable, so let it built by default
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53059 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01 11:16:00 +00:00
russell ee25f98f93 Merged revisions 53046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines

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

........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines

Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31 21:35:15 +00:00
pcadach a7eee02f0c 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: http://svn.digium.com/svn/asterisk/trunk@51623 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 06:56:26 +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
pcadach 1661f46268 Update ast_append_ha() usage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51221 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 06:59:22 +00:00
oej 98cbdc7b3c - Implement error handling in ast_append_ha
- Use this in chan_sip
- Document ha functions in acl.c


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49092 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 19:20:46 +00:00
oej 24a6192c23 Don't over-deprecate... :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47923 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 11:28:12 +00:00
file 2ebbeceba3 Make chan_h323 build again and make the CLI commands work. (reported on asterisk-dev mailing list by Di-Shi Sun)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47575 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13 19:14:39 +00:00
file 16a5827976 Merged revisions 47457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47457 | file | 2006-11-10 14:36:25 -0500 (Fri, 10 Nov 2006) | 2 lines

Let's give this a go...

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47459 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 19:40:01 +00:00
tilghman 597aa05da5 Merged revisions 47436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines

Discussion of these CLI changes resulted in more consistency (Bug 8236)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47439 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 17:01:06 +00:00
file 478281c3a7 Merged revisions 47405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47405 | file | 2006-11-09 22:44:36 -0500 (Thu, 09 Nov 2006) | 2 lines

Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47406 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 03:45:59 +00:00
murf 4d6996c27a A fair number of changes for the sake of bug 7506
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 21:47:49 +00:00
tilghman 1a3d9c15e0 Merged revisions 47053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines

More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47054 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 23:55:59 +00:00
kpfleming 470f688a28 Merged revisions 46200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines

apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25 14:44:50 +00:00
kpfleming cfed87ed3a Merged revisions 46154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46154 | kpfleming | 2006-10-24 19:26:17 -0500 (Tue, 24 Oct 2006) | 2 lines

add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46155 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25 00:32:23 +00:00
pcadach 8c428efa57 Merged revisions 44684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44684 | pcadach | 2006-10-07 20:39:34 +0600 (Сбт, 07 Окт 2006) | 1 line

Propagate caller's transfer capability too
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44686 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-07 14:48:32 +00:00
kpfleming 1a08d9e31b Merged revisions 44378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines

update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 19:51:38 +00:00
pcadach f32f144b02 Merged revisions 44166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44166 | pcadach | 2006-10-02 23:15:11 +0600 (Пнд, 02 Окт 2006) | 1 line

Optimization of oh323_indicate(): less locks - less problems, plus single exit point
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44187 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02 18:57:49 +00:00
pcadach 4344681c29 Merged revisions 44135 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44135 | pcadach | 2006-10-02 01:32:24 +0600 (Пнд, 02 Окт 2006) | 1 line

Do not simulate any audio tones if we got PROGRESS message
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44136 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-01 19:40:00 +00:00
pcadach 18f0e3efb4 Merged revisions 44009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44009 | pcadach | 2006-09-30 00:30:34 +0600 (Сбт, 30 Сен 2006) | 1 line

Pass TON/PRESENTATION information too
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44010 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 18:35:44 +00:00
pcadach 4ac9afef32 Handle HOLD/RETRIEVE notifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 10:41:38 +00:00
pcadach c6d618b89a Use ast_strdupa() instead of strdup(), thanks to sergee
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43763 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 12:32:06 +00:00
pcadach 6afd11ca94 Support for negotiation and receiption of Cisco's RTP DTMF
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-25 09:03:14 +00:00
pcadach 148879ffee Specify RFC2833 payload on dtmfmode option rather than dtmfcodec option (deprecated)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43575 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-24 18:59:38 +00:00
pcadach 11b3b49960 DTMF mode is bitmask, not valued field
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43574 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-24 18:53:44 +00:00
pcadach ede020dfe1 Define DTMF payload types
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-24 18:12:35 +00:00
pcadach 108937da65 Avoid possible deadlock on channel destruction
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43540 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-23 18:28:23 +00:00
pcadach 1e0cd5ceac Move from h.323 to h323 command prefix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43500 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22 20:33:47 +00:00
pcadach 37557227cd Fix compilation warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43498 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22 20:00:31 +00:00
tilghman 2a2a143966 Lots more removal of deprecated things
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 21:59:12 +00:00
pcadach 3d1a3d4296 Introduce Cisco G.726-32 capability (g726aal2 form)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43429 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 18:48:53 +00:00
pcadach 72833dbfdd Remove unnecessary (long time ago commented out) code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 18:08:42 +00:00
file cf87c5b3b6 Merge in latest round of chan_h323 changes. These are all isolated to chan_h323 so meh.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43331 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 16:24:00 +00:00
mattf 42a59d0531 Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 17:07:22 +00:00
kpfleming 5aacb6a82d merge qwell's CLI verbification work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00