dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

14452 Commits

Author SHA1 Message Date
oej 2b22363834 - Add a few comments to sip_xmit
- Make sure that we are aware of a pending INVITE even if we're using TCP


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99839 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 10:18:13 +00:00
tilghman 85b648f3f7 Coding guidelines fixups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 05:29:28 +00:00
tilghman f6c03ef42f Merged revisions 99777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99777 | tilghman | 2008-01-22 22:31:51 -0600 (Tue, 22 Jan 2008) | 8 lines

When we reset the password via an external command, we should also reset the
password stored in the in-memory list, too (otherwise it doesn't really take
effect).
(closes issue #11809)
 Reported by: davetroy
 Patches: 
       fix_externpass.diff uploaded by davetroy (license 384)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99778 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 04:35:04 +00:00
tilghman e813ac0052 Merged revisions 99775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99775 | tilghman | 2008-01-22 22:20:15 -0600 (Tue, 22 Jan 2008) | 2 lines

Oops, should have checked for a NULL obj, here, too

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99776 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 04:25:33 +00:00
tilghman c6d9da5003 Coding guidelines cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99758 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 03:57:31 +00:00
tilghman c299bf0537 Merged revisions 99718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99718 | tilghman | 2008-01-22 18:56:06 -0600 (Tue, 22 Jan 2008) | 2 lines

Just confirmed that all current platforms need this header file

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99719 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 01:06:27 +00:00
tilghman af78fdf8f5 Oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99700 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 00:10:45 +00:00
tilghman 533d426fef Add res_config_ldap for realtime LDAP engine.
(closes issue #5768)
 Reported by: mguesdon
 Patches: 
       res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121)
       res_ldap.conf.sample uploaded by suretec (license 70)
       asterisk-v3.1.4.ldif uploaded by suretec (license 70)
       asterisk-v3.1.4.schema uploaded by suretec (license 70)
 Tested by: oej, mguesdon, suretec, cthorner


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 22:33:20 +00:00
oej 395fa10a4b Merged revisions 99652 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99652 | oej | 2008-01-22 21:56:09 +0100 (Tis, 22 Jan 2008) | 4 lines

Thanks to Russell's education I realize that BUFSIZ has changed since I learned the C language 
over 20 years ago... Resetting chan_sip to the size of BUFSIZ that I expected in my old 
head to avoid too heavy memory allocations on some systems.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99653 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 21:09:37 +00:00
oej 555cacbd74 Documentation updates for BRIDGEPVTCALLID
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:44:56 +00:00
tilghman 3e089611dd Merged revisions 99643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99643 | tilghman | 2008-01-22 14:34:55 -0600 (Tue, 22 Jan 2008) | 2 lines

Fix the defines for OS X (and Solaris, too)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99646 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:42:47 +00:00
russell bfc825996c Make sure the command is not just present but is also configured to be executed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99645 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:41:05 +00:00
oej 6798dc75e6 Add a generic function to set the bridged call PVT unique id string
as a channel variable BRIDGEPVTCALLID

This is important for call tracing in log files and CDRs, so that
the SIP callID can be traced along servers.

The CHANNEL dialplan function won't work here, since the outbound
channel is gone when we need the Call-ID.

Other channel drivers may now implement the same function :-),
but this patch only supports chan_sip.so.

Inspired by (issue #11816)
Reported by: ctooley

Patch by oej



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99644 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:35:10 +00:00
russell e5bc0cbd61 Change the Asterisk CLI startup commands feature to read commands to run from cli.conf
after a discussion on the -dev list.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99642 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:33:16 +00:00
oej 0c22830419 Merged revisions 99594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99594 | oej | 2008-01-22 18:41:57 +0100 (Tis, 22 Jan 2008) | 3 lines

Add more dependencies on chan_local and add a note to the description of chan_local
so that people don't disable it in menuselect just to clean up.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99596 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 17:46:43 +00:00
oej a58f8b2649 Merged revisions 99592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99592 | oej | 2008-01-22 18:31:17 +0100 (Tis, 22 Jan 2008) | 5 lines

Add dependency on chan_local to app_dial.

Dial still runs without chan_local, but will be missing forwarding functionality.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99595 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 17:42:27 +00:00
tilghman 68e7b69e7b Merged revisions 99540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99540 | tilghman | 2008-01-22 10:54:06 -0600 (Tue, 22 Jan 2008) | 7 lines

Ensure that we can get an address even when we don't have a default route.
(closes issue #9225)
 Reported by: junky
 Patches: 
       20080122__bug9225.diff.txt uploaded by Corydon76 (license 14)
 Tested by: oej, loloski, sergee

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99559 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 17:15:08 +00:00
russell 9b3d67c799 Point out a bug in some debug counter handling
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99542 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 16:55:55 +00:00
oej 983ec85e45 Add authentication options to the SIP dialstring.
Documentation follows separately

(issue #11587)
Reported by: sobomax
Patches: 
      chan_sip.c-trunk.diff uploaded by sobomax (license 359)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99521 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 15:25:43 +00:00
oej 11c99a773f Documentation updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99483 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 09:57:16 +00:00
oej e71421ff23 Small fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99482 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 09:46:28 +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
mmichelson 54710096e0 Merged revisions 99426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99426 | mmichelson | 2008-01-21 17:55:26 -0600 (Mon, 21 Jan 2008) | 12 lines

Fixing an issue wherein monitoring local channels was not possible. During a channel
masquerade, the monitors on the two channels involved are swapped. In 99% of the cases
this results in the desired effect. However, if monitoring a local channel, this caused
the monitor which was on the local channel to get moved onto a channel which is immediately
hung up after the masquerade has completed. By swapping the monitors prior to the masquerade, 
we avoid the problem by tricking the masquerade into placing the monitor back onto the channel
where we want it.

During the investigation of the issue, the channel's monitor was the only thing that was swapped
in such a manner which did not make sense to have done. All other variable swapping made sense.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99427 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 23:56:40 +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
mmichelson 1a59b76f97 Adding the QUEUENAME variable to the variables set using the setqueuevar option
in queues.conf.

Suggestion comes from Shaun2222 on IRC.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99406 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 22:32:13 +00:00
oej 9e213bacf9 Remove compiler warning for uninitialized variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99384 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 21:11:58 +00:00
oej f68cf2ef9a Doxygen updates.
The TCP/TLS code was committed without any doxygen obviously. Tss tss.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99383 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 21:10:07 +00:00
oej 707b5e8c3d Updating doxygen
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99382 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 20:41:15 +00:00
tilghman 5e9b43a632 Merged revisions 99341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99341 | tilghman | 2008-01-21 12:11:07 -0600 (Mon, 21 Jan 2008) | 8 lines

Permit the user to specify number of seconds that a connection may remain idle,
which fixes a crash on reconnect with the MyODBC driver.
(closes issue #11798)
 Reported by: Corydon76
 Patches: 
       20080119__res_odbc__idlecheck.diff.txt uploaded by Corydon76 (license 14)
 Tested by: mvanbaak

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99350 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 18:15:57 +00:00
file 6a5fce00fc Merged revisions 99301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99301 | file | 2008-01-21 12:01:00 -0400 (Mon, 21 Jan 2008) | 4 lines

Bump the buffer size for Via headers up to 512. There are some exceptionally large Via headers out there.
(closes issue #11783)
Reported by: ofirroval

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99302 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 16:02:06 +00:00
oej 281f512c34 Update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99280 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 07:02:08 +00:00
file 7075a6a0a7 Change over to using ast_debug so these debug messages don't always show up.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99265 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-21 03:54:47 +00:00
russell 0f155e04b2 Add a "console active" CLI command, which lets you find out which console device
is currently active for the Asterisk CLI, or to set it.  Also, knock multiple device
support off of the to-do list.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99248 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-20 07:28:23 +00:00
russell 0d6aa53a9f correct the name of a CLI command for getting available device names
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99232 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-20 06:13:22 +00:00
russell ab90c4289d Merge changes from team/russell/console_devices
- Add support for multiple devices.  All devices are configured in console.conf.
 - Add "console list devices" CLI command to show configured devices.  Also, changed
 the old "list devices" to be "list available", which queries PortAudio for all
 audio devices that are available for use.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99227 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-20 06:11:49 +00:00
russell 90e52e0391 Merged revisions 99187 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99187 | russell | 2008-01-19 04:05:27 -0600 (Sat, 19 Jan 2008) | 4 lines

Fix a couple of memory leaks with frame handling.  Specifically,
ast_frame_free() needed to be called on the frame that came from the translator
to signed linear.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99188 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-19 10:06:02 +00:00
russell 917aee8285 Add Cygwin as an "other" platform that is supported
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99167 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-19 05:28:33 +00:00
russell ef96fc6089 Various README updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-19 05:26:46 +00:00
file 856677e548 Blocked revisions 99127 via svnmerge
........
r99127 | file | 2008-01-18 18:57:15 -0400 (Fri, 18 Jan 2008) | 2 lines

Remove the __ in front of the unused variable. This causes some compilers to freak out.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99128 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 22:58:50 +00:00
russell d6e19bdc91 Merge changes from team/group/sip-tcptls
This set of changes introduces TCP and TLS support for chan_sip.  There are various
new options in configs/sip.conf.sample that are used to enable these features.  Also,
there is a document, doc/siptls.txt that describes some things in more detail.

This code was implemented by Brett Bryant and James Golovich.  It was reviewed
by Joshua Colp and myself.  A number of other people participated in the testing
of this code, but since it was done outside of the bug tracker, I do not have their
names.  If you were one of them, thanks a lot for the help!

(closes issue #4903, but with completely different code that what exists there.)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99085 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 22:04:33 +00:00
russell cc1fcc7539 Merged revisions 99081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99081 | russell | 2008-01-18 15:37:21 -0600 (Fri, 18 Jan 2008) | 9 lines

Revert adding the packed attribute, as it really doesn't make sense why that
would do any good.  Fix the real bug, which is to do the check to see if the
frame came from a translator at the beginning of ast_frame_free(), instead of
at the end.  This ensures that it always gets checked, even if none of the
parts of the frame are malloc'd, and also ensures that we aren't looking at
free'd memory in the case that it is a malloc'd frame.

(closes issue #11792, reported by explidous, patched by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99082 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 21:38:01 +00:00
russell 66d6ff5e48 Merged revisions 99079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99079 | russell | 2008-01-18 15:22:21 -0600 (Fri, 18 Jan 2008) | 4 lines

Since we're relying on the offset between the frame and the beginning of the translator
pvt struct, set the packed attribute to make sure we get to the right place.
(potential fix for issue #11792)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99080 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 21:24:05 +00:00
twilson 3ccde56001 This should at least temporarily fix a problem where the 't' Dial
option is incorrectly passed to the transferee when built-in
attended transfers are used.  There is still a problem with 'T',
but better to fix some problems than no problems while we work
on it.

(closes issue #7904)
Reported by: k-egg
Patches: 
      transfer-fix-trunk-r97657.diff uploaded by sergee (license 138)
Tested by: sergee, otherwiseguy


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99026 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 16:58:50 +00:00
tilghman c7e5938e48 Convert func_odbc to use SQLExecDirect for speed
(closes issue #10723)
 Reported by: mnicholson
 Patches: 
       func-odbc-direct-execute1.diff uploaded by mnicholson (license 96)
 Tested by: Corydon76, mnicholson, falves11


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99018 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 06:58:35 +00:00
tilghman 9ee1b6fabe Permit username and password to be NULL (which enables pass-through from the layer above).
Reported by: lurcher
Patch by: tilghman
(Closes issue #11739)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99017 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 06:52:18 +00:00
tilghman f73ae1be9b Reset default CUT delimiter back to '-'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99015 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 02:06:27 +00:00
russell 518c69c2cf Make the output of "console list devices" a bit prettier.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99011 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 23:28:16 +00:00
russell 54444ec4c8 List which devices are inputs and outputs in "console list devices"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99009 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 23:21:30 +00:00
russell ca2fd8b4d6 Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99008 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 23:20:37 +00:00
russell 00e3ed0886 Merged revisions 99004 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99004 | russell | 2008-01-17 16:37:22 -0600 (Thu, 17 Jan 2008) | 10 lines

Have IAX2 optimize the codec translation path just like chan_sip does it.  If
the caller's codec is in our codec list, move it to the top to avoid transcoding.

(closes issue #10500)
Reported by: stevedavies
Patches:
      iax-prefer-current-codec.patch uploaded by stevedavies (license 184)
      iax-prefer-current-codec.1.4.patch uploaded by stevedavies (license 184)
Tested by: stevedavies, pj, sheldonh

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99006 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 22:50:13 +00:00