Commit Graph

10103 Commits

Author SHA1 Message Date
Kevin P. Fleming
8dd76cc19a silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15 00:05:44 +00:00
Joshua Colp
0742fe1d7e Merged revisions 47631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines

Update copyright information in the ADSI logo blob.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 22:17:16 +00:00
Joshua Colp
25b5cf18b7 Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 22:05:03 +00:00
Joshua Colp
039c552a47 Small documentation clarification for URIENCODE. (issue #8294 reported by salaud)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 21:30:44 +00:00
Tilghman Lesher
cd06244951 Conversion of res_odbc API to include ast_ prefix did not completely transition app_voicemail
when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 18:54:40 +00:00
Joshua Colp
159c54a5e9 Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 16:45:57 +00:00
Olle Johansson
4ecb09f6e8 Update documentation to fit the implementation...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 16:22:35 +00:00
Olle Johansson
cb82979700 Issue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet from peerpoke
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14 11:14:01 +00:00
Joshua Colp
595f01984f Merged revisions 47583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2 lines

Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 21:28:57 +00:00
Tilghman Lesher
e944561518 Merged revisions 47580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines

Having more than 255 old messages caused corruption in the new/old count

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 20:20:01 +00:00
Steve Murphy
2a0ac6ad9a This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 19:15:12 +00:00
Tilghman Lesher
6e4d0e50c8 Re-enable old deprecated commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 19:11:15 +00:00
Olle Johansson
55c8a5ded8 - Don't reply to INVITE already replied to when we get BYE
- Declare errmsg as int. Oops.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 19:10:39 +00:00
Steve Murphy
a619d5c3e0 Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 18:18:06 +00:00
Joshua Colp
c71a6b9004 Clean up last commit to better conform to standards.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 17:38:44 +00:00
Steve Murphy
dc8dca7807 AEL need not complain about parkedcalls not being found... just confuses users
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 17:13:20 +00:00
Joshua Colp
5c5c73ec0f Merged revisions 47549 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47549 | file | 2006-11-13 12:05:32 -0500 (Mon, 13 Nov 2006) | 2 lines

When sending an SMS with a user data header properly set the UDH flag in the first byte. (issue #8347 reported by hoffmeis)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 17:08:07 +00:00
Joshua Colp
6351e6bb2c Free full command string upon unregistering of CLI command. Backported from revision 47536 from rizzo.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 16:30:38 +00:00
Olle Johansson
0ca5dae550 Only produce error message about sip history once
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 16:00:57 +00:00
Russell Bryant
69aa0e88ca AC_PROG_SED is included in autoconf 2.60, but apparently it is not included
in 2.59.  So, to maintain compatability with 2.59 since it is a small change,
copy this macro into acinclude.m4 and rename it to AST_PROG_SED.
(issue #8345)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 05:48:18 +00:00
Tilghman Lesher
8e02de4bb2 Merged revisions 47525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines

If the execute fails a second time, make sure that we don't pass back a stale handle

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 05:46:18 +00:00
Tilghman Lesher
129280f4ee Merged revisions 47522 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines

Don't play dialtone if the seizing the channel fails (Bug 7754)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 01:12:01 +00:00
Olle Johansson
153cb1309f Issue 8314 - Restore auto-framing (Thanks DEA!!!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 16:12:12 +00:00
Olle Johansson
fc5f9c78d1 Part of issue 8078 - parse even if udptl is UDPTL in sdp...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 15:35:19 +00:00
Olle Johansson
a471f0a87c - Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
Final response to a re-invite does not mean that the session dies, only that
  the re-invite fails.
- Keep RTP active during processing of T.38 re-invite. If the re-invite fails,
  RTP needs to remain as before the re-invite.

Issue 8338 - darren1713. Please test.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 15:27:00 +00:00
Olle Johansson
853958e863 -Remove blocking of ptime: parsing in sdp
-Add some comments to t.38 code



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 15:10:53 +00:00
Russell Bryant
3964b50b05 Merged revisions 47496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) | 4 lines

Only do the check to determine whether the channel calling this function is an
IAX2 channel when getting the IP address using the special argument, 
CURRENTCHANNEL.  (issue #8341, jcovert)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12 06:23:23 +00:00
Russell Bryant
3519337723 Add the target "menuconfig" as an alias for the "menuselect" target. This is
just a favor to users so that if you accidentally type "make menuconfig"
instead of "make menuselect", it still works.
(inspired by a comment on IRC from wangster calling me an "especially devious
asterisk developer" for having it be menuselect instead of menuconfig. :) )


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-11 15:31:08 +00:00
Russell Bryant
7ac2161b50 Tweak the formatting of this new function to better conform to coding guidelines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-11 15:18:02 +00:00
Matt O'Gorman
5b02ba2bf1 woohoo safe out put!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-11 02:04:28 +00:00
Matthew Fredrickson
eb4c18e444 Make sure we don't use 32bits when we only need one bit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 22:23:58 +00:00
Olle Johansson
2a321d80f5 ...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
This is the channel that remains dead after the SIP transfer


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 21:42:27 +00:00
Olle Johansson
ea257647a2 Add debug output while trying to trace bug in bug report
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 21:36:49 +00:00
Olle Johansson
5fac7d357e Block backport to 1.2 from 1.4 so it's not coming back to 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 20:49:09 +00:00
Olle Johansson
ba58cf9ecd Make sure we destroy dialog...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 20:23:56 +00:00
Olle Johansson
1f2a4eb8c2 Small cleanup of handle_request_invite() - imported from 1.2 with changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 19:49:48 +00:00
Matthew Fredrickson
60c6acf03f Fix for #7321. Be able to explicitly hide callerid name for switches that bork
on it.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 19:47:16 +00:00
Joshua Colp
ff947e3743 Let's give this a go...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 19:36:25 +00:00
Olle Johansson
d83a1f1356 Issue 8010 - Fix support for multipart SDP (alphaque)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 18:56:15 +00:00
Luigi Rizzo
36808cf771 grep -m is not available on BSD, so use head -1 instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 17:13:34 +00:00
Joshua Colp
6c9e737d70 Only split up extension and context if a value exists. (issue #8332 reported by loloski)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 16:53:16 +00:00
Tilghman Lesher
f11ea0549d Discussion of these CLI changes resulted in more consistency (Bug 8236)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 16:51:55 +00:00
Kevin P. Fleming
cb2930ecb4 if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 16:36:49 +00:00
Kevin P. Fleming
88fb11d10b reflect addition/removal of dynamic queue members in queue_log, so that people using dialplan replacement for AgentCallbackLogin can still track login/logout (issue #7736, reported/patched by whoiswes but this commit was written by me and covers all three paths for AQM/RQM)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 16:34:04 +00:00
Olle Johansson
54994dfe04 Rip out half implementation of 491 response support, since it wasn't implemented
properly and caused memory leaks in the case of us getting 491's, which Asterisk
actually sends...

Since it is a bit too complicated to fix this, I'll rip it out of 1.4 and put
it on the to-do-list for future releases. Now, we handle this as congestion,
which it really is.

Issue #8331



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 13:04:42 +00:00
Olle Johansson
27e6ea10fb Fix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 12:05:53 +00:00
Joshua Colp
e424d306ac Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 03:44:36 +00:00
Joshua Colp
d2624d72ec Do conversion in a more easier to read and working way for \r, \n, and \t. (issue #8324 reported by johnlange)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 22:32:30 +00:00
Russell Bryant
58ed1b07ab Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap.  These modules use some preprocessor directives to
determine what it will report to Asterisk as its description.  However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326, #8328)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 21:26:27 +00:00
Joshua Colp
6e693fdb0c Merged revisions 47379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines

Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 16:53:25 +00:00