Commit Graph

1564 Commits

Author SHA1 Message Date
Jan Kalab
ada7a489cf Events are visible after they were removed from EWS calendar
Because we must merge calendar even when it's empty.

(closes issue #17786)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-17 08:44:28 +00:00
Jan Kalab
80ed88e5fa Asterisk crashing because of double free when EWS request fails
The free is done later in code. I think ast_free() should have built in checks for double free.

(closes issue #17782)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-17 08:42:37 +00:00
Jan Kalab
455d54493c Support for HTTP redirects in calendar's URL
libneon does not support HTTP redirects (3xx responses) by default. You must tell it to follow them.
Also, another little unsigned int fix.

(closes issue #17776)
Review: https://reviewboard.asterisk.org/r/921/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-17 08:37:49 +00:00
Terry Wilson
1d1f5ebc44 Don't hang up a call on an SRTP unprotect failure
Also make it more obvious when there is an issue en/decrypting.

(closes issue #17563)
Reported by: Alexcr
Patches: 
      res_srtp.c.patch uploaded by sfritsch (license 1089)
Tested by: twilson


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-15 22:17:17 +00:00
Jan Kalab
8c274ff680 Merging events for Exchange web service doesn't work as expected, resulting in only one event in calendar
The solution is to use "global" counter of events, since we do new requests for every event and calendar sync after every request. So now we do sync only after last request.

(closes issue #17877)
Review: https://reviewboard.asterisk.org/r/916/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-14 06:55:44 +00:00
Brett Bryant
cbd99f2c39 Merged revisions 285639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285639 | bbryant | 2010-09-09 13:22:25 -0400 (Thu, 09 Sep 2010) | 14 lines
  
  Merged revisions 285638 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285638 | bbryant | 2010-09-09 13:20:17 -0400 (Thu, 09 Sep 2010) | 7 lines
    
    Fixes an issue with MOH where it doesn't recover cleanly when it can't play a file and would just stop, instead of continuing to find the next playable file in the MOH class.
    
    (closes issue #17807)
    Reported by: kshumard
    
    Review: https://reviewboard.asterisk.org/r/910/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-09 17:23:28 +00:00
Jason Parker
a766133be6 Merged revisions 285529 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285529 | qwell | 2010-09-08 15:42:44 -0500 (Wed, 08 Sep 2010) | 1 line
  
  Follow coding guidelines in moh rescan fix.  Also fix the documentation that got me in trouble.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 20:43:10 +00:00
Jason Parker
a58abf7cad Merged revisions 285526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285526 | qwell | 2010-09-08 15:31:43 -0500 (Wed, 08 Sep 2010) | 8 lines
  
  Fixes issue where moh files were no longer rescanned during a reload.
  
  (closes issue #16744)
  Reported by: pj
  Patches: 
        16744-reload.diff uploaded by qwell (license 4)
  Tested by: qwell
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 20:32:13 +00:00
Jan Kalab
9bb0543bfd Calendar categories and priorities: strdupa() fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-03 13:07:39 +00:00
Jan Kalab
2cd6f30f3b Fix for calendar categories and priorities according to ISO C90
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-03 12:48:59 +00:00
Jan Kalab
e7603921cf Support for calendar events priorities and categories
Review 880


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-03 11:27:04 +00:00
Tilghman Lesher
6c61e312c6 Merged revisions 284593,284595 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r284593 | tilghman | 2010-09-01 17:59:50 -0500 (Wed, 01 Sep 2010) | 18 lines
  
  Merged revisions 284478 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r284478 | tilghman | 2010-09-01 13:49:11 -0500 (Wed, 01 Sep 2010) | 11 lines
    
    Ensure that all areas that previously used select(2) now use poll(2), with implementations that need poll(2) implemented with select(2) safe against 1024-bit overflows.
    
    This is a followup to the fix for the pthread timer in 1.6.2 and beyond, fixing
    a potential crash bug in all supported releases.
    
    (closes issue #17678)
     Reported by: russell
    Branch: https://origsvn.digium.com/svn/asterisk/team/tilghman/ast_select 
    
    Review: https://reviewboard.asterisk.org/r/824/
  ........
................
  r284595 | tilghman | 2010-09-01 22:57:43 -0500 (Wed, 01 Sep 2010) | 2 lines
  
  Failed to rerun bootstrap.sh after last commit
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-02 05:00:34 +00:00
Terry Wilson
8a112de270 Fix SRTP for changing SSRC and multiple a=crypto SDP lines
Adding code to Asterisk that changed the SSRC during bridges and masquerades
broke SRTP functionality. Also broken was handling the situation where an
incoming INVITE had more than one crypto offer. This patch caches the SRTP
policies the we use so that we can change the ssrc and inform libsrtp of the
new streams. It also uses the first acceptable a=crypto line from the incoming
INVITE.

(closes issue #17563)
Reported by: Alexcr
Patches: 
      srtp.diff uploaded by twilson (license 396)
Tested by: twilson

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-01 18:44:36 +00:00
Tilghman Lesher
6ade370974 Merged revisions 284472 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r284472 | tilghman | 2010-09-01 13:13:35 -0500 (Wed, 01 Sep 2010) | 5 lines
  
  Don't warn on floats and timestamps
  
  (closes issue #17082)
  Reported by: coolmig
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-01 18:16:37 +00:00
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
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
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
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
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
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
Matthew Nicholson
83729137a5 Validate minrate, maxrate, and modem settings before attempting a fax session.
FAX-224


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-09 14:49:38 +00:00
Matthew Nicholson
ec62b158dc Initialize FAXOPT() status variables in sendfax and receivefax instead of when the details structure is created.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-04 15:11:13 +00:00
Matthew Nicholson
c788a384aa Fix regression introduced in r1664. Give the fax stack time to shutdown and populate the FAXOPT output variables.
FAX-222


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-29 21:07:21 +00:00
Terry Wilson
03423eaadc Do rtp/rtcp debugging when it is turned on w/o filtering
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-28 19:34:42 +00:00
Russell Bryant
c84ad0ab87 s/init keys/keys init/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-28 13:01:15 +00:00
Tilghman Lesher
76b698626c Merged revisions 279597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279597 | ghenry | 2010-07-26 15:25:54 -0500 (Mon, 26 Jul 2010) | 13 lines
  
  Apply all patches in:
  
  https://issues.asterisk.org/view.php?id=13573
  
  (closes issue #13573)
  Reported by: navkumar
  Patches: 
        res_config_ldap-category.diff uploaded by navkumar (license 580)
        res_config_ldap.patch uploaded by bencer (license 961)
        res_config_ldap uploaded by bencer (license 961)
  Tested by: suretec
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-26 21:07:45 +00:00
Tilghman Lesher
a2d1082065 Silly 64-bit compilers (who uses 64-bit anyway?)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 18:56:04 +00:00
Tilghman Lesher
3ab0041118 Merge the realtime failover branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 16:19:21 +00:00
Olle Johansson
98ad48e5d4 Minor corrections to the LDAP realtime driver
Review: https://reviewboard.asterisk.org/r/798/

Thanks Mark for a quick review!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-23 13:37:17 +00:00
Terry Wilson
d6e1c724e5 Remove built-in AES code and use optional_api instead
Review: https://reviewboard.asterisk.org/r/793/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 19:11:32 +00:00
Russell Bryant
765b275976 Use poll() instead of select() in res_timing_pthread to avoid stack corruption.
This code did not properly check FD_SETSIZE to ensure that it did not try to
select() on fds that were too large.  Switching to poll() removes the limitation
on the maximum fd value.

(closes issue #15915)
Reported by: keiron

(closes issue #17187)
Reported by: Eddie Edwards

(closes issue #16494)
Reported by: Hubguru

(closes issue #15731)
Reported by: flop

(closes issue #12917)
Reported by: falves11

(closes issue #14920)
Reported by: vrban

(closes issue #17199)
Reported by: aleksey2000

(closes issue #15406)
Reported by: kowalma

(closes issue #17438)
Reported by: dcabot

(closes issue #17325)
Reported by: glwgoes

(closes issue #17118)
Reported by: erikje

possibly other issues, too ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 16:15:00 +00:00
Matthew Nicholson
3b5d63fd2b Properly show the current page being transfered for 'fax show session'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 15:54:29 +00:00
Matthew Nicholson
180846d2e7 Don't print failure status when the remote end hangs up, it may not be an actual failure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 13:03:01 +00:00
Tilghman Lesher
82448ad7d2 Separate queue_log arguments into separate fields, and allow the text file to be used, even when realtime is used.
(closes issue #17082)
 Reported by: coolmig
 Patches: 
       20100720__issue17082.diff.txt uploaded by tilghman (license 14)
 Tested by: coolmig


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20 23:23:25 +00:00
Matthew Nicholson
c149b851b3 This commit contains several changes to the way output channel variables are handled.
FAX output channel variables will now match the values reported by FAXOPT() and should be set in all failure and success cases.

This commit also contains a few modifications to the way FAXOPT() variables are populated in a few spots and fixes for some reference count leaks of the session details structure in some failure cases.

Also found and fixed more cases where FAXOPT(status) may not have gotten set.

FAX-214
FAX-203


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20 21:01:26 +00:00
Tilghman Lesher
b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20 19:35:02 +00:00
Tilghman Lesher
a7c92fad28 Merged revisions 277568 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r277568 | tilghman | 2010-07-16 16:54:29 -0500 (Fri, 16 Jul 2010) | 8 lines
  
  Since we split values at the semicolon, we should store values with a semicolon as an encoded value.
  
  (closes issue #17369)
   Reported by: gkservice
   Patches: 
         20100625__issue17369.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-17 17:39:28 +00:00
Bradley Latus
c0607e02b5 Update res_fax.c to be a good xml citizen.
(closes issues #17667)
 Reported by: snuffy


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-17 00:03:37 +00:00
Tilghman Lesher
f12afaaebc Add documentation for MOH realtime fields
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-16 20:25:11 +00:00
Tilghman Lesher
7515e03c8b And yet one more
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-16 06:04:22 +00:00
Tilghman Lesher
be7fbdf25d "Item may be used uninitialized in this function."
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-16 05:59:11 +00:00
Mark Michelson
1e8c66e749 Fix errors where incorrect address information was printed.
ast_sockaddr_stringiy_fmt (which is call by all ast_sockaddr_stringify* functions)
uses thread-local storage for storing the string that it creates. In cases where
ast_sockaddr_stringify_fmt was being called twice within the same statement, the
result of one call would be overwritten by the result of the other call. This
usually was happening in printf-like statements and was resulting in the same
stringified addressed being printed twice instead of two separate addresses.

I have fixed this by using ast_strdupa on the result of stringify functions if
they are used twice within the same statement. As far as I could tell, there were
no instances where a pointer to the result of such a call were saved anywhere, so
this is the only situation I could see where this error could occur.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-14 22:32:29 +00:00
Tilghman Lesher
832d1296c6 Remove the old stub files, preferring the optional_api method.
(closes issue #17475)
 Reported by: tilghman
 
Review: https://reviewboard.asterisk.org/r/695/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-14 20:48:59 +00:00
Richard Mudgett
cf7bbcc4c6 Expand the caller ANI field to an ast_party_id
Expand the ani field in ast_party_caller and ast_party_connected_line to
an ast_party_id.

This is an extension to the ast_callerid restructuring patch in review:
https://reviewboard.asterisk.org/r/702/

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-14 16:58:03 +00:00
Richard Mudgett
2cf60bb09d Make compile again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-14 16:39:18 +00:00
Richard Mudgett
ec37ffbdaf ast_callerid restructuring
The purpose of this patch is to eliminate struct ast_callerid since it has
turned into a miscellaneous collection of various party information.

Eliminate struct ast_callerid and replace it with the following struct
organization:

struct ast_party_name {
	char *str;
	int char_set;
	int presentation;
	unsigned char valid;
};
struct ast_party_number {
	char *str;
	int plan;
	int presentation;
	unsigned char valid;
};
struct ast_party_subaddress {
	char *str;
	int type;
	unsigned char odd_even_indicator;
	unsigned char valid;
};
struct ast_party_id {
	struct ast_party_name name;
	struct ast_party_number number;
	struct ast_party_subaddress subaddress;
	char *tag;
};
struct ast_party_dialed {
	struct {
		char *str;
		int plan;
	} number;
	struct ast_party_subaddress subaddress;
	int transit_network_select;
};
struct ast_party_caller {
	struct ast_party_id id;
	char *ani;
	int ani2;
};

The new organization adds some new information as well.

* The party name and number now have their own presentation value that can
be manipulated independently.  ISDN supplies the presentation value for
the name and number at different times with the possibility that they
could be different.

* The party name and number now have a valid flag.  Before this change the
name or number string could be empty if the presentation were restricted.
Most channel drivers assume that the name or number is then simply not
available instead of indicating that the name or number was restricted.

* The party name now has a character set value.  SIP and Q.SIG have the
ability to indicate what character set a name string is using so it could
be presented properly.

* The dialed party now has a numbering plan value that could be useful to
have available.

The various channel drivers will need to be updated to support the new
core features as needed.  They have simply been converted to supply
current functionality at this time.


The following items of note were either corrected or enhanced:

* The CONNECTEDLINE() and REDIRECTING() dialplan functions were
consolidated into func_callerid.c to share party id handling code.

* CALLERPRES() is now deprecated because the name and number have their
own presentation values.

* Fixed app_alarmreceiver.c write_metadata().  The workstring[] could
contain garbage.  It also can only contain the caller id number so using
ast_callerid_parse() on it is silly.  There was also a typo in the
CALLERNAME if test.

* Fixed app_rpt.c using ast_callerid_parse() on the channel's caller id
number string.  ast_callerid_parse() alters the given buffer which in this
case is the channel's caller id number string.  Then using
ast_shrink_phone_number() could alter it even more.

* Fixed caller ID name and number memory leak in chan_usbradio.c.

* Fixed uninitialized char arrays cid_num[] and cid_name[] in
sig_analog.c.

* Protected access to a caller channel with lock in chan_sip.c.

* Clarified intent of code in app_meetme.c sla_ring_station() and
dial_trunk().  Also made save all caller ID data instead of just the name
and number strings.

* Simplified cdr.c set_one_cid().  It hand coded the ast_callerid_merge()
function.

* Corrected some weirdness with app_privacy.c's use of caller
presentation.

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-14 15:48:36 +00:00
Tilghman Lesher
da8450323f Kill some startup warnings and errors and make some messages more helpful in tracking down the source.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-09 17:00:22 +00:00
Mark Michelson
cd4ebd336f Add IPv6 to Asterisk.
This adds a generic API for accommodating IPv6 and IPv4 addresses
within Asterisk. While many files have been updated to make use of the
API, chan_sip and the RTP code are the files which actually support
IPv6 addresses at the time of this commit. The way has been paved for
easier upgrading for other files in the near future, though.

Big thanks go to Simon Perrault, Marc Blanchet, and Jean-Philippe Dionne
for their hard work on this.

(closes issue #17565)
Reported by: russell
Patches: 
      asteriskv6-test-report.pdf uploaded by russell (license 2)

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



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-08 22:08:07 +00:00
Eliel C. Sardanons
a1b89a6a50 Implement AstData API data providers as part of the GSOC 2010 project,
midterm evaluation.

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



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-08 14:48:42 +00:00