Re: [Svxlink-devel] quick question about modules
Brought to you by:
sm0svx
From: Adi B. <dl...@we...> - 2009-10-28 19:39:04
|
Hi Tobias, >> Hi all, >> >> an AnalogPhoneLogic is on my focus. It's a bit more difficult than a >> single simplex- or repeaterlogic because of authentification, >> tonedetection (dialtone, busy, ...) and the control of the phoneline by >> another Logic. A modem with sound out/inputs will make some things >> easier. But the number of modems equipped with that is decreasing. >> > > Sounds like a great project, Adi. As I said in my previous mail, maybe it's > easier to build your own phone line interface. It should not be much more hard > than building a radio interface. > > yes it is ;-) At the moment I'm changing almost everything (svxlink.cpp,LocalRx.cpp,Logic.cpp...) It's not as easy I thought before because you must tell the ham on the rf-side the reason why the requested phoneline-connection couldn't be established (party busy, no answer, modem not responding,...) so I need to have the logic-objects created in svxlink.cpp available in my new PhoneCmd-class. But on the other hand I see the interesting facilities if an AnalogPhoneLogic runs together with the RepeaterLogic and maybe linked on demand by a PIN. One problem is to handle the delayed modem responses and I don't want to use "while(!modem_ok){go_sleep();}"'s. A "bool Async::waitForEvent(check_modem(), timeout)" would be nice here. For the phoneline there must be something like a session handling, because you can't connect to the line and dial if the SQL is opening and disconnect if the signal is gone ;-) You will need a voice modem, that's equipped with microphone and earphone-connectors and that supports the voice commands (like AT+VLS=?), a serial port and a second soundcard (wired with the modem) on your svx-server. For the LocalRx a SQL_DET=NONE would be nice to enable full-duplex communication from/to the phone line. But for a start a VOX is ok. Maybe there is a more easier way by a simple phone cradle... Ok, Tobias, have it in my queue but it will take some weeks to show results. And I know it will not be usable by all ham's because of the regulations. >> For further developments, in my opinion, it's better to look for a >> connector between asterisk and svxlink (IAX/IAX2 ?). Asterisk has built >> in almost all protocols and driver support for a lot of hardware. >> > > Yes, that's one way to go. I have never used Asterisk but isn't it quite a job > to configure it? > > ohhh yes... > Another solution is to just implement a SIP phone logic using some SIP lib. Or > maybe some more complete VoIP lib like Tapioca. Don't know anything about it > but maybe it's worth to check it out. > > ....it will be a lot of work as well to implement it ;-) 73's de Adi, DL1HRC |