Discussion:
[BitPim-devel] Sanyo 8200 / 4900; Talking with Delphi
David Sampson
2005-06-29 14:10:38 UTC
Permalink
I have a part time job that requires me to dial upwards of 100 - 200 calls
on my Sanyo 4900 phone during a 14 hour shift. I started thinking about the
old days where I could plug my landline into a modem and easily write
software that will dial the numbers for me automatically.

I contacted futuredial.com, taking my first step into finding out what
technology was available to accomplish the same thing with my cell phones.
They recommended that I buy the #1 cable (which I have) and to lookup
BitPIM... which I have.

I will be writing this using Delphi 7. I have absolutely no experience with
Python.. but have been reviewing the source code to see if I can make enough
sense of it to deduce how you guys are talking with the phones, expecting to
then translate this into Delphi. I have not had alot of success in making
this leap of understanding.

I would appreciate it if someone would direct me to the specific source
files that would have this kind of information (i.e. where the software is
actually talking to the phone) or to provide any advice in this endeavor
that would help me better understand the technical aspects of this form of
communication.

Thanks.
David Sampson
Stephen Wood
2005-06-30 04:50:26 UTC
Permalink
I don't think there is going to be much in BitPim to help you. You
basically just need to know how to send commands to the phone, and
that will be different in Delphi (I don't know what Delphi is).

For many cell phones, you can send the command "AT+CDV##########",
where ########## is the phone number you want to dial to make a voice
call under computer control. I just tried that with a Sony 8100, so
it will probably work on other Sanyo phones.

To try it out use a terminal emulator such as Hyperterminal or kermit.

Stephen
Post by David Sampson
I have a part time job that requires me to dial upwards of 100 - 200 calls
on my Sanyo 4900 phone during a 14 hour shift. I started thinking about the
old days where I could plug my landline into a modem and easily write
software that will dial the numbers for me automatically.
I contacted futuredial.com, taking my first step into finding out what
technology was available to accomplish the same thing with my cell phones.
They recommended that I buy the #1 cable (which I have) and to lookup
BitPIM... which I have.
I will be writing this using Delphi 7. I have absolutely no experience with
Python.. but have been reviewing the source code to see if I can make enough
sense of it to deduce how you guys are talking with the phones, expecting to
then translate this into Delphi. I have not had alot of success in making
this leap of understanding.
I would appreciate it if someone would direct me to the specific source
files that would have this kind of information (i.e. where the software is
actually talking to the phone) or to provide any advice in this endeavor
that would help me better understand the technical aspects of this form of
communication.
Thanks.
David Sampson
David Sampson
2005-06-30 09:16:51 UTC
Permalink
Delphi is an object oriented version of Pascal, with an advanced visual IDE.

Is there anyplace where the command set is defined??

I picked up that there are different "modes".. or states the phone is in. Is
that relevant to being able to send commands to the phone??

Thanks Stephen

David

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net]On Behalf Of Stephen
Wood
Sent: Wednesday, June 29, 2005 11:50 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] Sanyo 8200 / 4900; Talking with Delphi


I don't think there is going to be much in BitPim to help you. You
basically just need to know how to send commands to the phone, and
that will be different in Delphi (I don't know what Delphi is).

For many cell phones, you can send the command "AT+CDV##########",
where ########## is the phone number you want to dial to make a voice
call under computer control. I just tried that with a Sony 8100, so
it will probably work on other Sanyo phones.

To try it out use a terminal emulator such as Hyperterminal or kermit.

Stephen
Stephen Wood
2005-07-01 01:44:01 UTC
Permalink
Post by David Sampson
Delphi is an object oriented version of Pascal, with an advanced visual IDE.
Is there anyplace where the command set is defined??
Not for these Sanyo phones. But many commands for modems or other
phones will work. Many wont. So it is trial and error to find
commands that work. I found out about the AT+CDV command on
http://navasgrp.home.att.net/tech/sch-8500/. The other command you
may need is AT+CDH to hang up the phone.
Post by David Sampson
I picked up that there are different "modes".. or states the phone is in. Is
that relevant to being able to send commands to the phone??
The phone needs to be in modem mode to send it these AT commands. If
you use BitPim it may end up in "Brew" mode, in which case the AT
commands wont work. Just power cycle the phone to get it back into
modem mode.
Chris Fraser
2005-06-30 08:35:29 UTC
Permalink
Why not write a java midlet to do this? I snooped over on PhoneScoop, and
it appears that the 8200 supports J2ME.

Writing a midlet to make the calls for you should be fairly trivial. Just
open a connection to a tel:// url. I suggest investigating RFC-2806 for
more information on the tel: url (http://www.ietf.org/rfc/rfc2806.txt)

Chris...
Post by David Sampson
I have a part time job that requires me to dial upwards of 100 - 200 calls
on my Sanyo 4900 phone during a 14 hour shift. I started thinking about the
old days where I could plug my landline into a modem and easily write
software that will dial the numbers for me automatically.
I contacted futuredial.com, taking my first step into finding out what
technology was available to accomplish the same thing with my cell phones.
They recommended that I buy the #1 cable (which I have) and to lookup
BitPIM... which I have.
I will be writing this using Delphi 7. I have absolutely no experience with
Python.. but have been reviewing the source code to see if I can make enough
sense of it to deduce how you guys are talking with the phones, expecting to
then translate this into Delphi. I have not had alot of success in making
this leap of understanding.
I would appreciate it if someone would direct me to the specific source
files that would have this kind of information (i.e. where the software is
actually talking to the phone) or to provide any advice in this endeavor
that would help me better understand the technical aspects of this form of
communication.
Thanks.
David Sampson
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
David Sampson
2005-07-02 16:10:36 UTC
Permalink
Thanks for your suggestion re: using java...

I have successfully written it in Delphi (my language of choice). You are
right.. it is a trivial matter. Little different than the old days when I
was driving a modem through my software. I suppose this is the case because
I AM talking to a modem inside the phone.

btw... if I wanted to all (or many) of the commands my phones will
recognize.. is there a place where this is documented??

David

-----Original Message-----
From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net]On Behalf Of Chris
Fraser
Sent: Thursday, June 30, 2005 3:35 AM
To: bitpim-***@lists.sourceforge.net
Subject: *****POSSIBLE SPAM***** Re: [BitPim-devel] Sanyo 8200 / 4900;
Talking with Delphi


Why not write a java midlet to do this? I snooped over on PhoneScoop, and
it appears that the 8200 supports J2ME.

Writing a midlet to make the calls for you should be fairly trivial. Just
open a connection to a tel:// url. I suggest investigating RFC-2806 for
more information on the tel: url (http://www.ietf.org/rfc/rfc2806.txt)

Chris...

Loading...