I think I know where you are comming from. There is, somewhere out there support for an internal PCI voice modem to use as an FXO. Not too sure. Google Asterisk and Voice Modem and you'll find some articles for and against.
As for your USB phone, Xlite is free, works most of the time and is easy to configure.
If you have the $$$ just buy a Cisco / Linksys / Sipura SPA3102 which provides an FXO for your PSTN line, an FXS for a regular phone, and works.
Plenty of examples online to make this hardware work.
Probably not the answer you were looking for, but it is an answer ( I hope)
MrFidget wrote:I'm impressed with your efforts. More trouble than I would have gone to.
Look at astlinux.org. That is a version you can write to a USB key and boot up on practically anything with a 300MHz clock and 128Mb ram for starters. Best to use something a bit more substantial. The release was designed for Sokeris embedded systems with a CF card as a HDD, but hammers on a cheap atom based box.
- Astlinux looks to be a right choice, tro have potable Linux + Asterisk + Freeswitch on one USB stick.
As far as connetions to the real world go, if you want reliability, use some pre-existing ethernet geateway devices for PSTN, GSM. They will be most reliable for you. Again, for clients, use a real IP handset. Makes the world of difference.
- As I use Asterisk stand-alone, the only real world is audio channel to let me test and play dial plans and play MOH files.
So I plan to use mobile phone to control Asterisk as I don't use PSTN landline anymore.
Calling mobile phone, 3G usb voice modem hoocked up to Asterisk is exactly a solution I am looking for.
I configured my Asterisk for SIP provider coming with public PSTN numbers, but I am was not happy with sound quality of MOH files played by Asterisk via SIP provider => mobile phone,
as at the same time laptop was via 1Mb/s band 3G usb modem connected to the Internet, by another MNO.
Having spent some time learning - Packet Loss Concealment
audio signal drop outs analysis by Audacity
http://www.voip-info.org/wiki/view/Aste ... andOptionj
I am sure the problem is in Celliax audio channel for Asterisk,
as Asterisk can play clear sound via XLite SIP client, sound card to headphone, run on the same machine.
So I am looking for another audio channel for Asterisk, as Celliax is not ok.
I don't know how to build another audio channel for Asterisk module, but
Flash SIP softphone looks to be another option, as can make Asterisk to play MOH files via sound card to headphone,
exactly what I am lookming for.
I am trying to learn how Flash app can act as middleware between Asterisk and sound card.
So I would like to modify Flash-to-SIp Gateway to let me control it via DTMF codes sent by a mobile phone.
As Flash-to-SIP Gateway doesn't look to have DSP, DTMF decoder incorporated , so tell me how to make it transparent to DTMF codes injected via line in/ mic port.
If you want to play with a soft phone. XLite works out of the box with little to do other than username / password / SIP server.
All this stuff works and is reliable (any stability comments on versions of Xlite aside). If you use the right hardware, you can deploy it in a commercial environment and it will work.
X-Lite is ok but can't serve as remotely controlled audio channel for Asterisk.
As far as flash / java based phones. Lovely in theory, variable in practice. For DTMF control for some tele-automation, it would probably be OK. (I have a SIP client on my iPhone which I use to turn on and off voicemial and call forwarding when I am out. While sometimes the mobile data bandwidth doesn't let me hear the voice responses, the DTMF, which is sent out of band allows me control of my phone system.
Ok, but I work on Mobile Asterisk Station ( run on my laptop) as : Asterisk + GSM Gateway all in one.
As GSM Gateway is not available to me, I need to replace it by GSM mobile phone or 3G usb voice modem.
That said, if you are wanting to experiment, please, do, and share your results. Thats what this open source stuff is all about. I will check out the link you have sent me this week.
MrFidget wrote:The ISOs you can burn to a CD-ROM and boot up from that. I haven't touched Astlinux since version 0.6, however I am guessing that they work like the earlier 0.4 version where you boot from CD-ROM and have your RW data on a USB key.
So burn a CD from the ISOs, boot it up and give it a go. You need the generic i586 version, unless you have a Via chip. Serial is for a serial console not SATA
I just used the DOS physwrite to write the image to the USB key, and then used fdisk from the running linux, to create the storage partition, however, the gui looks like it makes life much easier
Have a play and let us know how you go.
MrFidget wrote:CF card is perferred as you get lots of ATA to CF adapters so uyou can use older hardware or hardware (other than PCs) that dont know about USB booting. You can also get "industrial strength" CF cards which are guaranteed to handle more writes than the cheaper camera ones.
That said, however, you can use an SD card, or a USB key off the USB boot extension.
When you do a physwrite, it should list which device you want to write to. Look for the device that is around 4Gb. Pretty easy to spot as it has 512 cylinders (or alt least it used to on my 1Gb stick)
You will end up with two partitons and some free space to create your additional partition(s) for your read/write data.
As far as getting the GUI working, Not sure about that one, I'll have a go over the weekend, other than that, I cant help you with this specific problem.
Maybe create the ISO, boot into (Ast)linux and use a dd command.
Copy the astlinux image file to a USB key
Boot the CD and login as root on the console
mount the usb key with the file
plug in the second usb key
dd the file from the first over to the new usb key as per their instructions
in a pinch this should work
Let me know how you go
MrFidget wrote:the VIA images are for VIA C3 /C7 CPUs,
They are not for VIA motherboard / video / souind chips.
So use the generic i586 images for a dual core Pentium.
MrFidget wrote:I must admit, I still use XP, its a hard habit to kick, as the newer offerings have had issues i was not willing to contend with.
Have your tried using physwrite in compatability mode ? (right click -> properties -> advanced -> compatability mode....or something like that). I had a call out whereby Outlook refused to work as somehow something or someone had switched on compatability mode.
Another thought. Have you tried a windows ported version of dd ??
Give these a go. Let me know what happens
MrFidget wrote:Plug the thing in and see if it boots I guess
You can look at the drive with disk manager and see what partitions are on there.
There should be a FAT16 and a linux partition. both primary. You should also have a bunch of free space at the end of the partition.
The FAT16 has the boot files, which load the kernel and other stuff from the second partition if my memory serves me correctly.
Keep us posted
MrFidget wrote:what is you leave out the bs....pun unintended but left for authenticity
In answer to your question.
PLug the Key in and see if it boots, if it doesn't, looks like the block or sector size is wrong. PLan C could work. Burn the ISO, boot from CD, use DD to create your boot key / disk thing
Users browsing this forum: Google [Bot], Google Feedfetcher and 14 guests