Commit Graph

20426 Commits

Author SHA1 Message Date
Jason Parker
1aec6b69ba Merged revisions 283881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r283881 | qwell | 2010-08-27 15:30:27 -0500 (Fri, 27 Aug 2010) | 15 lines
  
  Merged revisions 283880 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r283880 | qwell | 2010-08-27 15:29:11 -0500 (Fri, 27 Aug 2010) | 8 lines
    
    Fix issue with decoding ^-escaped characters in realtime.
    
    (closes issue #17790)
    Reported by: denzs
    Patches: 
          17790-chunky.diff uploaded by qwell (license 4)
    Tested by: qwell, denzs
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-27 20:31:55 +00:00
Tilghman Lesher
ee69a68943 Convert MOH to use generic timers.
(closes issue #17726)
 Reported by: lmadsen
 Patches: 
       20100825__issue17726__2.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-26 23:47:02 +00:00
David Vossel
9bb986156a Merged revisions 283691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r283691 | dvossel | 2010-08-26 10:24:40 -0500 (Thu, 26 Aug 2010) | 25 lines
  
  Merged revisions 283690 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r283690 | dvossel | 2010-08-26 10:22:28 -0500 (Thu, 26 Aug 2010) | 19 lines
    
    Fixed how Asterisk destroys a dialog on channel hangup before invite receives a response.
    
    If an ast_channel with a SIP tech pvt hangs up before the sip dialog gets a response
    to its outgoing INVITE, Asterisk used to pretend_ack the INVITE.  This is not rfc
    compliant and results in confusion at the other endpoint.  sip_pretend_ack will ack
    and remove all the packets in the retransmit queue.  This means that the INVITE will
    stop retransmitting, and that any response to that INVITE that comes after the pretend_ack
    occurs will be ignored.
    
    Instead of faking any sort of acknowledgement for an outgoing INVITE during an internal
    hangup, we should let the protocol stack process the INVITE transaction and terminate
    the dialog properly.  This is achieved by setting the PENDING_BYE flag.  When this flag
    is used, once the dialog proceeds to an escapable state the transaction will either be
    canceled with a SIP_CANCEL or completed followed immediately by a BYE.  Attempting to do
    this any other way is incorrect.  If the endpoint is not responding to the INVITE request,
    the INVITE must continue to be retransmitted until it times out which will result in the
    dialog being destroyed.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-26 15:26:37 +00:00
Russell Bryant
0a02e9bcc1 Slight improvement to a debug message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-26 13:26:14 +00:00
Russell Bryant
4bdc111ce9 Remove public keys that are no longer useful.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-26 12:48:45 +00:00
Russell Bryant
fcfc87d54f Move httptimeout out from in between port and bindaddr.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-26 12:26:22 +00:00
David Vossel
e781f27150 Merged revisions 283594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r283594 | dvossel | 2010-08-25 17:56:42 -0500 (Wed, 25 Aug 2010) | 7 lines
  
  Add to and from tags to NOTIFY dialog-info xml body so pickup can occur.
  
  When pedantic mode is used, the dialog-info xml generated during a
  ringing event must contain the to and from tag values.  Otherwise if
  a pickup occurs using INVITE with replaces, Astrisk will not be able
  to locate the subscription.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-25 22:57:56 +00:00
Tilghman Lesher
919021ee72 Initialize connect timeout on each time through the loop.
(closes issue #17911)
 Reported by: wurstsalat


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-25 16:12:43 +00:00
David Vossel
8ae2b6a612 Merged revisions 283558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r283558 | dvossel | 2010-08-25 10:52:54 -0500 (Wed, 25 Aug 2010) | 10 lines
  
  Asterisk will not advertise session timers are supported when 'session-timers=refuse' is used.
  
  Asterisk now dynamically builds the "Supported" header depending
  on what is enabled/disabled in sip.conf.  Session timers used
  to always be advertised as being supported even when they were disabled
  in the configuration.  This caused problems with some end points.
  
  (issue #17005)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-25 15:54:11 +00:00
Russell Bryant
abca511f03 Convert ast_log(LOG_DEBUG, ...) to ast_debug(...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-25 14:55:00 +00:00
David Vossel
2787a14001 Changes the default behavior for sip.conf's pedantic option from "no" to "yes".
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-24 20:34:03 +00:00
Leif Madsen
5c82781efe Fix issue where TOS is no longer set on RTP packets.
Fix issue where the tos is no longer being set on RTP packets through res_rtp_asterisk.

(closes issue #17890)
Reported by: elguero
Patches:
      qos_18.diff uploaded by elguero (license 37)

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-24 18:56:29 +00:00
David Vossel
6f3a4b0511 Merged revisions 283381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r283381 | dvossel | 2010-08-24 11:07:37 -0500 (Tue, 24 Aug 2010) | 18 lines
  
  Merged revisions 283380 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r283380 | dvossel | 2010-08-24 11:01:51 -0500 (Tue, 24 Aug 2010) | 11 lines
    
    This fix makes sure the ast_channel hangs up correctly when the dialog's PENDING_BYE flag is set.
    
    When the pending bye flag is used, it is possible that the dialog will terminate
    and leave the sip_pvt->owner channel up.  This is because we never hangup the
    ast_channel after sending the SIP_BYE request.  When we receive the response for
    the SIP_BYE we set need_destroy which we would expect to destroy the dialog on the
    next do_monitor loop, but this is not the case.  The dialog will only be destroyed
    once the owner is hungup even with the need_destroy flag set.  This patch sets the
    softhangup flag on the ast_channel when a SIP_BYE request is sent as a result of the
    pending bye flag.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-24 16:11:18 +00:00
Russell Bryant
9d1909c9b4 Don't attempt to release a NULL ODBC handle.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-24 12:49:41 +00:00
Tilghman Lesher
37e25116a1 Merged revisions 283318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r283318 | tilghman | 2010-08-23 16:32:14 -0500 (Mon, 23 Aug 2010) | 2 lines
  
  CDR drivers depend upon res_odbc, not directly on the ODBC libraries
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 21:33:47 +00:00
Russell Bryant
ad3543e691 Add sample configuration for cel_radius.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 13:35:35 +00:00
Russell Bryant
b246f8691e Make the AST_CEL_AMA enum match up with the AST_CDR_ ama flag values.
Really, having 2 enums for this is silly and error prone, demonstrated by
the crash that I hit because there was an assumption in the code that the
values in each matched up.  However, this is a quick fix to get them to
match up so it will work.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 13:23:12 +00:00
Russell Bryant
a5dbf66ea1 Don't blow up on an invalid AMA flag.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 13:06:57 +00:00
Russell Bryant
339fc67060 Tack on ${eventextra} to the sample cel_custom.conf.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 12:31:20 +00:00
Russell Bryant
759ca228f6 Cut down on excessive quotation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 12:12:53 +00:00
Tilghman Lesher
4c2e1000a0 Don't fail to start if the config file is missing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 12:06:26 +00:00
Russell Bryant
06272f054e Expand cel_custom.conf.sample.
Include the usage of CSV_QUOTE() to ensure data has valid CSV formatting.  Also list
the special CEL variables that are available for use in the mapping.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-23 11:58:34 +00:00
Richard Mudgett
95632201df Recorded merge of revisions 283124 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r283124 | rmudgett | 2010-08-20 11:48:10 -0500 (Fri, 20 Aug 2010) | 16 lines
  
  Merged revisions 283123 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r283123 | rmudgett | 2010-08-20 11:46:22 -0500 (Fri, 20 Aug 2010) | 9 lines
    
    Merged revision 278274 from
    https://origsvn.digium.com/svn/asterisk/trunk
    
    ..........
      r278274 | rmudgett | 2010-07-20 17:38:13 -0500 (Tue, 20 Jul 2010) | 1 line
    
      Reference correct struct member for unlikely event PRI_EVENT_CONFIG_ERR.
    ..........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-20 16:51:16 +00:00
Richard Mudgett
c453d72423 Merged revisions 283049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r283049 | rmudgett | 2010-08-20 10:31:03 -0500 (Fri, 20 Aug 2010) | 29 lines
  
  Merged revisions 283048 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r283048 | rmudgett | 2010-08-20 10:24:36 -0500 (Fri, 20 Aug 2010) | 22 lines
    
    Q931 - Sending PROGRESS after sending ALERTING is a protocol error
    
    The PRI layer in chan_dadhi will check if a PROGRESS message has already
    been sent, and not allow sending another (although that is technically
    allowed by the Q931 spec), however it does not protect against sending an
    ALERTING and then sending a PROGRESS message, which is a violation of the
    specification.
    
    Most switches don't seem to care too deeply about this, but some do, and
    will disconnect the call when receiving this invalid sequence.
    
    Protocol specification reference: T-REC-Q.931-199805-I page 223, "Figure
    A.5/Q.931 -- Overview protocol control (network side) point-point
    (sheet 3 of 8)"
    
    (closes issue #17874)
    Reported by: nic_bellamy
    Patches:
          asterisk-1.4-r282537_no-progress-after-alerting.patch uploaded by nic bellamy (license 299)
          asterisk-1.6.2-r282537_no-progress-after-alerting.patch uploaded by nic bellamy (license 299)
          asterisk-trunk-r282537_no-progress-after-alerting.patch uploaded by nic bellamy (license 299)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-20 15:35:38 +00:00
Russell Bryant
7b15e58654 Fix a typo in a column name.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-20 12:45:12 +00:00
Russell Bryant
c3ad0f569d Add an argument missing from the CELGenUserEvent documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-20 11:52:37 +00:00
David Vossel
e9a51ba86b Merged revisions 282894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282894 | dvossel | 2010-08-19 16:05:54 -0500 (Thu, 19 Aug 2010) | 18 lines
  
  Merged revisions 282893 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r282893 | dvossel | 2010-08-19 16:03:24 -0500 (Thu, 19 Aug 2010) | 11 lines
    
    tos_sip option was not being set correctly
    
    When tos_sip is used, the tos of the sip socket is only set
    correctly if the socket binding changes on a reload.  If the binding
    stays the same but the TOS changes, the new tos value would not take
    into effect.  This patch fixes that.
    
    
    (closes issue #17712)
    Reported by: nickb
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-19 21:07:20 +00:00
David Vossel
af6e8a5abb Merged revisions 282890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282890 | dvossel | 2010-08-19 15:31:22 -0500 (Thu, 19 Aug 2010) | 5 lines
  
  fixes sip peer memory leaks in the peer_by_ip table
  
  (issue #17798)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-19 20:34:41 +00:00
Matthew Nicholson
d4cc26fa1e Merged revisions 282859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282859 | mnicholson | 2010-08-19 14:44:00 -0500 (Thu, 19 Aug 2010) | 23 lines
  
  Merged revisions 277944 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r277944 | pabelanger | 2010-07-19 15:56:07 -0500 (Mon, 19 Jul 2010) | 16 lines
    
    Regression with T.38 negotiation
    
    Prior to 1.4.26.3 T.38 negotiation worked properly, in the case
    of the reporter.  
    
    (issue #16852)
    Reported by: cfc
    
    (closes issue #16705)
    Reported by: mpiazzatnetbug
    Patches:
          issue16705_2.diff uploaded by ebroad (license 878)
    Tested by: vrban, ebroad, c0rnoTa, samdell3
    
    Review: https://reviewboard.asterisk.org/r/754/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-19 20:01:11 +00:00
Tilghman Lesher
c20e1d3f3f Only output debugging if the debug level is on.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-19 14:44:51 +00:00
Terry Wilson
fca7beb6c6 Merged revisions 282730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282730 | twilson | 2010-08-18 21:14:28 -0500 (Wed, 18 Aug 2010) | 9 lines
  
  Merged revisions 282729 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r282729 | twilson | 2010-08-18 21:12:55 -0500 (Wed, 18 Aug 2010) | 2 lines
    
    Add some documentation about codec negotiation to sip.conf
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-19 02:18:50 +00:00
Richard Mudgett
82c2cf5159 Use the correct type for aoce_delayhangup bit field.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-18 15:28:27 +00:00
Richard Mudgett
2392b8ed1c Use the correct operator when calculating the PRI span devstate.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-18 15:27:51 +00:00
David Vossel
4c6dafcc00 Blocked revisions 282668 via svnmerge
........
  r282668 | dvossel | 2010-08-18 09:28:52 -0500 (Wed, 18 Aug 2010) | 8 lines
  
  fixes crash with notifycid
  
  (closes issue #17868)
  Reported by: francesco_r
  Patches:
        issue_17868.diff uploaded by dvossel (license 671)
  Tested by: francesco_r
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-18 14:32:53 +00:00
Matthew Nicholson
38a0c0849f Properly handle 200 and unknown responses conatined in NOTIFY requests received in response to REFER requests.
This patch fixes the way asterisk handles NOTIFY requests received in response to REFER requests.  These changes to NOTIFY handler were first introduced in r217482.  This new change properly handles the 200 response by queueing an AST_TRANSFER_SUCCESS control frame and also prevents that control frame from being queued when provisional and unknown responses are received.

(issue #17486)
Reported by: davidw
Tested by: mnicholson

(issue #12713)
Reported by: davidw

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-18 13:10:39 +00:00
Russell Bryant
d0235ab07e Split _all_ arguments before parsing them.
This fixes multicast RTP paging using linksys mode.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-18 12:30:40 +00:00
Tilghman Lesher
4aed988d66 Merged revisions 282607 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282607 | tilghman | 2010-08-18 02:43:14 -0500 (Wed, 18 Aug 2010) | 9 lines
  
  Don't warn on callerid when completely text, instead of numeric with localdialplan prefixes.
  
  (closes issue #16770)
   Reported by: jamicque
   Patches: 
         20100413__issue16770.diff.txt uploaded by tilghman (license 14)
         20100811__issue16770.diff.txt uploaded by tilghman (license 14)
   Tested by: jamicque
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-18 07:49:04 +00:00
David Vossel
647a8f6edd Merged revisions 282576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282576 | dvossel | 2010-08-17 16:35:17 -0500 (Tue, 17 Aug 2010) | 9 lines
  
  fixes no default transport for temp peer creation in chan_sip
  
  (closes issue #17829)
  Reported by: falves11
  Patches:
        issue_17829.rev1.txt uploaded by russell (license 2)
        issue_17829.diff uploaded by dvossel (license 671)
  Tested by: falves11
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-17 21:36:57 +00:00
David Vossel
c1a577848b ACCEPT message should respond with the new FORMAT2 ie
(closes issue #17804)
Reported by: tpanton



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-17 20:08:56 +00:00
David Vossel
9fe871150e fixes truncated uint64_t value in put_unaligned_uint64_t() function
(issue #17804)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-17 19:34:06 +00:00
Leif Madsen
e34a92e2d0 Merged revisions 282469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282469 | lmadsen | 2010-08-16 13:00:09 -0500 (Mon, 16 Aug 2010) | 7 lines
  
  Add information about creating sounds files using
  the sounds tools publically available so that others can create their
  own sounds prompts using the same tools we use to generate sounds releases.
  This allows people creating their own prompts to sound consistent with
  the prompts available from the open source project.
  
  SWP-595
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-16 18:01:00 +00:00
Terry Wilson
e3075ea015 Merged revisions 282467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282467 | twilson | 2010-08-16 12:32:01 -0500 (Mon, 16 Aug 2010) | 23 lines
  
  Merged revisions 282430 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r282430 | twilson | 2010-08-16 12:06:37 -0500 (Mon, 16 Aug 2010) | 16 lines
    
    Send a SRCCHANGE indication when we masquerade
    
    Masquerading a channel means that the src of the audio is potentially
    changing, so send a SRCCHANGE so that RTP-based media streams can get
    a new SSRC generated to reflect the change. Original patch by addix
    (along with lots of testing--thanks!).
    
    (closes issue #17007)
    Reported by: addix
    Patches: 
          1001-reset-SSRC-original-channel.diff uploaded by addix (license 1006)
          srcchange.diff uploaded by twilson (license 396)
    Tested by: addix, twilson
    
    Review: https://reviewboard.asterisk.org/r/862/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-16 17:53:44 +00:00
Tilghman Lesher
3c0616589e Fix our FRACKing issue with chan_iax2 a different way.
Review: https://reviewboard.asterisk.org/r/861/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-14 04:53:58 +00:00
Richard Mudgett
593512960d PRI CCSS may use a stale dial string for the recall dial string.
If an outgoing call negotiates a different B channel than initially
requested, the saved original dial string was not transferred to the new B
channel.  CCSS uses that dial string to generate the recall dial string.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 23:53:36 +00:00
David Vossel
22682c2eee remove current STUN support from chan_sip.c
This patch removes the current broken/useless stun
support from chan_sip.

(closes issue #17622)
Reported by: philipp2

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 22:23:38 +00:00
David Vossel
5b3270acc2 res_stun_monitor and corresponding options CHANGES documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 20:11:58 +00:00
David Vossel
48fb2c3276 res_stun_monitor for monitoring network changes behind a NAT device
Review: https://reviewboard.asterisk.org/r/854


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 20:03:56 +00:00
David Vossel
fbfafb59ba Merged revisions 282235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282235 | dvossel | 2010-08-13 13:54:53 -0500 (Fri, 13 Aug 2010) | 16 lines
  
  only do magic pickup when notifycid is enabled
  
  A new way of doing BLF pickup was introduced into 1.6.2.  This feature
  adds a call-id value into the XML of a SIP_NOTIFY message sent to alert
  a subscriber that a device is ringing.  This option should only be enabled
  when the new 'notifycid' option is set... but this was not the case.  Instead
  the call-id value was included for every RINGING Notify message, which
  caused a regression for people who used other methods for call pickup.
  
  (closes issue #17633)
  Reported by: urosh
  Patches:
        chan_sip.txt uploaded by urosh (license )
        blf_cid_issue.diff uploaded by dvossel (license 671)
  Tested by: dvossel, urosh, okrief, alecdavis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 18:58:10 +00:00
Terry Wilson
59ff0dbd87 Whitespace fix :-/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 16:02:20 +00:00
Terry Wilson
47ccae3da1 Detect when libsrtp cannot be linked in a shared library
The libsrtp build system currently does not produce a shared library
or a static library compiled with -fPIC, so on 64-bit systems it is
possible that we will get a compile error if libsrtp is installed and
res_srtp is selected in menuselect.

This patch attempts to detect this situation and provide the user with
instructions to work around the problem.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-13 16:00:02 +00:00