]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
17 years agoBump up the debug level for a message.
Russell Bryant [Mon, 14 Jul 2008 10:38:14 +0000 (10:38 +0000)] 
Bump up the debug level for a message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130634 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agofix memory leak when originate from manager cannot create a thread
Michiel van Baak [Sun, 13 Jul 2008 22:48:51 +0000 (22:48 +0000)] 
fix memory leak when originate from manager cannot create a thread

(closes issue #13069)
Reported by: gknispel_proformatique
Patches:
      asterisk_trunk_action_originate.patch uploaded by gknispel (license 261)
  Tested by: gknispel_proformatique, mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130573 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoReverting 2 changesets, as it breaks incoming IAX2 calls
Tilghman Lesher [Sun, 13 Jul 2008 17:56:10 +0000 (17:56 +0000)] 
Reverting 2 changesets, as it breaks incoming IAX2 calls
(Related to issue #12963)
Reported by: mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130514 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoin 1.4 the functions still have | as argument seperator.
Michiel van Baak [Sat, 12 Jul 2008 10:25:52 +0000 (10:25 +0000)] 
in 1.4 the functions still have | as argument seperator.
This commit fixes the use of RAND in the ael random function.

(closes issue #13061)
Reported by: danpwi

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130373 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoforcibly remove the modules that are changing names
Kevin P. Fleming [Fri, 11 Jul 2008 22:23:29 +0000 (22:23 +0000)] 
forcibly remove the modules that are changing names

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130317 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoa whole pile of Zaptel/DAHDI compatibility work, with lots more to come... this tree...
Kevin P. Fleming [Fri, 11 Jul 2008 22:12:26 +0000 (22:12 +0000)] 
a whole pile of Zaptel/DAHDI compatibility work, with lots more to come... this tree is not yet ready for users to be easily upgrading or switching, but it needs to be :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRemove redundant logic
Mark Michelson [Fri, 11 Jul 2008 20:03:23 +0000 (20:03 +0000)] 
Remove redundant logic

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130236 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a typo in audiohook_read_frame_both.
Mark Michelson [Fri, 11 Jul 2008 19:13:29 +0000 (19:13 +0000)] 
Fix a typo in audiohook_read_frame_both.

While this change has not been proven to fix any
specific issue, it is incorrect and could cause
unforeseen problems.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130173 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoEnsure that a destination callno of 0 will not match for frames that do not
Tilghman Lesher [Fri, 11 Jul 2008 18:51:56 +0000 (18:51 +0000)] 
Ensure that a destination callno of 0 will not match for frames that do not
start a dialog (new, lagrq, and ping).
(closes issue #12963)
 Reported by: russellb
 Patches:
       chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130169 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPass the devicestate from an underlying channel up through the Agent channel.
Tilghman Lesher [Fri, 11 Jul 2008 16:50:42 +0000 (16:50 +0000)] 
Pass the devicestate from an underlying channel up through the Agent channel.
This should make the Agent always report the correct device state, even when
the underlying channel is used for other purposes.
(closes issue #12773)
 Reported by: davidw
 Patches:
       20080710__bug12773.diff.txt uploaded by Corydon76 (license 14)
 Tested by: davidw

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130102 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agonew installations should be using DAHDI instead of Zaptel, so the sample config file...
Kevin P. Fleming [Fri, 11 Jul 2008 16:08:03 +0000 (16:08 +0000)] 
new installations should be using DAHDI instead of Zaptel, so the sample config file is now chan_dahdi.conf instead of zapata.conf

also, convert remaining references to zapata.conf in various places

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130042 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoadd support for a configuration parameter for 'inband audio during RELEASE', which...
Kevin P. Fleming [Fri, 11 Jul 2008 15:41:56 +0000 (15:41 +0000)] 
add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today

(related to issue #13042)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@130039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoadd a simple ASTOBJ_TRYWRLOCK macro ...
Russell Bryant [Fri, 11 Jul 2008 14:18:43 +0000 (14:18 +0000)] 
add a simple ASTOBJ_TRYWRLOCK macro ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129970 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agosimplify calculation
Kevin P. Fleming [Fri, 11 Jul 2008 14:14:52 +0000 (14:14 +0000)] 
simplify calculation

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129967 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agofix a flaw found while experimenting with structure alignment and padding; low-fence...
Kevin P. Fleming [Fri, 11 Jul 2008 14:03:52 +0000 (14:03 +0000)] 
fix a flaw found while experimenting with structure alignment and padding; low-fence checking would not work properly on 64-bit platforms, because the compiler was putting 4 bytes of padding between the fence field and the allocation memory block

added a very obvious runtime warning if this condition reoccurs, so the developer who broke it can be chastised into fixing it :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129966 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agodon't attempt to set user/group ownership of extracted sound files (reported on aster...
Kevin P. Fleming [Fri, 11 Jul 2008 12:15:42 +0000 (12:15 +0000)] 
don't attempt to set user/group ownership of extracted sound files (reported on asterisk-users)

(closes issue #13059)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129907 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCorrectly deal with duplicate NEW frames (due to retransmission). Also, fixup
Tilghman Lesher [Thu, 10 Jul 2008 21:57:05 +0000 (21:57 +0000)] 
Correctly deal with duplicate NEW frames (due to retransmission).  Also, fixup
the destination call number matching to be more strict and reliable.
(closes issue #12963)
 Reported by: jpgrayson
 Patches:
       chan_iax2_dup_new_fix3.patch uploaded by jpgrayson (license 492)
 Tested by: jpgrayson, Corydon76

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129803 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoOops
Tilghman Lesher [Thu, 10 Jul 2008 21:19:48 +0000 (21:19 +0000)] 
Oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129741 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoNote that pbx_spool.so is the module used for call files
Russell Bryant [Thu, 10 Jul 2008 16:03:59 +0000 (16:03 +0000)] 
Note that pbx_spool.so is the module used for call files
(inspired by a question in #asterisk)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129567 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUpdate svn:ignore
Sean Bright [Thu, 10 Jul 2008 13:57:19 +0000 (13:57 +0000)] 
Update svn:ignore

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129505 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a problem where inbound rfc2833 audio would be sent to the
Mark Michelson [Wed, 9 Jul 2008 19:32:20 +0000 (19:32 +0000)] 
Fix a problem where inbound rfc2833 audio would be sent to the
core instead of being P2P bridged. When the core regenerated
the rfc2833 packet for the outbound leg, the SSRC would be different
than the RTP audio on the call leg causing DTMF detection issues on
the far end.

(closes issue #12955)
Reported by: tonyredstone
Patches:
      dynamic_rtp.patch uploaded by tsearle (license 373)
Tested by: tonyredstone

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129436 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoLook for the system installed awk instead of assuming it's at /usr/bin/awk.
Sean Bright [Wed, 9 Jul 2008 13:41:21 +0000 (13:41 +0000)] 
Look for the system installed awk instead of assuming it's at /usr/bin/awk.

Pointed out by jmls via #asterisk-dev.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129343 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUpdate documentation to have the correct option name
Mark Michelson [Tue, 8 Jul 2008 21:31:51 +0000 (21:31 +0000)] 
Update documentation to have the correct option name

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoBackport TCP-related timeouts to IMAP voicemail in 1.4
Mark Michelson [Tue, 8 Jul 2008 21:09:10 +0000 (21:09 +0000)] 
Backport TCP-related timeouts to IMAP voicemail in 1.4
since it should solve bugs people are experiencing. Specifically,
there are times where communication with the IMAP server causes
system calls to block forever. If this should happen when querying
the mailbox so that chan_sip's do_monitor thread can send MWI to
a phone, it means that SIP calls cannot be processed any more.

The timeout options are outlined in doc/imapstorage.txt. Defaults
for the timeouts are sixty seconds.

(closes issue #12987)
Reported by: mthomasslo

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129158 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
Tilghman Lesher [Tue, 8 Jul 2008 20:27:47 +0000 (20:27 +0000)] 
Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
registered.
(closes issue #12885)
 Reported by: ibc
 Patches:
       20080701__bug12885__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ibc

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129149 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoTimestamp decoding for video mini-frames is bogus, because the timestamp only
Tilghman Lesher [Tue, 8 Jul 2008 16:45:23 +0000 (16:45 +0000)] 
Timestamp decoding for video mini-frames is bogus, because the timestamp only
includes 15 bits, unlike voice frames, which contain a 16-bit timestamp.
(closes issue #13013)
 Reported by: jpgrayson
 Patches:
       chan_iax2_unwrap_ts.patch uploaded by jpgrayson (license 492)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@129047 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDon't hangup the call if we can't resolve the Contact if there's a proxy
Olle Johansson [Tue, 8 Jul 2008 09:52:21 +0000 (09:52 +0000)] 
Don't hangup the call if we can't resolve the Contact if there's a proxy
route set for the call.
----
This comment was added a while ago and today it hit me badly.

/* OEJ: Possible issue that may need a check:
If we have a proxy route between us and the device,
should we care about resolving the contact
or should we just send it?
*/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128950 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix issues where repeated messages where ignored, but retransmitted reliably instead...
Olle Johansson [Tue, 8 Jul 2008 09:06:08 +0000 (09:06 +0000)] 
Fix issues where repeated messages where ignored, but retransmitted reliably instead of unreliably.
Reported by: johan
Patches:
      12746.txt uploaded by oej (license 306)
Tested by: johan
(issue #12746)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCheck for non-NULL before stripping characters.
Tilghman Lesher [Tue, 8 Jul 2008 00:01:30 +0000 (00:01 +0000)] 
Check for non-NULL before stripping characters.
(closes issue #12954)
 Reported by: bfsworks
 Patches:
       20080701__bug12954.diff.txt uploaded by Corydon76 (license 14)
 Tested by: deti

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128856 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoStop using deprecated method, as requested by Kevin.
Tilghman Lesher [Mon, 7 Jul 2008 23:21:52 +0000 (23:21 +0000)] 
Stop using deprecated method, as requested by Kevin.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128812 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix handling of when a pvt disappears. Properly return the pvt locked
Russell Bryant [Mon, 7 Jul 2008 22:41:48 +0000 (22:41 +0000)] 
Fix handling of when a pvt disappears.  Properly return the pvt locked
and don't hold the pvt lock while destroying the ast_channel.

(closes issue #13014)
Reported by: jpgrayson
Patches:
      chan_iax2_ast_iax2_new2.patch uploaded by jpgrayson (license 492)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128795 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRemove spurious trailing whitespace from log messages and fix a spelling error
Sean Bright [Mon, 7 Jul 2008 20:47:56 +0000 (20:47 +0000)] 
Remove spurious trailing whitespace from log messages and fix a spelling error
in a log message.

(closes issue #13017)
Reported by: jpgrayson
Patches:
      chan_iax2_space_after_newline.patch uploaded by jpgrayson (license 492)
      chan_iax2_spelling.patch uploaded by jpgrayson (license 492)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128737 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoBy using the iaxdynamicthreadcount to identify a thread, it was possible
Mark Michelson [Mon, 7 Jul 2008 17:02:28 +0000 (17:02 +0000)] 
By using the iaxdynamicthreadcount to identify a thread, it was possible
for thread identifiers to be duplicated. By using a globally-unique monotonically-
increasing integer, this is now avoided.

(closes issue #13009)
Reported by: jpgrayson
Patches:
      chan_iax2_dyn_threadnum.patch uploaded by jpgrayson (license 492)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agouse tzafrir's patch to fix this problem properly... i made the previous set of change...
Kevin P. Fleming [Mon, 7 Jul 2008 16:51:50 +0000 (16:51 +0000)] 
use tzafrir's patch to fix this problem properly... i made the previous set of changes without thoroughly testing them, doh!

(closes issue #12911)
Reported by: tzafrir
Patches:
      custum_dahdi_configure_2.diff uploaded by tzafrir (license 46)
Tested by: tzafrir

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMove the free down one
Tilghman Lesher [Fri, 4 Jul 2008 16:11:03 +0000 (16:11 +0000)] 
Move the free down one

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix the 'dialplan remove extension' logic, so that it a) works with cidmatch,
Tilghman Lesher [Fri, 4 Jul 2008 03:30:30 +0000 (03:30 +0000)] 
Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch,
and b) completes contexts correctly when the extension is ambiguous.
(closes issue #12980)
 Reported by: licedey
 Patches:
       20080703__bug12980.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoremove this, it has been moved to the main Makefile
Kevin P. Fleming [Thu, 3 Jul 2008 22:20:16 +0000 (22:20 +0000)] 
remove this, it has been moved to the main Makefile

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoa couple of small Solaris-related fixes
Kevin P. Fleming [Thu, 3 Jul 2008 22:18:38 +0000 (22:18 +0000)] 
a couple of small Solaris-related fixes

(closes issue #11885)
Reported by: snuffy, asgaroth

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127892 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoensure that DAHDI_INCLUDE and ZAPTEL_INCLUDE are added in all the places needed
Kevin P. Fleming [Thu, 3 Jul 2008 16:12:58 +0000 (16:12 +0000)] 
ensure that DAHDI_INCLUDE and ZAPTEL_INCLUDE are added in all the places needed

improve AST_EXT_LIB_CHECK to accept (and remember) additional CFLAGS data like it does in trunk already

(closes issue #12911)
Reported by: tzafrir

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127754 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoThe CDRfix4/5/6 omnibus cdr fixes.
Steve Murphy [Thu, 3 Jul 2008 00:16:25 +0000 (00:16 +0000)] 
The CDRfix4/5/6 omnibus cdr fixes.

(closes issue #10927)
Reported by: murf
Tested by: murf, deeperror

(closes issue #12907)
Reported by: falves11
Tested by: murf, falves11

(closes issue #11849)
Reported by: greyvoip

As to 11849, I think these changes fix the core problems
brought up in that bug, but perhaps not the more global
problems created by the limitations of CDR's themselves
not being oriented around transfers.

Reopen if necc, but bug reports are not the best
medium for enhancement discussions. We need to start
a second-generation CDR standardization effort to cover
transfers.

(closes issue #11093)
Reported by: rossbeer
Tested by: greyvoip, murf

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127663 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix thread-safety of some of the pbx_builtin_getvar_helper calls
Mark Michelson [Wed, 2 Jul 2008 20:47:38 +0000 (20:47 +0000)] 
Fix thread-safety of some of the pbx_builtin_getvar_helper calls

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127560 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMerged revisions 127466 via svnmerge from
Tilghman Lesher [Wed, 2 Jul 2008 19:47:15 +0000 (19:47 +0000)] 
Merged revisions 127466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127466 | tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines

Solaris fix
(closes issue #12949)
 Reported by: snuffy
 Patches:
       bug_12949.diff uploaded by snuffy (license 35)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd error message to failed open(2) calls inside the copy() function of
Mark Michelson [Tue, 1 Jul 2008 23:36:40 +0000 (23:36 +0000)] 
Add error message to failed open(2) calls inside the copy() function of
app_voicemail. This idea came as part of my work in helping to resolve
issue #12764.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127244 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDisable the old, slow search for matching callno in chan_iax2 (but allow it to be...
Tilghman Lesher [Tue, 1 Jul 2008 20:25:37 +0000 (20:25 +0000)] 
Disable the old, slow search for matching callno in chan_iax2 (but allow it to be reenabled for debugging)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127133 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoOops
Tilghman Lesher [Tue, 1 Jul 2008 19:05:28 +0000 (19:05 +0000)] 
Oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127069 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChange around how we schedule pings and lagrqs, and fix a reason why the
Tilghman Lesher [Tue, 1 Jul 2008 18:52:53 +0000 (18:52 +0000)] 
Change around how we schedule pings and lagrqs, and fix a reason why the
jobs were not getting properly cancelled.
(closes issue #12903)
 Reported by: stevedavies
 Patches:
       20080620__bug12903__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: stevedavies

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@127068 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSuppress annoying warning by finding the remaining cases where the callno is not...
Tilghman Lesher [Tue, 1 Jul 2008 16:50:46 +0000 (16:50 +0000)] 
Suppress annoying warning by finding the remaining cases where the callno is not in the hash.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126999 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUse domain part of SIP uri in register= configuration as fromdomain.
Olle Johansson [Tue, 1 Jul 2008 14:59:31 +0000 (14:59 +0000)] 
Use domain part of SIP uri in register= configuration as fromdomain.

Reported by: one47
Patches:
      sip-reg-fromdom2.dpatch uploaded by one47 (license 23)
(closes issue #12474)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126902 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoHandle escaped URI's in call pickups. Patch by oej and IgorG.
Olle Johansson [Tue, 1 Jul 2008 14:27:33 +0000 (14:27 +0000)] 
Handle escaped URI's in call pickups. Patch by oej and IgorG.

Reported by: IgorG
Patches:
      bug12299-11062-v2.patch uploaded by IgorG (license 20)
Tested by: IgorG, oej
(closes issue #12299)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126899 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoClear up documentation on "domain=" setting in sip.conf
Olle Johansson [Tue, 1 Jul 2008 12:53:01 +0000 (12:53 +0000)] 
Clear up documentation on "domain=" setting in sip.conf

Reported by: davidw
(closes issue #12413)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoReport 200 OK to all in-dialog OPTIONs requests (to confirm that the dialog
Olle Johansson [Tue, 1 Jul 2008 11:51:38 +0000 (11:51 +0000)] 
Report 200 OK to all in-dialog OPTIONs requests (to confirm that the dialog
exist). Don't bother checking the request URI.

(closes issue #11264)
Reported by: ibc

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix bad XML for hold notification.
Olle Johansson [Tue, 1 Jul 2008 07:49:15 +0000 (07:49 +0000)] 
Fix bad XML for hold notification.
Reported by: gowen72
Patches:
      hold.patch uploaded by gowen72 (license 432)
(closes issue #12942)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126735 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoLoad the proper channel configuration file based on which driver was detected.
Jeff Peeler [Mon, 30 Jun 2008 23:11:16 +0000 (23:11 +0000)] 
Load the proper channel configuration file based on which driver was detected.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126680 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd note about other names for EuroISDN
Tilghman Lesher [Mon, 30 Jun 2008 22:30:37 +0000 (22:30 +0000)] 
Add note about other names for EuroISDN

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126674 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
Russell Bryant [Mon, 30 Jun 2008 16:05:08 +0000 (16:05 +0000)] 
Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
macro.  This caused the lock to not actually be released, and as a result, not
avoid deadlocks at all.  This resolves the issues reported in the last while about
Asterisk locking up all over the place (and most commonly, in chan_iax2).

(closes issue #12927)
(closes issue #12940)
(closes issue #12925)
(potentially closes others ...)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126573 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSend all responses to an INVITE reliably, so that we retransmit if we don't get an...
Olle Johansson [Mon, 30 Jun 2008 12:50:55 +0000 (12:50 +0000)] 
Send all responses to an INVITE reliably, so that we retransmit if we don't get an ACK and
also fail if we don't get the very same precious ACK. Based on patch by tsearle, with
my own additions.

(closes issue #12951)

Reported by: tsearle
Patches:
      busy_retransmit.patch uploaded by tsearle (license 373)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126516 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoignore warnings for prototypes in GTK headers
Kevin P. Fleming [Sun, 29 Jun 2008 18:05:34 +0000 (18:05 +0000)] 
ignore warnings for prototypes in GTK headers

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoWhen we get a 408 Timeout, don't stop trying to re-register.
Tilghman Lesher [Fri, 27 Jun 2008 22:01:09 +0000 (22:01 +0000)] 
When we get a 408 Timeout, don't stop trying to re-register.
(closes issue #12863)
 Reported by: ricvil

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@126056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSince HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
Tilghman Lesher [Fri, 27 Jun 2008 16:46:05 +0000 (16:46 +0000)] 
Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
check for HAVE_ZAPTEL.
(closes issue #12938)
 Reported by: opticron
 Patches:
       tonezone_compat.diff uploaded by opticron (license 267)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125893 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoIn this debugging function, copy to a buffer instead of using potentially unsafe...
Tilghman Lesher [Fri, 27 Jun 2008 13:45:03 +0000 (13:45 +0000)] 
In this debugging function, copy to a buffer instead of using potentially unsafe pointers.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125793 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd proper deadlock avoidance.
Tilghman Lesher [Fri, 27 Jun 2008 12:19:39 +0000 (12:19 +0000)] 
Add proper deadlock avoidance.
(closes issue #12914)
 Reported by: ozan
 Patches:
       20080625__bug12914.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ozan

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125740 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMake sure to unlock the lock_info lock (huh?). Possible deadlock?
Jason Parker [Thu, 26 Jun 2008 23:03:15 +0000 (23:03 +0000)] 
Make sure to unlock the lock_info lock (huh?).  Possible deadlock?

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125587 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd the interface of a queue member to the output of the "queue show" command
Mark Michelson [Thu, 26 Jun 2008 22:52:39 +0000 (22:52 +0000)] 
Add the interface of a queue member to the output of the "queue show" command
so that it can easily be associated with a queue member's name. This helps
so that the appropriate queue member can be removed or paused since the
interface is required, not the member's name.

(closes issue #12783)
Reported by: davevg
Patches:
      app_queue.diff uploaded by davevg (license 209) with small mod from me

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125585 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoBackport of attended transfer queue_log patch from trunk.
Mark Michelson [Thu, 26 Jun 2008 22:02:55 +0000 (22:02 +0000)] 
Backport of attended transfer queue_log patch from trunk.

This patch allows for attended transfers to be logged in the
queue_log the same way that blind transfers have always been.

It was decided by popular opinion on the asterisk-dev mailing
list that this should be backported to 1.4. Thanks to everyone
who gave an opinion.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125530 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPrior to this patch, the "queue show" command used cached
Mark Michelson [Thu, 26 Jun 2008 20:56:01 +0000 (20:56 +0000)] 
Prior to this patch, the "queue show" command used cached
information for realtime queues instead of giving up-to-date
info. Now realtime is queried for the latest and greatest in
queue info.

(closes issue #12858)
Reported by: bcnit
Patches:
      queue_show.patch uploaded by putnopvut (license 60)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125476 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd support for peer realm based auth (a few missing lines, the rest is well document...
Olle Johansson [Thu, 26 Jun 2008 16:32:08 +0000 (16:32 +0000)] 
Add support for peer realm based auth (a few missing lines, the rest is well documented but never worked)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoensure that (whenever possible) if we generate a log message because an ioctl() call...
Kevin P. Fleming [Thu, 26 Jun 2008 15:30:33 +0000 (15:30 +0000)] 
ensure that (whenever possible) if we generate a log message because an ioctl() call to DAHDI/Zaptel failed, that we include the reason it failed by including the stringified error number

(issue AST-80)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125327 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCheck for rtcp structure before trying to delete schedule.
Tilghman Lesher [Thu, 26 Jun 2008 11:01:21 +0000 (11:01 +0000)] 
Check for rtcp structure before trying to delete schedule.
(closes issue #12872)
 Reported by: destiny6628
 Patches:
       20080621__bug12872.diff.txt uploaded by Corydon76 (license 14)
 Tested by: destiny6628

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDocument ackcall=always.
Tilghman Lesher [Thu, 26 Jun 2008 01:24:26 +0000 (01:24 +0000)] 
Document ackcall=always.
(closes issue #12852)
 Reported by: davidw

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125218 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoallow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools...
Kevin P. Fleming [Wed, 25 Jun 2008 22:21:30 +0000 (22:21 +0000)] 
allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places

don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it

get app_rpt building again after the DAHDI changes

(closes issue #12911)
Reported by: tzafrir

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125132 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPvt deadlock causes some channels to get stuck in Reserved status.
Tilghman Lesher [Wed, 25 Jun 2008 00:46:24 +0000 (00:46 +0000)] 
Pvt deadlock causes some channels to get stuck in Reserved status.
(closes issue #12621)
 Reported by: fabianoheringer
 Patches:
       20080612__bug12621.diff.txt uploaded by Corydon76 (license 14)
 Tested by: fabianoheringer

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124965 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoOccasionally control characters find their way into CallerID. These need to
Tilghman Lesher [Tue, 24 Jun 2008 21:08:52 +0000 (21:08 +0000)] 
Occasionally control characters find their way into CallerID.  These need to
be stripped prior to placing CallerID in the headers of an email.
(closes issue #12759)
 Reported by: RobH
 Patches:
       20080602__bug12759__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: RobH

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124910 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDon't access the pvt structure if unable to acquire the lock.
Tilghman Lesher [Tue, 24 Jun 2008 20:52:43 +0000 (20:52 +0000)] 
Don't access the pvt structure if unable to acquire the lock.
(closes issue #12162)
 Reported by: norman
 Patches:
       12162-lockfail.diff uploaded by qwell (license 4)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124908 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoemit a warning if the old IAX2 call searching code finds a call when the new code...
Kevin P. Fleming [Mon, 23 Jun 2008 21:22:08 +0000 (21:22 +0000)] 
emit a warning if the old IAX2 call searching code finds a call when the new code did not... so that we can get rid of the old code in 2-3 months

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124743 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years ago(closes issue #12910)
Steve Murphy [Sun, 22 Jun 2008 02:54:52 +0000 (02:54 +0000)] 
(closes issue #12910)
Reported by: chris-mac

Sorry, my testing did not contain the simple case of forkCDR(v),
I am much embarrassed to admit.  If I had, I would have
more solidly initialized the opts element for varset.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124540 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agousleep with a value over 1,000,000 is nonportable. Changing to use sleep()
Tilghman Lesher [Fri, 20 Jun 2008 23:12:33 +0000 (23:12 +0000)] 
usleep with a value over 1,000,000 is nonportable.  Changing to use sleep()
instead.  (closes issue #12814)
 Reported by: pputman
 Patches:
       app_rtp_sleep.patch uploaded by pputman (license 81)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124450 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoIf the last character in a string to be parsed is the delimiter, then we should
Tilghman Lesher [Fri, 20 Jun 2008 22:02:55 +0000 (22:02 +0000)] 
If the last character in a string to be parsed is the delimiter, then we should
count that final empty string as an additional argument.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix issues in digium-mib.txt and asterisk-mib.txt to placate smilint - bug 12905
Jeff Gehlbach [Fri, 20 Jun 2008 21:14:40 +0000 (21:14 +0000)] 
Fix issues in digium-mib.txt and asterisk-mib.txt to placate smilint - bug 12905

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124372 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoWhen using a Local channel, started by a call file, with a destination of an
Tilghman Lesher [Fri, 20 Jun 2008 20:16:02 +0000 (20:16 +0000)] 
When using a Local channel, started by a call file, with a destination of an
AGI script, the AGI script does not always get notified of a hangup if the
underlying channel hangs up early.
(closes issue #11833)
 Reported by: IgorG
 Patches:
       local_hangup-v1.diff uploaded by IgorG (license 20)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124315 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoIt's possible for a hangup to be received, even just after the initial cid
Tilghman Lesher [Thu, 19 Jun 2008 22:53:22 +0000 (22:53 +0000)] 
It's possible for a hangup to be received, even just after the initial cid
spill.
(closes issue #12453)
 Reported by: Alex728
 Patches:
       20080604__bug12453.diff.txt uploaded by Corydon76 (license 14)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124182 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix IMAP forwarding so that messages are sent to the proper mailbox.
Mark Michelson [Thu, 19 Jun 2008 20:28:41 +0000 (20:28 +0000)] 
Fix IMAP forwarding so that messages are sent to the proper mailbox.

(closes issue #12897)
Reported by: jaroth
Patches:
      destination_forward.patch uploaded by jaroth (license 50)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124112 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMerge revision 124064 from trunk. Add errors that report any locks held by threads...
Brett Bryant [Thu, 19 Jun 2008 19:55:36 +0000 (19:55 +0000)] 
Merge revision 124064 from trunk. Add errors that report any locks held by threads when they are being closed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChange informative messages to use the _multiple variant when multiple formats
Tilghman Lesher [Thu, 19 Jun 2008 16:58:19 +0000 (16:58 +0000)] 
Change informative messages to use the _multiple variant when multiple formats
are possible.
(Closes issue #12848)
Reported by klaus3000

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoOnly process 40 arguments (20 files) at once with xargs, because some older
Tilghman Lesher [Thu, 19 Jun 2008 16:26:03 +0000 (16:26 +0000)] 
Only process 40 arguments (20 files) at once with xargs, because some older
shells may force xargs to separate on an odd boundary.
(Closes issue #12883)
Reported by Nik Soggia

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123909 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCorrect description of notifyringing option.
Tilghman Lesher [Thu, 19 Jun 2008 16:20:41 +0000 (16:20 +0000)] 
Correct description of notifyringing option.
(Closes issue #12890)
Reported by gminet

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoThe RDTSC instruction was introduced on the Pentium line of microprocessors,
Tilghman Lesher [Thu, 19 Jun 2008 16:07:23 +0000 (16:07 +0000)] 
The RDTSC instruction was introduced on the Pentium line of microprocessors,
and is not compatible with certain 586 clones, like Cyrix.  Hence, asking for
i386 compatibility was always incorrect. See http://en.wikipedia.org/wiki/RDTSC
(Closes issue #12886)
Reported by tecnoxarxa

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123869 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd support for saying numbers in Hebrew.
Tilghman Lesher [Wed, 18 Jun 2008 22:08:30 +0000 (22:08 +0000)] 
Add support for saying numbers in Hebrew.
(closes issue #11662)
 Reported by: greenfieldtech
 Patches:
       say.c.patch-12042008 uploaded by greenfieldtech (license 369)
       Hebrew-Sounds.ods uploaded by greenfieldtech
       (with signficant changes to the spreadsheet by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123769 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSet the variables top-down, so that if a script sets a variable more than once,
Tilghman Lesher [Wed, 18 Jun 2008 20:22:42 +0000 (20:22 +0000)] 
Set the variables top-down, so that if a script sets a variable more than once,
the last one will take precedence.
(closes issue #12673)
 Reported by: phber
 Patches:
       20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123710 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMake chan_sip build under dev mode with compilers >= GCC 4.2
Mark Michelson [Tue, 17 Jun 2008 20:26:38 +0000 (20:26 +0000)] 
Make chan_sip build under dev mode with compilers >= GCC 4.2
Thanks to jpeeler for alerting me of this

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123485 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix 3 more places where not locking the structure could cause the wrong lock to be
Tilghman Lesher [Tue, 17 Jun 2008 18:56:53 +0000 (18:56 +0000)] 
Fix 3 more places where not locking the structure could cause the wrong lock to be
unlocked.  (Closes issue #12795)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCisco BTS sends SIP responses with a tab between the Cseq number and
Mark Michelson [Tue, 17 Jun 2008 18:09:16 +0000 (18:09 +0000)] 
Cisco BTS sends SIP responses with a tab between the Cseq number and
SIP request method in the Cseq: header. Asterisk did not handle this
properly, but with this patch, all is well.

(closes issue #12834)
Reported by: tobias_e
Patches:
      12834.patch uploaded by putnopvut (license 60)
Tested by: tobias_e

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123333 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agodavidw pointed out that the holdtime calculation used by
Mark Michelson [Tue, 17 Jun 2008 15:56:55 +0000 (15:56 +0000)] 
davidw pointed out that the holdtime calculation used by
app_queue does not use "boxcar" filtering as the comments
say. The term "boxcar" means that the number of samples used
to calculate stays constant, with new samples replacing the
oldest ones. The queue holdtime calculation uses all holdtime
samples collected since the queue was loaded, so the comment
has been changed to be accurate.

(closes issue #12781)
Reported by: davidw

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a memory leak in astobj2 that was pointed out by seanbright. When a container
Russell Bryant [Tue, 17 Jun 2008 15:48:31 +0000 (15:48 +0000)] 
Fix a memory leak in astobj2 that was pointed out by seanbright.  When a container
got destroyed, the underlying bucket list entry for each object that was in the
container at that time did not get free'd.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPort "hasvoicemail" change from SIP to other channel drivers
Tilghman Lesher [Mon, 16 Jun 2008 19:50:12 +0000 (19:50 +0000)] 
Port "hasvoicemail" change from SIP to other channel drivers

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123113 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPeople expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
Tilghman Lesher [Mon, 16 Jun 2008 19:21:58 +0000 (19:21 +0000)] 
People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue #12855)
 Reported by: PLL
 Patches:
       20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: PLL

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@123110 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoOnly compare the first 15 characters so that even if the charset is specified we...
Joshua Colp [Mon, 16 Jun 2008 12:31:09 +0000 (12:31 +0000)] 
Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
(closes issue #12803)
Reported by: lanzaandrea
Patches:
      chan_sip.c.diff uploaded by lanzaandrea (license 496)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122919 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDon't send a BYE on a dialog that is already gone during a REFER.
Joshua Colp [Mon, 16 Jun 2008 12:08:28 +0000 (12:08 +0000)] 
Don't send a BYE on a dialog that is already gone during a REFER.
(closes issue #12865)
Reported by: flefoll
Patches:
      chan_sip.c.br14.121495.patch-ALREADYGONE uploaded by flefoll (license 244)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122869 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoShort circuit the loop in autoservice_run if there are no channels to poll.
Mark Michelson [Fri, 13 Jun 2008 21:44:53 +0000 (21:44 +0000)] 
Short circuit the loop in autoservice_run if there are no channels to poll.
If we continued, then the result would be calling poll() with a NULL
pollfd array. While this is fine with POSIX's poll(2) system call, those
who use Asterisk's internal poll mechanism (Darwin systems) would have
a failed assertion occur when poll is called.

(related to issue #10342)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122713 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agofixed dahdi compatability header from assuming either dahdi or zaptel is installed...
Jeff Peeler [Fri, 13 Jun 2008 18:57:24 +0000 (18:57 +0000)] 
fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122663 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRemove extra option from previous solution attempt
Terry Wilson [Fri, 13 Jun 2008 17:45:55 +0000 (17:45 +0000)] 
Remove extra option from previous solution attempt

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122617 65c4cc65-6c06-0410-ace0-fbb531ad65f3