Age | Commit message (Collapse) | Author |
|
- Fix bug where asterisk could not find a loaded transcoder.
- Do not allow bad packets to corrupt memory.
- Eliminate race condition that could cause asterisk to hang.
- General cleanup and whitespace changes.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4633 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Sun Mar 1 2009 Oron Peled <oron@actcom.co.il> - xpp.r6795
* Fix cases where the command_queue overflowed during initialization.
- Also add a 'command_queue_length' parameter to xpp.ko
* More migrations to sysfs:
- Add a 'transport' attribute to our astribank devices which
points to the usb device we use. E.g:
/sys/bus/astribanks/devices/xbus-00/transport is symlinked to
../../../../../../devices/pci0000:00/0000:00:10.4/usb5/5-4
- Move /proc/xpp/XBUS-??/XPD-??/span to
/sys/bus/xpds/devices/??:?:?/span
- Migrate from /proc/xpp/sync to:
/sys/bus/astribanks/drivers/xppdrv/sync
- New 'offhook' attribute in:
/sys/bus/xpds/devices/??:?:?/offhook
* PRI: change the "timing" priority to match the convention used by
other PRI cards -- I.e: lower numbers (not 0) have higher
priority.
* FXO:
- Power denial: create two module parameters instead of hard-coded
constants (power_denial_safezone, power_denial_minlen).
For sites that get non-standard power-denial signals from central
office on offhook.
- Don't hangup on power-denial, just notify Dahdi and wait for
- Fix caller-id detection for the case central office sends it before
first ring without any indication before.
Asterisk's desicion.
Mon, Dec 8 2008 Oron Peled <oron@actcom.co.il> - xpp.r6430
* PRI:
- Match our span clocking priorities (in system.conf)
to Digium -- this is a reversal of the previous state.
Now lower numbers (greater than 0) are better.
- Synchronization fixes for PRI ports other than 0.
- Fix T1 CRC for some countries (e.g: China).
* FXS: fix bug in VMWI detection if using old asterisk
which does not provide ZT_VMWI ioctl().
* FXO:
- Improve caller_id_style module parameter. This provide a workaround
for countries that send this information without any notification
(reverse polarity, ring, etc.)
- Don't force on-hook upon power-denial. So, loopstart devices
would ignore these as expected.
* Implement a flow-control to prevent user space (init_card_* scripts)
from pressuring our command queue.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4631 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4627 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
As moduel_refcount is only used for debugging, disable it in this
non-common case.
(Issue #14402)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4625 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
the 'received' audio (isig) as its first argument, and the 'transmitted' audio (iref) as its second argument. in spite of the prototype and function argument names being reversed, zaptel-base.c passed the data in the correct order, and the HPEC binary modules processed the data properly. this commit changes the definition of the argument order, but causes no functional change.
(a similar change will be made in DAHDI shortly)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4622 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
The respective code in DAHDI has already been fixed by rewriting.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4620 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Those kernels don't have RTC yet.
From DAHDI rev. 5486.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4618 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
(From DAHDI rev. 5211)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4617 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
encoder and decoder arrays, and not the channel which is returned from the
DTE. Issue: DAHDI-231.
- Instead of completely servicing the receive descriptor ring in the
workqueue, have the interrupt handler queue them up for the workqueue.
- No need to interrupt on both transmit and receive since we expect a response
to every packet we send.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4613 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
done in DAHDI and was an error when back porting.
Issue: DAHDI-231
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4612 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4609 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4608 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
keep the check in there to avoid problems in the future (and since this code
path is only used when opening a new transcoder session) I made the check
conditional on running an SMP kernel.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4607 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
diagnostic message.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4605 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4600 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* Do not release a spin_lock that we did not acquire.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4599 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4598 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4597 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
that commands that are still sitting on the transmit descriptor ring are not
completed twice.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4593 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
- Do not use an already built channel if the source and destination formats do
not match the formats we want. This fixes a regression introduced by the
new transcoder interface where a translation path from one complex codec to
another can result in garbled audio.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4592 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* Power-denial signalling is now sent to Zaptel to decide if we're LS or
KS (and not hang up ourselves always).
* Fix card_fxo's caller_id_style=1 (FSK).
* Macro XPD_CHAN: s/xpd->chans[i]/XPD_CHAN(xpd, i)/ to reduce diff from DAHDI.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4590 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Fix README (better late than never).
xpp rev. 6403.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4589 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Fixing issue #13954 in zaptel 1.4
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4588 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
(closes issue #13813)
Reported by: ys
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4586 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4585 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Clock synchronization when sync is not from first port.
Merged revisions 4583 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4584 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
in the driver. This would result in -EBUSY returns from the
DAHDI_TC_ALLOCATE ioctl.
- Increase the length of the receive descriptor ring from 8 to 32 to reduce
the probability of running out of receive descriptors.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4582 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
The BIOSes included in a number of motherboards could hang from an
Astribank firmware newer than 1.2.20.1 / 1.4.5.1 . This was due to an
some incorrect USB information in the firmware. This firmware fixes it.
Merged revisions 4580 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4581 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
message. The voicebus interface still works whether the cacheline size is
supported or not, but the message is confusing to users.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4579 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Fixes #13832 in Zaptel.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4578 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4573 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4572 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4571 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4569 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
process.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4567 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
- When a command is to be retried, turn off the TX_COMPLETE flag before
resubmitting it to the hardware. This should elimate some of the warnings
printed to the kernel log in the wctc4xxp_transmit_cmd function.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4564 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
structure. Simplifies alignment management at the cost of a little wasted
memory, but the end results is that operation is more reliable on more
systems.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4560 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4556 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
after writing to the receive queue. Prevents a warning that data was on the
recieve queue but the data ready flag was not set.
Issue: DAHDI-42
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4554 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
and not just the private portion now in order to manage the data ready flag
state.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4553 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
channel structures.
Issue: DAHDI-42
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4551 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4549 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
ringdebounce to be decremented when it is at 0 already.
Related to issue #12531. Reported mattbrown, fix suggested by benbrown.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4547 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Only updates FPGA_1151.hex. Id: rev 6152. From xpp rev 6163.
Merged revisions 4544 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4545 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
primarily used to increase the number of channels available when only
transcoding to/from g729 by setting it to 'g729'.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4540 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
Merged revisions 4533 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4534 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* This byte wasn't shown even if do_datah bit was set.
* Also converged all terminology to "sub-register" and not "indirect"
* Changed accordingly '[WR]I' to [WR]S' in code.
* Still allow usage of '[WR]I' but with deprecation NOTICE()
* Convert init_card_* scripts
* Adapt show_regs and write_regs script accordingly.
* Leave FXS internal macros with ...INDIRECT... because that's the
terminology of the SLIC.
* You should use both the newer driver and init script. Specifically:
newer init script will fail to work with older BRI and FXS xpp driver
loaded.
From xpp rev. 6117.
Merged revisions 4520 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4531 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* Also rename the CID_STYLE_* constants to formal names.
From Xorcom Rev. 6115.
Merged revisions 4519 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4529 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
* In case of any diff, exit with non-zero status so the build fails.
* Print filename:lineno of missing or changed lines.
* Fix two countries (typos fixed in COLOMBIA and CYPRUS).
* xpp-zaptel: FXO: cleanup opermode verification code (from DAHDI):
- Add proper '-v' option to init_card_2_30 and use it in xortel/Makefile
- Use $mismatches as in DAHDI (minimize diffs).
From xpp rev. 6107,6108
Merged revisions 4517-4518 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4524 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|
|
controller.
From xpp rev. 6071.
Merged revisions 4516 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4523 5390a7c7-147a-4af0-8ec9-7488f05a26cb
|