dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

321 Commits

Author SHA1 Message Date
file 40a5f66841 Merged revisions 69144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69144 | file | 2007-06-13 15:08:24 -0400 (Wed, 13 Jun 2007) | 2 lines

Really ignore NULL frames and check whether the channel hungup or not. (issue #9912 reported by junky)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69147 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13 19:10:16 +00:00
tilghman eb5d461ed4 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 21:20:11 +00:00
russell 8f5d5d28bf Merged revisions 67558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67558 | russell | 2007-06-05 18:01:44 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix some crashes related to the use of the "meetme" CLI command.  The code for
this command was not locking the conference list at all.
(issue #9351, reported by and patch submitted by Junk-Y, committed patch
 is different and by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67560 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05 23:02:11 +00:00
oej 34f471d4c4 Issue #9842 - Doxygen updates by snuffy. Thanks!
(Committed from Media Plaza in Utrecht, Netherlands - Open Source VoIP conference)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66705 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31 10:26:55 +00:00
russell da49ba8f0e Since this code now uses the API call for creating a detached thread, there
is no reason to keep a thread attribute structure on the conference structure.
(Pointed out by Tony Mountifield on the asterisk-dev list)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66208 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-26 06:07:38 +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 46ecea95a1 Make a minor tweak to admin_exec() - don't lock the conference list until it
is actually necessary.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63326 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-07 22:17:40 +00:00
russell 5934e6dd2a Add a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
except it lets you operate on a channel by name instead of conference member
number.  It is very useful in combination with the 'X' option to ChanSpy.
(issue #9671, patch by mnicholson, with some small modifications by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-07 22:14:09 +00:00
russell 9ed016e478 When a conference is created, the UNIQUEID of the channel that caused it to be
created will now be stored. Then, every channel that joins the conference will
have the MEETMEUNIQUEID channel variable set with this ID.  This can be used to
relate callers that come and go from long standing conferences.
(issue #7295, patch by softins)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62794 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-02 23:50:07 +00:00
russell d4426788e1 Enable the functionality of the 'o' option to "optimize talker" by default.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62297 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-28 21:54:44 +00:00
russell fb1d21c4f2 Merged revisions 60565 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60565 | russell | 2007-04-06 14:50:52 -0500 (Fri, 06 Apr 2007) | 3 lines

When a station picks up a trunk that was on hold, make the hints reflect that
nobody has the trunk on hold anymore.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60566 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06 19:52:12 +00:00
russell 92541d42ca Merged revisions 60521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60521 | russell | 2007-04-06 13:58:46 -0500 (Fri, 06 Apr 2007) | 16 lines

Fix a few problems with SLA.  (issue #9459, reported by francesco_r, fixed by me)

* The original behavior was that if one station put a call on hold, another one
  picked it up, and then hung up, the code would still consider the call on
  hold by the first station, so the trunk would not be hung up.  However, to
  better comply with what most people seem to expect it to behave, it will now
  hang up the trunk.

* Fix a problem with "barge=no".  This was only intended to prevent people from
  joining calls that are in progress.  However, it also prevented other people
  from picking up a call that was on hold.  This has been fixed.

* When there are no active stations on a trunk and it is on hold, the code now
  indicates the HOLD and UNHOLD conditions to the trunk channel.  This allows
  music on hold to be played to the trunk when it is on hold.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60522 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06 18:59:42 +00:00
russell 9e1f8841d1 Merged revisions 60069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60069 | russell | 2007-04-04 11:26:23 -0500 (Wed, 04 Apr 2007) | 4 lines

Fix a problem where if a trunk was hung up while it was on hold, all of the
hints would reflect the line still on hold, even though it should reflect that
it is back to not in use.  (issue #9459, reported by francesco_r, fixed by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60070 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-04 16:27:12 +00:00
file 70eff142c1 Merged revisions 59361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59361 | file | 2007-03-29 13:38:55 -0400 (Thu, 29 Mar 2007) | 10 lines

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

........
r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2 lines

Keep a global array of variables indicating whether certain conference rooms are in use. This ensures that two people going into a new dynamic conference when the 'e' option is set don't go into the same conference room. (issue #8835 reported by eliel)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59362 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29 17:42:48 +00:00
russell 5447fc44c0 Merged revisions 59215 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59215 | russell | 2007-03-26 13:28:29 -0500 (Mon, 26 Mar 2007) | 3 lines

Fix some codec negotiation problems when CallerID support is not enabled in SLA.
(issue #9308, reported by twilson)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59216 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26 18:29:10 +00:00
russell 32dd70d858 Merged revisions 58894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58894 | russell | 2007-03-14 11:33:01 -0500 (Wed, 14 Mar 2007) | 8 lines

By default, don't attempt to do any CallerID handling at all with SLA because
it is known to not work properly in some situations.  However, add an option to
enable it for those that would like to use it anyway.

The short story behind this is that to properly handle CallerID with SLA, we
need the ability to change the CallerID on an existing call, and we are not
ready to handle that.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58895 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-14 16:34:03 +00:00
russell 4a7797d985 Merged revisions 58872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58872 | russell | 2007-03-13 18:19:51 -0500 (Tue, 13 Mar 2007) | 4 lines

Ensure that the blinky lights show that the trunk stopped ringing when the
trunk hangs up before a station has answered it.
(issue #9234, reported by francesco_r)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58873 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-13 23:20:41 +00:00
russell e438f2dc95 Merged revisions 58669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58669 | russell | 2007-03-09 21:58:27 -0600 (Fri, 09 Mar 2007) | 2 lines

Make the compiler happy and initialize a variable.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58670 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-10 04:01:07 +00:00
russell d1e37a4610 Merged revisions 58512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58512 | russell | 2007-03-08 16:15:15 -0600 (Thu, 08 Mar 2007) | 5 lines

Hang up the channel that put the call on hold in the event processing thread to
avoid a race condition.  Also, if the station originated the call that it is
putting on hold, don't hang up the trunk if it was the only station on the call
and it is hanging up due to hold and not a normal hangup.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58541 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08 23:21:44 +00:00
russell 95074b497d Merged revisions 58474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58474 | russell | 2007-03-08 14:54:56 -0600 (Thu, 08 Mar 2007) | 3 lines

Refactor hold handling a bit so that it does not require keeping the call up
when a call is put on hold.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08 20:56:57 +00:00
kpfleming 7f9cece958 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: http://svn.digium.com/svn/asterisk/trunk@58353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08 13:21:38 +00:00
rizzo d66ac8adf6 remove duplicate const
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57979 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-06 08:36:28 +00:00
file f4a4b7057f Merged revisions 57872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57872 | file | 2007-03-05 13:39:28 -0500 (Mon, 05 Mar 2007) | 2 lines

Don't create a listen channel and record the conference unless the option is turned on. (issue #9204 reported by francesco_r)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57875 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05 18:46:59 +00:00
file fa686bfc12 I like it when app_meetme builds under dev mode, don't you?
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57873 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05 18:45:28 +00:00
russell 63cb1131a2 Merged revisions 57364 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57364 | russell | 2007-03-01 17:42:53 -0600 (Thu, 01 Mar 2007) | 16 lines

Merge changes from svn/asterisk/team/russell/sla_updates

* Originally, I put in the documentation that only Zap interfaces would be
  supported on the trunk side.  However, after a discussion with Qwell, we came
  up with a way to make IP trunks work as well, using some things already in
  Asterisk.  So, here it is, this now officially supports IP trunks.
* Update the SLA documentation to reflect how to setup IP trunks.
* Add a section in sla.txt that describes how to set up an SLA system with
  voicemail.
* Simplify the way DTMF passthrough is handled in MeetMe.
* Fix a bug that exposed itself when using a Local channel on the trunk side
  in SLA.  The station's channel needs to be passed to the dial API when
  dialing the trunk.
* Change a WARNING message to DEBUG in channel.h.  This message is of no use
  to users.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57365 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-01 23:44:09 +00:00
russell b4e08f25b2 Merged revisions 57203 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57203 | russell | 2007-02-28 16:07:05 -0600 (Wed, 28 Feb 2007) | 7 lines

Merge more changes from svn/asterisk/team/russell/sla_updates

* Add support for private hold.  By setting "hold=private" for a trunk, only
  the station that put the call on hold will be able to retrieve it from hold.
  Also, by setting "hold=private" for a station, any call that station puts
  on hold can only be retrieved by that station.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57204 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28 22:09:33 +00:00
russell b90c312913 Merged revisions 57146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57146 | russell | 2007-02-28 13:58:56 -0600 (Wed, 28 Feb 2007) | 2 lines

Minor formatting change

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57147 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28 19:59:26 +00:00
russell 37eca4878a Merged revisions 57144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57144 | russell | 2007-02-28 13:56:20 -0600 (Wed, 28 Feb 2007) | 6 lines

Merge changes from svn/asterisk/team/russell/sla_updates

* Add support for the "barge=no" option for trunks.  If this option is set,
  then stations will not be able to join in on a call that is on progress
  on this trunk.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57145 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28 19:57:41 +00:00
russell e79b5f130a Merged revisions 57089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57089 | russell | 2007-02-28 12:20:05 -0600 (Wed, 28 Feb 2007) | 8 lines

Merge current set of changes from svn/asterisk/team/russell/sla_updates

* Add support for station ring delays.  Ring delays can be set globally for a
  station or for specific trunks on the station.
* Fix a few bugs in existing code.
* Restructure and Reorganize code to improve readability and maintainability.
* Improve formatting of the "sla show (trunks|stations)" CLI commands.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57090 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28 18:21:47 +00:00
russell 63e7459750 Merged revisions 56740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56740 | russell | 2007-02-25 19:04:40 -0600 (Sun, 25 Feb 2007) | 2 lines

Move a comment to be in the correct struct.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-26 01:05:15 +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
file bb1667f5c8 Make Meetme build again under dev mode.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56564 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24 01:56:41 +00:00
russell b0fa00d5cf 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: http://svn.digium.com/svn/asterisk/trunk@56278 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22 23:12:26 +00:00
file 5eb99b2f00 Merged revisions 55957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55957 | file | 2007-02-21 15:35:40 -0500 (Wed, 21 Feb 2007) | 10 lines

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

........
r55956 | file | 2007-02-21 15:32:16 -0500 (Wed, 21 Feb 2007) | 2 lines

Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55958 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21 20:41:53 +00:00
russell d39a9366e5 Merged revisions 55951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55951 | russell | 2007-02-21 14:22:33 -0600 (Wed, 21 Feb 2007) | 3 lines

Simplify the last change to app_meetme, and move the call to dispose_conf()
up into the block where we know a conf exists.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55952 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21 20:23:03 +00:00
file 7dd4d11b3e Merged revisions 55949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55949 | file | 2007-02-21 15:16:34 -0500 (Wed, 21 Feb 2007) | 2 lines

Only dispose of the conference if one was created.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55950 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21 20:18:16 +00:00
russell f67cdc6fd3 Merged revisions 55758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55758 | russell | 2007-02-20 19:03:25 -0600 (Tue, 20 Feb 2007) | 4 lines

Improve the reference counting to fix bugs where people report seeing
conferences listed that have no members.
(issue #9073)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55762 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21 01:05:00 +00:00
russell 6b81b7e250 Merged revisions 55006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55006 | russell | 2007-02-16 16:49:42 -0600 (Fri, 16 Feb 2007) | 17 lines

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

........
r55005 | russell | 2007-02-16 16:48:22 -0600 (Fri, 16 Feb 2007) | 9 lines

Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4, 
and trunk.  I decided that once a conference is created from meetme.conf,
it is acceptable behavior that the pin can not be changed until the
conference goes away.  I also added a note in meetme.conf to describe this
behavior.

We still have another issue in 1.4 and trunk where some conferences with no
users don't go away.  That is the real bug that needs to be addressed here.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55007 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16 22:50:22 +00:00
russell ebe3468ada Merged revisions 54969 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r54969 | russell | 2007-02-16 15:12:18 -0600 (Fri, 16 Feb 2007) | 13 lines

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

........
r54955 | russell | 2007-02-16 14:56:58 -0600 (Fri, 16 Feb 2007) | 5 lines

For conferences that are configured in meetme.conf, check the configuration
file every time someone joins the conference instead of only when the
conference is first created.  This is to ensure that changes to the pin
numbers in the config file are always honored.  (issue #9073)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54970 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16 21:13:51 +00:00
russell bb6564f8e7 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: http://svn.digium.com/svn/asterisk/trunk@54261 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-13 22:02:20 +00:00
russell f065afb987 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: http://svn.digium.com/svn/asterisk/trunk@54067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12 18:01:15 +00:00
russell be94f38009 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: http://svn.digium.com/svn/asterisk/trunk@53817 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-10 00:40:57 +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
russell 139a802987 Merged revisions 51343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

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

Remove an unused instance of an unnamed enum.

........


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

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

Remove another duplicated definition

........


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

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

Remove a variable that was declared twice.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51340 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 21:21:03 +00:00
rizzo 86820c1e16 include "asterisk/zapata.h" instead of testing for
the location of the header files.

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



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51293 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:21:24 +00:00
kpfleming d8e7fcf209 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: http://svn.digium.com/svn/asterisk/trunk@49678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 22:43:18 +00:00
file 7b32df306c Merged revisions 48966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48966 | file | 2006-12-26 00:20:08 -0500 (Tue, 26 Dec 2006) | 2 lines

Get rid of a needless memory allocation and only create a conference structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48967 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-26 05:23:25 +00:00
murf 322326058e 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: http://svn.digium.com/svn/asterisk/trunk@48767 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21 19:44:20 +00:00
file 8360aee8de Merged revisions 48379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48379 | file | 2006-12-11 00:30:01 -0500 (Mon, 11 Dec 2006) | 2 lines

Use the correct API call to say a device state changed. (Yes, I'm a nub.)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11 05:34:53 +00:00
file c5d7a60377 Merged revisions 48377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48377 | file | 2006-12-10 23:57:38 -0500 (Sun, 10 Dec 2006) | 2 lines

Don't access the conference structure after it has been freed.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11 05:01:37 +00:00
russell 43115b2419 Resolve some pointer signedness compiler warnings in app_osplookup, and
constify a bunch of usage strings for CLI commands.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48307 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06 07:39:39 +00:00
file a42547e25e Merged revisions 47748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47748 | file | 2006-11-16 12:52:48 -0500 (Thu, 16 Nov 2006) | 2 lines

Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47749 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 17:53:58 +00:00
file caa25dd02a Don't play the "entering conference number <insert number here>" prompts if the 'q' option is used. If others believe this should be in 1.2/1.4 then we can put it in, but I'm uncomfortable doing so right now as it is a change of behavior. (issue #8138 reported by tmancill)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47560 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13 17:55:24 +00:00
russell b1b9710998 fix various spelling mistakes in comments (issue #8237, jmls)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26 17:52:15 +00:00
russell e8e7c4ec31 Merged revisions 46065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46065 | russell | 2006-10-23 21:04:14 -0400 (Mon, 23 Oct 2006) | 2 lines

Fix the descriptions of some of the MeetMeAdmin options (issue #8098, mflorell)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24 01:05:11 +00:00
file 776e8e675a Just for Nicholson - here's an option, C, to Meetme that will allow it to continue in the dialplan if the person is kicked out. (issue #7994 reported by mnicholson with mods by myself)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-18 22:19:57 +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
mogorman 4a1aaf52ae bug #8076 check option_debug before printing to debug channel.
patch provided in bugnote, with minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03 15:53:07 +00:00
file a781f1ba87 Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44217 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02 20:35:16 +00:00
file 3110b04b51 Merged revisions 43893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r43893 | file | 2006-09-28 12:17:36 -0400 (Thu, 28 Sep 2006) | 10 lines

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

........
r43891 | file | 2006-09-28 12:13:55 -0400 (Thu, 28 Sep 2006) | 2 lines

Stop the stream after waitstream returns so that our formats get restored. (issue #7370 reported by kryptolus)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43894 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 16:19:22 +00:00
qwell b0b940836e Fire a manager event when a meetme is started/stopped.
Issue #7891, patch by suhler.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43727 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26 22:18:04 +00:00
tilghman e8ef9fd3ba Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:40:39 +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
tilghman 4ba23c8dc4 Merged revisions 43003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43003 | tilghman | 2006-09-15 23:44:02 -0500 (Fri, 15 Sep 2006) | 2 lines

When the marked user enters the conference, we should no longer timeout

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16 05:43:54 +00:00
tilghman 89058aa86f Merged revisions 42783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42783 | tilghman | 2006-09-11 16:47:23 -0500 (Mon, 11 Sep 2006) | 4 lines

When paging, only wait 5 seconds for the marked user to enter the conference.
After that, assume the paging already completed by the time the channel entered
the conference and drop back out.  (Issue 7275)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42788 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-11 22:17:46 +00:00
kpfleming 8b0c007ad9 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
russell 360ac7d174 - unregister SLA apps on module unload and add sample config (issue #7701, junky)
- rename SLAS to SLAStation, and SLAT to SLATrunk


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39637 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 01:32:46 +00:00
kpfleming 6049bb6539 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 20:44:39 +00:00
markster ec03f69ba1 Make app_meetme's do_invite more generic.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37755 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-17 02:17:38 +00:00
markster a82143962a Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
and implement holding in the SLA.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37318 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-08 02:24:07 +00:00
kpfleming cda33c11a8 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37027 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 16:44:41 +00:00
oej eaea8c3fe5 Add some comments to the SLA code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 07:40:08 +00:00
russell a86cb2865e reduce indentation a couple of levels
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36753 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 05:32:08 +00:00
russell 9f9c7882f4 - remove an unused variable
- use ast_calloc instead of malloc + memset
- return immediately on ast_calloc failure instead of indenting the whole func
- remove a duplicate ast_strdupa


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36700 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 03:39:37 +00:00
markster 70262fdc60 First pass at SLA support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 23:54:43 +00:00
oej 653b869cfd METERMAIDS:
-----------
- Adding devicestate providers, a new architecture to add non-channel related
  device state information, like parking lots, queues, meetmes, vending machines
  and Windows 98 reboots (lots of blinking on those lights)
- Adding provider for parking lots, so you can subscribe to the status of a
  parking lot
- Adding provider for meetme, so you can have a blinking lamp for a meetme
  ( Example: exten => edvina,hint,meetme:1234 )
- Adding support for directed parking - set the PARKINGEXTEN before you manually
  call Park() and you will be parked on that space. If it's occupied, dialplan
  execution will continue.

This work was sponsored by Voop A/S - www.voop.com


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36055 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-26 16:43:21 +00:00
kpfleming 41af2260b7 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
russell b180725b3e fix up some places where frames are not free'd and remove an unnecessary
unlock of the confs list where it is not possible for it to be locked


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33547 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11 21:12:56 +00:00
file 9b3929df33 Don't double check existence of a variable (issue #7300 reported by foamdino)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 19:05:30 +00:00
file 10c2693549 Add more missing newlines (issue #7323 reported by darkskiez)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33266 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 16:36:54 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
file 3b582a5de8 Documentation changes for Qwell
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31193 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 23:10:56 +00:00
file 271c34cfbe Fix up meetme some more (thanks TonyM!!!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31163 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 22:54:58 +00:00
file 88f656f5f5 Make the user menu unmute/mute work again, including in combination with the 'l' option.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 17:21:12 +00:00
file b860cab1cc Remove ourselves from the userlist a little bit earlier
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30835 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 17:33:37 +00:00
file 8a415b1bf7 Merge in branch that adds new features to MeetMeAdmin. See application documentation for more details on the new options. (issue #7131 reported by dmikusa branch by jcollie)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 21:30:40 +00:00
file d55c1b0a27 Remove possibility of sending duplicate MeetmeJoin manager events, and only send a MeetmeLeave event if a MeetmeJoin event occured in the first place. (issue #6599 reported by imran - provided patch with few tiny mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30409 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 21:06:08 +00:00
file 2aa960bb03 Merged revisions 30373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30373 | file | 2006-05-25 17:03:11 -0300 (Thu, 25 May 2006) | 2 lines

Don't play the enter sound twice when a person joins a conference after the leader has joined it. (issue #6138 reported by shanermn)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30384 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 20:05:52 +00:00
mogorman c738d1c620 Merged revisions 30037 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r30037 | mogorman | 2006-05-24 14:55:21 -0500 (Wed, 24 May 2006) | 3 lines

app_meemte used the ast_max_exten instead of path_max
solves bug 6822

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30068 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24 20:07:02 +00:00
bweschke 6a4a29231d app_meetme Muting and Manager API enhancements #6731 (softins w/some minor mods to accomodate recent enum work)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 16:35:46 +00:00
mogorman 68fecc663d patch from bug 0007204 to make bug 5750 follow standard
manager naming convention.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29592 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 22:51:56 +00:00
tilghman be87942d3b Merged revisions 29398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29398 | tilghman | 2006-05-22 09:59:59 -0500 (Mon, 22 May 2006) | 2 lines

Bug 7194 - spelling fix

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 15:01:36 +00:00
russell 941e1558d3 put a bunch of defines in enums, and convert comments to doxygen format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29195 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 15:13:19 +00:00
russell 75cee17a40 remove a CLI command that has been marked deprecated since before Asterisk 1.0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29164 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 14:06:37 +00:00
oej 950794c189 Remove unsupported, unimplemented, unfunctional "v" option from meetme documentation
(Imported from 1.2)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 12:19:00 +00:00
russell bb172c4719 simplify conference user list handling
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-13 11:06:34 +00:00
bweschke 51dbdd60d4 Implement new support for "meetme list <confno> concise"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26250 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 02:57:20 +00:00
mogorman 772c8f1511 added managerevent meetmemute with status on or off.
patch provided by bug 6811, with modifications for api.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25447 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 11:26:06 +00:00