James Golovich
3e3642433b
Code formatting fixes in pbx.c (still more todo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-09 07:19:00 +00:00
James Golovich
9bb1b64d48
Change strlen calls to ast_strlen_zero in pbx.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-04 06:34:34 +00:00
Mark Spencer
73b389da6c
Add SayPhonetic and SayAlpha applications (bug #793 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-03 00:54:16 +00:00
Mark Spencer
5192a1a054
Add support for French, Danish, Portuguese, Spanish, Italian, and Dutch numbers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-29 02:30:14 +00:00
Mark Spencer
ce44c6ec41
More select/poll updates for various applications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 03:02:49 +00:00
Mark Spencer
e30e0c5135
Use ast_strdupa instead of strdup in goto (bug #1465 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 00:27:48 +00:00
Mark Spencer
8a7f4bcd7a
Hold the lock properly on async goto now that we have recursive mutex support.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-19 23:00:50 +00:00
James Golovich
295ce9fc8d
Make extension matching non case sensitive. So 'T' and 't' are
...
different extensions (bug 1327)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-18 05:50:55 +00:00
Mark Spencer
13bca43aa8
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 22:17:32 +00:00
Mark Spencer
852422f4ab
Add "WaitExten" application
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 04:14:19 +00:00
Mark Spencer
ef1f39d29e
Save appl and data around exec (bug #1301 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-04 21:30:24 +00:00
Mark Spencer
a925c1b306
Update security document, work on threading with pbx.c and small SIP fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-02 07:24:33 +00:00
Mark Spencer
61d1fd9a0e
Make FAX enableable/disablabable, fix async goto support properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-24 05:01:44 +00:00
Mark Spencer
ce9e964c5f
Fix LEN segfault (bug #1228 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-19 06:36:25 +00:00
James Golovich
146469ab19
Allow multiple switches in the same context (bug #1171 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-06 20:15:08 +00:00
James Golovich
d97cc460b0
Fix pbx_builtin_atimeout comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-05 23:42:58 +00:00
James Golovich
a51ca42b18
Make the Wait application accept time with fractions of a second
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 21:45:21 +00:00
Mark Spencer
550785ba29
Fix GotoIfTime if time is bad
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 05:23:50 +00:00
Malcolm Davenport
3439c08170
Fix Bug # 981
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-26 17:29:49 +00:00
James Golovich
a23c89dd75
Fix some comments in pbx.c and pbx_config.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-23 05:37:24 +00:00
James Golovich
c278f09897
Fix ast_add_extension2 updating ast_exten correctly in certain cases
...
where extensions.conf is not ordered numerically by priority (bug #1065 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-23 02:47:22 +00:00
James Golovich
d03dbf91a6
Add ${LANGUAGE} channel variable (bug #1078 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-22 05:25:58 +00:00
Mark Spencer
bac2215fb6
Fix several memory leaks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-11 03:54:28 +00:00
Mark Spencer
28d980de3d
Force update of the CDR before clearing channel (bug #974 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-02 01:13:00 +00:00
Mark Spencer
0cadef62c1
Stop searching once we find a match
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-31 17:00:24 +00:00
Jeremy McNamara
8a8b2d0684
Make output more readable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-15 23:06:51 +00:00
Jeremy McNamara
dade45942c
temp fix for timed includes and GotoIfTime
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 07:48:39 +00:00
Jeremy McNamara
4042e0f832
Out of memory conditions should be errors, not warnings. Bug #670
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 09:19:16 +00:00
Mark Spencer
4468124abd
Add ${TIMESTAMP} (bug #607 ) and don't ever ast_log from within handler
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-01 02:47:19 +00:00
Jeremy McNamara
541568fbb6
deal with accountcode correctly and update CDR on a goto
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-24 03:43:14 +00:00
Mark Spencer
bfb27d0836
Make CALLTYPE available
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21 18:38:42 +00:00
Mark Spencer
64c02a2174
Make ${ACCOUNTCODE} available and document (bug #459 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-13 20:42:17 +00:00
Martin Pycko
4d5b31e943
Fix a typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 00:16:01 +00:00
Mark Spencer
6e445e39a1
Make sure variables exists (bug #409 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-26 23:08:21 +00:00
Mark Spencer
bc7b8ef41e
Make HANGUPCAUSE accessible
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 18:00:00 +00:00
Mark Spencer
4d0e046a06
Verify includes, and give warnings if invalid (bug #429 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 17:50:06 +00:00
Mark Spencer
765bc4a66c
Create outgoing threads detached (bug #391 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-23 03:55:58 +00:00
Mark Spencer
285d3a4497
Update setlanguage documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-06 00:41:43 +00:00
Martin Pycko
b239d0de27
Pass accountcode to outgoing spool call when originated with Context&Extension&Priority
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 21:01:31 +00:00
Jeremy McNamara
b64094d528
use timeout value insted of 0. Bug #286
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 02:46:52 +00:00
Mark Spencer
249eef49d6
Move to asprintf (bug #252 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-27 02:22:18 +00:00
Martin Pycko
c545cd3cf7
Create better 'failed' CDRs for outgoing spool calls with context,extension,priority
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-22 15:27:09 +00:00
Martin Pycko
a2ee614628
Fix getting ${UNIQUEID} value
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-20 00:34:03 +00:00
Mark Spencer
a4c9fa34d9
Revert bug 176 patch entirely
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-14 00:32:51 +00:00
Mark Spencer
00b83639fd
More PBX fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13 23:50:18 +00:00
Mark Spencer
56f915e783
CLeanup PBX patch and add localtime stuff for saytime (bug #168 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13 20:51:48 +00:00
Mark Spencer
faeb2e28f2
Add extended Matching functionality (bug #97 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13 20:20:14 +00:00
Martin Pycko
4828759ab8
Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always save CDR record (even if the call fails). If the call fails try to see if there is
...
"failed" extension in the specified context (only if you use context,extension,priority syntax) and execute it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-12 16:51:35 +00:00
Mark Spencer
ac19ba51bd
Fix small logic errors (bug #242 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-10 05:24:49 +00:00
Mark Spencer
441be8c4d7
Add ResetCDR application (with mods) (bug #235 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 21:52:45 +00:00