Commit Graph

21757 Commits

Author SHA1 Message Date
Paul Belanger 287c621613 Fix verbose messages when IPv6 logic was added
(closes issue ASTERISK-18612)
Reported by: Tim Osman
........

Merged revisions 340418 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-12 16:28:22 +00:00
Richard Mudgett dbd7f17342 Add protection for SS7 channel allocation and better glare handling.
* Added a CLI "ss7 show channels" command that might prove useful for
future debugging.

* Made the incoming SS7 channel event check and gripe message uniform.

* Made sure that the DNID string for an incoming call is always
initialized.

(issue ASTERISK-17966)
Reported by: Kenneth Van Velthoven
Patches:
      jira_asterisk_17966_v1.8_glare.patch (license #5621) patch uploaded by rmudgett
........

Merged revisions 340365 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 21:05:27 +00:00
Richard Mudgett baa5ff86e5 Fix some potential deadlocks pointed out by helgrind.
* Fixed deadlock potential calling dialog_unlink_all() in
__sip_autodestruct().  Found by helgrind.

* Fixed deadlock potential in handle_request_invite() after calling
sip_new().  Found by helgrind.

* The sip_new() function now returns with the created channel already
locked.

* Removed the dead code that starts a PBX in in sip_new().  No sip_new()
callers caused that code to be executed and it was a bad thing to do
anyway.

* Removed unused parameters and return value from dialog_unlink_all().

* Made dialog_unlink_all() and __sip_autodestruct() safely obtain the
owner and private channel locks without a deadlock avoidance loop.
........

Merged revisions 340284 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 19:26:18 +00:00
Richard Mudgett 4348fc2cc9 Convert registered AMI actions to ao2 objects.
* Fixed race between calling an AMI action callback and unregistering that
action.  Refixes ASTERISK-13784 broken by ASTERISK-17785 change.

* Fixed potential memory leak if an AMI action failed to get registered
because is already was registered.  Part of the ao2 conversion.

* Fixed AMI ListCommands action not walking the actions list with a lock
held.

* Fix usage of ast_strdupa() and alloca() in loops.  Excess stack usage.

* Fix AMI Originate action Variable header requiring a space after the
header colon.  Reported by Yaroslav Panych on the asterisk-dev list.

* Increased the number of listed variables allowed per AMI Originate
action Variable header to 64.

* Fixed AMI GetConfigJSON action output format.

* Fixed usage of res contents outside of scope in append_channel_vars().

* Fixed inconsistency of config file channelvars option.  The values no
longer accumulate with every channelvars option in the config file.  Only
the last value is kept to be consistent with the CLI "manager show
settings" command.

(closes issue ASTERISK-18479)
Reported by: Jaco Kroon
........

Merged revisions 340279 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 18:53:34 +00:00
Tzafrir Cohen 3275275a07 Update SHA1 code to RFC 6234
RFC 6234 is an update to RFC 3174 from which the code was originally taken.
It has a slightly better code, and a better phrased license (simple 3-clause
BSD).

* main/sha1.c is sha1.c from RFC 6234 with formatting changes only.
* include/asterisk/sha1.h merges sha.h and sha-private.h from RFC 6234.
* Removed unused include of asterisk/sha1.h from main/channels.c

Review: https://reviewboard.asterisk.org/r/1503/

Merge-From: http://svn.asterisk.org/svn/asterisk/branches/1.8@340263


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 18:41:05 +00:00
Terry Wilson 1e1100cdb4 On astdb conversion, also warn about permissions requirements
The user running Asterisk must have permission to the directory
the Asterisk database resides in since SQLite 3 needs to be able
to create a journal file.

(closes issue ASTERISK-18174)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 22:55:39 +00:00
Terry Wilson 0d1ff9db85 Add a missing file for the astdb2bdb conversion utility
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 22:39:41 +00:00
Terry Wilson 7ef4224fe6 Add astdb conversion utility for Berkeley to SQLite 3
If someone wants to backtrack from Asterisk 1.8 to 10 they can use the
astdb2bdb utility to convert the database back to the Berkeley format
that Asterisk 1.8 uses.

Review: https://reviewboard.asterisk.org/r/1502/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 22:38:06 +00:00
Matthew Jordan f0d579f1d5 Merged revisions 340164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r340164 | mjordan | 2011-10-10 15:23:48 -0500 (Mon, 10 Oct 2011) | 13 lines
  
  Updated chan_sip to place calls on hold if SDP address in INVITE is ANY
  
  This patch fixes the case where an INVITE is received with c=0.0.0.0 or ::.
  In this case, the call should be placed on hold.  Previously, we checked for
  the address being null; this patch keeps that behavior but also checks for
  the ANY IP addresses.
  
  Review: https://reviewboard.asterisk.org/r/1504/
  
  (closes issue ASTERISK-18086)
  Reported by: James Bottomley
  Tested by: Matt Jordan
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 20:30:18 +00:00
Matthew Nicholson 63d4530e93 Merged revisions 340108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r340108 | mnicholson | 2011-10-10 09:14:48 -0500 (Mon, 10 Oct 2011) | 11 lines
  
  Load the proper XML documentation when multiple modules document the same application.
  
  This patch adds an optional "module" attribute to the XML documentation spec
  that allows the documentation processor to match apps with identical names from
  different modules to their documentation. This patch also fixes a number of
  bugs with the documentation processor and should make it a little more
  efficient. Support for multiple languages has also been properly implemented.
  
  ASTERISK-18130
  Review: https://reviewboard.asterisk.org/r/1485/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 14:15:41 +00:00
Damien Wedhorn bc97128a95 Return -1 to skinny_session if register rejected.
If device registration is rejected, return -1 so that the session is
destroyed immediately. Previously, a segfault would occur on a 
graceful shutdown if a register is rejected and the skinny_session
has not yet timed out.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-09 22:18:27 +00:00
Damien Wedhorn 030a580bb3 Remove log message on traverse session list.
On destroying a session, a list of sessions is traversed to find the 
matching session. For each session not matching, skinny erroneously
logged that the session was not matched. While technically correct
the message was misleading, and tended to indicate errors that 
were not there.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-09 21:09:12 +00:00
Igor Goncharovskiy a1429c5cf6 Merged revisions 339938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339938 | igorg | 2011-10-09 08:16:09 +0700 (Вск, 09 Окт 2011) | 6 lines
  
  Fix compilation issue, caused by missed session structure
  
  (closes issue ASTERISK-18694)
  Reported by: alex70
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-09 01:18:02 +00:00
Igor Goncharovskiy 5b1db303a3 Merged revisions 339884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339884 | igorg | 2011-10-08 22:45:20 +0700 (Сбт, 08 Окт 2011) | 7 lines
  
  
  Fix segfault in Unistim channel
  
  (closes issue ASTERISK-18638)
  Reported by: jonnt
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-08 15:46:27 +00:00
Igor Goncharovskiy f0037b393c Merged revisions 339830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339830 | igorg | 2011-10-08 21:56:35 +0700 (Сбт, 08 Окт 2011) | 8 lines
  
  
  Fix char array cast as short array in send_client() function (for ARM
  platform)
  
  (closes issue ASTERISK-17314)
  Reported by: jjoshua
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-08 15:01:35 +00:00
Richard Mudgett 533a924ae5 Merged revisions 339776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339776 | rmudgett | 2011-10-07 14:34:55 -0500 (Fri, 07 Oct 2011) | 5 lines
  
  Initialize option flags for SendURL application.
  
  (closes issue ASTERISK-18574)
  Reported by: marcelloceschia
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-07 19:36:24 +00:00
Damien Wedhorn 9926417cac Reject v17 skinny devices in Asterisk10
Small fix for Asterisk10 to reject skinny devices with skinny 
firmware version17 and above.

Review: https://reviewboard.asterisk.org/r/1497/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 23:08:57 +00:00
Richard Mudgett b1876538ec Merged revisions 339719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339719 | rmudgett | 2011-10-06 17:47:50 -0500 (Thu, 06 Oct 2011) | 20 lines
  
  Fix regression in configure script for libpri capability checks.
  
  JIRA AST-598 added the PRI_L2_PERSISTENCE option to fix BRI PTMP TE layer
  2 persistence issues with some telcos.  ASTERISK-18535 attempted to fix
  the unexpected requirement that libpri *must* have that feature to work
  with Asterisk.  The AST_EXT_LIB_SETUP_DEPENDENT lines made the PRI
  optional features required.  Unfortunately, I thought
  AST_EXT_LIB_SETUP_DEPENDENT didn't do anything useful for libpri and
  deleted those lines for libpri.  The result was the HAVE_PRI_xxx defines
  that control the ability to use optional libpri features were also
  deleted.
  
  * Created AST_EXT_LIB_SETUP_OPTIONAL configuration macro to allow optional
  features in a library that the source code could take advantage of if the
  code supports the feature.
  
  (closes issue ASTERISK-18687)
  Reported by: Norbert
  Tested by: rmudgett
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 22:58:40 +00:00
Damien Wedhorn 6f87c7d755 Fixed segfault on core stop gracefully.
There was an issue that the cap and confcap pointers for each line and device
were being memcpy'd so they all pointed to the same ast_format_cap. On
destroying, a segfault occured on the second call to the same struct.

skinny reload now works again as well.

Tested by snuff (in trunk) and myself. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 20:47:08 +00:00
Richard Mudgett 1c6e0d278d Merged revisions 339625 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339625 | rmudgett | 2011-10-06 12:49:38 -0500 (Thu, 06 Oct 2011) | 18 lines
  
  Fix debugging messages generated by 'udptl debug'.
  
  * Makes chan_sip set the tag to the channel name.
  
  * Fixes received debug message sequence number.
  
  * Removed tx/rx debug message type since it was hard coded to 0.
  
  * Made udptl.c logged message header consistent if possible: "UDPTL (%s): ".
  
  * Removed unused rx_expected_seq_no from struct ast_udptl.
  
  (closes issue ASTERISK-18401)
  Reported by: Kevin P. Fleming
  Patches:
        jira_asterisk_18401_v1.8.patch (license #5621) patch uploaded by rmudgett
  Tested by: Matthew Nicholson
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 17:53:00 +00:00
Leif Madsen 47f22c447b Merged revisions 339566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339566 | lmadsen | 2011-10-05 16:30:11 -0500 (Wed, 05 Oct 2011) | 8 lines
  
  Update prep_tarball script to download pre-exported documentation.
  
  I've updated the prep_tarball script to now download the pre-exported documentation
  from the Asterisk wiki. This will give us more control over what is being included
  in the tarball releases, and will make both the PDF and HTML exported documentation
  look much better (especially when viewing from a console).
  
  (Closes issue ASTERISK-18677)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 13:43:21 +00:00
Richard Mudgett 7a2320945b Merged revisions 339511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339511 | rmudgett | 2011-10-05 12:01:01 -0500 (Wed, 05 Oct 2011) | 1 line
  
  Fix Dial F option notes formatting.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 17:01:46 +00:00
Richard Mudgett b18d634377 Merged revisions 339504,339506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339504 | rmudgett | 2011-10-05 11:26:45 -0500 (Wed, 05 Oct 2011) | 7 lines
  
  Add missing documentation of required AMI action Challenge AuthType header.
  
  (closes issue ASTERISK-18554)
  Reported by: Vlad Povorozniuc
  Patches:
        __20110919-manager-challenge-docs.patch.txt (license #4999) patch uploaded by Leif Madsen
........
  r339506 | rmudgett | 2011-10-05 11:32:03 -0500 (Wed, 05 Oct 2011) | 1 line
  
  Fix XML error in AMI action Challenge.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:35:02 +00:00
Matthew Nicholson 2e35748372 Merged revisions 339505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339505 | mnicholson | 2011-10-05 11:31:21 -0500 (Wed, 05 Oct 2011) | 3 lines
  
  The app name in the documentation must match what we register the application
  as.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:32:59 +00:00
Gregory Nietsky ee29743c1f Only change the capabilities on the gateway when
the session is been destroyed there is still
a race condition that ends in a segfault.

if the caps are changed the logic in res_fax_spandsp
will run T30 code not gateway code to end the session.
this has been experienced on a "slower" under spec system.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 06:28:46 +00:00
Richard Mudgett 4ced768c56 Merged revisions 339406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339406 | rmudgett | 2011-10-04 17:54:15 -0500 (Tue, 04 Oct 2011) | 8 lines
  
  Make always create the MOH directory (/var/lib/asterisk/moh).
  
  (closes issue ASTERISK-18409)
  Reported by: abelbeck
  Patches:
        asterisk-1.8-makefile-moh.patch (license #5903) patch uploaded by abelbeck
  Tested by: abelbeck, Michael Keuter
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 22:56:25 +00:00
Jonathan Rose 692ef8fdbf Merged revisions 339352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339352 | jrose | 2011-10-04 14:33:12 -0500 (Tue, 04 Oct 2011) | 12 lines
  
  Removes improper use of sound 'and' in German language mode from application saynumber
  
  Asterisk would say 'Five hundert und sechs und zwanzig' instead of 'Five hundert sechs
  und zwanzig'... which is both weird sounding and wrong.  This patch makes sure Asterisk
  will only say the 'and' word between the single digit and double digit places.
  
  (closes issue ASTERISK-18212)
  Reported By: Lionel Elie Mamane
  Patches:
  	upstream_germand_no_and.diff (License #5402) uploaded by Lionel Elie Mamane
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 19:44:02 +00:00
Jonathan Rose 9c1362a6d1 Merged revisions 339297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339297 | jrose | 2011-10-04 09:01:05 -0500 (Tue, 04 Oct 2011) | 13 lines
  
  Reverting revision 333265 due to component connection problems it introduces.
  
  I'm going to attempt some generic res_jabber cleanup and come up with a new fix for this
  problem, but first it seems prudent to remove this rather broad attempt to fix it and
  instead approach this problem either from the same angle but looking only at canceling
  (or possibly rescheduling) the send when we absolutely know it will cause a segfault 
  or, if that can't be easily accomplished, strictly from the devstate side of things.
  Also, I'm pretty sure a lot of the code in res_jabber isn't thread safe.
  
  (issue ASTERISK-18626)
  (issue ASTERISK-18078)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 14:09:50 +00:00
Alexandr Anikin e7801b07e9 Merged revisions 339244 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339244 | may | 2011-10-04 15:44:55 +0400 (Tue, 04 Oct 2011) | 2 lines
  
  fix forget declaration in previous change
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 11:49:49 +00:00
Leif Madsen cd49ac4da3 Merged revisions 339147 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339147 | lmadsen | 2011-10-03 15:12:43 -0500 (Mon, 03 Oct 2011) | 6 lines
  
  Remove duplicated Maxforwards line in AMI output.
  
  (Closes issue ASTERISK-18637)
  Reported by: Jacek Konieczny
  Patches:
       asterisk-sipshowpeer.patch (License #6298) uploaded by Jacek Konieczny
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 20:13:16 +00:00
Leif Madsen 15f3a3bee1 Merged revisions 339144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339144 | lmadsen | 2011-10-03 14:54:52 -0500 (Mon, 03 Oct 2011) | 6 lines
  
  Make documentation for Dial() options 'F' and 'F()' more clear.
  
  (Closes issue ASTERISK-18646)
  Reported by: Physis Heckman
  Tested by: Richard Mudgett
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 19:55:15 +00:00
Alexandr Anikin 3a6d2b3600 Merged revisions 339087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339087 | may | 2011-10-03 22:42:49 +0400 (Mon, 03 Oct 2011) | 4 lines
  
  destroy memheap mutex properly before memheap deleted
  (fix memory leak occured after r304950 changes with DEBUG_THREAD compile option)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 18:52:55 +00:00
Terry Wilson 050f405fbc Merged revisions 339086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r339086 | twilson | 2011-10-03 11:40:52 -0700 (Mon, 03 Oct 2011) | 10 lines
  
  Properly ignore AST_CONTROL_UPDATE_RTP_PEER in more places
  
  After the change in r336294, the new AST_CONTROL_UPDATE_RTP_PEER frame
  is sent when a re-invite happens. If we receive a re-invite from a device
  the waitstream_core was not aware of the new control frame and would drop
  the call.
  
  (closes issue ASTERISK-18610)
  	Reported by: Kristijan_Vrban
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 18:44:27 +00:00
Matthew Nicholson e71f06475e Ported ast_fax_caps_to_str() to 10, not sure why it wasn't already here.
This function prints a list of caps instead of a hex bitfield.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 15:54:55 +00:00
Matthew Nicholson 36b780871a Don't clear the AST_FAX_TECH_MULTI_DOC flag right after we set it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 15:41:36 +00:00
Matthew Nicholson 0469ffa481 properly remove the AST_FAX_TECH_GATEWAY flag (instead of setting all of the other flags)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 15:19:44 +00:00
Gregory Nietsky 63c8b3336e Documentation noting the extension of CHANNEL() for chan_ooh323
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 14:38:25 +00:00
Gregory Nietsky ef74f3592e Remove the channel function OOH323() and place its options into
CHANNEL()

channel drivers should not have there own dialplan functions.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 14:21:40 +00:00
Gregory Nietsky 16cf441dcc Fixup a race condition in res_fax.c where FAXOPT(gateway)=no will
turn off the gateway but the framehook is not destroyed.

this problem happens when a gateway is attempted in the dialplan and
the device is not available i may want to do fax to mail in the server
it will not be allowed.

instead of checking only AST_FAX_TECH_GATEWAY also check gateway_id

Reverts 338904

Fix some white space.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 09:37:59 +00:00
Gregory Nietsky 283f63c594 Remove T38 Gateway capability when detaching framehook.
SET(FAXOPT(gateway)=no) does not remove the capability when 
detaching the framehook.

small patch to fix this problem.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-02 14:17:32 +00:00
Richard Mudgett af0161689f Merged revisions 338800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338800 | rmudgett | 2011-09-30 17:05:10 -0500 (Fri, 30 Sep 2011) | 12 lines
  
  Fix segfault in analog_ss_thread() not checking ast_read() for NULL.
  
  NOTE: The problem was reported against v1.6.2.  It is unlikely to ever
  happen on v1.8 and above since chan_dahdi.c:analog_ss_thread() is unlikely
  to be used.  The version in sig_analog.c has largely replaced it.
  
  (closes issue ASTERISK-18648)
  Reported by: Stephan Bosch
  Patches:
        jira_asterisk_18648_v1.8.patch (license #5621) patch uploaded by rmudgett
  Tested by: Stephan Bosch
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 22:06:48 +00:00
Jonathan Rose 681d28f83d Merged revisions 338718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338718 | jrose | 2011-09-30 13:54:30 -0500 (Fri, 30 Sep 2011) | 1 line
  
  Adds documentation for QueueMemberStatus event generation
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 18:55:27 +00:00
Richard Mudgett 67749ae7bb Fix formatting of AMI header for SIP show peer.
ASTERISK-17486 exposed the problem for AMI parsers.

(closes issue ASTERISK-18649)
Reported by: Jacek Konieczny
Patches:
      asterisk-sipshowpeer_response_end.patch (license #6298) patch uploaded by Jacek Konieczny
........

Merged revisions 338663 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 16:35:48 +00:00
Paul Belanger c3cbe3478c Merged revisions 338555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338555 | pabelanger | 2011-09-29 17:12:21 -0400 (Thu, 29 Sep 2011) | 2 lines
  
  Test modules should depend on the TEST_FRAMEWORK flag
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 21:14:34 +00:00
Jason Parker 6eb8315095 Merged revisions 338551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338551 | qwell | 2011-09-29 15:54:13 -0500 (Thu, 29 Sep 2011) | 1 line
  
  Test modules have a support level of core.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 20:54:55 +00:00
Leif Madsen dd73844f72 Merged revisions 338492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338492 | lmadsen | 2011-09-29 13:31:33 -0500 (Thu, 29 Sep 2011) | 6 lines
  
  Update documentation for SIP_HEADER.
  
  The SIP_HEADER function only works on the the initial SIP INVITE. The documentation was updated
  in trunk, but not in 1.8 or 10, so I'm making them match.
  
  (Closes issue ASTERISK-18640)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 18:32:28 +00:00
Gregory Nietsky 540b7a38a9 Merged revisions 338416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338416 | irroot | 2011-09-29 14:13:05 +0200 (Thu, 29 Sep 2011) | 12 lines
  
  The rtptimeout setting is ignored on a per peer basis.
  
  Not only is the rtptimeout ignored in some cases but 
  rtpkeepalive and rtpholdtimeout is affected.
  
  this commit also removes rtptimeout/rtpholdtimeout on
  text rtp.
  
  (closes issue ASTERISK-18559)
  
  Review: https://reviewboard.asterisk.org/r/1452
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 12:16:42 +00:00
Richard Mudgett 5d5dc6650d Merged revisions 338322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338322 | rmudgett | 2011-09-28 17:35:52 -0500 (Wed, 28 Sep 2011) | 5 lines
  
  Make duplicate call ptr warning message more helpful.
  
  * Adds the value of the call ptr to the duplicate call ptr message to help
  trace why there is a duplicate call ptr.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 22:36:57 +00:00
Richard Mudgett 58ddd59548 Merged revisions 338235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338235 | rmudgett | 2011-09-28 16:17:45 -0500 (Wed, 28 Sep 2011) | 7 lines
  
  Fix inconsistency in LOG_VERBOSE/AST_LOG_VERBOSE declaration.
  
  (closes issue ASTERISK-17973)
  Reported by: Luke H
  Patches:
        logger_h.patch (license #6278) patch uploaded by Luke H
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 21:22:05 +00:00
Jason Parker 351d8edd83 Merged revisions 338227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r338227 | qwell | 2011-09-28 15:52:47 -0500 (Wed, 28 Sep 2011) | 1 line
  
  Add support levels to non-module sections of menuselect (cflags, utils, etc).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@338228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 20:54:35 +00:00