Commit Graph

17164 Commits

Author SHA1 Message Date
David Vossel
d1b1506bc5 Merged revisions 198824 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198824 | dvossel | 2009-06-02 12:55:35 -0500 (Tue, 02 Jun 2009) | 8 lines
  
  fixes issue with channels not going down after transfer
  
  Iax2 currently does not support native bridging if the timeoutms value is set.  We check for that in iax2_bridge, but then set timeoutms to 0 by default.  If the timeoutms is not provided it is set to -1. By setting timeoutms to 0 it is processed causing a bridging retry loop.
  
  (closes issue #15216)
  Reported by: oxymoron
  Tested by: dvossel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-02 17:56:19 +00:00
Joshua Colp
bc1b330dec Merged revisions 198791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198791 | file | 2009-06-02 10:48:06 -0300 (Tue, 02 Jun 2009) | 5 lines
  
  Correct documentation for the register line, specifically where the domain should be specified.
  
  (closes issue #14367)
  Reported by: Nick_Lewis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-02 13:49:24 +00:00
Tilghman Lesher
9a2dd22314 Merged revisions 198626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198626 | tilghman | 2009-06-01 13:40:35 -0500 (Mon, 01 Jun 2009) | 2 lines
  
  Add information for new meetme realtime fields
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-01 18:42:25 +00:00
Sean Bright
e9dea62cd7 Merged revisions 198375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198375 | seanbright | 2009-05-30 16:11:33 -0400 (Sat, 30 May 2009) | 13 lines
  
  Properly terminate the receive buffer before sending to iksemel.
  
  aji_io_recv takes the maximum number of bytes to read (instead of the total
  buffer size), so we have to subtract 1 from our buffer size.  Without this, when
  we receive packets that are larger than our buffer, iksemel will choke and
  things get wonky.
  
  (closes issue #15232)
  Reported by: lp0
  Patches:
        05302009_res_jabber.c.patch uploaded by seanbright (license 71)
  Tested by: seanbright, lp0
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-30 20:19:27 +00:00
Sean Bright
6b2d977b04 Merged revisions 198371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198371 | seanbright | 2009-05-30 15:38:58 -0400 (Sat, 30 May 2009) | 19 lines
  
  Merged revisions 198370 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r198370 | seanbright | 2009-05-30 15:36:20 -0400 (Sat, 30 May 2009) | 12 lines
    
    Properly terminate AMI JabberSend response messages.
    
    The response message (either Error or Success) needs an extra trailing \r\n
    after the fields to inform the client that the message is complete.
    
    (closes issue #14876)
    Reported by: srt
    Patches:
          05302009_1.4_res_jabber.c.diff uploaded by seanbright (license 71)
          asterisk_14876.patch uploaded by srt (license 378)
          trunk-14876-2.diff uploaded by phsultan (license 73)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-30 19:40:16 +00:00
Russell Bryant
5a1f34576d Merged revisions 198312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198312 | russell | 2009-05-29 22:43:23 -0500 (Fri, 29 May 2009) | 12 lines
  
  Merged revisions 198311 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines
    
    Fix a crash that occurred when MWI SMDI messages expired.
    
    (closes issue #14561)
    Reported by: cmoss28
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-30 03:48:37 +00:00
Sean Bright
dfe2793610 Merged revisions 198285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198285 | seanbright | 2009-05-29 23:26:06 -0400 (Fri, 29 May 2009) | 15 lines
  
  Merged revisions 198251 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r198251 | seanbright | 2009-05-29 22:46:41 -0400 (Fri, 29 May 2009) | 8 lines
    
    Treat an empty FORWARD_CONTEXT the same way we treat a missing one.
    
    (closes issue #15056)
    Reported by: p_lindheimer
    Patches:
          05292009_bug15056.diff uploaded by seanbright (license 71)
    Tested by: p_lindheimer
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-30 03:27:31 +00:00
Jeff Peeler
9bbc25b099 Blocked revisions 198088 via svnmerge
........
  r198088 | jpeeler | 2009-05-29 14:19:51 -0500 (Fri, 29 May 2009) | 9 lines
  
  New signaling module to handle analog operations in chan_dahdi
  
  This branch splits all the analog signaling logic out of chan_dahdi.c into
  sig_analog.c. Functionality in theory should not change at all. As noted
  in the code, there is still some unused code remaining that will be cleaned
  up in a later commit.
  
  Review: https://reviewboard.asterisk.org/r/253/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-29 19:53:47 +00:00
Matthew Nicholson
95fac13256 Merged revisions 198072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198072 | mnicholson | 2009-05-29 14:04:24 -0500 (Fri, 29 May 2009) | 21 lines
  
  Merged revisions 198068 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r198068 | mnicholson | 2009-05-29 13:53:01 -0500 (Fri, 29 May 2009) | 15 lines
    
    Use AST_CDR_NOANSWER instead of AST_CDR_NULL as the default CDR disposition.
    
    This change also involves the addition of an AST_CDR_FLAG_ORIGINATED flag that is used on originated channels to distinguish: them from dialed channels.
    
    (closes issue #12946)
    Reported by: meral
    Patches:
          null-cdr2.diff uploaded by mnicholson (license 96)
    Tested by: mnicholson, dbrooks
    
    (closes issue #15122)
    Reported by: sum
    Tested by: sum
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-29 19:13:03 +00:00
Sean Bright
1f3bacb4c3 Merged revisions 198000 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198000 | seanbright | 2009-05-29 14:15:15 -0400 (Fri, 29 May 2009) | 15 lines
  
  Merged revisions 197998 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197998 | seanbright | 2009-05-29 14:14:12 -0400 (Fri, 29 May 2009) | 8 lines
    
    Fix 'make config' target for Slackware.
    
    There was a missing semi-colon after the echo statement in the Makefile that was
    causing problems for some users.  Fix suggested by reporter.
    
    (closes issue #15225)
    Reported by: pdavis
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@198001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-29 18:16:49 +00:00
Leif Madsen
9cb98c991c Update MixMonitor documentation.
Updated the MixMonitor documentation for the 'b' option so that
it is more obvious that you must not optimize awat the Local
channel when using this option.

(issue #14829)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 23:58:36 +00:00
Terry Wilson
951e170004 Blocked revisions 197738 via svnmerge
........
  r197738 | twilson | 2009-05-28 14:57:18 -0500 (Thu, 28 May 2009) | 19 lines
  
  Add Calendaring support for Asterisk
  
  This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS
  Exchange calendars. Exchange support has only been tested on Exchange Server 2k3
  and does not support forms-based authentication at this time (patches *very*
  welcome). Exchange support is also currently missing the ability to return a
  list of a meting's attendees (again, patches are very, very welcome).
  
  Features include:
    Querying a calendar for events over a specific time range
    Checking a calendar's busy status via the dialplan
    Writing calendar events via the dialplan (CalDAV and Exchange only)
    Handling calendar event notifications through the dialplan
  
  (closes issue #14771)
  Tested by: lmadsen, twilson, Shivaprakash
  
  Review: https://reviewboard.asterisk.org/r/58
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 20:50:01 +00:00
Eliel C. Sardanons
93e30e3e23 Merged revisions 197621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197621 | eliel | 2009-05-28 12:01:48 -0400 (Thu, 28 May 2009) | 19 lines
  
  Merged revisions 197562 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197562 | eliel | 2009-05-28 11:21:32 -0400 (Thu, 28 May 2009) | 13 lines
    
    Use the address we already know when reloading a peer with nat=yes.
    
    If we already have an address for a peer, and we are reloading the sip
    configuration, try to use that address to contact the peer, instead of
    getting it from the Contact.
    
    (closes issue #15194)
    Reported by: ibc
    Patches:
          sip.patch uploaded by eliel (license 64)
          Tested by: manwe
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 19:00:21 +00:00
Joshua Colp
b422316b51 Merged revisions 197697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197697 | file | 2009-05-28 15:45:11 -0300 (Thu, 28 May 2009) | 2 lines
  
  Fix a bug where the trunkmtu setting was not set to the default value of 1240 on load but was on reload.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 18:46:42 +00:00
David Vossel
6c05ae7cc1 'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 16:06:05 +00:00
Mark Michelson
a66b938920 Merged revisions 197606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197606 | mmichelson | 2009-05-28 10:32:19 -0500 (Thu, 28 May 2009) | 22 lines
  
  Recorded merge of revisions 197588 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197588 | mmichelson | 2009-05-28 10:27:49 -0500 (Thu, 28 May 2009) | 16 lines
    
    Allow for media to arrive from an alternate source when responding to a reinvite with 491.
    
    When we receive a SIP reinvite, it is possible that we may not be able to process the
    reinvite immediately since we have also sent a reinvite out ourselves. The problem is
    that whoever sent us the reinvite may have also sent a reinvite out to another party,
    and that reinvite may have succeeded.
    
    As a result, even though we are not going to accept the reinvite we just received, it
    is important for us to not have problems if we suddenly start receiving RTP from a new
    source. The fix for this is to grab the media source information from the SDP of the
    reinvite that we receive. This information is passed to the RTP layer so that it will
    know about the alternate source for media.
    
    Review: https://reviewboard.asterisk.org/r/252
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 15:34:48 +00:00
Mark Michelson
c7731d3489 Merged revisions 197543 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197543 | mmichelson | 2009-05-28 09:58:06 -0500 (Thu, 28 May 2009) | 27 lines
  
  Merged revisions 197537 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197537 | mmichelson | 2009-05-28 09:49:13 -0500 (Thu, 28 May 2009) | 21 lines
    
    Add flags to chanspy audiohook so that audio stays in sync.
    
    There are two flags being added to the chanspy audiohook here. One
    is the pre-existing AST_AUDIOHOOK_TRIGGER_SYNC flag. With this set,
    we ensure that the read and write slinfactories on the audiohook do
    not skew beyond a certain tolerance.
    
    In addition, there is a new audiohook flag added here,
    AST_AUDIOHOOK_SMALL_QUEUE. With this flag set, we do not allow for
    a slinfactory to build up a substantial amount of audio before 
    flushing it. For this particular issue, this means that the person 
    spying on the call will hear the conversations in real time with very 
    little delay in the audio.
    
    (closes issue #13745)
    Reported by: geoffs
    Patches:
          13745.patch uploaded by mmichelson (license 60)
    Tested by: snblitz
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 15:03:55 +00:00
Joshua Colp
5d28a72130 Merged revisions 197538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197538 | file | 2009-05-28 11:51:43 -0300 (Thu, 28 May 2009) | 5 lines
  
  Fix a bug in stringfields where it did not actually free the pools of memory.
  
  (closes issue #15074)
  Reported by: pj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 14:52:39 +00:00
Joshua Colp
cd950bcbf8 Merged revisions 197467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197467 | file | 2009-05-28 10:47:45 -0300 (Thu, 28 May 2009) | 15 lines
  
  Merged revisions 197466 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197466 | file | 2009-05-28 10:44:58 -0300 (Thu, 28 May 2009) | 8 lines
    
    Fix a bug where the flag indicating the presence of rport would get overwritten by the nat setting.
    
    The presence of rport is now stored as a separate flag. Once the dialog is setup and authenticated
    (or it passes through unauthenticated) the proper nat flag is set.
    
    (closes issue #13823)
    Reported by: dimas
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 13:50:19 +00:00
Gavin Henry
4f54d18c57 issue #15155 and issue #15156 from trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 11:40:15 +00:00
Sean Bright
e8e4bf2100 Merged revisions 197260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197260 | seanbright | 2009-05-27 16:08:16 -0400 (Wed, 27 May 2009) | 6 lines
  
  Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile.
  
  Since we use bashisms in build_tools/mkpkgconfig, we should call on bash
  explicitly when running from the Makefile, otherwise we get errors during a
  'make install.'
  
  (closes issue #15209)
  Reported by: seandarcy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 20:10:17 +00:00
Tilghman Lesher
ae41d65286 Recorded merge of revisions 197209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197209 | tilghman | 2009-05-27 14:20:56 -0500 (Wed, 27 May 2009) | 12 lines
  
  Recorded merge of revisions 197194 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197194 | tilghman | 2009-05-27 14:09:42 -0500 (Wed, 27 May 2009) | 5 lines
    
    Use a different determinator on whether to print the delimiter, since leading fields may be blank.
    (closes issue #15208)
     Reported by: ramonpeek
     Patch by me, though inspired in part by a patch from ramonpeek
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 19:29:48 +00:00
Jeff Peeler
76b9a6b5d8 Fix broken attended transfers
The bridge was terminating immediately after the attended transfer was 
completed. The problem was because upon reentering ast_channel_bridge
nexteventts was checked to see if it was set and if so could possibly
return AST_BRIDGE_COMPLETE.
  
(closes issue #15183)
Reported by: andrebarbosa
Tested by: andrebarbosa, tootai, loloski


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 17:09:25 +00:00
Sean Bright
9654401867 Merged revisions 197089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197089 | seanbright | 2009-05-27 12:07:57 -0400 (Wed, 27 May 2009) | 6 lines
  
  Fix references to /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf in
  the sample configuration files.
  
  (closes issue #15207)
  Reported by: seandarcy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 16:11:14 +00:00
Leif Madsen
7fe3f9692a Change register format example to match wording.
This change does not affect any other 1.6 branches as they have
already been updated for other changes, which uses the word 'domain'
as I have here.

(closes issue #15204)
Reported by: okrief

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 16:04:56 +00:00
David Vossel
2b5d7b9ce7 Fixes merge issue during r196454.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@197086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 15:58:24 +00:00
Sean Bright
6aa494b8f2 Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
  
  Display an error message when chan_alsa fails to load due to a missing
  or inaccessible configuration file.
  
  Before this change, when chan_alsa failed to load due to a missing or
  inaccessible configuration file, no message would be displayed.  With this
  change, when chan_alsa fails to load due to a missing or inaccessible
  configuration file, a message will be displayed.
  
  (closes issue #14760)
  Reported by: Nick_Lewis
  Patches:
        chan_alsa.c-confload.patch uploaded by Nick (license 657)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@196989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 13:04:10 +00:00
Russell Bryant
dd5e00ccac Merged revisions 196843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196843 | russell | 2009-05-26 13:20:57 -0500 (Tue, 26 May 2009) | 16 lines
  
  Merged revisions 196826 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r196826 | russell | 2009-05-26 13:14:36 -0500 (Tue, 26 May 2009) | 9 lines
    
    Resolve a file handle leak.
    
    The frames here should have always been freed.  However, out of luck, there was
    never any memory leaked.  However, after file streams became reference counted,
    this code would leak the file stream for the file being read.
    
    (closes issue #15181)
    Reported by: jkroon
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@196865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-26 18:25:47 +00:00
Joshua Colp
6c1703877b Merged revisions 196721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196721 | file | 2009-05-26 10:43:13 -0300 (Tue, 26 May 2009) | 7 lines
  
  Fix a bug where the sip unregister CLI command did not completely unregister the peer.
  
  (closes issue #15118)
  Reported by: alecdavis
  Patches:
        chan_sip_unregister.diff2.txt uploaded by alecdavis (license 585)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@196722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-26 13:44:47 +00:00
Joshua Colp
4e3fd1fc02 Merged revisions 196658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196658 | file | 2009-05-26 10:06:50 -0300 (Tue, 26 May 2009) | 14 lines
  
  Merged revisions 196657 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r196657 | file | 2009-05-26 10:06:09 -0300 (Tue, 26 May 2009) | 7 lines
    
    Remove some bash specific stuff from safe_asterisk.
    
    (closes issue #10812)
    Reported by: paravoid
    Patches:
          safe_asterisk_bashism.diff uploaded by tzafrir (license 46)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@196659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-26 13:07:29 +00:00
David Vossel
5249104890 Merged revisions 196416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196416 | dvossel | 2009-05-22 16:09:45 -0500 (Fri, 22 May 2009) | 19 lines
  
  SIP set outbound transport type from Registration
  
  In sip.conf the transport option allows for the configuration of what transport types (udp, tcp, and tls) a peer will accept, but only the first type listed was used for outbound connections.  This patch changes this.  Now the default transport type is only used until the peer registers.  When registration takes place the transport type is parsed out of the Contact header.  If the Contact header's transport type is equal to one that the peer supports, the peer's default transport type for outbound connections is set to match the Contact header's type.  If the Contact header's transport type is not present, then the peer's default transport type is set to match the one the peer registered with.  When a peer unregisters or the registration expires, the default transport type for that peer is reset.
  
  (closes issue #12282)
  Reported by: rjain
  Patches:
        reg_patch_1.diff uploaded by dvossel (license 671)
  Tested by: dvossel
  
  (closes issue #14727)
  Reported by: pj
  Patches:
        reg_patch_3.diff uploaded by dvossel (license 671)
  Tested by: pj, dvossel
  
  Review: https://reviewboard.asterisk.org/r/249/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@196454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-22 22:51:09 +00:00
Joshua Colp
9495819c2e Merged revisions 196117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r196117 | file | 2009-05-22 10:56:47 -0300 (Fri, 22 May 2009) | 12 lines
  
  Merged revisions 196116 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r196116 | file | 2009-05-22 10:54:17 -0300 (Fri, 22 May 2009) | 5 lines
    
    Fix a bug where using immediate with mISDN caused a cause code of 16 to get sent back instead of 1 if the 's' extension did not exist.
    
    (closes issue #12286)
    Reported by: lmamane
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@196118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-22 13:57:56 +00:00
David Vossel
be7700852b Merged revisions 195995 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195995 | dvossel | 2009-05-21 14:11:49 -0500 (Thu, 21 May 2009) | 20 lines
  
  Merged revisions 195991 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195991 | dvossel | 2009-05-21 14:04:56 -0500 (Thu, 21 May 2009) | 14 lines
    
    Sign problem calculating timestamp for iax frame leads to no audio on the receiving peer.
    
    There are rare cases in which a frame's delivery timestamp is slightly less than the iax2_pvt's offset.  This causes the pvt's timestamp to be a small negative number, but since the timestamp value is unsigned it looks like a huge positive number.  This patch checks for this negative case and sets the ms to zero.  A similar check is already done right below this one in the 'else' statement.
    
    (closes issue #15032)
    Reported by: guillecabeza
    Patches:
          chan_iax2.c.patch_timestamp uploaded by guillecabeza (license 380)
    Tested by: guillecabeza
    
    (closes issue #14216)
    Reported by: Andrey Sofronov
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-21 19:12:55 +00:00
Matthew Nicholson
e5d7298863 Merged revisions 195882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195882 | mnicholson | 2009-05-21 10:33:55 -0500 (Thu, 21 May 2009) | 20 lines
  
  Merged revisions 195881 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195881 | mnicholson | 2009-05-21 10:25:50 -0500 (Thu, 21 May 2009) | 13 lines
    
    This commit prevents cdr records with AST_CDR_FLAG_ANSLOCKED and AST_CDR_FLAG_LOCKED from being updated in certain cases.
    
    This is accomplished by adding two functions to update the answer time and disposition of calls that checks for the proper lock flags.  These functions are used in the ast_bridge_call() function so that ForkCDR(A) calls are respected.
    
    This patch also modifies the way ast_bridge_call() chooses the cdr record to base the bridged_cdr on.  Previously the first unlocked cdr record would be chosen, now instead the first cdr record is chosen and forked cdr records are moved to the bridge_cdr.  This allows the original cdr record and any forked cdr records to be properly updated with answer and end times.
    
    (closes issue #13797)
    Reported by: sh0t
    Tested by: sh0t
    
    (closes issue #14744)
    Reported by: deepesh
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-21 16:19:24 +00:00
Tilghman Lesher
7f5817fbcb Merged revisions 195839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195839 | tilghman | 2009-05-20 18:30:05 -0500 (Wed, 20 May 2009) | 3 lines
  
  If a variable had a blank value upon the initial setting, then it would do nothing.
  Identified by Dmitry Andrianov via private email, fixed by me.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-20 23:31:09 +00:00
Joshua Colp
4c8cf3398e Merged revisions 195698 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195698 | file | 2009-05-20 14:33:02 -0300 (Wed, 20 May 2009) | 12 lines
  
  Merged revisions 195688 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195688 | file | 2009-05-20 14:30:25 -0300 (Wed, 20 May 2009) | 5 lines
    
    Fix some code that wrongly assumed a pointer would always be non-NULL when dealing with CDRs after a bridge.
    
    (closes issue #15079)
    Reported by: barryf
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-20 17:33:49 +00:00
Joshua Colp
be7149e2c8 Merged revisions 195636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195636 | file | 2009-05-20 14:14:42 -0300 (Wed, 20 May 2009) | 12 lines
  
  Merged revisions 195635 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195635 | file | 2009-05-20 14:14:00 -0300 (Wed, 20 May 2009) | 5 lines
    
    Fix a bug where the MeetMe option 'D' did not actually prompt for the pin.
    
    (closes issue #15050)
    Reported by: pmhaddad
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-20 17:15:23 +00:00
Tilghman Lesher
b3e97c0ac5 Merged revisions 195521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195521 | tilghman | 2009-05-19 15:16:01 -0500 (Tue, 19 May 2009) | 14 lines
  
  Merged revisions 195520 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195520 | tilghman | 2009-05-19 15:12:20 -0500 (Tue, 19 May 2009) | 7 lines
    
    Ensure thread keys are initialized before attempting to access them.
    (closes issue #14889)
     Reported by: jaroth
     Patches: 
           app_voicemail.c.patch uploaded by msirota (license 758)
     Tested by: msirota, BlargMaN
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-19 20:17:10 +00:00
Joshua Colp
0b6e79502e Merged revisions 195449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195449 | file | 2009-05-19 11:43:54 -0300 (Tue, 19 May 2009) | 14 lines
  
  Merged revisions 195448 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195448 | file | 2009-05-19 11:41:45 -0300 (Tue, 19 May 2009) | 7 lines
    
    Fix a bug where direct RTP setup would partially occur even when disabled if the calling channel was answered.
    
    (issue #13545)
    Reported by: davidw
    (issue #14244)
    Reported by: mbnwa
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-19 14:45:54 +00:00
Eliel C. Sardanons
91b11ad2a3 Merged revisions 195369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195369 | eliel | 2009-05-18 16:49:20 -0400 (Mon, 18 May 2009) | 8 lines
  
  Fix the CLI command 'manager show command' documentation and functionality.
  
  The CLI command 'manager show command' supports passing multiple action names in
  the same line, but it was not allowing that because of a incorrect check in the
  argumentes counter. Also the documentation was updated to show that this usage
  of the command is possible.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 21:37:00 +00:00
Tilghman Lesher
4892be94a6 Recorded merge of revisions 195370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195370 | tilghman | 2009-05-18 15:52:33 -0500 (Mon, 18 May 2009) | 15 lines
  
  Recorded merge of revisions 195366 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195366 | tilghman | 2009-05-18 15:24:13 -0500 (Mon, 18 May 2009) | 8 lines
    
    Add a similar dependency on SMDI for voicemail as already exists for ADSI.
    (closes issue #14846)
     Reported by: pj
     Patches: 
           20090413__bug14846__1.4.diff.txt uploaded by tilghman (license 14)
           20090507__issue14846__1.6.0.diff.txt uploaded by tilghman (license 14)
           20090507__issue14846__1.6.1.diff.txt uploaded by tilghman (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 20:53:37 +00:00
Tilghman Lesher
8d65e37144 Merged revisions 195320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195320 | tilghman | 2009-05-18 14:17:15 -0500 (Mon, 18 May 2009) | 9 lines
  
  Move the spawn of astcanary down, until after the call to daemon(3).
  This avoids possible conflicts with the internal implementation of
  daemon(3).
  (closes issue #15093)
   Reported by: tzafrir
   Patches: 
         20090513__issue15093__2.diff.txt uploaded by tilghman (license 14)
   Tested by: tzafrir
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 19:27:24 +00:00
Mark Michelson
e759722828 Merged revisions 195316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195316 | mmichelson | 2009-05-18 13:58:26 -0500 (Mon, 18 May 2009) | 18 lines
  
  Fix externalivr's setvariable command so that it properly sets multiple variables.
  
  The command had a for loop that was guaranteed to only execute once since
  the continuation operation of the loop would set the input buffer NULL. I rewrote
  the loop so that its operation was more obvious, and it would set multiple variables
  correctly.
  
  I also reduced stack space required for the function, constified the input string,
  and modified the function so that it would not modify the input string while I was
  at it.
  
  (closes issue #15114)
  Reported by: chris-mac
  Patches:
        15114.patch uploaded by mmichelson (license 60)
  Tested by: chris-mac
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 19:00:24 +00:00
Joshua Colp
6bb5afcfab Merged revisions 195207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195207 | file | 2009-05-18 12:53:26 -0300 (Mon, 18 May 2009) | 14 lines
  
  Merged revisions 195206 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195206 | file | 2009-05-18 12:51:22 -0300 (Mon, 18 May 2009) | 7 lines
    
    Fix a typo which caused loss of audio when using G729 in some scenarios with a smoother present.
    
    (closes issue #15105)
    Reported by: bamby
    Patches:
          process-vad-correctly.diff uploaded by bamby (license 430)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 15:54:26 +00:00
Eliel C. Sardanons
8bba1f73ce Merged revisions 195162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195162 | eliel | 2009-05-18 10:45:23 -0400 (Mon, 18 May 2009) | 9 lines
  
  Warn about the use of the application WaitExten() within a Macro().
  
  Update applications documentation to warn the user about the use of the
  WaitExten() application within a Macro(). Recommend the use of Read()
  instead.
  
  (closes issue #14444)
  Reported by: ewieling
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 15:19:27 +00:00
Joshua Colp
2baf6dd677 Merged revisions 195096 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195096 | file | 2009-05-18 10:56:16 -0300 (Mon, 18 May 2009) | 12 lines
  
  Merged revisions 195095 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195095 | file | 2009-05-18 10:53:39 -0300 (Mon, 18 May 2009) | 5 lines
    
    Fix a bug where the codecs of the called party leg were not properly sent back to the caller call leg when reinvited.
    
    (closes issue #13569)
    Reported by: bkw918
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 13:57:33 +00:00
Joshua Colp
bbcf0052fd Merged revisions 195089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r195089 | file | 2009-05-18 10:36:17 -0300 (Mon, 18 May 2009) | 5 lines
  
  Fix a bug where specifying an empty outboundproxy would cause packets to get sent to ourself.
  
  (closes issue #15106)
  Reported by: timeshell
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 13:37:20 +00:00
Russell Bryant
37085ced64 Merged revisions 195021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines
  
  Recorded merge of revisions 195020 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines
    
    Don't try to unlock a bogus channel.
    
    (closes issue #15144)
    Reported by: cristiandimache
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@195022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-18 13:01:16 +00:00
David Vossel
70e4d673f1 Merged revisions 194874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194874 | dvossel | 2009-05-15 17:44:44 -0500 (Fri, 15 May 2009) | 23 lines
  
  Merged revisions 194873 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194873 | dvossel | 2009-05-15 17:43:13 -0500 (Fri, 15 May 2009) | 17 lines
    
    IAX2 REGAUTH loop
    
    IAX was not sending REGREJ to terminate invalid registrations.  Instead it sent another REGAUTH if the authentication challenge failed.  This caused a loop of REGREQ and REGAUTH frames.
    
    (Related to Security fix AST-2009-001)
    
    (closes issue #14867)
    Reported by: aragon
    Tested by: dvossel
    
    (closes issue #14717)
    Reported by: mobeck
    Patches:
          regauth_loop_update_patch.diff uploaded by dvossel (license 671)
    Tested by: dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-15 22:45:52 +00:00
David Vossel
134d5899c8 Merged revisions 194833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194833 | dvossel | 2009-05-15 15:52:12 -0500 (Fri, 15 May 2009) | 24 lines
  
  Merged revisions 194557,194685 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194557 | dvossel | 2009-05-14 17:59:43 -0500 (Thu, 14 May 2009) | 10 lines
    
    IAX2 "Ghost" Channels
    
    There is a bug tracker issue where people are reporting "Ghost" channels in their 'iax2 show channels' output.  The confusion is caused by channels being listed as "(NONE)" with format "unknown".  These are not channels of coarse.  They are usually just pending registration or poke requests, but it is confusing output.  To help make sense of this I have added two columns to 'iax2 show channels'.  One shows the first message which started the transaction, and the second shows the last message sent by either side of the call.  This helps diagnose why the entry exists and why it may not go away.
    
    (closes issue #14207)
    Reported by: clive18
    
    Review: https://reviewboard.asterisk.org/r/246/
  ........
    r194685 | dvossel | 2009-05-15 10:40:37 -0500 (Fri, 15 May 2009) | 6 lines
    
    Update to previous IAX2 "Ghost" Channels patch.
    
    Fixed some comments made on reviewboard for the previous patch.
    
    (issue #14207)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-15 21:08:26 +00:00