AutoDial 1.0

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

TerryHough wrote:I downloaded this way back when first posted, but now the link is dead.

I now need to do something almost exactly like this. Anybody got
something similar they are willing to share the code for?

TIA
Terry
Its been a while since I've been in this thread. But the way my network
is setup.. and has zero and I mean NO down time.. is that I have my
DSL modem setup to be bridged. So it mearly sits and converts the
digital coming over the copper pair.. and feeding it to the RJ45..

Which runs out to my linksys, "who does the connecting..." ..

I set the linksys up to always keep the connection alive, always, forever.

The only time I would see downtime, is if my provider dropped signal.

- np

So what app exactly are you looking for.. no apps are necessary for
dialing anymore.. adsl xdsl .. etc..

Let your hardware do it..
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

TerryHough wrote:I downloaded this way back when first posted, but now the link is dead.

I now need to do something almost exactly like this. Anybody got
something similar they are willing to share the code for?

TIA
Terry
Hi Terry,

If I understand correctly what you are looking for: I was doing a frantic search for something similar a short while ago (and then the need went away ...)

Came up with these two links, at least one of which you will be familiar with :)

viewtopic.php?t=4708
viewtopic.php?t=2813

I've upgraded everything here, and the lib wasn't one of those things I took across to the new gear. But I will dig out my old HDs and see if the lib is one one of them.

Need a few hours and don't know if I have it (the lib) though.

PS - wouldn't a solution be to do as IE did (and maybe still does) and "RunProgram" the hyperlink (I think it was) dialer?


EDIT: So far not found. Sorry.
@}--`--,-- A rose by any other name ..
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Post by TerryHough »

NoahPhense wrote: So what app exactly are you looking for.. no apps are necessary for
dialing anymore.. adsl xdsl .. etc..
No, I don't need an app for dialing my ADSL connection. That is all
handled by the hardware.

I was looking for an app to dial a designated number from a long list,
connect via the modem, and allow the user to pick up on the line, and
disconnect the modem to continue the call as a voice call.

AutoDial did that. But, on more investigating, it really is just a wrapper
to call the DIALER.exe program. Unfortunately, DIALER doesn't accept
a command parameter (the desired number), so I will have to do it
in another way.

Thanks NoahPhense and Dare2 for replying.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

I made a new .zip for AutoDial.

Feel free to download it here : http://www.penguinbyte.com/apps/pbwebst ... al1.0b.zip
Image

this program works well < at home > with an ADSL internet connection and my Speedtouch USB 64Kb modem.
but this doesn't work at all with a permanent connection like < at work >.

this program make use of the wininet.dll ( see source code and/or MSDN )
sometimes, i'm working on a RASAPI version of AutoDial which doesn't work in the same way. Could be interesting but much harder...
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Could someone tell me again, _exactly_ what this is used for...?

- np
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Hehe I dont see how disconnecting and connecting every 3 seconds would be useful (nah, I know you were possibly testing the functionality of your program.. dont get mad!).. I once made a "keep alive" tool, which, if your adsl connection died for some reason (not just disconnected, sometimes your modem could hang but your connection appears online however!) it disconected and connected again, in case of a drop, it tried to redial any given times, also, it sent a txt file to an external ftp server with info about the current status of the server and even could email you with this valid information (including if your IP changed for some reason) in my case I have parked IP but one never knows!.

Just wanted to bump a little the thread! keep up the good work
However I cant try your tool here :)

Cheers!
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

NoahPhense wrote:Could someone tell me again, _exactly_ what this is used for...?

- np
When you're o short band or have a ADSL modem that needs to dial in for connection, this program makes windows start the connection.

All modems dial in for authentication, routers do it in auto mode, but some dsl modems don't.

When i say dial, it doesn't necessarily mean it is making a phone call (like in short band modems), it can be it orders the modem to pick up the DSL connection and start comunicating with the Head-End.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

true. i have seen some adsl connections that arent permanent (mine is permanent) where they had to kind of perform a "Dial up". My connection is on all the time and it pick up the connection itself after power off or so (only when all power goes. never turn it off myself).

afaik some of the adsl modems connected to your computer using usb needs a dial up @ computer start. However i have a nice linksys router and couldnt live without it hehe
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

I don't know how everyone else is setup.. But maybe my setup can be of
some help.

I have Bellsouth DSL. And I have been connected for 10 months straight.
No downtime. The only time I would ever have downtime, is if Bellsouth
has dropped the line.

Here is the equipment that I'm using and how I have it setup.

First I have the Westell that BS gives you.

This is probably the MOST important step! It is NOT set to dial anything.
It is mearly a bridge. Inside the Westell settings, advanced settings, I
have set it as such.

Image

I have also hardcoded the ipaddress of the westell to 192.168.1.1 ..
Hence it *is* my router.. ;)

Then, I have a simple wireless linksys router B version. It is setup as
such:

Image

** And it is hardcoded as 192.168.1.2 .. hence the second device within
my network.

I also have it listed in the 'hosts' file as:
192.168.1.2 router

So that I can access it from the browser.

Now I'll continue in a minute with the rest of the network. But first I want
you to know that once you've done the above two steps. You will not be
able to access the Westell anymore, without connecting directly to you
Westell with a Cat5 cable.

That is right... no more launchmode, or even 192.168.1.1.. It will not take
you into your Westell. Why? Because now you are behind your internal
router, your linksys..

So anyhow, I will continue.

I have two machines here that are on the network 24/7 one is liquidbuzz.com

His internal address is 192.168.1.3 (hardcoded of course)..

And my File and Print Server .. 192.168.1.4

And my laptop, which I have set to take DHCP, and that begins at:
192.168.1.10 .. So I've left a few ip's for more network appliances.

.5 - .9 (5 more)

Ok -- here is how my linksys is cabled with the westell.

I have one cable coming out of the Westell, and running into PORT1 on the
Linksys (NOT the UPLINK PORT). Then PORT2 feeds my laptop docking
station. PORT3 feeds liquidbuzz.com. PORT4 feeds the File & Print Server.

There is one more port, the Uplink port. The Uplink port runs over to a
regular 10/100 HUB on the otherside of the room. This is for guests. ;)

The main point that I hope I made here, is the "bridging of the westell".

My Westell, no longer calls ANYWHERE FOR ANYTHING. He mearly acts
as a converter from the copper pair (phone line), to Cat5e.

*** The Linksys is the one make the connection. And it's set to keep
alive, ALWAYS. The 30 second thing there, is only functional, IF the
connection drops.

Which as I said in the beginning -- will not happen, UNLESS Bellsouth
drops me.

Power outages. Get them all the time. *** BUT, I have a large UPS here.

It powers the following:

1. Westel Modem
2. Linksys Router
3. Liquidbuzz.com (server 1)
4. File & Print Server (server 2)
5. And it powers my laptop docking station, just so that I don't go down
where there are power issues.

I can hold for 45 minutes.

Anyhow. Any questions, post'em.. ;)

- np
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

not the same as this program is doing. this is mostly for usb based modems afaik!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

thefool wrote:not the same as this program is doing. this is mostly for usb based modems afaik!
This is a USB modem and also has a cat5 port.. You can use either.

- np
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

however again: Some adsl modems needs to be dialed up. the router does the dial up for you, and it stays on.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

thefool wrote:however again: Some adsl modems needs to be dialed up. the router does the dial up for you, and it stays on.
Yeah I remember the old'skewl dsl's .. ;)

- np
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

heh afaik its the router that keeps the connection alive.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

I can't afford to wonder if I'm online or not. As you already know,
liquidbuzz.com runs right here in my sparebedroom. ;)

- np
Post Reply