summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
AgeCommit message (Collapse)Author
2007-11-07Provide the ability to directly manipulate the TON/NPI bits in the dialstring.Tilghman Lesher
Reported by: thetatag Patch by: thetatag/stevens/tilghman Closes issue #5331 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-06Add some more locking as well as API update for libss7 for new transport typesMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-06Merged revisions 88994 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88994 | file | 2007-11-06 12:24:56 -0400 (Tue, 06 Nov 2007) | 6 lines Fix improbable but possible memory leaks in chan_zap. (closes issue #11166) Reported by: eliel Patches: chan_zap.c.patch uploaded by eliel (license 64) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-01Merged revisions 88078 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88078 | qwell | 2007-11-01 11:21:22 -0500 (Thu, 01 Nov 2007) | 4 lines Make sure we set the poll fds to NULL after free()ing it. Part of issue 11017, patch by tzafrir. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-27Add Circuit Group Queury message codeMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-27Make sure we turn on the DSP when we answer the callMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-26Correctly use defined return values in (some) load_module functions.Jason Parker
(issue #11096) Patches: chan_agent.c.patch uploaded by eliel (license 64) chan_local.c.patch uploaded by eliel (license 64) chan_features.c.patch uploaded by eliel (license 64) chan_zap.c.patch uploaded by eliel (license 64) res_monitor.c.patch uploaded by eliel (license 64) res_realtime.c.patch uploaded by eliel (license 64) res_crypto.c.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-24Merged revisions 86982 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11079) ........ r86982 | qwell | 2007-10-24 15:56:47 -0500 (Wed, 24 Oct 2007) | 5 lines Correctly respect hidecalleridname configuration option. Simplify code slightly in the process. Issue 11079, reported by ddv2005 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-22Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former ↵Jason Parker
didn't make much sense git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-22There is a really fun game that you can play before committing code,Russell Bryant
and it's called "make". :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-22resetinterval defaulting to something other than 'never' doesn't seem to ↵Kevin P. Fleming
accomplish any good and causes problems for plenty of people... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-19Add better support for blocking and unblocking of CICs (#10965)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-19Convert NEW_CLI to AST_CLI.Jason Parker
Closes issue #11039, as suggested by seanbright. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18Fixing a segfault from tab-completing a "zap restart" CLI command.Mark Michelson
(patch made by seanbright, pointed out in #asterisk-dev on IRC) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16Don't hangup the call for SS7 if we get an alarmMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-12Trying to finish the last of the charge_number patch up #10916Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-12Add support for receive charge number in dialplan #10916Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11Make sure we set the ANI2 field for PRIMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11Add SS7 ANI2 support tx and rx. #10916Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11Add CCR test support #10916Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11Let's hard code this until I fix itMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11Make sure we are clean to build without libpriMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-05Merged revisions 84783 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84783 | russell | 2007-10-05 11:44:21 -0500 (Fri, 05 Oct 2007) | 4 lines Do deadlock avoidance in a couple more places. You can't lock two channels at the same time without doing extra work to make sure it succeeds. (closes issue #10895, patch by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-04Merged revisions 84690 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84690 | kpfleming | 2007-10-04 16:36:56 -0500 (Thu, 04 Oct 2007) | 2 lines callers of sig2str already add the word 'signalling' in the appropriate place, so don't duplicate it ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26Merged revisions 83879 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83879 | tilghman | 2007-09-26 13:35:56 -0500 (Wed, 26 Sep 2007) | 2 lines Remove unused 4k of memory on the program stack (closes issue #10827) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Fix compilation errors in CLI command updates to SS7 CLI commandsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19More conversions to NEW_CLIJason Parker
(issue #10724) Patches: chan_zap.c.patch uploaded by moy (license 222) app_queue.c.patch uploaded by eliel (license 64) app_voicemail.c.patch uploaded by eliel (license 64) app_meetme.c.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-18Don't use ast_channel_lock_both() here, it only exists in one of my branches.Russell Bryant
This is theoretically a potential deadlock, but it's the way it was before so I'm going to leave it this way for now. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-17convert various places that access the channel lock directly to use the ↵Russell Bryant
channel lock wrappers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-14Merged revisions 82394 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82394 | qwell | 2007-09-14 12:48:05 -0500 (Fri, 14 Sep 2007) | 5 lines If a channel does not have an owner, do not try to set a channel variable. This will end up making the channel variable global, which is not right. Closes issue #10720, patch by flefoll. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-13Add setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 ↵Joshua Colp
you can now use it with zaptel channels. (done while in Montreal at the Asterisk bootcamp!) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11Fix to make sure we don't hangup a call when getting a RLC without sending ↵Matthew Fredrickson
REL. Found making sure we are Q.784 (the SS7 test specification) compliant git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-06Patch on 10575. Add support for unequipped CIC (UCIC) message as well as ↵Matthew Fredrickson
improve some of our CIC flags in chan_zap git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-30Add new queryable fields from zaptel to 'zap show status'Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-24Add VMWI chan_zap support #9909Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-23Merged revisions 80501 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80501 | kpfleming | 2007-08-23 12:08:25 -0500 (Thu, 23 Aug 2007) | 2 lines report the actual channel number that was unregistered, instead of assuming that the interface list consists of channels 1 through <x> with no gaps in the sequence ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-20Fix random segfault issue when loading chan_zap. Trying to access a ↵Joshua Colp
configuration structure that has already been destroyed is bad, mmmk? git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-18We weren't properly encapsulating the mtime ignores of config files (closes ↵Tilghman Lesher
issue #10488) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-17Merged revisions 79912 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79912 | russell | 2007-08-17 16:01:43 -0500 (Fri, 17 Aug 2007) | 4 lines Avoid a crash in the handling of DTMF based Caller ID. It is valid for ast_read to return NULL in the case that the channel has been hung up. (crash reported by anonymouz666 on IRC in #asterisk-dev) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-17Fix building of chan_zap under development mode without libpri and libss7 ↵Joshua Colp
installed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-16Don't reload a configuration file if nothing has changed.Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-14Don't ask me why, but waitfordigit will immediately return a 1 on my system, ↵Steve Murphy
unless the outfd is initialized to -1 before calling the nandfds func git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-13Merged revisions 79174 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79174 | file | 2007-08-13 11:18:04 -0300 (Mon, 13 Aug 2007) | 4 lines (closes issue #10437) Reported by: haklin Don't set the callerid name and number a second time on a newly created channel. ast_channel_alloc itself already sets it and setting it twice would cause a memory leak. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-09Fix a problem that I had introduced into MWI handling. I had ignoredRussell Bryant
the mailbox context. Now, all related MWI event dealings pay attention to the context as well. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08Add support for using epoll instead of poll. This should increase ↵Joshua Colp
scalability and is done in such a way that we should be able to add support for other poll() replacements. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08HAVEL_SS7 should be HAVE_SS7. Reported by kwallace.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07Merged revisions 78371 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r78371 | russell | 2007-08-07 12:45:30 -0500 (Tue, 07 Aug 2007) | 12 lines Merged revisions 78370 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r78370 | russell | 2007-08-07 12:44:04 -0500 (Tue, 07 Aug 2007) | 4 lines Revert patch committed for issue #9660. It broke E&M trunks. (closes issue #10360) (closes issue #10364) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07Can't forget outsignaling!Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07Just for jsmith... make signaling a valid option that acts like signalling.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26Do a massive conversion for using the ast_verb() macroRussell Bryant
(closes issue #10277, patches by mvanbaak) Basically, this changes ... if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3, "Something\n"); to ... ast_verb(3, "Something\n"); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3