dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

108 Commits

Author SHA1 Message Date
tzafrir 78b43f96d3 Typos: 'succesful' (lintian)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265525 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-25 08:31:51 +00:00
may 16f7f9022b small changes to avoiding 'freeing unused memory...'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265227 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-23 18:23:38 +00:00
tilghman 51dcb7e1df Fix build on Linux
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@261964 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-07 22:09:09 +00:00
may 84c3d61f65 additional checking related to issue 17186
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258855 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-25 18:51:37 +00:00
may 849740c4e7 Don't pass zero length callerid to ooh323 stack
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-04-25 18:34:29 +00:00
may 35b9868b97 corrections in gk interface, small fixes in call clearing.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@255199 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-27 23:51:13 +00:00
kpfleming 3a4706cb6c Use "local" instead of "system" header file inclusion.
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-25 23:38:58 +00:00
russell 1327d4d6b3 Fix a number of other build problems on Mac OS X.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254884 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25 21:39:04 +00:00
russell 2afec4cd51 Resolve compiler warning on FreeBSD.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254801 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25 20:41:34 +00:00
russell 6991988668 Fix chan_ooh323 so it works on Mac OS X, as well.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254799 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25 20:40:48 +00:00
kpfleming 507870ee8f Get chan_ooh323 building again after recent build system changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254636 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-25 18:34:32 +00:00
may b13cd79440 generate roundtrip delay requests and responses
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-14 14:42:59 +00:00
twilson 88bfcb6713 Only change the RTP ssrc when we see that it has changed
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-12 22:04:51 +00:00
may 91ab62ebb0 small log issue from bug 0016664
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251181 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-07 00:45:35 +00:00
may 45c06aa91d generate connected line info update from info in h.323 packets
Tested by: benngard



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@247035 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16 22:58:22 +00:00
may 95e975dbf9 small corrections in call clearing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@242933 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25 21:20:02 +00:00
may 901630e56d AST_CONTROL_CONNECTED_LINE frame type processing added to setup DisplayIE field
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-24 22:42:11 +00:00
tilghman 31afdebaba Permit dates and times to be stored in timezones other than the default (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-11 21:03:46 +00:00
tilghman 13b87f413f According to POSIX, the capital L modifier applies only to floating point types.
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-10 19:37:30 +00:00
may 82a849a9d7 add docallbacks flag in q931decode function because
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-10 17:53:59 +00:00
seanbright 7ac82f7eab Fix reading samples from format_mp3 after ast_seekstream/ast_tellstream.
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
2010-01-06 15:35:43 +00:00
may aab483575a small q931 processing and signalling corrections
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-30 23:51:32 +00:00
tilghman 87f2648389 Typo pointed out on #asterisk-dev (by atis_work)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@233732 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-08 18:40:19 +00:00
tilghman 08651f52a3 Update the mysql driver to always return NULL columns, as this is needed for 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-04 16:08:58 +00:00
may 28086f7e2a jitterbuffer setup correction
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-03 20:26:55 +00:00
mnicholson 637d67a2d2 Fix support for multiline SMS messages in chan_mobile.
(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-02 21:37:18 +00:00
mnicholson a8c0310046 Do something with the service indicator so that asterisk does not attempt to 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-02 21:13:02 +00:00
tilghman f4d89e410a More 32->64 bit codec conversions.
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-12-01 20:27:37 +00:00
oej 858a04d02e If CDR logging is disabled, it's considered a FAILURE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229840 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 09:22:04 +00:00
tilghman 4424b26d1e Fix various problems detected with Valgrind.
* 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-09 07:37:52 +00:00
mmichelson ea202cf5c2 Make compilation of chan_ooh323 disabled by default.
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-06 22:02:36 +00:00
mmichelson 3823a81892 Get chan_ooh323 to compile with gcc 4.2.
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-06 22:00:12 +00:00
tilghman 16e3d97832 Missed these two channel drivers on the codec_bits merge
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228616 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 19:38:33 +00:00
jpeeler 994de86e87 Update chan_ooh323 to support the expanded codec bitfield from 227580.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227914 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-04 22:22:51 +00:00
may 1303687410 Reworked chan_ooh323 channel module.
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-04 22:10:44 +00:00
tilghman 3dff4bc81b Fix trunk building
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227614 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-04 16:13:50 +00:00
russell af9544cd4c Fix audio problems with format_mp3.
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-08 18:06:57 +00:00
russell f86e3dac91 Fix memory corruption caused by format_mp3.
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-09-01 20:44:13 +00:00
tilghman d75aa61b73 Select uncommented lines, not commented ones.
(closes issue #15746)
 Reported by: makoto


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@213248 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-20 15:29:53 +00:00
tilghman e925212260 Clarify some of the error messages, to help upgraders.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@212883 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-18 19:49:52 +00:00
tilghman d1ec1aa57d AST-2009-005
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@211539 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-10 19:20:57 +00:00
mnicholson 572b8c9155 Add an 'sms' option to mobile.conf to manually enable or disable SMS support.
(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-08-03 14:01:39 +00:00
dbrooks 041c6da20c Fixes numerous spelling errors. Patch submitted by alecdavis.
(closes issue #15595)
Reported by: alecdavis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209554 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-30 16:07:05 +00:00
mnicholson 50eaf70265 This patch adds the ability to send a CUSD command to a bluetooth device.
(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-29 21:46:17 +00:00
mnicholson 621f8f3f2d Fixed a comment for hfp_parse_clip
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209453 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-29 21:13:42 +00:00
dbrooks 3a578de20c Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize"
(closes issue #15571)
Reported by: alecdavis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209098 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-27 16:33:50 +00:00
kpfleming 3dbaf0de9a Merged revisions 207647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines
  
  Ensure that user-provided CFLAGS and LDFLAGS are honored.
  
  This commit changes the build system so that user-provided flags (in ASTCFLAGS
  and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided
  by the build system itself, so that the user can effectively override the
  build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now
  be provided *either* in the environment before running 'make', or as variable
  assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS
  is no longer necessary, so they are no longer documented, but are still supported
  so as not to break existing build systems that supply them when building Asterisk.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@207680 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-21 13:28:04 +00:00
kpfleming 167e07dab1 Make the menuselect category for Add-Ons consistent with the other directories (uppercase).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@206092 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-13 13:29:23 +00:00
mnicholson 177dbb5e76 Fix mbl_fixup() in chan_mobile to update newchan->tech_pvt instead of oldchan.
(closes issue #15299)
Reported by: nikkk


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@205700 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-09 21:32:31 +00:00
tilghman 791eff24f8 Merged revisions 981 via svnmerge from
https://origsvn.digium.com/svn/asterisk-addons/branches/1.4

........
  r981 | tilghman | 2009-07-06 16:30:13 -0500 (Mon, 06 Jul 2009) | 7 lines
  
  Don't reset reconnect time, unless a reconnect really occurred.
  (closes issue #15375)
   Reported by: kowalma
   Patches: 
         20090628__issue15375.diff.txt uploaded by tilghman (license 14)
   Tested by: kowalma, jacco
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204986 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-06 21:37:39 +00:00
russell 937ceb79f8 Rename ooh323.conf to chan_ooh323.conf, make module support both names
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204428 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:18:18 +00:00
russell c64c92ed31 Rename mobile.conf to chan_mobile.conf, make module support old name, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204423 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:16:56 +00:00
russell f1a1058b49 Rename res_mysql.conf to res_config_mysql.conf, make module support both
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204422 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:15:09 +00:00
russell d98cbd8642 Rename mysql.conf to app_mysql.conf, make module support both names
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204419 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:10:45 +00:00
russell 86e90639fc Rename cdr_addon_mysql to cdr_mysql
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204418 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:09:04 +00:00
russell 1b98dc72cd Rename app_addon_sql_mysql to app_mysql
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204417 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:08:14 +00:00
kpfleming 0a6e138eed Add-ons related build system improvements.
Ensure that add-on modules can be embedded, fix up Makefile.moddir_rules
to allow module directory Makefiles to more easily specify the modules to
be built, and explicitly list the addons modules in its Makefile, since
the module names don't follow any pattern.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204415 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 17:04:35 +00:00
russell e9d15cbea7 Move Asterisk-addons modules into the main Asterisk source tree.
Someone asked yesterday, "is there a good reason why we can't just put these
modules in Asterisk?".  After a brief discussion, as long as the modules are
clearly set aside in their own directory and not enabled by default, it is
perfectly fine.

For more information about why a module goes in addons, see README-addons.txt.

chan_ooh323 does not currently compile as it is behind some trunk API updates.
However, it will not build by default, so it should be okay for now.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204413 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 16:40:38 +00:00