tilghman
44d62ad360
Provide the ability to directly manipulate the TON/NPI bits in the dialstring.
...
Reported by: thetatag
Patch by: thetatag/stevens/tilghman
Closes issue #5331
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89078 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-07 02:14:40 +00:00
mattf
cec6b85091
Add some more locking as well as API update for libss7 for new transport types
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 22:01:10 +00:00
file
523fa9cb07
Merged revisions 88994 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@88995 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 16:29:16 +00:00
qwell
29e524f0b8
Merged revisions 88078 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@88079 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 16:22:09 +00:00
mattf
39afbccd81
Add Circuit Group Queury message code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87232 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 00:48:12 +00:00
mattf
744b434989
Make sure we turn on the DSP when we answer the call
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87231 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 00:43:59 +00:00
qwell
ecd7ce6f49
Correctly use defined return values in (some) load_module functions.
...
(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: http://svn.digium.com/svn/asterisk/trunk@87202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 21:37:02 +00:00
qwell
46cd8cbfc5
Merged revisions 86982 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@86983 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-24 20:59:00 +00:00
qwell
7756b987a0
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 20:05:18 +00:00
russell
ed6b2d36eb
There is a really fun game that you can play before committing code,
...
and it's called "make". :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86749 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 15:49:17 +00:00
kpfleming
5919109f85
resetinterval defaulting to something other than 'never' doesn't seem to accomplish any good and causes problems for plenty of people...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86697 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 14:59:27 +00:00
mattf
e65ccc18d2
Add better support for blocking and unblocking of CICs ( #10965 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86549 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-19 18:46:28 +00:00
qwell
d542122e6a
Convert NEW_CLI to AST_CLI.
...
Closes issue #11039 , as suggested by seanbright.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-19 18:29:40 +00:00
mmichelson
102b30a809
Fixing a segfault from tab-completing a "zap restart" CLI command.
...
(patch made by seanbright, pointed out in #asterisk-dev on IRC)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86350 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-18 18:40:48 +00:00
mattf
8e31333633
Don't hangup the call for SS7 if we get an alarm
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85957 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 20:55:57 +00:00
mattf
59b3960536
Trying to finish the last of the charge_number patch up #10916
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85526 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-12 19:41:39 +00:00
mattf
4fa7f114d4
Add support for receive charge number in dialplan #10916
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85525 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-12 18:37:35 +00:00
mattf
263f210ff2
Make sure we set the ANI2 field for PRI
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85497 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 22:27:32 +00:00
mattf
e0a639d8d1
Add SS7 ANI2 support tx and rx. #10916
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85485 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 21:57:26 +00:00
mattf
345e796ca0
Add CCR test support #10916
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85474 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 20:49:04 +00:00
mattf
a8506328be
Let's hard code this until I fix it
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85444 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 17:17:58 +00:00
mattf
cc288beaba
Make sure we are clean to build without libpri
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85431 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 17:09:31 +00:00
russell
f0db93aa78
Merged revisions 84783 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@84784 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-05 16:49:16 +00:00
kpfleming
8a640eaf39
Merged revisions 84690 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@84691 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04 21:38:22 +00:00
tilghman
922b7e80b7
Merged revisions 83879 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@83880 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26 18:43:23 +00:00
russell
74a4536abe
Fix compilation errors in CLI command updates to SS7 CLI commands
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83500 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21 19:55:03 +00:00
qwell
a35dd640cd
More conversions to NEW_CLI
...
(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: http://svn.digium.com/svn/asterisk/trunk@83213 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 23:16:51 +00:00
russell
6295dbc7ec
Don't use ast_channel_lock_both() here, it only exists in one of my branches.
...
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: http://svn.digium.com/svn/asterisk/trunk@82776 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 16:10:48 +00:00
russell
b9f37c0e99
convert various places that access the channel lock directly to use the channel lock wrappers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 22:59:36 +00:00
qwell
72a73769a5
Merged revisions 82394 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@82395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14 17:51:22 +00:00
file
d3acec7203
Add setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 you can now use it with zaptel channels. (done while in Montreal at the Asterisk bootcamp!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13 16:58:59 +00:00
mattf
c9e921b7e9
Fix to make sure we don't hangup a call when getting a RLC without sending REL. Found making sure we are Q.784 (the SS7 test specification) compliant
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82273 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 23:07:49 +00:00
mattf
28497da2c9
Patch on 10575. Add support for unequipped CIC (UCIC) message as well as improve some of our CIC flags in chan_zap
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06 16:38:54 +00:00
tilghman
f27a0227a8
Add new queryable fields from zaptel to 'zap show status'
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30 23:52:32 +00:00
mattf
54c444e390
Add VMWI chan_zap support #9909
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80778 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-24 18:05:11 +00:00
kpfleming
2bd1fa599b
Merged revisions 80501 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@80508 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-23 17:18:29 +00:00
file
2cc108ce10
Fix random segfault issue when loading chan_zap. Trying to access a configuration structure that has already been destroyed is bad, mmmk?
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80023 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20 14:15:30 +00:00
tilghman
9d218d354a
We weren't properly encapsulating the mtime ignores of config files (closes issue #10488 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79940 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-18 13:52:44 +00:00
russell
60264f8549
Merged revisions 79912 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@79913 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-17 21:04:33 +00:00
file
2bc2de065f
Fix building of chan_zap under development mode without libpri and libss7 installed.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79824 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-17 01:19:04 +00:00
tilghman
dbec3d56c1
Don't reload a configuration file if nothing has changed.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79747 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 21:09:46 +00:00
murf
3f5588297e
Don't ask me why, but waitfordigit will immediately return a 1 on my system, unless the outfd is initialized to -1 before calling the nandfds func
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79378 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-14 13:46:58 +00:00
file
2ca342ce99
Merged revisions 79174 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@79175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13 14:22:46 +00:00
russell
5448fa9f9e
Fix a problem that I had introduced into MWI handling. I had ignored
...
the mailbox context. Now, all related MWI event dealings pay attention
to the context as well.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78747 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-09 17:07:36 +00:00
file
a4803d15a2
Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78683 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08 21:44:58 +00:00
file
21b3ffbe75
HAVEL_SS7 should be HAVE_SS7. Reported by kwallace.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78679 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08 20:49:07 +00:00
russell
a4b09e8d28
Merged revisions 78371 via svnmerge from
...
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: http://svn.digium.com/svn/asterisk/trunk@78372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-07 17:46:00 +00:00
file
5c63d5ac16
Can't forget outsignaling!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78347 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-07 16:17:08 +00:00
file
4d4645bc66
Just for jsmith... make signaling a valid option that acts like signalling.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78346 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-07 16:09:27 +00:00
russell
4f3c4dc7f2
Do a massive conversion for using the ast_verb() macro
...
(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: http://svn.digium.com/svn/asterisk/trunk@77299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26 15:49:18 +00:00