aboutsummaryrefslogtreecommitdiffstats
path: root/addons
AgeCommit message (Collapse)AuthorFilesLines
2010-07-08Fix compile of chan_ooh323.c from IPv6 integration.rmudgett1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274827 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08Add IPv6 to Asterisk.mmichelson1-5/+15
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: http://svn.digium.com/svn/asterisk/trunk@274783 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-02Fix various typos reported by Lintiantzafrir1-1/+1
(Also fix the typos in the comments) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@273641 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-01Don't free written frames in chan_mobile's mbl_write() function.mnicholson1-1/+0
(closes issue #16430) Reported by: azbest Tested by: azbest git-svn-id: http://svn.digium.com/svn/asterisk/trunk@273312 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Add High Resolution Times to CDRs for Asterisksnuffy1-0/+34
People expressed an interest in having access to the exact length of calls to a finer degree than seconds. See the CHANGES and UPGRADE.txt for usage also updated the sample configs to note the change. Patch by snuffy. (closes issue #16559) Reported by: cianmaher Tested by: cianmaher, snuffy Review: https://reviewboard.asterisk.org/r/461/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269153 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-25Typos: 'succesful' (lintian)tzafrir1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265525 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-23small changes to avoiding 'freeing unused memory...'may1-4/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265227 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-07Fix build on Linuxtilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@261964 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-25additional checking related to issue 17186may1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258855 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-25Don't pass zero length callerid to ooh323 stackmay1-1/+1
Don't pass zero callerid string to ooh323 stack because it can't encode this properly and can't generate setup message. (closes issue #17186) Reported by: vmikhelson Patches: zero_callerid_num.patch uploaded by may213 (license 454) Tested by: may213 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258838 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-27corrections in gk interface, small fixes in call clearing.may6-67/+83
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@255199 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25Use "local" instead of "system" header file inclusion.kpfleming33-89/+89
Now that these files are in the tree, they should prefer the tree's local copy of all Asterisk headers over any that may be installed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254931 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25Fix a number of other build problems on Mac OS X.russell2-17/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254884 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25Resolve compiler warning on FreeBSD.russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254801 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25Fix chan_ooh323 so it works on Mac OS X, as well.russell4-8/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254799 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25Get chan_ooh323 building again after recent build system changes.kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254636 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-14generate roundtrip delay requests and responsesmay8-6/+221
added response to roundtrip delay requests from opposite side added roundtrip delay request sending to opposite side after answer, added options for sending request (interval between request and count of unreplied requests before forced call hangup) (closes issue #16976) Reported by: vmikhelson Patches: rtdr-1.6.0-2.patch uploaded by may213 (license 454) Tested by: vmikhelson, may213 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252277 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12Only change the RTP ssrc when we see that it has changedtwilson1-3/+5
This change basically reverts the change reviewed in https://reviewboard.asterisk.org/r/374/ and instead limits the updating of the RTP synchronization source to only those times when we detect that the other side of the conversation has changed the ssrc. The problem is that SRCUPDATE control frames are sent many times where we don't want a new ssrc, including whenever Asterisk has to send DTMF in a normal bridge. This is also not the first time that this mistake has been made. The initial implementation of the ast_rtp_new_source function also changed the ssrc--and then it was removed because of this same issue. Then, we put it back in again to fix a different issue. This patch attempts to only change the ssrc when we see that the other side of the conversation has changed the ssrc. It also renames some functions to make their purpose more clear. Review: https://reviewboard.asterisk.org/r/540/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252089 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-07small log issue from bug 0016664may1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251181 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16generate connected line info update from info in h.323 packetsmay2-0/+46
Tested by: benngard git-svn-id: http://svn.digium.com/svn/asterisk/trunk@247035 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25small corrections in call clearingmay3-5/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@242933 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-24AST_CONTROL_CONNECTED_LINE frame type processing added to setup DisplayIE fieldmay6-2/+84
incorrect q.931 message order filtered on incoming calls (first msg must be setup, next must be not setup) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@242645 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-11Permit dates and times to be stored in timezones other than the default ↵tilghman1-2/+12
(typically, UTC) (closes issue #16401) Reported by: lordmortis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239152 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-10According to POSIX, the capital L modifier applies only to floating point types.tilghman1-1/+1
Fixes a crash on Solaris. (closes issue #16572) Reported by: crjw Patches: frame_changes.patch uploaded by crjw (license 963) Plus several others found and fixed by me git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239074 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-10add docallbacks flag in q931decode function becausemay3-5/+5
when we decode received q931 packet we must do callbacks and when we print sended q931 packet we must not. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239037 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Fix reading samples from format_mp3 after ast_seekstream/ast_tellstream.seanbright1-1/+1
There is a bug when using ast_seekstream/ast_tellstream with format_mp3 in that the file read position is not reset before attempting to read samples. So when we seek to determine the maximum size of the file (as in res_agi's STREAM FILE) we weren't then resetting the file pointer so that we could properly read samples. This patch addresses that (in a similar manner to format_wav.c). (closes issue #15224) Reported by: rbd Patches: 20091230_addons_1.4_issue15224.diff uploaded by seanbright (license 71) Tested by: rbd, seanbright Review: https://reviewboard.asterisk.org/r/453 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238014 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30small q931 processing and signalling correctionsmay3-6/+4
don't decode UUIE from Q931StatusMessage clean call without callIdentifier data don't start tcs/msd exchange procedure after call proceeding received (closes issue #16365) Reported by: benngard2 Tested by: may213, benngard2 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237098 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-08Typo pointed out on #asterisk-dev (by atis_work)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@233732 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-04Update the mysql driver to always return NULL columns, as this is needed for ↵tilghman1-5/+6
the realtime API to work correctly. (closes issue #16138) Reported by: sohosys Patches: 20091029__issue16138.diff.txt uploaded by tilghman (license 14) Tested by: sohosys git-svn-id: http://svn.digium.com/svn/asterisk/trunk@233050 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-03jitterbuffer setup correctionmay3-16/+17
correction of double pointer references from previous rev git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232853 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-02Fix support for multiline SMS messages in chan_mobile.mnicholson1-11/+122
(closes issue #16278) Reported by: Artem Patches:       multiline-sms-fix2.diff uploaded by mnicholson (license 96) Tested by: Artem git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232580 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-02Do something with the service indicator so that asterisk does not attempt to ↵mnicholson1-2/+39
use a chan_mobile endpoint that does not have service. (closes issue #16132) Reported by: nikkk Patches:       service-indicator2.diff uploaded by mnicholson (license 96) Tested by: nikkk git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232544 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01More 32->64 bit codec conversions.tilghman4-11/+13
In the process of swapping ULAW to a place in the extended codec space, we found several unhandled cases, where a 32-bit integer was still being used to handle a codec field. Most of these have been fixed with this commit, although there is at least one case (codec_dahdi) which depends upon outside headers to be altered before a conversion can be made. (Fixes AST-278, SWP-459) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231850 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13If CDR logging is disabled, it's considered a FAILUREoej1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229840 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09Fix various problems detected with Valgrind.tilghman1-4/+4
* chan_console accessed pvts after deallocation. * cdr_mysql stored a pointer that was freed by realloc() * The module loader did not check usecount on shutdown, which led to chan_iax2 reading a timer that was already unloaded. * The event subsystem sometimes creates an event with no IEs. Due to a corner condition, the code would read beyond the memory boundary. * res_pktccops did not correctly check whether its monitor thread was started. (closes issue #16062) Reported by: alexanderheinz Patches: 20091109__issue16062.diff.txt uploaded by tilghman (license 14) Tested by: tilghman git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228798 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06Make compilation of chan_ooh323 disabled by default.mmichelson1-0/+4
All addons modules should be disabled by default, requiring the user to turn them on if desired. After all, these are addons we're talking about here. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228659 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06Get chan_ooh323 to compile with gcc 4.2.mmichelson2-6/+6
For some reason, the code compiles just fine with later versions of GCC, but this one requires some weird double casting in order to get rid of all warnings. Whatever. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228658 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06Missed these two channel drivers on the codec_bits mergetilghman1-6/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228616 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-04Update chan_ooh323 to support the expanded codec bitfield from 227580.jpeeler1-25/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227914 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-04Reworked chan_ooh323 channel module.may55-2198/+7606
Many architectural and functional changes. Main changes are threading model chanes (many thread in ooh323 stack instead of one), modifications and improvements in signalling part, additional codecs support (726, speex), t38 mode support. This module tested and used in production environment. (closes issue #15285) Reported by: may213 Tested by: sles, c0w, OrNix Review: https://reviewboard.asterisk.org/r/324/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227898 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-04Fix trunk buildingtilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227614 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-08Fix audio problems with format_mp3.russell1-2/+2
This problem was introduced when the AST_FRIENDLY_OFFSET patch was merged. I'm surprised that nobody noticed any trouble when testing that patch, but this fixes the code that fills in the buffer to start filling in after the offset portion of the buffer. (closes issue #15850) Reported by: 99gixxer Patches: issue15850.diff1.txt uploaded by russell (license 2) Tested by: 99gixxer git-svn-id: http://svn.digium.com/svn/asterisk/trunk@217113 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-01Fix memory corruption caused by format_mp3.russell1-12/+1
format_mp3 claimed that it provided AST_FRIENDLY_OFFSET in frames returned by read(). However, it lied. This means that other parts of the code that attempted to make use of the offset buffer would end up corrupting the fields in the ast_filestream structure. This resulted in quite a few crashes due to unexpected values for fields in ast_filestream. This patch closes out quite a few bugs. However, some of these bugs have been open for a while and have been an area where more than one bug has been discussed. So with that said, anyone that is following one of the issues closed here, if you still have a problem, please open a new bug report for the specific problem you are still having. If you do, please ensure that the bug report is based on the newest version of Asterisk, and that this patch is applied if format_mp3 is in use. Thanks! (closes issue #15109) Reported by: jvandal Tested by: aragon, russell, zerohalo, marhbere, rgj (closes issue #14958) Reported by: aragon (closes issue #15123) Reported by: axisinternet (closes issue #15041) Reported by: maxnuv (closes issue #15396) Reported by: aragon (closes issue #15195) Reported by: amorsen Tested by: amorsen (closes issue #15781) Reported by: jensvb (closes issue #15735) Reported by: thom4fun (closes issue #15460) Reported by: marhbere git-svn-id: http://svn.digium.com/svn/asterisk/trunk@215212 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-20Select uncommented lines, not commented ones.tilghman1-1/+1
(closes issue #15746) Reported by: makoto git-svn-id: http://svn.digium.com/svn/asterisk/trunk@213248 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-18Clarify some of the error messages, to help upgraders.tilghman1-16/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@212883 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-10AST-2009-005tilghman5-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@211539 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-03Add an 'sms' option to mobile.conf to manually enable or disable SMS support.mnicholson1-3/+13
(closes issue #15071) Reported by: ughnz Patches: optional-sms1.diff uploaded by mnicholson (license 96) Tested by: ughnz, mnicholson git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209993 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-30Fixes numerous spelling errors. Patch submitted by alecdavis.dbrooks2-2/+2
(closes issue #15595) Reported by: alecdavis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209554 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-29This patch adds the ability to send a CUSD command to a bluetooth device.mnicholson1-0/+163
(closes issue #15278) Reported by: Artem Patches: cusd5.patch uploaded by Artem (license 800) Tested by: mnicholson, Artem Review: https://reviewboard.asterisk.org/r/274/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209484 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-29Fixed a comment for hfp_parse_clipmnicholson1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209453 f38db490-d61c-443f-a65b-d21fe96a405b