Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Distorted audio over Eicon Diva Server BRI


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
matt at venturevoip.com
Guest





PostPosted: Tue Jan 08, 2008 2:50 am    Post subject: [asterisk-users] Distorted audio over Eicon Diva Server BRI Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CSB wrote:
Quote:
Asterisk is sending it's data packets (160 bytes each, i.e. 20ms) in too
large intervals. This causes the transmitter of the Diva Server card to
underrun and thus to fill with idle samples in regular intervals. It's
almost between any two packets where we have to insert samples.

0:00:29.710 CAPI20_PUT(030)

0:00:29.730 CAPI20_PUT(030)

0:00:29.751 CAPI20_PUT(030)

0:00:29.771 CAPI20_PUT(030)

0:00:29.791 CAPI20_PUT(030)

0:00:29.812 CAPI20_PUT(030)

0:00:29.832 CAPI20_PUT(030)

0:00:29.853 CAPI20_PUT(030)

0:00:29.873 CAPI20_PUT(030)

0:00:29.894 CAPI20_PUT(030)
I wonder if anyone could provide any advice on how to continue
troubleshooting this issue?

Sounds very similar to an issue I was having.

Are you using mISDN?

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgytaDQNt8rg0Kp4RAvqmAJwMBSWU/pay6aMjw4YtLO3IZlFvoQCfYtW/
JxSporW/DhRfdtkp0SUlrIk=
=ASrD
-----END PGP SIGNATURE-----
Back to top
armin at melware.de
Guest





PostPosted: Tue Jan 08, 2008 3:17 am    Post subject: [asterisk-users] Distorted audio over Eicon Diva Server BRI Reply with quote

On Tue, 8 Jan 2008, CSB wrote:
Quote:
We are experiencing slightly distorted audio with playing of recordings on
our Asterisk server when the call comes in over our Eicon Diva Server BRI
card. An example is an incoming call to IVR and playing some of the standard
Asterisk voice prompts. Note that there is no audio problem with internal
access to the same recording. Neither is there a problem with calls not
involving the playing of recordings. The problem occurs consistently and is
not related to system load. According to Eicon support:

Asterisk is sending it's data packets (160 bytes each, i.e. 20ms) in too
large intervals. This causes the transmitter of the Diva Server card to
underrun and thus to fill with idle samples in regular intervals. It's
almost between any two packets where we have to insert samples.
...
Quote:
I wonder if anyone could provide any advice on how to continue
troubleshooting this issue?

I never heard of that problem before. Which versions of asterisk and
chan_capi (I assume you use chan_capi) do you use?

If possible, can you provide a trace with
set verbose 9
capi debug
to me directly (not on the list, it is very big).
Also, a full ditrace would help too.

Armin
Back to top
thp at westhawk.co.uk
Guest





PostPosted: Tue Jan 08, 2008 6:45 am    Post subject: [asterisk-users] Distorted audio over Eicon Diva Server BRI Reply with quote

On 8 Jan 2008, at 08:17, Armin Schindler wrote:

Quote:
On Tue, 8 Jan 2008, CSB wrote:
Quote:
We are experiencing slightly distorted audio with playing of
recordings on
our Asterisk server when the call comes in over our Eicon Diva
Server BRI
card. An example is an incoming call to IVR and playing some of the
standard
Asterisk voice prompts. Note that there is no audio problem with
internal
access to the same recording. Neither is there a problem with calls
not
involving the playing of recordings. The problem occurs
consistently and is
not related to system load. According to Eicon support:

Asterisk is sending it's data packets (160 bytes each, i.e. 20ms)
in too
large intervals. This causes the transmitter of the Diva Server
card to
underrun and thus to fill with idle samples in regular intervals.
It's
almost between any two packets where we have to insert samples.
...
Quote:
I wonder if anyone could provide any advice on how to continue
troubleshooting this issue?

I never heard of that problem before. Which versions of asterisk and
chan_capi (I assume you use chan_capi) do you use?

If possible, can you provide a trace with
set verbose 9
capi debug
to me directly (not on the list, it is very big).
Also, a full ditrace would help too.

Armin
I saw something similar with mISDN.
If your recordings aren't an exact multiple of 20ms then
asterisk sends a short frame for the last one.

Here's a quick hack that fixed the problem for me,
record the files in GSM. This forces the length of the recording to be
an exact multiple of 20ms.


Hope that helps.

Tim.
Back to top
kjcsb at xnet.co.nz
Guest





PostPosted: Tue Jan 08, 2008 2:34 pm    Post subject: [asterisk-users] Distorted audio over Eicon Diva Server BRI Reply with quote

Quote:

Sounds very similar to an issue I was having.

Are you using mISDN?

No. Incidentally, what's the benefit of using mISDN?

Regards

Cameron
Back to top
matt at venturevoip.com
Guest





PostPosted: Tue Jan 08, 2008 4:29 pm    Post subject: [asterisk-users] Distorted audio over Eicon Diva Server BRI Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Panton wrote:
Quote:
On 8 Jan 2008, at 08:17, Armin Schindler wrote:

Quote:
On Tue, 8 Jan 2008, CSB wrote:
Quote:
We are experiencing slightly distorted audio with playing of
recordings on
our Asterisk server when the call comes in over our Eicon Diva
Server BRI
card. An example is an incoming call to IVR and playing some of the
standard
Asterisk voice prompts. Note that there is no audio problem with
internal
access to the same recording. Neither is there a problem with calls
not
involving the playing of recordings. The problem occurs
consistently and is
not related to system load. According to Eicon support:

Asterisk is sending it's data packets (160 bytes each, i.e. 20ms)
in too
large intervals. This causes the transmitter of the Diva Server
card to
underrun and thus to fill with idle samples in regular intervals.
It's
almost between any two packets where we have to insert samples.
...
Quote:
I wonder if anyone could provide any advice on how to continue
troubleshooting this issue?
I never heard of that problem before. Which versions of asterisk and
chan_capi (I assume you use chan_capi) do you use?

If possible, can you provide a trace with
set verbose 9
capi debug
to me directly (not on the list, it is very big).
Also, a full ditrace would help too.

Armin


I saw something similar with mISDN.
If your recordings aren't an exact multiple of 20ms then
asterisk sends a short frame for the last one.

Here's a quick hack that fixed the problem for me,
record the files in GSM. This forces the length of the recording to be
an exact multiple of 20ms.

Hmmm, sounds the same as what I had, but it was the transcoding that
fixed it. I actually wrote a patch to send packets through a smoother
which fixed it, and use that on all sites with IAX phones.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHg+szDQNt8rg0Kp4RAv6PAKC9YNd23bbA0rPIa+fo8YDxYdrTxQCgoAbI
Prz9VaCLAlFrQdRSvYHxeBg=
=9rBW
-----END PGP SIGNATURE-----
Back to top
matt at venturevoip.com
Guest





PostPosted: Tue Jan 08, 2008 6:45 pm    Post subject: [asterisk-users] Distorted audio over Eicon Diva Server BRI Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CSB wrote:
Quote:
Quote:
Sounds very similar to an issue I was having.

Are you using mISDN?

No. Incidentally, what's the benefit of using mISDN?

Just that its in tree and what Digium recommends for the b410p.

I'm still not 100% about it as there seems to be some introduced delay
which has meant we had to install OctasicEC for echo can as the on board
hardware one wasn't doing its job.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhAsFDQNt8rg0Kp4RAso/AJ94j/U5uXkwwV4Iv+HQUwI4VIm+ogCfRG+V
7LaOvosDPaqzSpQcY3qG1G8=
=dQvE
-----END PGP SIGNATURE-----
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services