해당 분류 : 나에 대한 이야기    US Robotics 56K USB Modem - Caller ID - (USR5637)    글을 기록한 날 : 2015/02/04 13:33

US Robotics 56K USB Modem - Caller ID - (USR5637)

 

I need to develop small utility to convert one format of CALLER ID to other one. I have got US Robotics 56K USB Modem that supports CALLER ID also my service provider (BT) enabled CALLER ID feature for my line (number shows on handset).

I have modem, mentioned above, connected to the same line, but I don't know what format it gives the number or how can I get phone number only in C# Application.

One the US Robotics Website there is no developers guide to how the modem works I need some guidance..

 

   
Wow, they still make those? :) –  Steve Mar 5 '14 at 0:13
   
I have edited your title. Please see, "Should questions include “tags” in their titles?", where the consensus is "no, they should not". –  John Saunders Mar 5 '14 at 0:16
 
 

 

2 Answers

 

According to their manual, you can use AT Commands to turn on caller ID (It's disabled by default) and retreive the caller:

+VCID - Caller ID (CID)

This command controls the reporting and presentation of data associated with the Caller ID services in the Incoming Call Line ID (ICLID) data format for the next call.

+VCID=<pmode>

0 Disable Caller ID reporting. (Default.)

1 Enables Caller ID with formatted presentation to the DTE. The modem presents the data items in a pair format. The expected pairs are date, time, name, and caller code (telephone number),

2 Enables Caller ID with unformatted presentation to the DTE.

Retreiving:

+VRID - Report Retrieved Caller ID (CID)

This command reports the data associated with the Caller ID services in the Incoming Call Line ID (ICLID) data format for the last received call.

+VRID=<pmode>

0 Reports Caller ID with formatted presentation to the DTE. The modem presents the data items in a pair format. The expected pairs are date, time, name, and caller code (telephone number),

1 Reports Caller ID with unformatted presentation to the DTE.

I'm not exactly sure how to communicate with a Modem over USB, back in my day it was all Serial Port (and there are COM-Port Libraries for C#), no idea if a USB Modem implements a virtual COM Port for compatibility with Terminal software. Before starting to do this from C#, it might be an option to use a Terminal Emulator (Windows used to come with HyperTerminal, but that was a long time ago) and just try talking to the Modem directly to figure out if and how the communication works.

I hope that helps a bit.

share|improve this answer
 My usb modem shows up as /dev/ttyACM0 device. I have been able to use it as a serial device in both Linux and windows.

in Linux, you can use the dmesg command and determine what device it is attached to. for example for device one it shows up as /dev/ttyACM0 for the second device it would show up as /dev/ttyACM1 ...

In minicom, you can set it up for caller ID by typing "at +VCID=1" and it should respond with "OK".

in windows, you can use putty and set it up for the serial port at 115200,n,8,1. I have used VC# to communicate with it as well.

share|improve this answer



   
In addition, In Windows 8, 8.1 does not recognize the Prolific 2303 devices. To get around this use the FTDI devices –  sparky19609909 Jul 13 '14 at 17:38
Creative Commons License
Creative Commons License
TAG : , ,

Notice

Blogroll

Counter

· Total
: 272554
· Today
: 38
· Yesterday
: 36