Posted: Fri Mar 17, 2000 5:46 pm Post subject: [Asterisk] IXJ Support
So I got my PhoneJack, and I'm playing around. Kinda neat. But:
1. Found a bug. Take your phone off the hook, hang it up (without dialing,)
and you won't get a dialtone anymore. 'show channels' doesn't show a
status. It may timeout.
2. I can't get any of the translators to work. There don't appear to be
translators for g.723.1, so I've been playing with slinear mode. But
the translators get wedged. Here's the output from
'show channel Phone/phone0/Translate:2':
Posted: Fri Mar 17, 2000 7:42 pm Post subject: [Asterisk] IXJ Support
Quote:
Also, anybody else know of something that can convert to
g.723.1 (sox was my best guess, but doesn't appear to.)
I doubt you'll find one - G.723.1 is a licensed codec. We have
it on our cards as part of the DSP.
However, you could *possibly* write an application that did the
translation "off line" by spooling a packet to the card,
converting it with the DSP, then reading it back. I recall one
of our coders talking about how to do that. It's probably not
what you wanted though.
Greg
/********************************************************************
Greg Herlein Quicknet Technologies, Inc.
Director 415-864-5225
gherlein@quicknet.nethttp://www.quicknet.net
*********************************************************************/
Posted: Fri Mar 17, 2000 10:24 pm Post subject: [Asterisk] IXJ Support
Quote:
Tell QuickNet to support GSM and we'll be fine. The Quicknet is supposed
to do signed linear, but i have trouble with kernel panics when i send the
packets.
Tell us to support GSM? Geesh! We do the hard codecs in DSP -
the ones that licenses are needed for! GSM can be done in
software! Unlicensed!
So, to adress these issues:
1. What driver are you using that panics? Our 0.3.18 fixed
several things that could result in panics... are you using it,
or an earlier version?
2. There are several version of GSM available in source - a good
one is part of the GTalker application at:
/********************************************************************
Greg Herlein Quicknet Technologies, Inc.
Director 415-864-5225
gherlein@quicknet.nethttp://www.quicknet.net
*********************************************************************/
Posted: Fri Mar 17, 2000 10:50 pm Post subject: [Asterisk] IXJ Support
Quote:
Why not do GSM in hardware too? Just saves a little overhead off the CPU.
I mean if you're not using it for anything else at the time, mind as well
do GSM.
Because we'd have to pay serious cash to get the GSM codec
implemented for the DSP we use, and frankly, it's performance is
not as good as G.723.1 so why would we pay all that money? If we
did, would it lead to enough sales of boards to pay back the cost
of the code? Unlikely. Of course, if some crazy person wants to
develop it all open source and contribute it to us, we'll take
it!
I agree that getting the DSP to do it shaves latency - most
definitely. But for us to add GSM to our basic onboard
capabilities would cost a lot and still be inferior to G.723.1
and G.729a. It's a losing proposition. Sorry.
Greg
/********************************************************************
Greg Herlein Quicknet Technologies, Inc.
Director 415-864-5225
gherlein@quicknet.nethttp://www.quicknet.net
*********************************************************************/
Posted: Fri Mar 17, 2000 10:59 pm Post subject: [Asterisk] IXJ Support
Quote:
Why not use the toast code? It's in highly portable C, very flexible, and
under an X-style license, meaning you don't even have to give them credit.
It's even less restrictive than BSD.
Clearly, you've never written code for a dedicated DSP. It's not
that easy!
Greg
/********************************************************************
Greg Herlein Quicknet Technologies, Inc.
Director 415-864-5225
gherlein@quicknet.nethttp://www.quicknet.net
*********************************************************************/
Posted: Fri Mar 17, 2000 11:13 pm Post subject: [Asterisk] IXJ Support
Quote:
So I got my PhoneJack, and I'm playing around. Kinda neat. But:
1. Found a bug. Take your phone off the hook, hang it up (without dialing,)
and you won't get a dialtone anymore. 'show channels' doesn't show a
status. It may timeout.
Hm... Something wrong there. I can do that just fine on my
arrangement... Weird...
Quote:
2. I can't get any of the translators to work. There don't appear to be
translators for g.723.1, so I've been playing with slinear mode. But
the translators get wedged. Here's the output from
'show channel Phone/phone0/Translate:2':
Right, because G.723.1 is covered with patents. I actually have a G.723.1
reference implementation turned translator but cannot release it due to
the patent considerations :(
Tell QuickNet to support GSM and we'll be fine. The Quicknet is supposed
to do signed linear, but i have trouble with kernel panics when i send the
packets.
Posted: Fri Mar 17, 2000 11:44 pm Post subject: [Asterisk] IXJ Support
Quote:
Tell us to support GSM? Geesh! We do the hard codecs in DSP -
the ones that licenses are needed for! GSM can be done in
software! Unlicensed!
Why not do GSM in hardware too? Just saves a little overhead off the CPU.
I mean if you're not using it for anything else at the time, mind as well
do GSM.
Quote:
1. What driver are you using that panics? Our 0.3.18 fixed
several things that could result in panics... are you using it,
or an earlier version?
I'll upgrade the driver I have and see if that helps.
Quote:
2. There are several version of GSM available in source - a good
one is part of the GTalker application at:
I know. They all use the "toast" package. That's what I use too, not bad
performance either.
Posted: Fri Mar 17, 2000 11:56 pm Post subject: [Asterisk] IXJ Support
Quote:
of the code? Unlikely. Of course, if some crazy person wants to
develop it all open source and contribute it to us, we'll take
it!
Why not use the toast code? It's in highly portable C, very flexible, and
under an X-style license, meaning you don't even have to give them credit.
It's even less restrictive than BSD.
Quote:
I agree that getting the DSP to do it shaves latency - most
definitely. But for us to add GSM to our basic onboard
capabilities would cost a lot and still be inferior to G.723.1
and G.729a. It's a losing proposition. Sorry.
Posted: Sat Mar 18, 2000 12:12 am Post subject: [Asterisk] IXJ Support
Quote:
Clearly, you've never written code for a dedicated DSP. It's not
that easy!
That's true, but I can't believe (assuming you have a C compiler for your
DSP) that it would be so difficult to do so either -- of course, this
assumes you actually write (or rather link with the existing source/object
code you get for G.723.1) for the unit... I don't know enough to know
what's involved in porting it to your DSP, but you asked for open source
code, and there it is -- and free of the GPL.
Posted: Sat Mar 18, 2000 5:50 pm Post subject: [Asterisk] IXJ Support
Mark Spencer wrote:
Quote:
> So I got my PhoneJack, and I'm playing around. Kinda neat. But:
>
> 1. Found a bug. Take your phone off the hook, hang it up (without dialing,)
> and you won't get a dialtone anymore. 'show channels' doesn't show a
> status. It may timeout.
Hm... Something wrong there. I can do that just fine on my
arrangement... Weird...
Yeah, it really is weird. =)
Here's my configuration:
Linux kernel 2.2.14
IXJ module 0.3.18
Quicknet ISA Phonejack (rev. 4)
I'm running the asterisk out of CVS - I had some problems using the 0.1.2
release, but I forgot what they were. ;)
Quote:
Right, because G.723.1 is covered with patents. I actually have a G.723.1
reference implementation turned translator but cannot release it due to
the patent considerations :(
If the ref. implementation is available, is it legal to release patches to
it (ala the LAME mp3 encoder?)
Quote:
Tell QuickNet to support GSM and we'll be fine. The Quicknet is supposed
to do signed linear, but i have trouble with kernel panics when i send the
packets.
I haven't seen a kernel panic (but I still have the problem of my slinear
translators hanging.)
I'd really rather hack with the use of sound, but I can still play around.
=) Actually, that's not entirely true - I do get the dialtone sound, so
it can actually write to the card.
Posted: Sat Mar 18, 2000 7:42 pm Post subject: [Asterisk] IXJ Support
Quote:
I'd really rather hack with the use of sound, but I can still play around.
=) Actually, that's not entirely true - I do get the dialtone sound, so
it can actually write to the card.
Can you use the record and playback sample utilities that are
part of the Quicknet Linux-SDK? If those work with the codec you
have selected, then the card and driver are working fine.
Greg
/********************************************************************
Greg Herlein Quicknet Technologies, Inc.
Director 415-864-5225
gherlein@quicknet.nethttp://www.quicknet.net
*********************************************************************/
Posted: Sat Mar 18, 2000 8:01 pm Post subject: [Asterisk] IXJ Support
Greg Herlein wrote:
Quote:
> I'd really rather hack with the use of sound, but I can still play around.
> =) Actually, that's not entirely true - I do get the dialtone sound, so
> it can actually write to the card.
Can you use the record and playback sample utilities that are
part of the Quicknet Linux-SDK? If those work with the codec you
have selected, then the card and driver are working fine.
Yes - I played with most of the samples in the SDK and they seem to work ok.
(Actually, I think the dialtone generator didn't work, but I seem to remember
reading that dialtones didn't work on the ISA version.)
I'm relatively convinced that the card and the driver work ok - Asterisk
does give me a dialtone, and will read DTMF digits from the phone.
Posted: Sat Mar 18, 2000 10:10 pm Post subject: [Asterisk] IXJ Support
Quote:
(Actually, I think the dialtone generator didn't work, but I seem to remember
reading that dialtones didn't work on the ISA version.)
The ISA Internet PhoneJACK will not play dial tone via the DSP
and still detect DTMF at the same time - however, you can play a
dial sound (file or clip) and accomplish the same thing. I
suspect this is what asterisk is doing.
Greg
/********************************************************************
Greg Herlein Quicknet Technologies, Inc.
Director 415-864-5225
gherlein@quicknet.nethttp://www.quicknet.net
*********************************************************************/
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