dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

758 Commits

Author SHA1 Message Date
russell 4898d3cdcc Merged revisions 75053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r75053 | russell | 2007-07-13 14:11:26 -0500 (Fri, 13 Jul 2007) | 20 lines

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

........
r75052 | russell | 2007-07-13 14:10:00 -0500 (Fri, 13 Jul 2007) | 12 lines

(closes issue #9660)
Reported by: mmacvicar
Patches submitted by: bbryant, russell
Tested by: mmacvicar, marco, arcivanov, jmhunter, explidous

When using a TDM400P (and probably other analog cards) there was a chance that
you could hang up and pick the phone back up where it has been long enough to
be not considered a flash hook, but too soon such that the device reports that
it is busy and the person on the phone will only hear silence.  This patch
makes chan_zap more tolerant of this and gives the device a couple of seconds 
to succeed so the person on the phone happily gets their dialtone.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75054 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-13 19:19:51 +00:00
qwell 66be536ad1 Merged revisions 74159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

Closes issue #9186
................
r74159 | qwell | 2007-07-09 15:19:28 -0500 (Mon, 09 Jul 2007) | 16 lines

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

........
r74158 | qwell | 2007-07-09 15:18:15 -0500 (Mon, 09 Jul 2007) | 8 lines

Several chan_zap options were not working on reload because they were arbitrarily
 disallowed when reloading some/most PRI options (such as signalling) was disallowed.

Options such as polarityonanswerdelay and answeronpolarityswitch can safely be changed on a reload.
This corrects that behavior.

Issue 9186, patch by tzafrir.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74160 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09 20:21:13 +00:00
mattf 6e0e033e94 Fix bug where point code gets corrupted on CPG
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72437 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 16:35:38 +00:00
mattf cab774c60a Let's NOT create a deadlock scenario here
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72304 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 21:44:13 +00:00
kpfleming 9ca6486a2f Merged revisions 72205 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72205 | kpfleming | 2007-06-27 14:13:21 -0500 (Wed, 27 Jun 2007) | 2 lines

use the proper type for storing group number bits so that if someone specifies 'group=42' it will actually work instead of being silently ignored

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72207 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 19:13:54 +00:00
mattf ff79be5e32 Remove deprecated function call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 18:03:46 +00:00
russell f24f847ba3 Merged revisions 70397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70397 | russell | 2007-06-20 13:46:49 -0500 (Wed, 20 Jun 2007) | 13 lines

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

........
r70396 | russell | 2007-06-20 13:45:38 -0500 (Wed, 20 Jun 2007) | 5 lines

Fix a problem where an established call would not be properly disconnected
when a PRI disconnect is received depending on which cause code was received.
(issue #9588, original patch by softins, updated patch from jtexter3, and some
 additional feedback from mhardeman)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70398 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 18:48:34 +00:00
oej 321b9a2a98 Show TDD status in "zap show channels"
Inspired by work at Omnitor in Sweden


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70310 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 14:33:34 +00:00
murf ea48d89dcd These changes were submitted via bug 6683, to allow CID detection in India, with carriers that do Polarity/DTMF CID signalling.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70001 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19 17:07:28 +00:00
mattf da6b37ba43 Add support for setting nature of address, presentation, and other related SS7 number options (#10000)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69943 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19 15:14:23 +00:00
russell f042431847 Add a massive set of changes for converting to use the ast_debug() macro.
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 19:39:12 +00:00
mattf c8ca7d2f26 Clean up debug messages a little bit for ss7 linkset debugging
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69308 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 16:41:57 +00:00
russell 8948629e10 Fix a couple of places that got missed in the conversion to using the new API
call for creating detached threads.
(issue #9915, reported by elguro, fixed by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07 22:38:59 +00:00
mattf 85f5258b00 Allow overlapdialing directions to be configurable. Bug #8554
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67920 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 23:12:58 +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
file 4a0fcc5ded When SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67596 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 12:23:59 +00:00
russell 37b2a5420f Merged revisions 67457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67457 | russell | 2007-06-05 14:48:02 -0500 (Tue, 05 Jun 2007) | 2 lines

Suppress a bunch of debug output unless option_debug is on

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67458 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05 19:50:04 +00:00
russell 450b9df30a Improve the way that the zaptel channel name is created by using the Asterisk
strings API and by only allocating space on the stack


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67380 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05 17:11:32 +00:00
file 0ad1981090 This concludes my tweaking of things.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66604 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-30 16:11:57 +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
mattf 40ad91e9f2 Make sure we get the cause code in the REL
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65640 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-23 15:37:51 +00:00
russell 4c12a4bc0e Merged revisions 65589 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65589 | russell | 2007-05-23 08:07:13 -0500 (Wed, 23 May 2007) | 11 lines

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

........
r65588 | russell | 2007-05-23 08:06:17 -0500 (Wed, 23 May 2007) | 3 lines

Revert revision 62417 as someone reported problems with it to Mark.  This was
related to issue #9588.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65591 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-23 13:10:28 +00:00
russell d555f6d975 Merged revisions 65501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65501 | russell | 2007-05-22 13:40:38 -0500 (Tue, 22 May 2007) | 3 lines

List res_smdi as a dependency for app_voicemail and chan_zap
(Thanks to mnicholson for pointing it out)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65502 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22 18:41:56 +00:00
mattf 288f15a9fa XXX-XXX-XXX appears to be the standard ANSI pointcode format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64455 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-15 20:45:20 +00:00
mattf f91170af71 Only print the SS7 UP once. Not every time we get the test messages on the
line.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64384 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-14 22:25:56 +00:00
mattf c3adaa3720 Merged revisions 63654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63654 | mattf | 2007-05-09 12:25:21 -0500 (Wed, 09 May 2007) | 10 lines

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

........
r63653 | mattf | 2007-05-09 12:20:20 -0500 (Wed, 09 May 2007) | 2 lines

Make sure we only create a DSP if it's requested on SUB_REAL

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63655 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09 17:35:54 +00:00
murf 1de5da674f Merged revisions 62689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62689 | murf | 2007-05-02 11:10:50 -0600 (Wed, 02 May 2007) | 1 line

a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62690 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-02 17:24:03 +00:00
russell 7443c4962d Merged revisions 62419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62419 | russell | 2007-04-30 10:58:28 -0500 (Mon, 30 Apr 2007) | 12 lines

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

........
r62417 | russell | 2007-04-30 10:57:26 -0500 (Mon, 30 Apr 2007) | 4 lines

This patch fixes an issue where depending on the cause code, when the network
sends a PRI disconnect, the call may not be properly hung up.
(issue #9588, reported and patched by softins)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62422 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-30 15:59:27 +00:00
russell 402d24c69b Merged revisions 62331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62331 | russell | 2007-04-29 00:50:37 -0500 (Sun, 29 Apr 2007) | 3 lines

Fix a bug that made the "language" setting in zapata.conf not
functional.  (issue #9626, reported and fixed by sergee)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62332 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-29 05:51:18 +00:00
russell 9c61ba7c81 Merge changes from team/russell/events
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.

This set of changes introduces the first use of the API, as well.  I have
restructured the way that MWI (message waiting indication) is handled.  It is
now event based instead of polling based.  For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes.  app_voicemail will generate events
when changes occur.

See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective.  For developer information, see the text in
include/asterisk/event.h.

As always, additional feedback is welcome on the asterisk-dev mailing list.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62292 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-28 21:01:44 +00:00
kpfleming 5ddf59b5b3 Merged revisions 61914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61914 | kpfleming | 2007-04-25 17:29:53 -0500 (Wed, 25 Apr 2007) | 10 lines

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

........
r61913 | kpfleming | 2007-04-25 17:24:59 -0500 (Wed, 25 Apr 2007) | 2 lines

handle a very bizarre race condition with channels being redirected before a simple switch can be started on them (issue #9286)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61915 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-25 22:34:58 +00:00
russell 6f4a7aa6e9 Merged revisions 61799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61799 | russell | 2007-04-25 11:22:07 -0500 (Wed, 25 Apr 2007) | 11 lines

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

........
r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) | 3 lines

Fix a typo where cid_num got copied instead of cid_ani.  
(issue #9587, reported and patched by xrg)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61800 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-25 16:23:00 +00:00
dhubbard 73d01d3d21 removed #if 0 block from chan_zap restart_monitor()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61784 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-24 19:08:28 +00:00
dbailey c0ba6b88af Added zapata.conf parameter "cid_rxgain" to allow the user to adjust the gain bump used during CID acquisition.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61303 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10 22:02:53 +00:00
murf 0b50472037 Merged revisions 60989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

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

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61152 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10 05:41:34 +00:00
mattf f65e7bfa4a Merged revisions 60485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60485 | mattf | 2007-04-06 13:21:52 -0500 (Fri, 06 Apr 2007) | 2 lines

Make sure we check the faxdetect option before doing fax processing

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60487 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06 18:26:24 +00:00
mattf 572e7d9e59 Merged revisions 60459 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60459 | mattf | 2007-04-06 12:32:31 -0500 (Fri, 06 Apr 2007) | 10 lines

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

........
r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines

There should only be one code path for doing DTMF conditionals on channels.  This fixes it.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60486 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06 18:25:38 +00:00
mattf d6b3680d25 Update to support multiple CIC groups and DPCs per linkset.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30 20:54:42 +00:00
dhubbard 5e0e7b370b added filtering options to 'zap show channels' to implement functionality described in issue 6520
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59286 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-28 00:09:25 +00:00
file 3f91e07985 Use better english. Renegotiate! Repeat after me: renegotiate.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59272 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-27 20:11:11 +00:00
mattf b00932def0 Fix bug in which parameter type we are passing. This shouldn't be a problem
since both types are the same underneath.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59205 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26 16:48:29 +00:00
mattf 04bc7a858c Small API related SS7 updates.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59204 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26 16:46:07 +00:00
russell 9772ea1e47 Merged revisions 58510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58510 | russell | 2007-03-08 16:06:54 -0600 (Thu, 08 Mar 2007) | 3 lines

Add a missing break statement so that handling the above event does not
incorrectly destroy the channel. (issue #9242, andrew)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58511 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08 22:08:28 +00:00
russell d3feb464a8 Merged revisions 58320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58320 | russell | 2007-03-07 19:01:46 -0600 (Wed, 07 Mar 2007) | 6 lines

If we receive ZT_EVENT_REMOVED, destroy the specified channel. 
(issue #7256, tzafrir)

Also, update the configure script to make sure that we don't try to build 
chan_zap if the installed version of zaptel does not include ZT_EVENT_REMOVED.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58321 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08 01:06:00 +00:00
file d1bedc0b2d Add zap show version CLI command. This pulls the version/echo canceller in use directly using the ZT_GETVERSION ioctl. (issue #9094 reported by tootai)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57943 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05 20:13:51 +00:00
tilghman 68d62aa18e Issue 7789 - some telcos want the TON set based on the number, but without the NANP prefix removed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56952 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-27 00:11:32 +00:00
oej 2c162efa7e Doxygen updates and corrections
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-24 19:49:11 +00:00
mattf 21a2f91b3e Merged revisions 54375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r54375 | mattf | 2007-02-14 10:56:40 -0600 (Wed, 14 Feb 2007) | 10 lines

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

........
r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2 lines

When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54404 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14 17:14:42 +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
file 8cea0763f1 Merged revisions 51788 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

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

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

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51801 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23 22:59:55 +00:00