Commit graph

741 commits

Author SHA1 Message Date
Joshua Colp
82641ec8d3 Merged revisions 59089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59089 | file | 2007-03-21 14:08:57 -0400 (Wed, 21 Mar 2007) | 2 lines

Add svg mimetype for pari.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 18:10:01 +00:00
Joshua Colp
7669c0ede7 Make the database show command spit out how many results it got. (issue #9332 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 02:46:02 +00:00
Tilghman Lesher
058ec10e42 Merged revisions 59078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59078 | tilghman | 2007-03-20 16:04:52 -0500 (Tue, 20 Mar 2007) | 2 lines

Fix defines for inline stack backtraces (only used by developers anyway)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 21:06:11 +00:00
Joshua Colp
42a36967c8 It is possible for mod to become invalid after we unload it (if it's a dynamic module) so move it around a bit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 22:32:40 +00:00
Tilghman Lesher
433a7a721c Merged revisions 58946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58946 | tilghman | 2007-03-15 18:52:48 -0500 (Thu, 15 Mar 2007) | 2 lines

Refashion dump command to match common syntax and update the resulting appdocs TeX file

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 00:04:00 +00:00
Tilghman Lesher
8c4c5d9910 Fix trunk so that it compiles again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 00:02:43 +00:00
Russell Bryant
1cf3a12047 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:29:45 +00:00
Joshua Colp
ddca41798b Merged revisions 58783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58783 | file | 2007-03-11 21:21:12 -0400 (Sun, 11 Mar 2007) | 2 lines

Allow RFC2833 compensation to compensate for even stupider implementations by queueing up the end frame at the start, not the actual end. (issue #8963 reported by AndrewZ)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 01:22:29 +00:00
Kevin P. Fleming
1187fbd701 grammatical errors are bad, mmmkay?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-11 21:57:05 +00:00
Jason Parker
6cce2f3311 Add CLI command "marko show birthday" to show "birthday information"
for Mark Spencers upcoming 30th birthday.

To enable, run `make menuselect` and select the option MARKO_BDAY under Compiler Flags.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-11 16:43:14 +00:00
Joshua Colp
2ab6ed30cd Merged revisions 58436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58436 | file | 2007-03-08 13:01:00 -0500 (Thu, 08 Mar 2007) | 2 lines

Make early SDP seeding even smarter! We have to check codecs in the make_compatible function too. (issue #9221 reported by marcelbarbulescu)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 18:05:54 +00:00
Joshua Colp
6dc98369bf Merged revisions 58389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58389 | file | 2007-03-08 11:07:10 -0500 (Thu, 08 Mar 2007) | 10 lines

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

........
r58388 | file | 2007-03-08 11:04:58 -0500 (Thu, 08 Mar 2007) | 2 lines

Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 16:09:23 +00:00
Kevin P. Fleming
a37ed6decb Merged revisions 58354 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58354 | kpfleming | 2007-03-08 08:23:46 -0500 (Thu, 08 Mar 2007) | 2 lines

this change was not needed; fclose() handles closing the file descriptor already

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 13:27:02 +00:00
Kevin P. Fleming
4a1a0993f2 Merged revisions 58351-58352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58351 | kpfleming | 2007-03-08 08:17:17 -0500 (Thu, 08 Mar 2007) | 2 lines

fix two cases where HTTP session file descriptors would not be closed

........
r58352 | kpfleming | 2007-03-08 08:17:42 -0500 (Thu, 08 Mar 2007) | 2 lines

fix a compiler warning, and overwriting 'res' value

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 13:21:38 +00:00
Joshua Colp
21b9973d21 Make the loader less noisy under valgrind.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 20:05:05 +00:00
Joshua Colp
e7da006562 Merged revisions 58240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58240 | file | 2007-03-07 12:52:58 -0500 (Wed, 07 Mar 2007) | 2 lines

Ensure we have (or should have) at least one matching codec before attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 17:55:11 +00:00
Russell Bryant
a36a9ade5e Add the format of the file that is currently being played to the verbose message.
(issue #9105, junky)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 01:07:16 +00:00
Russell Bryant
53dca1a7e4 Merged revisions 58165 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58165 | russell | 2007-03-06 18:25:19 -0600 (Tue, 06 Mar 2007) | 12 lines

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

........
r58164 | russell | 2007-03-06 18:20:13 -0600 (Tue, 06 Mar 2007) | 4 lines

If the channels acquired using the manager Redirect action are not up, then
don't attempt to do anything with them.  It could lead to weird behavior,
including crashes.  (issue #8977)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 00:26:01 +00:00
Luigi Rizzo
972156c182 move declaration to the beginning of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 08:51:45 +00:00
Steve Murphy
96fe5e2286 Merged revisions 57826 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57826 | murf | 2007-03-05 08:20:17 -0700 (Mon, 05 Mar 2007) | 9 lines

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

........
r57825 | murf | 2007-03-05 07:53:57 -0700 (Mon, 05 Mar 2007) | 1 line

Fixed a typo introduced via 9156 (either the gotos or their doc strings are wrong)
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 15:30:37 +00:00
Joshua Colp
1db9dc0c9a Merged revisions 57798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57798 | file | 2007-03-04 23:19:53 -0500 (Sun, 04 Mar 2007) | 2 lines

Don't allow a NULL pointer to reach ast_frdup. (issue #9155 reported by cmaj)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 04:21:28 +00:00
Joshua Colp
aabe0abaee Merged revisions 57768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57768 | file | 2007-03-04 22:22:17 -0500 (Sun, 04 Mar 2007) | 2 lines

Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 03:24:18 +00:00
Tilghman Lesher
590cb3a6fa Expand datastores to add the notion of inheritance. This will be needed for
the conversion of IAX2 variables from the current custom method to ast_storage.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 14:40:18 +00:00
Dwayne M. Hubbard
26b4c4344a Merged revisions 57620 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57620 | dhubbard | 2007-03-02 18:59:24 -0600 (Fri, 02 Mar 2007) | 1 line

submitted patch for Georgian language, issue 9010, submitted by Alexander Shaduri
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 01:11:36 +00:00
Joshua Colp
96693aca99 Don't try to do recursive locking/unlocking when it isn't supported.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 18:05:29 +00:00
Steve Murphy
1220306aab Merged revisions 57473 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57473 | murf | 2007-03-02 09:55:16 -0700 (Fri, 02 Mar 2007) | 9 lines

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

........
r57458 | murf | 2007-03-02 09:39:33 -0700 (Fri, 02 Mar 2007) | 1 line

further refinement in wording of goto documentation, as per 9156, goto not proceeding to next instruction
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 17:03:47 +00:00
Russell Bryant
40e95cd19d Add the channel's Language to the "show channel" CLI command and the DumpChan
application.  (issue #9187, Junky)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 16:59:22 +00:00
Russell Bryant
9802426219 Merged revisions 57396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57396 | russell | 2007-03-01 18:20:44 -0600 (Thu, 01 Mar 2007) | 4 lines

Return the correct digit that interrupted the stream.  This fixes exiting the
Background application when using the m option.
(issue #9176, mjagdis)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 00:22:22 +00:00
Russell Bryant
b4a29c3782 Constify the list of codec preferences.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 20:24:59 +00:00
Joshua Colp
5bc0d8d324 Minor code cleanup... nothing to write home about.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 00:08:18 +00:00
Joshua Colp
e7b03a991e Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 20:46:01 +00:00
Steve Murphy
462f759e67 Merged revisions 57139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57139 | murf | 2007-02-28 12:23:05 -0700 (Wed, 28 Feb 2007) | 9 lines

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

........
r57118 | murf | 2007-02-28 12:12:41 -0700 (Wed, 28 Feb 2007) | 1 line

a small documentation update, to reflect reality in the goto doc strings, as per 9156, Goto does not proceed to next prio if jump fails
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:30:58 +00:00
Joshua Colp
9577a1c65a Merged revisions 56805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56805 | file | 2007-02-26 12:09:53 -0500 (Mon, 26 Feb 2007) | 2 lines

Use ast_strlen_zero to see if the language and/or context argument is not present for Background instead of just checking if it is NULL. (issue #9141 reported by mjagdis)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 17:12:18 +00:00
Joshua Colp
cda7883ffd Merged revisions 56783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56783 | file | 2007-02-26 11:36:08 -0500 (Mon, 26 Feb 2007) | 2 lines

Allow both of the show version files and core show file versions CLI commands to work. (issue #9135 reported by mvanbaak)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 16:38:10 +00:00
Russell Bryant
4e752903bb Remove redundant check to ensure that LOW_MEMORY is not defined.
(issue #9136, mvanbaak)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 00:38:49 +00:00
Tilghman Lesher
b0f60e7496 Merged revisions 56685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56685 | tilghman | 2007-02-25 08:46:41 -0600 (Sun, 25 Feb 2007) | 11 lines

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

........
r56684 | tilghman | 2007-02-25 08:38:03 -0600 (Sun, 25 Feb 2007) | 3 lines

Issue 9130 - If prev is the last item on the channel list, then evaluating
additional conditions (e.g. name prefix) will cause a NULL dereference.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-25 14:53:40 +00:00
Olle Johansson
75d387acbc Doxygen additions, corrections
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 20:29:41 +00:00
Olle Johansson
e916cf45da Doxygen updates and corrections
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 19:49:11 +00:00
Russell Bryant
dbd7334dcc Merged revisions 56505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56505 | russell | 2007-02-23 17:24:18 -0600 (Fri, 23 Feb 2007) | 16 lines

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

........
r56504 | russell | 2007-02-23 17:20:55 -0600 (Fri, 23 Feb 2007) | 8 lines

Fix up a couple more signal handlers to not do bad things that could cause
various undesirable results.  The other day, I made Asterisk deadlock by
hitting Control-C because of a bad signal handler.  Now, signal handlers
just set a flag and write to an alert pipe for the flag to be handled.  Then,
there is another thread that is monitoring for these flags.  If being run in
console mode, it is just the main thread.  If Asterisk is in the background,
a thread is created to do it.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 23:25:22 +00:00
Joshua Colp
acf96db39f Merged revisions 56457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56457 | file | 2007-02-23 16:53:41 -0500 (Fri, 23 Feb 2007) | 2 lines

Change log notice to debug. It is possible for a scheduled item to execute and be deleted at close to the same time and unavoidable. If this happens this message creeps up.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 21:57:07 +00:00
Russell Bryant
0d3a211335 Introduce a new manager action, GetConfigJSON, which is intended to improve
performance of the GUI.  This encodes the configuration into the JSON format
in a manager header, "JSON: ".  The encoded information can be directly used
as a javascript object, so no parsing is needed.  For large configuration
files, this can greatly improve loading times in the GUI. Furthermore, the 
encoding takes up a lot less space when being transmitted than the other 
alternatives.  (Inspired by discussion with Pari)

Here is an example of what you get:
http://localhost:8088/asterisk/rawman?action=getconfigjson&filename=users.conf

Response: Success
JSON: {"general":["hasvoicemail=yes"],"6000":["fullname=russell","secret=1234"]}


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 00:45:04 +00:00
Russell Bryant
9138e53bc9 Merged revisions 56277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56277 | russell | 2007-02-22 17:08:36 -0600 (Thu, 22 Feb 2007) | 18 lines

Merge changes from team/russell/sla_updates.

This batch of changes to the SLA code does a few different things.

* I made the SLA code event driven instead of having to act in a lot of busy
  loops while dialing things to wait for state changes.  This makes the code
  more efficient and readable at the same time.

* I have implemented a couple of new features.  The first is inbound trunk
  ringing timeouts.  This is an option that defines how long to let an incoming
  call on a trunk to ring.

* I have also implemented ring timeouts for stations.  They may be specified
  for the entire station, meaning it is how long to let the station ring before
  giving up.  You can also specify a ring timeout for a specific trunk on a
  station.  So, you can say that you only want a specific station to ring 5
  seconds if it is line1 ringing, but otherwise, there is no timeout.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 23:12:26 +00:00
Joshua Colp
afc99294fa Merged revisions 56231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56231 | file | 2007-02-22 13:49:39 -0500 (Thu, 22 Feb 2007) | 10 lines

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

........
r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2 lines

Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 18:53:22 +00:00
Kevin P. Fleming
1bec2f5bfa give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 02:36:00 +00:00
Joshua Colp
48517d4bc8 Merged revisions 56008 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56008 | file | 2007-02-21 19:35:55 -0500 (Wed, 21 Feb 2007) | 2 lines

Print out deprecation notice on usage output of CLI commands. (issue #8925 reported by blitzrage)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 00:38:46 +00:00
Joshua Colp
7ec331f7ea Return trunk to a state where it compiles under Darwin. The byte order stuff is ugly, if anyone wants to clean it up... by all means do so.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 01:05:26 +00:00
Joshua Colp
746e139e6d Flush out the file pointer. (issue #9115 reported by guthrie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 23:26:00 +00:00
Russell Bryant
4cbce3356e Merged revisions 55634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55634 | russell | 2007-02-20 14:26:06 -0600 (Tue, 20 Feb 2007) | 3 lines

Add the Asterisk version information to the Server header in HTTP
responses.  (requested by Pari)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 20:32:13 +00:00
Kevin P. Fleming
74f31a51bc add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 15:03:42 +00:00
Jason Parker
aac92788a2 Merged revisions 54886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54886 | qwell | 2007-02-16 11:25:21 -0600 (Fri, 16 Feb 2007) | 4 lines

Clarify a restart message.  It's silly, but the reporter had a very valid point.

Issue 9079

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 17:26:20 +00:00
Olle Johansson
ba32ee49d0 Adding Realtime Text support (T.140) to Asterisk
T.140/RFC 2793 is a live communication channel, originally
created for IP based text phones for hearing impaired. 
Feels very much like the old Unix talk application.

This code is developed and disclaimed by John Martin of Aupix, UK.
Tested for interoperability by myself and Omnitor in Sweden,
the company that wrote most of the specifications.

A big thank you to everyone involved in this.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 13:35:44 +00:00
Joshua Colp
123c1b5b19 Rely on ast_gethostbyname to handle IP addresses, not inet_aton. (issue #9056 reported by pj)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 01:36:18 +00:00
Joshua Colp
cd56d84085 Properly handle an error result from a manager action. This could have left the action list permanently locked for reading.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 00:10:17 +00:00
Olle Johansson
11a9db38ed Make file's new comment doxygenified
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 17:13:29 +00:00
Joshua Colp
67b499bbf8 Clean up the I/O context handler.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 02:11:34 +00:00
Olle Johansson
9f02e13857 Show version in "core show settings"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 20:45:23 +00:00
Olle Johansson
8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 20:22:20 +00:00
Joshua Colp
8470ee5cd0 Merged revisions 54290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54290 | file | 2007-02-13 20:09:40 -0500 (Tue, 13 Feb 2007) | 2 lines

Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to change it. (issue #9045 reported by gork)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 01:12:21 +00:00
Russell Bryant
f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
pretty cool things.

First, you can get the device state of anything in the dialplan:
  NoOp(SIP/mypeer has state ${DEVSTATE(SIP/mypeer)})
  NoOp(The conference room 1234 has state ${DEVSTATE(MeetMe:1234)})

Most importantly, this allows you to create custom device states so you can
control phone lamps directly from the dialplan.
  Set(DEVSTATE(Custom:mycustomlamp)=BUSY)
  ...
  exten => mycustomlamp,hint,Custom:mycustomlamp


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 22:02:20 +00:00
Russell Bryant
0e2c86820b Use spaces instead of tabs in the help text for a CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 06:10:11 +00:00
Russell Bryant
df48a3b1be Simplify WELCOME_MESSAGE to be a single function call instead of one for each
line.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 06:02:57 +00:00
Russell Bryant
4300a7a6cd - Constify the format string passed to ast_cli()
- Simplify printing out the warranty and license


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 05:57:52 +00:00
Russell Bryant
8f8df3e5a9 Merged revisions 54103 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54103 | russell | 2007-02-12 13:17:08 -0600 (Mon, 12 Feb 2007) | 2 lines

Change ast_set_state_callback() to ast_dial_set_state_callback()

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 19:18:33 +00:00
Russell Bryant
2a5477b35e Merged revisions 54066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54066 | russell | 2007-02-12 11:58:43 -0600 (Mon, 12 Feb 2007) | 4 lines

- Add the ability to register a callback to monitor state changes in an
  asynchronous dial operation.
- Rename the various references to "status" to "state" in the dial API

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 18:01:15 +00:00
Russell Bryant
10c4a5fef7 Simplify a small bit of logic.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 15:40:23 +00:00
Olle Johansson
4ca354f3f8 Fix debug handling in acl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 19:15:55 +00:00
Paul Cadach
85ad583544 Merged revisions 53879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53879 | pcadach | 2007-02-10 01:07:11 -0800 (Сбт, 10 Фев 2007) | 1 line

Provide correct DTMF duration
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:21:22 +00:00
Russell Bryant
5715b49c30 Merged revisions 53810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines

Merge team/russell/sla_rewrite

This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4.  It is now functional and ready for testing.  However, I will be
adding some additional features over the next week, as well.

For information on how to set this up, see configs/sla.conf.sample 
and doc/sla.txt.

In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:

chan_sip:
 - Add the ability to indicate HOLD state in NOTIFY messages.
 - Queue HOLD and UNHOLD control frames even if the channel is not bridged to
   another channel.

linkedlists.h:
 - Add support for rwlock based linked lists.

dial.c:
 - Add the ability to run ast_dial_start() without a reference channel to
   inherit information from.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:40:57 +00:00
Joshua Colp
cd1973e4bc It is with pleasure that I announce the return of rawman support through the HTTP server. (issue #9013 reported by Jynger)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 20:39:41 +00:00
Tilghman Lesher
588fcc7be7 Merged revisions 53532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53532 | tilghman | 2007-02-08 07:47:54 -0600 (Thu, 08 Feb 2007) | 2 lines

Issue 9007 - Mutex not released on early return

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 13:50:33 +00:00
Russell Bryant
4284fb1f4a Merged revisions 53497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53497 | russell | 2007-02-07 17:52:45 -0600 (Wed, 07 Feb 2007) | 6 lines

When building libdb1.a, put the additional flags needed at the beginning of
ASTCFLAGS, instead of at the end.  This way, we ensure that we find the local
headers first before accidentally trying to use headers that exist in
locations specified in the ASTCFLAGS passed from the main Makefile.
(issue #8637, ovi)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 23:56:46 +00:00
Russell Bryant
ef5aba253e Merged revisions 53464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53464 | russell | 2007-02-07 14:07:39 -0600 (Wed, 07 Feb 2007) | 4 lines

The clean target actually needs to run "distclean" on editline.  This is
because we need to make sure that its configure script gets executed again,
because the CFLAGS we want to pass to editline may have changed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 20:09:58 +00:00
Joshua Colp
8f6d9918a7 Merged revisions 53434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53434 | file | 2007-02-07 12:53:03 -0500 (Wed, 07 Feb 2007) | 2 lines

We can not reliably do P2P bridging with DTMF passing back with compensation if we need to listen for DTMF frames. (issue #8962 reported by caio1982)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:57:37 +00:00
Russell Bryant
dfb5ef7f55 Merged revisions 53429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53429 | russell | 2007-02-07 11:39:31 -0600 (Wed, 07 Feb 2007) | 7 lines

When parsing the NTP timestamp in a sender report message, you are supposed to
take the low 16 bits of the integer part, and the high 16 bits of the
fractional part.  However, the code here was erroneously taking the low 16 bits
of the fractional part.  It then shifted the result 16 bits down, so the result
was always zero.  This fix makes it grab the appropriate high 16 bits, instead.
(issue #8991, pointed out by andre_abrantes)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:46:42 +00:00
Tilghman Lesher
5f3b3d2358 Merged revisions 53246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53246 | tilghman | 2007-02-06 01:00:52 -0600 (Tue, 06 Feb 2007) | 10 lines

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

........
r53245 | tilghman | 2007-02-06 00:58:28 -0600 (Tue, 06 Feb 2007) | 2 lines

Issue 8987 - Status could return two responses (mnicholson)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-06 07:07:22 +00:00
Olle Johansson
f303a4db46 Doxygen formatting changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 21:55:01 +00:00
Joshua Colp
2cc011e005 Merged revisions 53120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53120 | file | 2007-02-02 11:15:22 -0600 (Fri, 02 Feb 2007) | 2 lines

Correct a copy/pasted error message line for RTCP.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 17:16:05 +00:00
Joshua Colp
3388474e15 Merged revisions 53118 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53118 | file | 2007-02-02 10:59:53 -0600 (Fri, 02 Feb 2007) | 10 lines

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

........
r53117 | file | 2007-02-02 10:58:09 -0600 (Fri, 02 Feb 2007) | 2 lines

Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 17:01:04 +00:00
Joshua Colp
880e319b7a Clean up ast_device_state. It's pretty now!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:58:09 +00:00
Joshua Colp
8a889843ba Switch the devicestate thread to operate the same way as the logging thread. Pops all entries off the list to be processed, resets the list back to a clean state, and processes each entry. The thread won't have to acquire the list lock again until it checks to see if there are more to process.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:49:14 +00:00
Joshua Colp
ae64c71d65 Read/write lockify the devicestate stuff a bit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:39:01 +00:00
Joshua Colp
721c7b3372 Merged revisions 53072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53072 | file | 2007-02-01 13:33:33 -0600 (Thu, 01 Feb 2007) | 2 lines

Add missing 'F' letter to getopt so it magically becomes a valid option. (issue #8960 reported by tzafrir)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:34:54 +00:00
Tilghman Lesher
e5304e54cc Merged revisions 53070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53070 | tilghman | 2007-02-01 13:21:20 -0600 (Thu, 01 Feb 2007) | 10 lines

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

........
r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007) | 2 lines

No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:27:22 +00:00
Joshua Colp
431c93b025 Make trunk compile under dev mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 17:41:02 +00:00
Joshua Colp
493126cf0c Merged revisions 53052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53052 | file | 2007-01-31 18:24:20 -0600 (Wed, 31 Jan 2007) | 2 lines

When going on hold have the side that was put on hold reinvite back to Asterisk. When going off hold have the side that was taken off hold reinvited back to the other party.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 00:24:50 +00:00
Joshua Colp
fa66a0bf03 Merged revisions 53050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53050 | file | 2007-01-31 18:19:48 -0600 (Wed, 31 Jan 2007) | 2 lines

Add more frame types to forward in the RTP bridge loops.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 00:23:19 +00:00
Russell Bryant
b233892198 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: https://origsvn.digium.com/svn/asterisk/trunk@53047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:35:15 +00:00
Russell Bryant
7ca426c5b4 Merged revisions 53040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53040 | russell | 2007-01-31 11:45:05 -0600 (Wed, 31 Jan 2007) | 11 lines

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

........
r53039 | russell | 2007-01-31 11:41:51 -0600 (Wed, 31 Jan 2007) | 3 lines

Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:45:43 +00:00
Russell Bryant
83e2ed50e6 Merged revisions 52904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52904 | russell | 2007-01-30 11:19:39 -0600 (Tue, 30 Jan 2007) | 17 lines

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

........
r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) | 9 lines

The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Asterisk process to reload the configuration.  However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately.  However, if running in console mode, the reload doesn't work
until something is typed at the console.  That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 17:23:56 +00:00
Russell Bryant
f351f4278a Merged revisions 52695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52695 | russell | 2007-01-29 16:58:09 -0600 (Mon, 29 Jan 2007) | 2 lines

Add a missing quotation mark.  This was pointed out by jcmoore on #asterisk-dev.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:58:35 +00:00
Russell Bryant
9e1370e6c6 Merged revisions 52688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52688 | russell | 2007-01-29 16:55:41 -0600 (Mon, 29 Jan 2007) | 3 lines

Remove a recursive lock of the manager session.  This was pointed out by 
zandbelt in issue #8711.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:57:16 +00:00
Russell Bryant
5dfed82cb9 Merged revisions 52647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52647 | russell | 2007-01-29 15:36:56 -0600 (Mon, 29 Jan 2007) | 3 lines

ASTLDFLAGS needs to be passed to the editline configure script as LDFLAGS.
(issue #8928, zandbelt)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:37:31 +00:00
Russell Bryant
2d0e8864aa Merged revisions 52645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52645 | russell | 2007-01-29 15:26:27 -0600 (Mon, 29 Jan 2007) | 6 lines

Fix a problem with packet-to-packet bridging and DTMF mode translation.  P2P
bridging can only be used when the DTMF modes don't match if the core is
monitoring DTMF in both directions.  Then, the core will handle the translation.
Otherwise, this bridging method can not be used.
(issue #8936)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:27:34 +00:00
Joshua Colp
a1d764c00a Only use locking for bridge information if intense P2P bridging is enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:03:07 +00:00
Russell Bryant
9540b7fcea The changes for trunk are less extensive, but include
- changing the actionlock to a rwlock
 - not locking the session before doing the action callback
The crash issue in 8711 should not be an issue here.


Merged revisions 52611 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52611 | russell | 2007-01-29 14:39:20 -0600 (Mon, 29 Jan 2007) | 10 lines

The session lock can not be held while calling action callbacks.  If so, then
when the WaitEvent callback gets called, then no event can happen because the
session can't be locked by another thread.  Also, the session needs to be
locked in the HTTP callback when it reads out the output string.  This fixes
the deadlock reported in both 8711 and 8934.
Regarding issue 8711, there still may be an issue.  If there is a second action
requested before the processing of the first action is finished, there could
still be some corruption of the output string buffer used to build the result.
(issue #8711, #8934)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 20:51:24 +00:00
Joshua Colp
b1b339e612 Add core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:49:04 +00:00
Russell Bryant
1f7fb2b0a6 Merged revisions 52494,52506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52494 | jdixon | 2007-01-28 22:18:36 -0600 (Sun, 28 Jan 2007) | 4 lines

Fixed problem with jitterbuf, whereas it would not complain about, and
would allow itself to be overfilled (per the max_jitterbuf parameter). Now
it rejects any data over and above that size, and complains about it.

........
r52506 | russell | 2007-01-29 10:54:27 -0600 (Mon, 29 Jan 2007) | 5 lines

Clean up a few things in the last commit to the adaptive jitterbuffer code.
 - Specifically indicate to the compiler that the "dropem" variable only
   needs one but.
 - Change formatting to conform to coding guidelines.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:03:31 +00:00
Joshua Colp
2d3301a1ed Merged revisions 52335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52335 | file | 2007-01-26 18:46:47 -0500 (Fri, 26 Jan 2007) | 2 lines

Fix core show file formats CLI command.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-26 23:49:29 +00:00
Joshua Colp
820d80f5a7 Convert some more stuff to read/write lists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-26 22:55:06 +00:00
Joshua Colp
e6f894b27a Add DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 22:49:24 +00:00
Joshua Colp
7b561b95bd Merged revisions 52265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52265 | file | 2007-01-25 14:18:33 -0500 (Thu, 25 Jan 2007) | 10 lines

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

........
r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2 lines

Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 19:20:51 +00:00
Joshua Colp
9826fc599b Merged revisions 52049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52049 | file | 2007-01-24 13:20:05 -0500 (Wed, 24 Jan 2007) | 2 lines

Merge in dialing API and the app_page that uses it. (issue #BE-118)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:23:07 +00:00
Olle Johansson
a9849288de Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 09:31:26 +00:00
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
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
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
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
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
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
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
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
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
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
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
Jason Parker
5d25265403 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: https://origsvn.digium.com/svn/asterisk/trunk@51266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 22:56:35 +00:00
Russell Bryant
fa16f36aae 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: https://origsvn.digium.com/svn/asterisk/trunk@51263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:57:55 +00:00
Tilghman Lesher
9d74ea97c0 Merged revisions 51256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51256 | tilghman | 2007-01-18 15:14:24 -0600 (Thu, 18 Jan 2007) | 10 lines

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

........
r51255 | tilghman | 2007-01-18 15:11:34 -0600 (Thu, 18 Jan 2007) | 2 lines

If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:15:59 +00:00
Jason Parker
7f58759deb Fix filename completion for "module load" and "load" CLI commands.
Issue 8846


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 19:03:25 +00:00
Russell Bryant
0e8bd82efe Fix trunk version of manager support for users.conf. Now it actually pays
attention to the "hasmanager" option.

(Thanks to Anthony L. for pointing out that this was broken!)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 18:54:51 +00:00
Jason Parker
11dd11e5a1 Merged revisions 51241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51241 | qwell | 2007-01-18 12:28:29 -0600 (Thu, 18 Jan 2007) | 2 lines

Fix an issue with deprecated commands

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 18:36:17 +00:00
Russell Bryant
2c5d2168c1 Merged revisions 51233 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51233 | russell | 2007-01-18 11:18:43 -0600 (Thu, 18 Jan 2007) | 3 lines

Make the "hasmanager" option in users.conf actually have an effect.
(issue #8740, LnxPrgr3)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 17:33:33 +00:00
Joshua Colp
461d49d2bd Merged revisions 51211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51211 | file | 2007-01-17 19:18:44 -0500 (Wed, 17 Jan 2007) | 2 lines

Pass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 00:20:50 +00:00
Tilghman Lesher
a48fdb83a5 Merged revisions 51195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51195 | tilghman | 2007-01-17 14:56:15 -0600 (Wed, 17 Jan 2007) | 12 lines

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

........
r51194 | tilghman | 2007-01-17 14:52:21 -0600 (Wed, 17 Jan 2007) | 4 lines

When ast_strip_quoted was called with a zero-length string, it would treat a
NULL as if it were the quoting character (and would thus return the string
in memory immediately following the passed-in string).

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 20:57:51 +00:00
Joshua Colp
c71d6c12f7 Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 19:43:13 +00:00
Joshua Colp
3e6d6e0e62 Merged revisions 51182 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51182 | file | 2007-01-17 01:36:41 -0500 (Wed, 17 Jan 2007) | 2 lines

Return the correct result when directly writing out a packet so that the core doesn't then decide to handle it the regular way again. (issue #8833 reported by rcourtna)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 06:37:47 +00:00
Jason Parker
9ca780a271 Merged revisions 51170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51170 | qwell | 2007-01-16 18:20:56 -0600 (Tue, 16 Jan 2007) | 4 lines

Fix issue with dtmf continuation packets when the dtmf digit is 0...

Issue 8831

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 00:22:20 +00:00
Jason Parker
dad1116c72 Merged revisions 51146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51146 | qwell | 2007-01-16 11:36:53 -0600 (Tue, 16 Jan 2007) | 6 lines

Display more useful output when streaming files.

Include the channel name to which the file is being played.

Issue 8828, patch by junky.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:39:39 +00:00
Russell Bryant
a01ebfc13b Merged revisions 51057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51057 | russell | 2007-01-15 19:15:44 -0600 (Mon, 15 Jan 2007) | 3 lines

It is possible for the config pointer to be NULL here, so it needs to be
checked before dereferencing it.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 01:16:57 +00:00
Joshua Colp
2964e9eab6 Merged revisions 50895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50895 | file | 2007-01-15 11:36:07 -0500 (Mon, 15 Jan 2007) | 2 lines

Move event processing into do_message so that it gets executed again when events are tripped.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 16:40:48 +00:00
Kevin P. Fleming
74f401d05f Merged revisions 50867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50867 | kpfleming | 2007-01-15 09:03:06 -0600 (Mon, 15 Jan 2007) | 2 lines

use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 15:08:45 +00:00
Joshua Colp
35ce830d76 Merged revisions 50820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50820 | file | 2007-01-14 16:59:05 -0500 (Sun, 14 Jan 2007) | 2 lines

Add missing newlines for two memory CLI commands.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-14 22:00:51 +00:00
Tilghman Lesher
836956f1df Bug 8803 - Fix crash in API
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-14 05:34:32 +00:00
Tilghman Lesher
b2cb3f86c4 Merged revisions 50782 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50782 | tilghman | 2007-01-13 23:13:47 -0600 (Sat, 13 Jan 2007) | 10 lines

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

........
r50781 | tilghman | 2007-01-13 23:01:16 -0600 (Sat, 13 Jan 2007) | 2 lines

Bug 8814 - db should look for its header using a relative path, instead of the system path (Fixes FreeWRT)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-14 05:19:09 +00:00
Joshua Colp
d986f00e73 Merged revisions 50727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50727 | file | 2007-01-13 01:00:24 -0500 (Sat, 13 Jan 2007) | 2 lines

Only write a frame out to the channel if one exists. There are cases where one may not and would therefore cause the channel driver to segfault. (issue #8434 reported by slimey)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 06:01:49 +00:00
Joshua Colp
e82a8a1d0a Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 18:13:50 +00:00
Joshua Colp
c64ced140f Merged revisions 50602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50602 | file | 2007-01-12 11:42:33 -0500 (Fri, 12 Jan 2007) | 2 lines

We need to check for res being 0 in do_message itself, otherwise our headers will get lost.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 16:47:20 +00:00
Kevin P. Fleming
17ea9c930e make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 15:01:46 +00:00
Kevin P. Fleming
aa3eea042d Merged revisions 50562 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50562 | kpfleming | 2007-01-12 08:42:24 -0600 (Fri, 12 Jan 2007) | 10 lines

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

........
r50561 | kpfleming | 2007-01-12 08:34:15 -0600 (Fri, 12 Jan 2007) | 2 lines

minor documentation clarification

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 14:45:20 +00:00
Kevin P. Fleming
1439e0fa75 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-11 23:42:14 +00:00
Joshua Colp
4942fd94d2 Merged revisions 50466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50466 | file | 2007-01-11 00:19:39 -0500 (Thu, 11 Jan 2007) | 2 lines

Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-11 05:21:03 +00:00
Joshua Colp
278f2fe4c1 Merged revisions 50405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50405 | file | 2007-01-10 14:46:29 -0500 (Wed, 10 Jan 2007) | 2 lines

Fix parsing when using something like ldap settings. (done by anthonyl)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 19:49:26 +00:00
Joshua Colp
fd06f29945 Merged revisions 50266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50266 | file | 2007-01-09 22:51:29 -0500 (Tue, 09 Jan 2007) | 2 lines

Ensure data's existence before trying to access it. (issue #8774 reported by rcourtna)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 03:53:30 +00:00
Joshua Colp
ee137a5eaa Make callback declaration match one used in trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 20:10:23 +00:00
Joshua Colp
91a7ca8df7 Merged revisions 50032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50032 | file | 2007-01-08 13:21:31 -0500 (Mon, 08 Jan 2007) | 2 lines

Disable the more intense packet2packet bridging until the bugs can be worked out.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 18:23:39 +00:00
Olle Johansson
68ff3c3575 Issue #8663 - Add passthrough support for MPEG4 (neutrino88).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 11:49:23 +00:00
Tilghman Lesher
c4c2c546da When calling the Realtime app more than once, unset fields which were
previously set are erroneously still set (Bug 6701).  After discussion,
it was determined this should only be changed in trunk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-07 16:21:12 +00:00
Tilghman Lesher
33d5a8a582 Reduce duplication of code (Issue 6542)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-07 14:32:20 +00:00
Jason Parker
5012135417 Fix a segfault when using "countries" that don't have a matching zone.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-07 07:43:52 +00:00
Jason Parker
5abda34cd9 Merged revisions 49742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49742 | qwell | 2007-01-05 18:24:38 -0600 (Fri, 05 Jan 2007) | 7 lines

Save 1 whopping byte of allocated memory!

This looks like it may have been a chicken/egg scenario..

You had to call a cleanup func, because everything was allocated.
Then since you had to call a cleanup func, you were forced to allocate - ie; strdup("").

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-06 00:28:16 +00:00
Kevin P. Fleming
4a6ed271f5 probably shouldn't leave the mmap'ed file hanging around in memory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-06 00:02:06 +00:00
Kevin P. Fleming
d0f3b18d16 a little more const-ification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:58:53 +00:00
Kevin P. Fleming
cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:32:42 +00:00
Kevin P. Fleming
d0542012c0 Merged revisions 49680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49680 | kpfleming | 2007-01-05 16:52:37 -0600 (Fri, 05 Jan 2007) | 2 lines

don't 'consume' the params list before we try to use it again

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:53:38 +00:00
Kevin P. Fleming
3d376fca97 use mmap() to read in the results of the manager action for an HTTP request, instead of reading it into a buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:52:16 +00:00
Kevin P. Fleming
87b9abc892 Merged revisions 49676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines

reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:43:18 +00:00
Joshua Colp
a9c3429b07 Merged revisions 49675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49675 | file | 2007-01-05 17:14:47 -0500 (Fri, 05 Jan 2007) | 2 lines

Don't keep repeating the warning over and over when the end of the call is reached. (issue #8724 reported by xrg)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:18:03 +00:00
Kevin P. Fleming
2288b11bf4 use a rwlock-list for the list of TLS objects
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 00:12:10 +00:00
Kevin P. Fleming
4764795b37 Merged revisions 49553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49553 | kpfleming | 2007-01-04 16:51:01 -0600 (Thu, 04 Jan 2007) | 2 lines

add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 23:18:36 +00:00
Joshua Colp
50d9c8ad07 Merged revisions 49551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49551 | file | 2007-01-04 17:28:29 -0500 (Thu, 04 Jan 2007) | 2 lines

Only free comments and line buffer once we reach the first level. (issue #8678 reported by ssokol, fixed by anthonyl)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 22:34:24 +00:00
Kevin P. Fleming
c5c17a1434 Merged revisions 49536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49536 | kpfleming | 2007-01-04 15:58:42 -0600 (Thu, 04 Jan 2007) | 2 lines

don't mark these allocations as 'cache' allocations when caching has been disabled

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 21:59:06 +00:00
Joshua Colp
af3e5903c8 It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 21:40:54 +00:00
Kevin P. Fleming
ec2ae45651 Merged revisions 49457,49460-49461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49457 | kpfleming | 2007-01-04 12:05:47 -0600 (Thu, 04 Jan 2007) | 2 lines

make building of codec_gsm against the system GSM library actually work

........
r49460 | kpfleming | 2007-01-04 12:16:40 -0600 (Thu, 04 Jan 2007) | 2 lines

don't define this type either if LOW_MEMORY is enabled

........
r49461 | kpfleming | 2007-01-04 12:17:01 -0600 (Thu, 04 Jan 2007) | 2 lines

don't do frame header caching in the core if LOW_MEMORY is defined

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:19:55 +00:00
Steve Murphy
7c6b71df21 Merged revisions 49237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49237 | murf | 2007-01-02 15:30:53 -0700 (Tue, 02 Jan 2007) | 1 line

This is a slight modification to Josh's edits for #8579; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 22:43:36 +00:00
Olle Johansson
e5b5a92a56 Fix manager too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 19:52:22 +00:00
Olle Johansson
9074555e37 - Add error handling to ast_parse_allow_disallow
- Use this in chan_sip configuration parsing


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 19:48:31 +00:00
Olle Johansson
f83b845f08 - Implement error handling in ast_append_ha
- Use this in chan_sip
- Document ha functions in acl.c


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 19:20:46 +00:00
Joshua Colp
e2a50de88f Clarify why we are reading in a frame in the Packet2Packet bridge.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 18:27:13 +00:00
Kevin P. Fleming
3f7899c9da small formatting fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 13:26:43 +00:00
Joshua Colp
c6c83cf01e Merged revisions 49066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49066 | file | 2006-12-30 00:46:57 -0500 (Sat, 30 Dec 2006) | 2 lines

If the Packet2Packet bridge is being broken because of a masquerade then attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 05:49:17 +00:00
Joshua Colp
b712e10a13 Convert uri_redirects list to read/write locks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:05:00 +00:00
Joshua Colp
6d9273d0d8 Merged revisions 49024 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49024 | qwell | 2006-12-28 14:52:46 -0500 (Thu, 28 Dec 2006) | 2 lines

make the uris_lock a rwlock instead of a mutex lock - needs to be forward ported to trunk

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:02:41 +00:00
Steve Murphy
6c7f4c1e32 Jason is having problems with the inclusion of <err.h>; it appears to be unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 17:56:21 +00:00
Joshua Colp
7231cc108a Merged revisions 49009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49009 | file | 2006-12-27 17:28:46 -0500 (Wed, 27 Dec 2006) | 2 lines

ast_copy_string is not available when LOW_MEMORY is used and things are being built in the utils directory, so we need to resort to the old method of strncpy. (issue #8579 reported by mottano)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:30:28 +00:00
Kevin P. Fleming
adca0ff14b Merged revisions 49006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines

since these variables all have static duration, none of them need initializers (they default to zero anyway)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:14:33 +00:00
Kevin P. Fleming
b07686e503 apparently we need an explicit message to warn people
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:21:21 +00:00
Kevin P. Fleming
afbfafa400 make the 'languageprefix' option default to on, and deprecate turning it off
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:18:27 +00:00
Kevin P. Fleming
16b09ac48c Merged revisions 48998 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48998 | kpfleming | 2006-12-27 15:08:30 -0600 (Wed, 27 Dec 2006) | 3 lines

move extern declaration for this option to a header file where it belongs
provide an initial value for 'languageprefix' option, instead of relying on randomness to provide a useful value

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:09:35 +00:00
Kevin P. Fleming
d68c7c8ce6 Merged revisions 48987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48987 | kpfleming | 2006-12-27 12:29:13 -0600 (Wed, 27 Dec 2006) | 2 lines

allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:33:44 +00:00
Joshua Colp
7f61b822c1 Merged revisions 48964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48964 | file | 2006-12-25 23:31:58 -0500 (Mon, 25 Dec 2006) | 2 lines

Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 04:34:07 +00:00
Luigi Rizzo
09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
defined in indications.h to ind_tone_zone_sound and ind_tone_zone,
to avoid conflicts with the structs with the same names
defined in tonezone.h

Hope i haven't missed any instance.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 06:38:09 +00:00
Russell Bryant
d3bf06f272 Resolve some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 02:06:47 +00:00
Russell Bryant
850dd4ea61 Use spaces as a separator for the redirect option to improve readability
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 21:01:02 +00:00
Russell Bryant
5d5cc243c6 Simplify the definition of http_uri_redirect such that only one allocation is
done for exactly how much memory is needed.  This was suggested by Luigi on
the asterisk-dev mailing list.  Thanks!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 03:29:42 +00:00
Russell Bryant
2c5071a006 - Convert the list of URI handlers to use the linked list macros. While doing
this, implementing locking of this list to make it thread-safe.

- Add a "redirect" option to http.conf that allows redirecting one URI to
  another.  I was inspired to do this while playing with the Asterisk GUI.  I
  got tired of typing this URL to get to the GUI:
     
     http://localhost:8088/asterisk/static/config/cfgadvanced.html

  So, now I have the following line in http.conf:

     redirect=/=/asterisk/static/config/cfgadvanced.html

  Now, I can type the following into my browser and go to the GUI:

     http://localhost:8088


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-23 20:13:14 +00:00
Russell Bryant
08cfbe97b8 Remove a debug message. If this is still needed for debugging something,
it should be made a LOG_DEBUG message.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-23 20:08:16 +00:00
Jason Parker
05d6c4a2d0 Merged revisions 48906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48906 | qwell | 2006-12-22 16:33:46 -0600 (Fri, 22 Dec 2006) | 2 lines

Minor fixes for Solaris.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 22:34:31 +00:00
Joshua Colp
8e9cdb10fd Merge non-blocking logger from my branch. This should improve things under heavy load with lots of CLI/logging output.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 21:57:16 +00:00
Steve Murphy
7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:44:20 +00:00
Luigi Rizzo
a2e6c6277f same as in other places, check that generator->release is not NULL
before calling it.
This allows generators to set it to NULL when they have nothing to
do there.

Later, the three copies of the code that releases a generator
should be moved to a function.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:36:42 +00:00
Joshua Colp
f19ff5a451 Really clean up indications to use the linkedlists API
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 04:05:21 +00:00
Joshua Colp
77d7b36217 Switch list of global variables to read/write locks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 03:20:08 +00:00
Joshua Colp
730d68976e Convert alternate dialplan switch list to use read/write locks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 01:48:35 +00:00
Steve Murphy
9327720c37 As per bug 7978, this version introduces the jittertargetextra option in config files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 00:24:08 +00:00
Luigi Rizzo
d0b9eb93b6 remove now useless extern declarations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 16:35:49 +00:00