dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

14237 Commits

Author SHA1 Message Date
rizzo 74ec4f4279 update comments to reflect reality (or at least planned behaviour).
minor code cleanups



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96836 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 15:06:54 +00:00
rizzo fc37acff50 resolve a load-time problem avoiding a call to console_do_answer.
On passing, fix dialling from the keypad.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96776 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 11:22:01 +00:00
russell 16a48590aa Convert this file over the new method of getting the Asterisk version.
(I don't have this building on this machine, so caio1982 on IRC is going to
 test it for me.  :) )


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96743 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 23:05:35 +00:00
russell ab908a2a8b Now that the version.h file was getting properly regenerated every time the svn
revision changed, every module that used the version was getting rebuilt after
every svn update.  This severly annoyed me pretty quickly, so I have improved
the situation.

Now, instead of generating version.h, main/version.c is generated.  version.c
includes the version information, as well as a couple of API calls for modules
to retrieve the version.  So now, only version.c will get rebuilt, and the main
asterisk binary relinked, which is must faster than rebuilding http.c, manager.c,
asterisk.c, relinking the asterisk binary, chan_sip.c, func_version.c, res_agi ...

The only minor change in behavior here is that the version information reported by
chan_sip, for example, is the version of the Asterisk core, and not necessarily the
Asterisk version that the chan_sip module came from.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 22:09:06 +00:00
russell 080a06a473 Print out the name of a function being registered in color, just like the name
of applications when they get registered.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96716 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 22:04:08 +00:00
russell 7193c2e2ef Add a note about changing modules.conf since another console channel driver is
now present that can not be used at the same time as chan_alsa or chan_oss.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 21:35:54 +00:00
russell ff87f59277 Add the URL to the home page for portaudio. Also add the location of the
svn repository to check out portaudio v19.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96692 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 21:25:45 +00:00
russell 07749ff028 Merged revisions 96644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96644 | russell | 2008-01-04 20:09:19 -0600 (Fri, 04 Jan 2008) | 2 lines

Don't pass an empty string as the device name.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96645 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 02:12:10 +00:00
kpfleming 99893cdf53 improve chan_usbradio to use indications just like chan_alsa/chan_oss do now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96621 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 01:05:50 +00:00
tilghman 26729a461a Merged revisions 96575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96575 | tilghman | 2008-01-04 17:03:40 -0600 (Fri, 04 Jan 2008) | 7 lines

Fix the problem of notification of a device state change to a device with a '-'
in the name.  Could probably do with a better fix in trunk, but this bug has
been open way too long without a better solution.
Reported by: stevedavies
Patch by: tilghman
(Closes issue #9668)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96576 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 23:12:43 +00:00
qwell 0d47bcbafd Merged revisions 96573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #11237)
........
r96573 | qwell | 2008-01-04 16:55:56 -0600 (Fri, 04 Jan 2008) | 4 lines

Properly continue in the dialplan if using PARKINGEXTEN and the slot is full.

Issue 11237, patch by me.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96574 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 22:57:56 +00:00
tilghman 6f39b42d84 Merged revisions 96525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96525 | tilghman | 2008-01-04 13:27:25 -0600 (Fri, 04 Jan 2008) | 4 lines

If you change the bindaddr in sip.conf to a non-bound address and reload, sip goes kablooie.
Reported and patched by: one47
(Closes issue #11535)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96547 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 19:35:00 +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
phsultan 9fcde0b77c Use SASL DIGEST-MD5 authentication over unsecured network connections only.
This authentication mechanism is implemented under the iksemel API, which
makes use of GnuTLS, whereas we use OpenSSL. Note : there's ongoing
dicsussion at the SASL IETF WG in order to deprecate SASL DIGEST-MD5, see
http://ietfreport.isoc.org/ids-wg-sasl.html.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96499 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 17:19: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 4aa174283d we have to *always* use a completely silent 'make' invocation for generating the module embedding rules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96398 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 23:14:15 +00:00
kpfleming d16144aac4 there was no reason to add this define for non-Solaris platforms
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96397 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 23:01:53 +00:00
russell ae4bf302a4 Merged revisions 96394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96394 | russell | 2008-01-03 16:44:22 -0600 (Thu, 03 Jan 2008) | 3 lines

Don't crash if the iax2 pvt structure has been destroyed before we get to this point
(closes issue #11672, reported by snuffy, patched by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96395 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 22:46:37 +00:00
tilghman b00a3bb622 Document recent API addition
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96368 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 21:58:52 +00:00
tilghman e2ccfacb81 Merged revisions 96318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96318 | tilghman | 2008-01-03 15:37:02 -0600 (Thu, 03 Jan 2008) | 4 lines

Missed initialization caused crash.
Reported and fixed by: tiziano
(Closes issue #11671)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96332 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 21:43:58 +00:00
tilghman 0b2c881d2b Allow the uniqueid to be used for searching for a channel in the list.
Reported and initially patched by: michael-fig
(Closes issue #11340)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 21:27:57 +00:00
kpfleming 2733c4c4a6 add some simple infrastructure for modules to be used for testing parts of Asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96272 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 20:04:30 +00:00
kpfleming a7ebd360e3 eliminiate sound_thread() and other stuff from chan_oss since Asterisk indications can handle it
remove gentone and all the headers containing tones that are no longer needed


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96270 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 19:56:29 +00:00
kpfleming 22177a5c6b coding guidelines cleanup
remove background thread and all sound generation mechanisms, as the built-in indications can handle everything that is needed


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96245 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 18:10:13 +00:00
crichter 3059048325 Merged revisions 96198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96198 | crichter | 2008-01-03 13:08:40 +0100 (Do, 03 Jan 2008) | 1 line

when overlapdial was used and no number was dialed, the call was dropped, now we just jump into the s extension, which makes a lot more sense.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96221 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 14:47:30 +00:00
tilghman 3929e42198 Add coordination between AMI and AGI applications, with an asyncagi method
Feature proposed and patched by: moy
(Closes issue #11282)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96174 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 06:16:48 +00:00
tilghman 2790a8dc3e Compatibility fix for OpenBSD
Report and fix by: mvanbaak
(Closes issue #11669)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96147 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 01:59:27 +00:00
mmichelson ba67b872f3 Merged revisions 96102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96102 | mmichelson | 2008-01-02 17:46:02 -0600 (Wed, 02 Jan 2008) | 4 lines

We need to reset the membername to NULL on each iteration of this loop, otherwise the result is that
multiple members can have the same name, since the variable was not reset on each iteration of the loop.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96103 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 23:48:43 +00:00
russell 245fbece26 Add support for generating a ringing sound on an incoming call. This is a bit
of a hack.  It just asks the core to generate the same tone that it would when
you hear ringback when making an outbound call.  But hey, it works, and you get
the localized ring tone for the appropriate language set on the channel.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96079 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 23:22:25 +00:00
russell fafd23dfeb Note that this module doesn't actually play a ringing sound for an incoming call
... oops


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96077 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:52:13 +00:00
russell 16ec2e0402 Show the correct CLI command to answer the call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96076 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:50:09 +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
file 9b2eb64fcc Don't use AST_C_DEFINE_CHECK for the two pthread things that may not actually be definitions, they could be enums for example.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96071 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:40:55 +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
russell df976656d0 Blocked revisions 96024 via svnmerge
........
r96024 | russell | 2008-01-02 16:14:28 -0600 (Wed, 02 Jan 2008) | 2 lines

Convert locks of the contexts list in pbx_config to the appropriate rdlock or wrlock

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96025 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:15:58 +00:00
russell 498a94ba16 Blocked revisions 96022 via svnmerge
........
r96022 | russell | 2008-01-02 16:04:47 -0600 (Wed, 02 Jan 2008) | 2 lines

pbx_dundi only needs a rdlock on the contexts list.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96023 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:05:31 +00:00
russell ed4df60311 Blocked revisions 96020 via svnmerge
........
r96020 | russell | 2008-01-02 16:00:21 -0600 (Wed, 02 Jan 2008) | 2 lines

app_macro only needs a rdlock on the contexts list.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96021 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:00:50 +00:00
kpfleming 3b9ff99221 another checkpoint... chan_zap can now use the new ZT_ECHOCAN_PARAMS ioctl if it is present, but doesn't parse any supplied parameters yet
(this implementation is not very memory efficient as the parameters and their values will be duplicated for each channel that has the same settings, but we can worry about that later once it is working)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96019 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 21:51:37 +00:00
russell 73b4b3d645 Add doxygen documentation to libresample.h while it's still fresh on my mind
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96018 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 21:49:44 +00:00
mmichelson eff3a6e5af Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)
(closes issue #11668, reported and patched by mvanbaak)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95994 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 21:08:33 +00:00
file a192502092 Merged revisions 95946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r95946 | file | 2008-01-02 16:24:09 -0400 (Wed, 02 Jan 2008) | 4 lines

Allocate a SIP refer structure when performing a transfer using BYE with Also so that the transfer information is properly stored. (AST-2008-001)
(closes issue #11637)
Reported by: greyvoip

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95947 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 20:26:25 +00:00
mmichelson d6aaa3bd82 Since ',' is the standard argument separator in trunk, change app_queue
to use AST_STANDARD_APP_ARGS instead of AST_NONSTANDARD_APP_ARGS for determining
member data.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95945 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 20:23:23 +00:00
mmichelson 410f535eba Fix a typo in a comment. AST_STANDARD_APP_ARGS uses ',' as the separator,
not '|'.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95944 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 20:19:40 +00:00
kpfleming e6a8f95f77 clean up hwgain CLI command and improve docs for swgain CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95939 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 19:47:25 +00:00
kpfleming 96852f698d improve AC_C_DEFINE_CHECK to not try to evaluate the macro being checked for, but just check for its existence
finish implementation of check for Zaptel HWGAIN support
add check for Zaptel ECHOCANCEL_PARAMS support


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95937 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 19:34:33 +00:00
kpfleming 3f0b6d8d86 and now just to keep the libresample party going... if the functions from libresample are going to be in the main Asterisk binary, it makes sense for the header that defines them to be available without any special CFLAGS and to out-of-tree modules building against /usr/include/asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95894 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 18:21:04 +00:00
kpfleming a7c4d3677c umm... this did not compile on x86-64, and could not possibly have worked on any platform as it was passing string pointers to a function expecting ints
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95893 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 18:17:15 +00:00
mmichelson 3cea8e1b9c Merged revisions 95890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r95890 | mmichelson | 2008-01-02 11:51:22 -0600 (Wed, 02 Jan 2008) | 9 lines

A change to improve the accuracy of queue logging in the case where a member does not
answer during the specified timeout period. Prior to this change, there was a small chance
that the member name recorded in this case would be blank. Also prior to this change, if using
the ringall strategy, if no one answered the call during the specified timeout, the member name
listed in the queue log would randomly be one of the members that was rung.

(closes issue #11498, reported and tested by hloubser, patched by me)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95891 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 18:05:57 +00:00
qwell 5816bf7537 Update osplookup documentation to use commas instead of pipes.
Closes issue #11666, patch by Laureano.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95888 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 17:38:02 +00:00
russell 3e8971d88f For some odd reason, the last set of libresample build changes from Kevin did
not work for everyone, but it did for some.  This set of changes makes trunk
start again for those having problems.  Instead of building libresample as a
static library, it just links the object files in directly with the asterisk
binary.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95864 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 16:20:26 +00:00