dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

14527 Commits

Author SHA1 Message Date
kpfleming bed6564482 simplify this code and eliminate the return value cast that is no longer necessary
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101196 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 12:48:32 +00:00
oej 1c86efed98 Constifying the interface to get pvt_ids in the bridge, based on
suggestion from (const char *) Kevin. Thanks!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101154 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 11:27:56 +00:00
oej 497d2513dd Merged revisions 101152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101152 | oej | 2008-01-30 12:20:31 +0100 (Ons, 30 Jan 2008) | 7 lines

Stop musiconhold on attended transfer.
(closes issue #11872)
Reported by: gareth
Patches: 
      svn-101018.patch uploaded by gareth (license 208)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101153 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 11:21:52 +00:00
qwell 9dd8425cfa Fix a typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101126 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 00:58:23 +00:00
russell e2f5175dcd Add the 'n' option to SpeechBackground, which has the application not answer the
channel if it has not already been answered.

(closes SPD-51)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101082 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 00:04:17 +00:00
dhubbard 57ff6ade4a Merged revisions 101080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101080 | dhubbard | 2008-01-29 17:50:42 -0600 (Tue, 29 Jan 2008) | 1 line

updated build_tools to handle the autotag directory structure changes; changes related to BE-353.  Patch by The Russell and reviewed by The Me.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101081 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 23:59:41 +00:00
mmichelson 1e4c2caad4 Merged revisions 101035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101035 | mmichelson | 2008-01-29 17:02:03 -0600 (Tue, 29 Jan 2008) | 3 lines

Remove a memory leak from updating realtime queues


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101036 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 23:02:48 +00:00
tilghman 3e1e95eb03 Oops, a sizeof error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101018 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 22:04:15 +00:00
mmichelson 0fce4ed242 Merged revisions 100973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100973 | mmichelson | 2008-01-29 13:39:00 -0600 (Tue, 29 Jan 2008) | 6 lines

Fixing an erroneous return value returned when attempting to pause or unpause a queue member
fails.

Fixes BE-366, thanks to John Bigelow for writing the patch.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 19:41:42 +00:00
file 9d5ef19b0e Blocked revisions 100934 via svnmerge
........
r100934 | file | 2008-01-29 13:57:05 -0400 (Tue, 29 Jan 2008) | 4 lines

Don't forget to record the channel so we know whether it is bridged or not later.
(closes issue #11811)
Reported by: slavon

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100935 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:58:37 +00:00
russell 7fc8da9e1d Merged revisions 100932 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100932 | russell | 2008-01-29 11:43:41 -0600 (Tue, 29 Jan 2008) | 4 lines

Fix the last couple of issues related to building from a path that contains spaces.

(closes issue #11834)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100933 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:44:05 +00:00
qwell 494e664035 Merged revisions 100930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100930 | qwell | 2008-01-29 11:41:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Initialize an array to 0s if config option not specified.

(closes issue #11860)
Patches:
      misdn_get_config.v1.diff uploaded by IgorG (license 20)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100931 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:42:48 +00:00
russell 632edc61f9 Merged revisions 100922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100922 | russell | 2008-01-29 11:21:33 -0600 (Tue, 29 Jan 2008) | 3 lines

Use GNU make magic instead of shell magic to escape spaces in the working directory.
(related to issue #11834)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100928 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:22:47 +00:00
russell 1ab33dc185 Merged revisions 100882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100882 | russell | 2008-01-29 11:06:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Fix building Asterisk when the working path has spaces in it.

(closes issue #11834)
Reported by: spendergrass
Patched by: me

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100900 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:16:34 +00:00
qwell b49957cf42 Merged revisions 100835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100835 | qwell | 2008-01-29 10:10:00 -0600 (Tue, 29 Jan 2008) | 5 lines

Allow zap groups above 30 to work properly.

(closes issue #11590)
Reported by: tbsky

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100843 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 16:14:08 +00:00
file 3f47e215bb Make externip work as documented. If no port is specified it will use the value of bindport instead of always being 5060.
(closes issue #11858)
Reported by: hmodes


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100833 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 15:30:19 +00:00
crichter b08aa9fa2c Merged revisions 100793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100793 | crichter | 2008-01-29 11:36:19 +0100 (Di, 29 Jan 2008) | 1 line

fixed potential segfault in misdn show channels CLI command
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 10:50:29 +00:00
crichter 9deaa3f05c Merged revisions 96199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96199 | crichter | 2008-01-03 13:12:27 +0100 (Do, 03 Jan 2008) | 1 line

make sure frame is completely clean, before we send it to asterisk as DTMF. If we don't make it clean, it happens that one way audio occurs..
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100794 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 10:47:06 +00:00
oej be916fe955 Merged revisions 100740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100740 | oej | 2008-01-29 09:26:48 +0100 (Tis, 29 Jan 2008) | 8 lines

(closes issue #11736)
Reported by: MVF
Patches: 
      bug11736-2.diff uploaded by oej (license 306)
Tested by: oej, MVF, revolution

(russellb: This was the showstopper for the release.)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 09:18:42 +00:00
oej 3b59ac679c Removing code that wasn't supposed to be there at all, only at an experimental stage
before I found another solution. Thanks Kevin, for reminding me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100741 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 08:28:43 +00:00
qwell 34fa07e0ee Reintroduce more chan_vpb stuff that was removed in r100421 and r100422
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 21:11:24 +00:00
mmichelson e9f4b79cb8 Re-inserting chan_vpb into trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 21:07:18 +00:00
tilghman 4e76b6d7b5 Merged revisions 100675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100675 | tilghman | 2008-01-28 15:02:02 -0600 (Mon, 28 Jan 2008) | 2 lines

WaitExten didn't handle AbsoluteTimeout properly (went to 't' instead of 'T')

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100677 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 21:05:29 +00:00
qwell e717e61dc4 Merged revisions 100672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11795)
........
r100672 | qwell | 2008-01-28 14:42:43 -0600 (Mon, 28 Jan 2008) | 7 lines

When using ODBC_STORAGE, make sure we put greeting files into the database like we do with the others.

Issue #11795
Reported by: dimas
Patches:
      vmgreet.patch uploaded by dimas (license 88)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100676 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 21:02:11 +00:00
mmichelson f4cd23899a Blocked revisions 100673 via svnmerge
........
r100673 | mmichelson | 2008-01-28 14:55:56 -0600 (Mon, 28 Jan 2008) | 3 lines

Undoing the deprecation of chan_vpb. It is alive and well.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100674 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 20:58:12 +00:00
file 094a2b540a Fix up some T38 state change issues.
(closes issue #11630)
Reported by: dimas
Patches:
      v2-sip-t38state.patch uploaded by dimas (license 88)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100671 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 20:40:08 +00:00
file 554972df7c Fix up two scheduling issues. In one instance a scheduled item was not deleted when it should have been and in the other it was scheduled again when it shouldn't have been.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100632 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 19:04:53 +00:00
russell 7a7308449b Merge rev 100626 from Asterisk 1.4. The svnmerge of this commit was a NoOp, since
res_features doesn't exist in trunk.  Thanks to qwell for pointing it out!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 18:41:23 +00:00
russell 9014a61313 Merged revisions 100629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100629 | russell | 2008-01-28 12:34:20 -0600 (Mon, 28 Jan 2008) | 5 lines

For some reason, the use of this strdupa() is leading to memory corruption on
freebsd sparc64.  This trivial workaround fixes it.

(closes issue #10300, closes issue #11857, reported by mattias04 and Home-of-the-Brave)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100630 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 18:38:56 +00:00
tilghman 84e71acc2a Normalize the detection for execinfo, so that Linux (glibc) and other platforms
with libexecinfo will generate inline stack backtraces correctly.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100628 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 18:27:29 +00:00
russell ba87cc4fbd Merged revisions 100626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100626 | russell | 2008-01-28 12:26:31 -0600 (Mon, 28 Jan 2008) | 7 lines

Fix a crash in ast_masq_park_call()

(issue #11342)
Reported by: DEA
Patches:
      res_features-park.txt uploaded by DEA (license 3)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100627 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 18:27:08 +00:00
qwell 962ee3b018 Merged revisions 100624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100624 | qwell | 2008-01-28 12:23:09 -0600 (Mon, 28 Jan 2008) | 1 line

Correct a comment which made little/no sense.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100625 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 18:24:40 +00:00
russell b58476cddc Merged revisions 100581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100581 | russell | 2008-01-28 11:15:41 -0600 (Mon, 28 Jan 2008) | 9 lines

Make some deadlock related fixes.  These bugs were discovered and reported
internally at Digium by Steve Pitts.
 - Fix up chan_local to ensure that the channel lock is held before the local
   pvt lock.
 - Don't hold the channel lock when executing the timing function, as it can
   cause a deadlock when using chan_local.  This actually changes the code back
   to be how it was before the change for issue #10765.  But, I added some other
   locking that I think will prevent the problem reported there, as well.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100582 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 17:21:24 +00:00
russell e921c94580 Clean up some formatting, and simplify a bit of code using ast_str
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100565 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 14:27:28 +00:00
file 157c5b6484 Don't do a network byte order conversion when setting the socket's port variable to that of bindaddr's. It is already in the correct network byte order.
(closes issue #11800)
Reported by: hmodes


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100549 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 13:57:38 +00:00
russell 26d254366a Make a couple more uses of ARRAY_LEN, and convert some spaces to tabs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100533 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 04:43:14 +00:00
russell 9d47f3e5f7 - Simplify a line with ARRAY_LEN()
- Make a few little formatting changes


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100532 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 04:30:44 +00:00
russell 0b34b2e75b These readlocks always fail for me on my mac, and I saw it happen again
today on another mac.  We ignore the return value of locking operations almost
everywhere in Asterisk.  So, ignore these, as well, so Asterisk will actually
work on systems where this is occurring while I look into what the issue is.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100514 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 00:56:14 +00:00
tilghman 7080e02848 With the switch to the ast_sched_replace* API in trunk, we lose the correction
that was just merged from 1.4, so this is a changeover to those APIs to use the
macro versions, so that we properly detect errors from ast_sched_del, instead
of simply ignoring the return values.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100497 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-27 23:14:48 +00:00
tilghman c83caa1ae0 Merged revisions 100465 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100465 | tilghman | 2008-01-27 15:59:53 -0600 (Sun, 27 Jan 2008) | 11 lines

When deleting a task from the scheduler, ignoring the return value could
possibly cause memory to be accessed after it is freed, which causes all
sorts of random memory corruption.  Instead, if a deletion fails, wait a
bit and try again (noting that another thread could change our taskid
value).
(closes issue #11386)
 Reported by: flujan
 Patches: 
       20080124__bug11386.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, flujan, stuarth`

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100488 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-27 22:35:29 +00:00
qwell 76bbd4b67a Get rid of that last little bit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100422 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 22:54:01 +00:00
qwell 556669cea0 Remove more remnants of chan_vpb
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100421 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 22:47:52 +00:00
mmichelson 32dbf3859e Removing chan_vpb from the tree
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100420 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 22:39:35 +00:00
mmichelson dd766d1fbd Blocked revisions 100418 via svnmerge
........
r100418 | mmichelson | 2008-01-25 16:32:41 -0600 (Fri, 25 Jan 2008) | 4 lines

Deprecating chan_vpb. It is now preferred that users of Voicetronix products
use chan_zap in combination with their zaptel drivers.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100419 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 22:38:24 +00:00
qwell e7d7475368 Merged revisions 100378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100378 | qwell | 2008-01-25 15:24:49 -0600 (Fri, 25 Jan 2008) | 2 lines

This would have never been true, since we're passing (sizeof(req.data) - 1) as the len to recvfrom().

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100379 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 21:26:27 +00:00
kpfleming ac73a306ca correct a real problem and silence an annoying compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100361 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 20:51:47 +00:00
mmichelson 8e5083942e Insure that we are not going to pass a NULL pointer to add_to_interfaces.
(closes issue #11840)
Reported by: junky



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100344 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 14:53:09 +00:00
file 580f3eea91 Add an API call that steals the answered channel so that a destruction of the dialing structure does not hang it up.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100325 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 02:52:10 +00:00
tilghman 9ed2967713 Use the set ASTDBDIR as the default, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100307 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24 22:58:10 +00:00
kpfleming 2f5a917732 ummm... might be good if this macro argument was actually used :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100306 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24 22:36:19 +00:00