dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

891 Commits

Author SHA1 Message Date
mattf d110b0e236 SS7:Added - Generic Name / Access Transport / Redirecting Number handling. #12425
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-19 16:58:24 +00:00
mmichelson 1b556f00bb Merged revisions 114257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114257 | mmichelson | 2008-04-18 12:44:29 -0500 (Fri, 18 Apr 2008) | 6 lines

Clearing up error messages so they make a bit more sense. Also removing a redundant error
message.

Issue AST-15


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114259 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 18:03:06 +00:00
kpfleming 2076b70279 Merged revisions 114184 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114184 | kpfleming | 2008-04-16 15:46:38 -0500 (Wed, 16 Apr 2008) | 6 lines

use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to all zeroes in case it contains fields that we don't write values into (which it does as of Zaptel 1.4.10)

(closes issue #12456)
Reported by: fnordian


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114185 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:47:30 +00:00
mattf 4b1dbaaa30 Make sure linkset is locked exiting ss7_start_call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114093 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-12 16:21:29 +00:00
mattf 969adc5447 Make sure we start incoming calls on SS7 with echo cancellation enabled. Also make sure when completing a COT we call ss7_start_call with the proper locks held. Lastly, make sure if we fail to get a channel from zt_new that we don't assume it's there.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114092 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-12 16:13:25 +00:00
mmichelson d071e5c62e Merged revisions 112599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r112599 | mmichelson | 2008-04-03 09:32:20 -0500 (Thu, 03 Apr 2008) | 9 lines

Fix the testing of the "res" variable so that it is more logically correct and 
makes the correct warning and debug messages print.

(closes issue #12361)
Reported by: one47
Patches:
      chan_zap_deferred_digit.patch uploaded by one47 (license 23)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112600 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-03 14:35:47 +00:00
jpeeler 62c01ac2d8 This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112207 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-01 17:53:08 +00:00
russell a0e43a7c18 Now that zaptel trunk has been removed, add the PSTN deprecation notice to chan_zap, as well.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-01 16:35:04 +00:00
qwell 9ab76f9f85 Large cleanup of DSP code
Per comments from dimas:
1. The code now generates DTMF_BEGIN frames in addition to DTMF_END ones.

2. "quelching" rewritten - now each detector (MF/DTMF/generic tone) may mark fragment of a frame for suppression (squelching, muting) with a call to mute_fragment. Actual muting happens only once at the very end of ast_dsp_process where all marked fragments are zeroed. This way every detector sees original data in the frame without any piece of a frame being zeroed by a detector which was run before.

3. DTMF detector tries to "mute" one block before and one block after the block where actual tone was detected. Muting of previois block is something new for this patch. Obviously this operation is not always possible - if current frame does not contain data for previous block - it is too late. But at least we make our best.
Muting of next block was already done by the old code but it only affects part of the next block which is in the frame being processed. New code keeps this information in state structures so it will mute proper number of samples in the next frame(s) too.

4. Removed ast_dsp_digitdetect and ast_dsp_getdigits APIs because these are not used.

5. DSP API extended a bit - ast_dsp_was_muted() function added which returns true if DSP code was muting any fragment in the last frame. chan_zap uses this function to decide it needs to turn on confmute on the channel.
This is to replace AST_FRAME_DTMF 'm'/'u' (mute/unmute) functionality.


(closes issue #11968)
Reported by: dimas
Patches:
      v2-11968-dsp.patch uploaded by dimas (license 88)
      v4-11968-zap.patch uploaded by dimas (license 88)
Tested by: dimas, qwell


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111022 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 19:05:51 +00:00
qwell 8c8015552c Rename DSP_FEATURE_DTMF_DETECT, because we are *NOT* only detecting DTMF digits.
This was very misleading.

Early cleanup for issue #11968


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110161 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 22:25:34 +00:00
qwell 2c4aac0399 Rename very poorly named function to reflect what it actually does. This was causing quite a bit of confusion for me...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110132 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 21:56:15 +00:00
mmichelson 75163e5c9f Fix a typo which caused a double free in chan_zap. This was discovered
by Juggie while attempting to load chan_zap. Apparently this would happen
if an error were encountered while trying to process zapata.conf.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109802 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 23:32:58 +00:00
kpfleming faf90b0c03 add support for named sections in zapata.conf, and fix a few bugs in config file parsing
(closes issue #9503)
Reported by: tzafrir
Patches:
      fix_cleanups uploaded by tzafrir (license 46)
      zapata_sections uploaded by tzafrir (license 46)
      skipchannel_options uploaded by tzafrir (license 46)
      conf_sample uploaded by tzafrir (license 46)

patches updated by me to better conform to coding guidelines and fix some problems



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108286 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-12 21:37:40 +00:00
qwell 5f074afc22 Merged revisions 107173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107173 | qwell | 2008-03-10 15:27:08 -0500 (Mon, 10 Mar 2008) | 5 lines

Make sure to reenable echo can after a "failed" (canceled, etc) three-way call.

(closes issue #11335)
Reported by: rebuild

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107177 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-10 20:28:33 +00:00
kpfleming cb7f3ce371 Merged revisions 106945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106945 | kpfleming | 2008-03-08 09:59:42 -0600 (Sat, 08 Mar 2008) | 2 lines

don't generate D-Channel "up" and "down" messages unless the channel state is actually changing; also, generate the "up" message when an implicit "up" occurs due to reception of a normal event when we thought the channel was "down"

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106946 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-08 16:03:48 +00:00
mattf cacdbb63af Make sure we don't start a call when we have already done so in response to a COT message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106892 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07 22:36:49 +00:00
file f6b76699b7 Merged revisions 106235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106235 | file | 2008-03-05 18:32:10 -0400 (Wed, 05 Mar 2008) | 4 lines

Add a control frame to indicate the source of media has changed. Depending on the underlying technology it may need to change some things.
(closes issue #12148)
Reported by: jcomellas

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106239 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 22:43:22 +00:00
kpfleming 6f39909904 Merged revisions 106038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106038 | kpfleming | 2008-03-05 09:32:35 -0600 (Wed, 05 Mar 2008) | 7 lines

when a PRI call must be moved to a different B channel at the request of the other endpoint, ensure that any DSP active on the original channel is moved to the new one

(closes issue #11917)
Reported by: mavetju
Tested by: mavetju


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106040 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 15:40:40 +00:00
tilghman 701a8a40c2 Fix minor misuses of snprintf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105841 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-04 23:10:45 +00:00
russell ca0676b433 Fix some code that was improperly changed in revision 104866 from issue #12079.
(closes issue #12129, reported by elguero, patched by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105574 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-03 18:49:34 +00:00
russell ca10327a0e reduce indentation in alloc_sub
(issue #12079)
Reported by: tzafrir
Patches:
      alloc_sub uploaded by tzafrir (license 46)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104866 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27 23:58:49 +00:00
russell 0cc911d8cc Merged revisions 104119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104119 | russell | 2008-02-25 18:25:29 -0600 (Mon, 25 Feb 2008) | 33 lines

Merge changes from team/russell/smdi-1.4

This commit brings in a significant set of changes to the SMDI support in Asterisk.
There were a number of bugs in the current implementation, most notably being that
it was very likely on busy systems to pop off the wrong message from the SMDI message
queue.  So, this set of changes fixes the issues discovered as well as introducing
some new ways to use the SMDI support which are required to avoid the bugs with
grabbing the wrong message off of the queue.

This code introduces a new interface to SMDI, with two dialplan functions.  First,
you get an SMDI message in the dialplan using SMDI_MSG_RETRIEVE() and then you access
details in the message using the SMDI_MSG() function.  A side benefit of this is that
it now supports more than just chan_zap.

For example, with this implementation, you can have some FXO lines being terminated 
on a SIP gateway, but the SMDI link in Asterisk.

Another issue with the current implementation is that it is quite common that the
station ID that comes in on the SMDI link is not necessarily the same as the Asterisk
voicemail box.  There are now additional directives in the smdi.conf configuration
file which let you map SMDI station IDs to Asterisk voicemail boxes.

Yet another issue with the current SMDI support was related to MWI reporting over
the SMDI link.  The current code could only report a MWI change when the change
was made by someone calling into voicemail.  If the change was made by some other
entity (such as with IMAP storage, or with a web interface of some kind), then the
MWI change would never be sent.  The SMDI module can now poll for MWI changes if
configured to do so.

This work was inspired by and primarily done for the University of Pennsylvania.

(also related to issue #9260)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104120 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 00:31:40 +00:00
russell b8ad84d572 Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
(closes issue #12060)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104110 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-25 23:56:47 +00:00
dbailey a3a74011ad Add protection to chan_zap build when NEONMWI events are not defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104045 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-22 23:56:55 +00:00
dbailey 227cac9850 Added configuration distinction between neon and fsk mwi detection
Add the detection for neon MWI events
got rid of extraneous handle_init_event call in monitor loop


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104024 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-21 17:38:40 +00:00
file a8d11c7b87 Merged revisions 103953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103953 | file | 2008-02-20 18:06:59 -0400 (Wed, 20 Feb 2008) | 6 lines

Don't wait for additional digits when overlap dialing is enabled if the setup message contains the sending_complete information element.
(closes issue #11785)
Reported by: klaus3000
Patches:
      sending_complete_overlap_asterisk-1.4.17.patch.txt uploaded by klaus3000 (license 65)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103954 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20 22:10:30 +00:00
jpeeler 50b88d15e1 (closes issue #11864)
Reported by: julianjm
Patches:
      chan_zap.c-1.4-devicestate-v1.diff uploaded by julianjm (license 99)
Patch fixes problem of device state incorrectly reporting idle before PBX answers incoming call on FXO channel. Device status is updated now during new channel creation.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19 18:14:56 +00:00
qwell b628d71ddf Merged revisions 103795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103795 | qwell | 2008-02-18 16:28:56 -0600 (Mon, 18 Feb 2008) | 1 line

Fix previous commit so that we actually disable echocanbridged if echocancel is off.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103796 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 22:33:27 +00:00
mattf 71aeddffbe Commit chan_zap portion of #11964: add the ability to get ORIG_CALLED_NUM
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103794 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 21:57:50 +00:00
qwell 9c4d113910 Merged revisions 103790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103790 | qwell | 2008-02-18 15:23:32 -0600 (Mon, 18 Feb 2008) | 4 lines

Correct a message when echocancelwhenbridged is on, but echocancel is not.

Closes issue #12019

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 21:30:22 +00:00
mattf 22ba226788 Make sure EC is enabled when SS7 call comes in. Also add support for multiple DPCs per linkset. #11779
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103788 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 20:58:23 +00:00
mmichelson 72bfa30a10 Merged revisions 103770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103770 | mmichelson | 2008-02-18 10:37:31 -0600 (Mon, 18 Feb 2008) | 10 lines

Fix a linked list corruption that under the right circumstances
could lead to a looped list, meaning it will traverse forever.

(closes issue #11818)
Reported by: michael-fig
Patches:
      11818.patch uploaded by putnopvut (license 60)
	  Tested by: michael-fig


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103771 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 16:40:36 +00:00
qwell 2d7e70ff01 Fix up some doxygen issues.
(closes issue #11996)
Patches:
      bug_11996_doxygen.diff uploaded by snuffy (license 35)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103723 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 17:29:08 +00:00
qwell 640cbe8bca Add line numbers to warning/error messages (and pretty up some existing ones).
(closes issue #11894)
Reported by: jmls
Patches:
      chan_zap.patch uploaded by jmls (license 141)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102297 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04 18:39:30 +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
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
file c73a78b57a Remove dependency on res_features from some channel drivers. It is now part of the core and no longer exists as a module.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100112 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24 15:54:32 +00:00
kpfleming 325a8f9739 since echo canceler parameters in Zaptel are now signed integers, allow them during parsing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99920 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 17:27:05 +00:00
oej 21363e1a63 Doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99464 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 08:58:46 +00:00
qwell 9534f137ec Fix distinctive ring detection.
Reported by: milazzo
Patches:
      drings.diff uploaded by milazzo (license 383)

Closes issue #11799


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99424 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 23:25:42 +00:00
qwell 8bbcdbc2f3 Add several busy detection related defines to menuselect.
Allow better busy detect debugging (with BUSYDETECT_DEBUG).

Remove very old BUSYDETECT and BUSY_DETECT_MARTIN defines.

(closes issue #11107)
Patches:
      busydetect_enhancement.patch uploaded by agx (license 298)
      busydetect-r94975.diff uploaded by sergee (license 138)

Additional changes/cleanup by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98998 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 20:51:26 +00:00
kpfleming 3b7a68b182 major reliability and performance improvement in VWMI monitoring for FXO ports (code by markster, me and dbailey)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98990 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 16:17:52 +00:00
kpfleming cdf9ce4cb9 Add 'zap set dnd' CLI command, and ensure that the AMI DNDState event always gets generated.
(closes issue #11212)
Reported by: tzafrir
Patches:
      zap_dnd.diff uploaded by tzafrir (modified by me) (license 46)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98488 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-12 00:20:55 +00:00
kpfleming e63414ec96 Add 'auto' signalling mode for Zaptel channels.
(closes issue #11690)
Reported by: tzafrir
Patches:
      signaling_to_signalling.diff uploaded by tzafrir (license 46)
      signalling_cleanup.diff uploaded by tzafrir (license 46)
      zap_auto_default.diff uploaded by tzafrir (license 46)
      zap_no_default_sig.diff uploaded by tzafrir (license 46)
      zap_signal_auto.diff uploaded by tzafrir (license 46)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98436 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 23:10:57 +00:00
kpfleming 1f3f02b465 Merged revisions 97448 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97448 | kpfleming | 2008-01-09 09:43:19 -0600 (Wed, 09 Jan 2008) | 2 lines

pass the right variable to get an error string... oops

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97449 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 15:45:34 +00:00
kpfleming a1a41b71a0 Merged revisions 97410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97410 | kpfleming | 2008-01-09 09:26:23 -0600 (Wed, 09 Jan 2008) | 2 lines

add error number output to ioctl failure messages to help with debugging

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97421 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 15:31:56 +00:00
kpfleming cea2f98c6d [commit message]
(closes issue #10393)
Reported by: tzafrir
Patches:
      chan_alarm_asterisk.diff uploaded by tzafrir (license 46) (modified by me and added configure script support)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96500 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 17:21:25 +00:00
russell 993aecf160 Merged revisions 96449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96449 | russell | 2008-01-04 10:19:22 -0600 (Fri, 04 Jan 2008) | 7 lines

Make use of the temporary channel pointer while the pvt is unlocked.

(closes issue #11675)
Reported by: flefoll
Patches:
      chan_zap.c.patch-store-owner-before-unlock uploaded by flefoll (license 244)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96450 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 16:21:08 +00:00
kpfleming bcc9a193e3 actually parse and store echocan parameters from zapata.conf... this *should* work <G>
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96073 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:41:23 +00:00
mmichelson d58696d360 Add curly braces around a compound if statement so that trunk will build properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:29:15 +00:00