aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
AgeCommit message (Collapse)AuthorFilesLines
2007-02-17Merged revisions 55153 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2 lines Answer the channel before recording privacy information. (issue #8926 reported by lmamane) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55154 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Need to check macro extension as well as macro context for directed pickup.file1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54924 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Allow directed pickup to pick up the real context instead of the macro ↵file1-1/+4
context if a Macro is used. (issue #8984 reported by jamesb63) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54884 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-15Merged revisions 54622 via svnmerge from file1-9/+13
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2 lines Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54623 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54481 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09Temporarily change musicclass on channel to one specified in Dial so that ↵file1-1/+11
the 'm' option functions properly. (issue #8969 reported by christianbee) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53749 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-03Merged revisions 53133 via svnmerge from russell1-4/+9
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53133 | russell | 2007-02-03 14:38:13 -0600 (Sat, 03 Feb 2007) | 4 lines set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application exits early because of invalid arguments instead of just leaving it empty. (issue #8975) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53136 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10Merged revisions 50295 via svnmerge from file1-5/+15
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Merged revisions 48584 via svnmerge from file1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48584 | file | 2006-12-19 16:10:26 -0500 (Tue, 19 Dec 2006) | 2 lines Free localuser structure when we fail to dial (issue #8612 reported by rizzo) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48585 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01Merged revisions 48192 via svnmerge from kpfleming1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48192 | kpfleming | 2006-12-01 17:30:59 -0600 (Fri, 01 Dec 2006) | 2 lines if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48193 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Use a separate variable in the channel structure to store the context that ↵file1-3/+3
the channel was dialed from. (issue #8382 reported by jiddings) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Fix a couple of typos. Initially pointed out by mrobinson.qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47782 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16Backport of new directed pickup (BE-85).file1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45246 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19similar patch for verbose vs debug with minor changesmogorman1-1/+1
bug 2617 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06These small app documentation changes to app_dial and app_read will ↵murf1-1/+2
hopefully avert any more 7544 type bug reports\! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42111 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-21/+10
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05Merged revisions 38928 via svnmerge from russell1-1/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r38928 | russell | 2006-08-05 02:37:59 -0400 (Sat, 05 Aug 2006) | 3 lines make sure the priv-callerintros directory exists before trying to create a file there (issue #7659, patch by hads, with some modifications by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38929 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19merge Russell's 'hold_handling' branch, finally implementing music-on-hold ↵kpfleming1-5/+5
handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-08Support hold/unhold in Zap, update IAX2 parser to know about modern ↵markster1-3/+6
commands, forward hold/unhold in dial, add hold device state and implement holding in the SLA. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37318 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 Don't ast_request a channel structure twice when a call is being forwarded. ↵bweschke1-2/+0
(#7362 - twlison / vechers confirming fix) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34458 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09Merged revisions 33294 via svnmerge from file1-4/+12
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r33294 | file | 2006-06-09 15:08:00 -0300 (Fri, 09 Jun 2006) | 2 lines Handle hangup during recording of screened name (issue #7304 reported by kulldominique) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33295 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.oej1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33174 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31cleanups for commit from issue #5657... set a cause code for a rejected ↵kpfleming1-0/+3
forward request, and actually set tmp->chan to NULL when we reject the forward request git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31049 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31 Add an option to app_dial, 'i', to instruct the application ignore any ↵bweschke1-8/+26
requests from peers to forward calls elsewhere. #5657 (johnlange w/some minor mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31023 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / ↵file1-3/+12
option_priority_jumping not respected) (reported by jkoopmann and branch by murf) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30040 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 This is part 2/2 of the patches for #7090. Adds one-step call parking to ↵bweschke1-1/+16
/trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16Inherit channel variables when call forwarding through chan_local (issue ↵file1-0/+4
#7095 reported by raarts) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-4/+2
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09Make SIP early media work more efficiently without so many reinvitesmarkster1-2/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03Merged revisions 24567 via svnmerge from bweschke1-1/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r24567 | bweschke | 2006-05-03 15:58:10 -0500 (Wed, 03 May 2006) | 3 lines Correct application documentation to make users aware that certain options cannot be used in conjunction with others. #6666 (chotaire) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24604 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-22Added "Operator Services" connection mode for Zap channels, and the 'O' optionjdixon1-0/+33
in app_dial to support the use of this mode. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21more NULL "" equivalence in CID fields.rizzo1-2/+3
Mark a potentially missing item in managerevent git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21818 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19move a replicated block of code in the one place where it belongs.rizzo1-48/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21596 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19merge two nested 'if' which are really a single block.rizzo1-8/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19fix indentation of a large blockrizzo1-162/+162
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19start sorting out the duplicated code in the privacy handlerrizzo1-14/+33
for future removal git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21568 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19merge two nested 'if' which are really a single block.rizzo1-5/+3
(indentation still to be fixed) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19more localization and variable removalrizzo1-21/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21538 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19more localization of variablesrizzo1-17/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21537 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19localize one more variable;rizzo1-18/+18
use ast_strdup as it can handle the NULL argument well. mark a dubious piece of code with XXX git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21536 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19localize some variablesrizzo1-13/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21535 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19extract a common condition.rizzo1-15/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21508 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19fix indentation of some large blocks after previous changesrizzo1-172/+172
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21481 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19more simplifications - use a local variable c instead of o->chan,rizzo1-78/+56
use S_OR as appropriate. Still need to fix the indentation of some blocks. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21480 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19more simplificationsrizzo1-18/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19start cleaning up this code so we can split the 900 lines functionrizzo1-145/+105
into manageable chunks. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21468 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-12/+5
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19397 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19397 | tilghman | 2006-04-11 17:39:59 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19398 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19301 via svnmerge from kpfleming1-0/+15
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19301 | kpfleming | 2006-04-11 15:11:01 -0500 (Tue, 11 Apr 2006) | 2 lines handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19302 f38db490-d61c-443f-a65b-d21fe96a405b