Commit Graph

10285 Commits

Author SHA1 Message Date
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
Russell Bryant
5654be2803 fix tab completion for "core debug channel" and "core no debug channel"
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 16:28:15 +00:00
Russell Bryant
795ba043e2 Fix "core show channel". Also, fix tab completion for both "core show channel"
and "core show channels".


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 16:24:02 +00:00
Russell Bryant
6609cebaf2 Fix "core debug channel <whatever>". I guess someone needs to go through and
audit every CLI command that changed number of arguments ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 16:18:33 +00:00
Russell Bryant
9009cfcf79 revert the previous change, which actually modified the deprecated command,
"show profile".  Now, actually apply the change to "core show profile".


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 16:14:23 +00:00
Russell Bryant
38be3e38e2 Fix argument parsing for the "core show profile" CLI command
(fixed by rizzo in his branch, team/rizzo/astobj2)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 16:04:38 +00:00
Russell Bryant
0b927d2208 Fix another CLI command, "core show uptime" ...
(issue #8323, reported by johnlange, fixed by myself)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 15:49:39 +00:00
Russell Bryant
15ba13f1ec fix "core show version" to reflect the new number of arguments for this
CLI command (issue #8316, kshumard)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 06:31:37 +00:00
Steve Murphy
729ce4d791 This update fixes 7531
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 23:14:18 +00:00
Steve Murphy
1de03495a9 Committed in behalf of 8190.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 22:54:56 +00:00
Kevin P. Fleming
ea53cfcea3 the battle over CLI command formats has broken stuff...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 21:46:20 +00:00
Kevin P. Fleming
10978d0390 add simple fix for SDP to report proper sample rate for G.722 media sessions
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 18:07:16 +00:00
Russell Bryant
28b10444f6 I occasionally get email from users that are trying to figure out what this
does, or due to some misunderstanding as to what it is supposed to do, can't
get it to work.  So, I have added some text here to hopefully explain what
this application does and does not do.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 17:03:09 +00:00
Russell Bryant
487d4512d3 Make this module build again
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 16:55:35 +00:00
Russell Bryant
c70fd559ac Copy the macros from libtool.m4 to our own acinclude.m4 such that libtool is
no longer required to be installed to be able to generated the configure
script.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 16:31:59 +00:00
Russell Bryant
cbf38fec8e Remove aclocal.m4 from the tree since it is just an intermediate file created
while generating the configure script.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 16:08:50 +00:00
Olle Johansson
ac0918c059 Block patch that is not needed in 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 07:43:08 +00:00
Olle Johansson
764ba93e05 Destroy dialog properly at unload (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 07:40:53 +00:00
Steve Murphy
517978fd5f These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 23:46:41 +00:00