dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

312 Commits

Author SHA1 Message Date
tilghman a475873199 Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
properly.
(closes issue #12760)
 Reported by: Corydon76
 Patches: 
       20080530__bug12760.diff.txt uploaded by Corydon76 (license 14)
 Tested by: tim_ringenbach, Corydon76


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119296 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-30 16:10:46 +00:00
file 5b36af1375 Merged revisions 118646 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118646 | file | 2008-05-28 11:23:34 -0300 (Wed, 28 May 2008) | 4 lines

Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
(closes issue #10417)
Reported by: cstadlmann

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-28 14:29:01 +00:00
mmichelson c0ca2a427b A new feature thanks to the fine folks at Switchvox!
If a deadlock is detected, then the typical lock information will be
printed along with a backtrace of the stack for the offending threads.
Use of this requires compiling with DETECT_DEADLOCKS and having glibc
installed.

Furthermore, issuing the "core show locks" CLI command will print the
normal lock information as well as a backtraces for each lock. This
requires that DEBUG_THREADS is enabled and that glibc is installed.

All the backtrace features may be disabled by running the configure
script with --without-execinfo as an argument



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118173 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23 22:35:50 +00:00
mvanbaak 4070216d0d add option 'a' to chanisavail.
If you give chanisavail a list of channels, it will only
return the first available channel.
When this option is set, it will return all the available
channels from the given list.

(closes issue #12248)
Reported by: dagmoller
Patches:
      app_chanisavail-snv.patch-v2.txt uploaded by dagmoller (license 436)
	   - major changes by me because russellb pointed out some buffer overflows
	     and codeguideline issues.
		 Converted it all to the ast_str_* api
Tested by: dagmoller, mvanbaak


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118101 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23 17:12:04 +00:00
tilghman 9f974d96fa Enhance ExternalIVR with new options and commands.
(closes issue #12705)
 Reported by: ctooley
 Patches: 
       new_externalivr_argument_format-v2.diff uploaded by ctooley (license 136)
       new_externalivr_documentation.diff uploaded by ctooley (license 136)
       and a few additional fixes by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-22 05:10:01 +00:00
tilghman 60c5b78a7e Increase limit of unshared connections from 1023 to 4.2 billion.
(Related to issue #12677)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117264 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-20 16:25:16 +00:00
tilghman 9f97a44436 Change the default for the pridialplan parameter to the far more common case of
'unknown', and better document the use of each parameter.
(closes issue #12633)
 Reported by: tzafrir
 Patches: 
       pridialplan_unknown_2.diff uploaded by tzafrir (license 46)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117182 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-19 20:06:38 +00:00
mmichelson 83a1c36bfe Adding a new option to Chanspy(). The 'd' option allows for the spy to
press DTMF digits to switch between spying modes. Pressing 4 activates spy mode,
pressing 5 activates whisper mode, and pressing 6 activates barge mode. Use of
this feature overrides the normal operation of DTMF numbers. 

This feature is courtesy of Switchvox.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116522 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 22:15:12 +00:00
oej f3a2d1775a Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
Work sponsored by Omnitor AB, Stockholm, Sweden (http://www.omnitor.se)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116237 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 13:37:07 +00:00
oej 8890616992 Add support for codec settings in originate via call file and manager.
This is to enable video and text in originated calls. Development sponsored
by Omnitor AB, Sweden. (http://www.omnitor.se)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 12:32:57 +00:00
mmichelson 71a41a28b1 Adding support for "urgent" voicemail messages. Messages which are
marked "urgent" are considered to be higher priority than other messages
and so they will be played before any other messages in a user's mailbox.

There are two ways to leave an urgent message. 
1. send the 'U' option to VoiceMail().
2. Set review=yes in voicemail.conf. This will give instructions for 
   a caller to mark a message as urgent after the message has been recorded.

I have tested that this works correctly with file and ODBC storage, and James
Rothenberger (who wrote initial support for this feature) has tested its use
with IMAP storage.

(closes issue #11817)
Reported by: jaroth
	Based on branch http://svn.digium.com/svn/asterisk/team/jrothenberger/asterisk-urgent
Tested by: putnopvut, jaroth



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115588 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 21:22:42 +00:00
bbryant d2e5ffcec0 Update CHANGES file for previous commit of ENUM and TXCIDNAME changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115586 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 20:05:50 +00:00
tilghman 44e2dbcb9a Allow a password change to be validated by an external script.
(closes issue #12090)
 Reported by: jaroth
 Patches: 
       vm-check-newpassword.diff.txt uploaded by mvanbaak (license 7)
       20080509__bug12090.diff.txt uploaded by Corydon76 (license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115582 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 17:28:06 +00:00
tilghman 9844825c4b Optionally display the value of several variables within the Status command.
(Closes issue AST-34)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05 19:33:14 +00:00
bbryant 99891829fa Add two new console commands "pri show version" and "ss7 show version" that will show the version of each library respectively.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115078 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 23:09:08 +00:00
tilghman d1cc29c9c1 Modify TIMEOUT() to be accurate down to the millisecond.
(closes issue #10540)
 Reported by: spendergrass
 Patches: 
       20080417__bug10540.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115076 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 23:06:23 +00:00
russell 995531248a Merge changes from team/russell/smdi-msg-searching
This commit adds some new features to the SMDI_MSG_RETRIEVE() dialplan function.
Previously, this function only allowed searching by the forwarding station.
I have added some options to allow you to also search for messages in the queue
by the message desk terminal ID, as well as the message desk number.

This originally came up as a suggestion on the asterisk-dev mailing list.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115021 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 19:05:36 +00:00
bbryant 26a549ebfb Add two new dialplan functions from libspeex for applying audio gain control
and denoising to a channel, AGC() and DENOISE(). Also included, is a change 
to the audiohook API to add a new function (ast_audiohook_remove) that can 
remove an audiohook from a channel before it is detached.

This code is based on a contribution from Switchvox.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114926 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 16:57:19 +00:00
file c4cf6f9132 Add support for specifying the registration expiry on a per registration basis in the register line. This comes from a Switchvox patch. (issue AST-24)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114912 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 20:51:17 +00:00
mmichelson ad5fb449de Adding new configuration options to app_queue. This adds two new values
to announce-position, "limit" and "more," as well as a new option, 
announce-position-limit. For more information on the use of these options,
see CHANGES or configs/queues.conf.sample.

(closes issue #10991)
Reported by: slavon
Patches:
      app_q.diff uploaded by slavon (license 288)
Tested by: slavon, putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114906 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 19:30:41 +00:00
tilghman c230dbcc21 Document the Incomplete application addition.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114874 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 05:05:25 +00:00
mmichelson fc66a44580 Adding a new option 'n' to app_chanspy. This option allows for the name of the spied-on
party to be spoken instead of the channel name or number.

This was accomplished by adding a new function pointer to point to a function in app_voicemail
which retrieves the name file and plays it. This makes for an easy way that applications may play
a user's name should it be necessary. app_directory, in particular, can be simplified greatly by
this change.

This change comes as a suggestion from Switchvox, which already has this feature. AST-23


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114813 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-28 22:38:07 +00:00
mmichelson 37ff3d379f Adding a new option, 'B' to app_chanspy. This option allows the spy to
barge on the call. It is like the existing whisper option, except that
it allows the spy to talk to both sides of the conversation on which
he is spying.

This feature has existed in Switchvox, and this merges the functionality
into Asterisk.

(AST-32)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-25 22:24:32 +00:00
russell 58439d435a Add a c() option for the Jack() application and JACK_HOOK() funciton for supplying
a custom client name.  Using the channel name is still the default.  This was done
at the request of Jared Smith.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114533 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-22 16:47:00 +00:00
murf 137c1d8d9e (closes issue #12467)
Reported by: atis
Tested by: murf

This upgrade adds the ~~ (concatenation) string operator to expr2.
While not needed in normal runtime pbx operation, it is needed when
raw exprs are being syntax checked. This plays into future syntax-
unification plans. By permission of atis, this addition in trunk 
and the reason of why things are as they are will suffice to close
this bug.

I also added a short note about the previous addition of "sip show sched"
to the CLI in CHANGES, which I discovered I forgot in a previous commit.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114423 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 21:13:02 +00:00
file 4fabc3fc02 Add MEETME_INFO dialplan function that allows querying various properties of a Meetme conference.
(closes issue #11691)
Reported by: junky
Patches:
      meetme_info.patch uploaded by jpeeler (license 325)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114261 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 18:15:11 +00:00
jpeeler 473b76beed added info describing DNS manager
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 21:09:37 +00:00
seanbright 68822de9df Update the CHANGES file with yesterday's ChanSpy change. Sorry Kevin, just saw your e-mail.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114194 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 12:25:23 +00:00
murf 993e45a63b This is the scariest commit I've done in a long time. This is the astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114190 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 23:53:27 +00:00
murf 800b2ead72 Introducing a small upgrade to the ast_sched_xxx facility, to keep it from eating up lots of cpu cycles. See CHANGES. From the team/murf/bug11210 branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114182 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:09:39 +00:00
murf d3a9bac0e7 Introducing various astobj2 enhancements, chief being a refcount tracing feature, and various documentation updates in astobj2.h, and the addition of standalone utility, refcounter, that will filter the trace output for unbalanced, unfreed objects. This comes from the team/murf/bug11210 branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114175 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:45:28 +00:00
murf 9eb33a0a0e Introducing doubly linked lists to trunk from branch team/murf/bug11210.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114172 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:14:18 +00:00
file 450035f0f4 A 'b' option has been added which causes chan_local to return the actual channel that is behind it when queried. This is useful for transfer scenarios as the actual channel will be transferred, not the Local channel. If you have been using Local channels as queue members and having issues when the agent did a blind transfer this option may solve the issue.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114049 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-10 20:28:40 +00:00
tilghman cbf32a3bec Mark recent additions from #11954 and #12254
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@113752 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-09 16:23:30 +00:00
jpeeler 1d7d5b83f2 Existing DNS manager lookups extended to check for SRV records.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112321 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-01 22:07:30 +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
tilghman 7deaedf968 Add a linkedlist macro that maintains a sorted list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111036 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 19:19:31 +00:00
tilghman 03d36cd544 Oops, fix this, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111013 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 18:41:27 +00:00
kpfleming adfd7f5f13 Merged revisions 110880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r110880 | kpfleming | 2008-03-26 09:42:35 -0700 (Wed, 26 Mar 2008) | 10 lines

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

........
r110869 | kpfleming | 2008-03-26 08:53:46 -0700 (Wed, 26 Mar 2008) | 2 lines

due to licensing restrictions, we cannot distribute the source code for iLBC encoding and decoding... so remove it, and add instructions on how the user can obtain it themselves

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110881 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 17:10:28 +00:00
file 663b7622ce Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
(closes issue #9239)
Reported by: sunder


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-25 15:18:41 +00:00
russell 0c36baca28 Note that the TCP and TLS support is currently considered experimental and
is subject to change while we work out the remaining issues.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110499 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-21 15:24:43 +00:00
tilghman 7fa3f1341f Add note of the added Directory options, from commit 110237 (closes issue #7151)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110444 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-21 01:44:38 +00:00
jpeeler 76248bd9e7 This change adds DNS manager support for registrations not referencing a peer entry. It looks like there is support for DNS manager for realtime peers as well, however it is not implemented correctly. The improper usage occurs when ast_dnsmgr_lookup is called with one of the arguments being an address from the stack to be continually updated. The variable from the stack will go out of scope and dnsmgr will continue to try and update the memory there, causing possible stack corruption. This problem will be worked on next as well as adding DNS manager support for peer entries.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110087 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 21:05:24 +00:00
file ab44bf6700 Add the ability to use a pattern match for a hint.
(closes issue #7767)
Reported by: Corydon76
Patches:
      20070314__simple_hint_lookup.diff.txt uploaded by Corydon76
      pbx-trunk-98436.diff uploaded by plack (license 365)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109970 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 16:54:12 +00:00
mmichelson cc9a99e058 Add option 'randomperiodicannounce' to queues.conf. Setting this will
allow the list of periodic announcments specified to be played in a random
order instead of being played sequentially.

(closes issue #6681)
Reported by: alt_phil
Tested by: putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109621 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 18:58:42 +00:00
oej ee49273d4d Add manager peerstatus events when peer can't authenticate.
(closes issue #11959)
Reported by: mostyn
Patches: 
      peerstatus3.patch uploaded by mostyn (license 398)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109316 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 07:23:45 +00:00
jpeeler d7f3722fa5 documenting changes as a result of adding TCP functionality to ExternalIVR
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108639 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13 23:12:59 +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
russell c685c2e7f3 Add a trivial new dialplan function, AST_CONFIG(), which allows you to access
a variable from an Asterisk configuration file in the dialplan, or anywhere
else where dialplan functions can be used.

(Inspired by a discussion with Tilghman and Pari)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107787 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 22:21:19 +00:00
mmichelson f523ddafbb Adding the Atxfer manager command. With this, you may initiate
an attended transfer over AMI

(closes issue #10585)
Reported by: ornati
Patches:
      atxfer-trunk-r90428.diff uploaded by ornati (license 210)
	  (with modifications from me)
Tested by: putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106236 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 22:33:05 +00:00