dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

108 Commits

Author SHA1 Message Date
may 7f5a82e677 Merged revisions 328428-328429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328428 | may | 2011-07-15 23:31:09 +0400 (Fri, 15 Jul 2011) | 13 lines
  
  Merged revisions 328427 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r328427 | may | 2011-07-15 23:22:24 +0400 (Fri, 15 Jul 2011) | 7 lines
    
    small gk processing fixes:
    - decrease for 1 second registration ttl for very low expirations (some
      providers expire few earlier than TTL)
    - delete rrq and registration expire timers on URQ received as we make
      new registration.
  ........
................
  r328429 | may | 2011-07-15 23:35:50 +0400 (Fri, 15 Jul 2011) | 2 lines
  
  delete unproperly changed svn props
................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@328502 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-15 21:41:46 +00:00
lmadsen e73cab2f3f Merged revisions 328247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328247 | lmadsen | 2011-07-14 16:25:31 -0400 (Thu, 14 Jul 2011) | 14 lines
  
  Merged revisions 328209 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r328209 | lmadsen | 2011-07-14 16:13:06 -0400 (Thu, 14 Jul 2011) | 6 lines
    
    Introduce <support_level> tags in MODULEINFO.
    This change introduces MODULEINFO into many modules in Asterisk in order to show
    the community support level for those modules. This is used by changes committed
    to menuselect by Russell Bryant recently (r917 in menuselect). More information about
    the support level types and what they mean is available on the wiki at
    https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
  ........
................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@328259 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-14 20:28:54 +00:00
may c611b5cf37 Full T.38 handshaking and fax detection
Add full t.38 handshaking for OOH323 that are required for newest T.38
gateway codes.
Add fax detection (cng tone, t38) and dialplan redirection to fax ext on
fax event detected.
Add OOH323() function to set/get t38support and faxdetect parameters.

(closes issue ASTERISK-17754)
Reported by: irroot
Patches: 
      ooh323_faxdetect.patch uploaded by irroot (license 52)
      issue19183-final.patch uploaded by may213 (license 454)
Tested by: may213, irroot

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



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@327359 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-10 01:37:58 +00:00
may b77570f827 Merged revisions 321528 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r321528 | may | 2011-06-01 14:40:19 +0400 (Wed, 01 Jun 2011) | 14 lines
  
  Fix double alerting, add forced alerting before answer
  
  Fix double alerting (it wasn't fixed here by issue #18542)
  Add forced alerting before connect (if it wasn't before)
  Try to send all packets from outgoing queue rather than one only
  Call goes into clearing state when disconnect command is received
  
  (closes issue #19361)
  Reported by: vmikhelson
  Patches: 
        issue19361-3.patch uploaded by may213 (license 454)
  Tested by: vmikhelson
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@321529 f38db490-d61c-443f-a65b-d21fe96a405b
2011-06-01 10:45:12 +00:00
twilson c925e221d2 Merged revisions 320716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r320716 | twilson | 2011-05-24 17:49:10 -0700 (Tue, 24 May 2011) | 4 lines
  
  Cast data as char * before using S_OR
  
  This is required for compiling successfully under dev mode
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@320717 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-25 00:52:21 +00:00
russell 1f776a7d27 Merged revisions 317837 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r317837 | russell | 2011-05-06 14:24:11 -0500 (Fri, 06 May 2011) | 11 lines
  
  Fix a crash in the MySQL() application.
  
  This code was not handling channel datastores safely.  The channel
  must be locked.
  
  (closes issue #17964)
  Reported by: wuwu
  Patches:
        issue17964_addon_1.6.2_svn.patch uploaded by seanbright (license 71)
  Tested by: wuwu
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@317843 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-06 19:25:35 +00:00
seanbright 92f490ca2a Merged revisions 317370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r317370 | seanbright | 2011-05-05 16:25:52 -0400 (Thu, 05 May 2011) | 10 lines
  
  Don't duplicate our data on the stack and just use the MYSQL_ROW directly.
  
  With large result sets we were blowing out the stack.
  
  (closes issue #19090)
  Reported by: mickecarlsson
  Patches:
        issue19090_trunk_svn.patch uploaded by seanbright (license 71)
  Tested by: mickecarlsson
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@317377 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-05 20:27:25 +00:00
tilghman be5d7cfa82 Merged revisions 316429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r316429 | tilghman | 2011-05-03 19:12:25 -0500 (Tue, 03 May 2011) | 7 lines
  
  Escape column names in case they contain illegal characters ('-') or reserved words.
  
  (closes issue #19063)
   Reported by: festr
   Patches: 
         patch uploaded by festr (license 443)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@316430 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-04 00:13:23 +00:00
may 68e19a10c5 fix compile error from r313907
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@313944 f38db490-d61c-443f-a65b-d21fe96a405b
2011-04-17 01:28:35 +00:00
may bdbfbefbbc fix trivial error with set_max_datagram on pvt->udptl
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@313907 f38db490-d61c-443f-a65b-d21fe96a405b
2011-04-17 00:23:42 +00:00
may bb9ace0b9d IPv6 support for chan_ooh323
IPv6 support for ooh323,
bindaddr, peers and users ip can be IPv4 or IPv6 addr
correction for multi-homed mode (0.0.0.0 or :: bindaddr)
can work in dual 6/4 mode with :: bindaddr
gatekeeper mode isn't supported in v6 mode while

(issue #18278)
Reported by: may213
Patches: 
      ipv6-ooh323.patch uploaded by may213 (license 454)

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



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@313482 f38db490-d61c-443f-a65b-d21fe96a405b
2011-04-12 21:59:18 +00:00
may c3ef7cd686 Merged revisions 313142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r313142 | may | 2011-04-10 00:56:17 +0400 (Sun, 10 Apr 2011) | 3 lines
  
  fix trivial bug in ooh323_indicate on AST_CONTROL_SRC...
  check p->rtp is not null
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@313143 f38db490-d61c-443f-a65b-d21fe96a405b
2011-04-09 21:00:15 +00:00
tilghman c855ea7dcb Merged revisions 312286,312288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r312286 | tilghman | 2011-04-01 05:44:33 -0500 (Fri, 01 Apr 2011) | 2 lines
  
  Reload must react correctly against a possibly changed table, so dropping the conditional reload flag.
................
  r312288 | tilghman | 2011-04-01 05:58:45 -0500 (Fri, 01 Apr 2011) | 21 lines
  
  Merged revisions 312287 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ................
    r312287 | tilghman | 2011-04-01 05:51:24 -0500 (Fri, 01 Apr 2011) | 14 lines
    
    Merged revisions 312285 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.4
    
    ........
      r312285 | tilghman | 2011-04-01 05:36:42 -0500 (Fri, 01 Apr 2011) | 7 lines
      
      Found some leaking file descriptors while looking at ast_FD_SETSIZE dead code.
      
      (issue #18969)
       Reported by: oej
       Patches: 
             20110315__issue18969__14.diff.txt uploaded by tilghman (license 14)
    ........
  ................
................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@312289 f38db490-d61c-443f-a65b-d21fe96a405b
2011-04-01 10:59:32 +00:00
may b4212b376e Merged revisions 311687 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r311687 | may | 2011-03-28 01:47:13 +0400 (Mon, 28 Mar 2011) | 2 lines
  
  correct return values in ooh323_indicate for AST_CONTROL_T38_PARAMETERS
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@311688 f38db490-d61c-443f-a65b-d21fe96a405b
2011-03-27 21:49:03 +00:00
tilghman 528b862a85 Merged revisions 310834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r310834 | tilghman | 2011-03-14 20:48:25 -0500 (Mon, 14 Mar 2011) | 2 lines
  
  Fix branch compile.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@310835 f38db490-d61c-443f-a65b-d21fe96a405b
2011-03-15 01:49:37 +00:00
may bf0bc7d7a7 Merged revisions 310734 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
(closes issue #18693)

........
  r310734 | may | 2011-03-15 00:45:53 +0300 (Tue, 15 Mar 2011) | 12 lines
  
  Introduce t.38 parameters control functionality not full but enough for
  Send/RcvFax support
  
  Introduce t.38 controls between asterisk core and channel/proto layers.
  Not all parameters are transferred from proto layers but *Fax apps
  tested and work ok.
  
  (issue #18693)
  Reported by: benngard2
  Patches: 
        issue-18693.patch uploaded by may213 (license 454)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@310735 f38db490-d61c-443f-a65b-d21fe96a405b
2011-03-14 21:51:35 +00:00
may b2b707ecc3 Merged revisions 308242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r308242 | may | 2011-02-18 03:07:20 +0300 (Fri, 18 Feb 2011) | 3 lines
  
  added g729onlyA option for announce only AnnexA g.729 codec in
  h.323 capabilities. Option can be global or per user/peer.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@308243 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-18 00:11:06 +00:00
pabelanger eb7432473b Merged revisions 308150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r308150 | pabelanger | 2011-02-16 15:21:17 -0500 (Wed, 16 Feb 2011) | 2 lines
  
  Fix FreeBSD builds.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@308157 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-16 22:02:41 +00:00
may ca683dd533 Merged revisions 308098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r308098 | may | 2011-02-16 10:57:22 +0300 (Wed, 16 Feb 2011) | 2 lines
  
  ifdef __linux__ keepalive variables also
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@308099 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-16 08:06:01 +00:00
may 18f4d9ca6b include tcp keepalive socket calls only on linux, freebsd and others
don't have these options on sockets.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307969 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-15 23:07:47 +00:00
tilghman afcfa588de Making trunk compile again.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307752 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-14 07:01:46 +00:00
may 7cc38486af lc not found - it's warning, not error,
change malloc to ast_calloc again


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307713 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-13 10:50:22 +00:00
may 700abad11b change malloc to ast_calloc calls to prevent crash of asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307677 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-12 23:25:58 +00:00
may eff19bee67 Corrections for properly work with H.323v2 (older) endpoints and other
small fixes.

Interpret remote side H.225 version.

Corrections for H.323v2 endpoints: 
don't start TCS and MSD before connect,
don't start TCS and MSD by accepting H.245 connection,
start TCS and MSD by StartH245 facility message.

Other fixes:
fix non zeroended remoteDisplayName issue, small fixes in call clearing
by closing H.245 connection, tcp keepalive introduced on TCP
connections (now is hardcoded, will be configurable in the future), 
don't force H.245tunneling if FastStart is active, don't send Alerting 
singal more than once per call.

(closes issue #18542)
Reported by: vmikhelson
Patches: 
      issue18542-final-3.patch uploaded by may213 (license 454)
Tested by: vmikhelson


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@307396 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-10 13:29:19 +00:00
may d312d76a47 fix trivial issue after dvossel patch, initial zero fill user and peer
structure before cap structure allocated.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@306499 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-05 22:16:07 +00:00
pabelanger 6705f03406 Replace ast_log(LOG_DEBUG, ...) with ast_debug()
(closes issue #18556)
Reported by: kkm

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@306258 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-04 16:55:39 +00:00
dvossel 4aca3187a3 Asterisk media architecture conversion - no more format bitfields
This patch is the foundation of an entire new way of looking at media in Asterisk.
The code present in this patch is everything required to complete phase1 of my
Media Architecture proposal.  For more information about this project visit the link below.
https://wiki.asterisk.org/wiki/display/AST/Media+Architecture+Proposal

The primary function of this patch is to convert all the usages of format
bitfields in Asterisk to use the new format and format_cap APIs.  Functionally
no change in behavior should be present in this patch.  Thanks to twilson
and russell for all the time they spent reviewing these changes.

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



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@306010 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-03 16:22:10 +00:00
tilghman 5aa0f11acd Merged revisions 300798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r300798 | tilghman | 2011-01-06 00:28:18 -0600 (Thu, 06 Jan 2011) | 8 lines
  
  Don't destroy handle not created by use (because the caller will).
  
  (closes issue #18526)
   Reported by: makoto
   Patches: 
         res-config-mysql-include.patch uploaded by makoto (license 38)
   Tested by: makoto
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@300799 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-06 06:29:08 +00:00
may b774d92e0f Change order of sending TCS and MSD packets
Change order of sending Terminal Capability Set and MasterSlave
Determination packets, MSD send when TCS exchange procedure is done
(we send tcs ack to remote and we have remote tcs ack already
or we receive tcs ack from remote and we have send our tcs ack to
remote  already). Some endpoints can work in this sequence only,
i suggest they can't work with both (tcs and msd) exchange procedures
simultaneously.

Also changed StartH245 facility message sending. It send on
incoming calls only due to some endpoints can't proccess properly
this facility messages on their incoming calls.

(closes issue #18433)
Reported by: MrHanMan
Patches:
      tcs-msd-h245-3.patch uploaded by may213 (license 454)
Tested by: MrHanMan, may213


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@299715 f38db490-d61c-443f-a65b-d21fe96a405b
2010-12-25 16:35:09 +00:00
tilghman 98d7212d5e Merged revisions 299583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r299583 | tilghman | 2010-12-24 11:58:30 -0600 (Fri, 24 Dec 2010) | 7 lines
  
  Reset 'first' variable after usage.
  
  (closes issue #18525)
   Reported by: makoto
   Patches: 
         res-config-mysql-update2.patch uploaded by makoto (license 38)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@299584 f38db490-d61c-443f-a65b-d21fe96a405b
2010-12-24 17:59:23 +00:00
russell c740b84632 Fix some build errors in addons due to sched API changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@299133 f38db490-d61c-443f-a65b-d21fe96a405b
2010-12-20 17:49:20 +00:00
may 99366795ba Correction to work with gatekeeper which don't send GK ID
Don't use GK ID if it's not presented in GK replies
Extract GK ID not only in GK confirm but in GK register confirm also

(closes issue #18401)
Reported by: MrHanMan
Patches:
      no-gkid-2.patch uploaded by may213 (license 454)
Tested by: may213, MrHanMan



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@298100 f38db490-d61c-443f-a65b-d21fe96a405b
2010-12-11 21:47:08 +00:00
mnicholson d951057e73 Merged revisions 292122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r292122 | mnicholson | 2010-10-18 12:15:24 -0500 (Mon, 18 Oct 2010) | 5 lines
  
  Fix the cmgr parser.
  
  (closes issue 0018152)
  Reported by: menschentier
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@292124 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-18 17:18:58 +00:00
may adbf7db798 Added fast start and h.245 tunneling options per user and peer.
Added options for faststart/h.245 tunneling per user/peer, properly
handle these and global options, correction of handling fs/tunneling
fields in signalling responses

(closes issue #17972)
Reported by: salecha
Patches:
      fs-tunnel-per-point-3.patch uploaded by may213 (license 454)
Tested by: may213, salecha


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@291006 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-09 14:04:35 +00:00
espiceland 463cc4021f Add option to res_config_mysql and app_mysql to specify a character set that
MySQL should use.
 (closes issue 17948)
 Reported by qmax.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@290939 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-08 16:27:31 +00:00
may 7b488f21b5 small correction for verbose print h.323 packets
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@288893 f38db490-d61c-443f-a65b-d21fe96a405b
2010-09-25 07:58:23 +00:00
tilghman 7b30444d80 Merged revisions 285336 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r285336 | tilghman | 2010-09-07 14:38:12 -0500 (Tue, 07 Sep 2010) | 2 lines
  
  Fix build on FreeBSD 8.0, take 2.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@285337 f38db490-d61c-443f-a65b-d21fe96a405b
2010-09-07 19:38:55 +00:00
tilghman f42f6666bf Merged revisions 284696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r284696 | tilghman | 2010-09-02 11:27:52 -0500 (Thu, 02 Sep 2010) | 2 lines
  
  Fixing build
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@284700 f38db490-d61c-443f-a65b-d21fe96a405b
2010-09-02 16:36:55 +00:00
tilghman c32f63c825 Merged revisions 284597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r284597 | tilghman | 2010-09-02 00:00:34 -0500 (Thu, 02 Sep 2010) | 29 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@284598 f38db490-d61c-443f-a65b-d21fe96a405b
2010-09-02 05:02:54 +00:00
qwell c90f58c8c9 Merged revisions 283882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r283882 | qwell | 2010-08-27 15:31:55 -0500 (Fri, 27 Aug 2010) | 22 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@283883 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-27 20:32:21 +00:00
russell 92cc158ac4 Merged revisions 280742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r280742 | russell | 2010-08-03 13:48:45 -0500 (Tue, 03 Aug 2010) | 4 lines
  
  Remove the MP3 decoder source code and replace it with a small shell script.
  
  Review: https://reviewboard.asterisk.org/r/836/
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@280743 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-03 18:50:14 +00:00
mmichelson 5918e05dd0 Well, who knew chan_ooh323 used udptl? I sure didn't!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278943 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23 15:52:37 +00:00
tilghman 771cdeecd1 Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278132 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-20 19:35:02 +00:00
tilghman f4e254a73c 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: http://svn.digium.com/svn/asterisk/trunk@277773 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-17 17:39:28 +00:00
rmudgett ad58aa92a2 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: http://svn.digium.com/svn/asterisk/trunk@276347 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14 15:48:36 +00:00
rmudgett 90a1e4acd5 Fix compile of chan_ooh323.c from IPv6 integration.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274827 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 23:23:17 +00:00
mmichelson c3c2e5edfd 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: http://svn.digium.com/svn/asterisk/trunk@274783 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 22:08:07 +00:00
tzafrir 4d43ba70d1 Fix various typos reported by Lintian
(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-02 15:57:02 +00:00
mnicholson 51893339b9 Don't free written frames in chan_mobile's mbl_write() function.
(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-07-01 12:57:18 +00:00
snuffy b9d2b2684d Add High Resolution Times to CDRs for Asterisk
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-06-08 23:48:17 +00:00