Voice Call "Not Supported Error" only through libgammu C code!

Archis Bhave <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Message-ID <CAJgevLc2Si9kqc4U89B2SwsZP17qMTdTUaj8ceUC6KH0pKwDYA@mail.gmail.com>
Hello everyone

I have used Gammu as a SMS gateway on windows and Linux both, and I am
extremely grateful for existence of such a powerful unified interface
mechanism for GSM on various OS platforms.

I am developing a simple application and wish to use libgammu to perform
certain voice call functions. My setup is as follows:

1) Ubuntu 14.04 LTS
2) libgammu 1.33.0 built 16:20:47 Aug  1 2013 using GCC 4.8
3) SIMCOM SIM900 based GSM modem
4) USB-UART connection on /dev/ttyUSB0 with appropriate group
ownerships,permissions and user belongs to correct group (dialout)

Initial tests:

1) Used gammu utility to check if the voice call works. Executed :
gammu -d textall dialvoice +9194xxxxxxxx

This works properly. The generated log file is attached for reference.

2) A simple python program from pygammu examples. To perform the same
function as above. This also works correctly. No problem. This worked well.

3) Wrote a simple program, to load configuration, initialize connection. To
confirm that connection has been established queried phone manufacturer and
got the correct output. But then GSM_DialVoice always fails with:

GSM_DialVoice failed with error NOTSUPPORTED[21]: Function not supported by
phone.

I have also attached the complete dump of the output generated by the
program, as well as the source code itself.

----------------
Attempted solutions (None worked) :
1) Attempt multiple initializations.
2) Try retrieving other 'phone' parameters. Parameters recovered but no
GSM_DialVoice.
3) Tried tracing back through the sources for gammu utility to understand
if anything different is being done than my code. Could not locate anything
basically different.
4) Inserted delays at various places in my code(Poor attempt, but I was
desperate)
5) Tried replacing + with 00. Based on an email in the archives from this
list.

Need help on this.

Thank you in advance for any and all suggestions.

------------
Attached:
gammu_errors.txt : Output dump when the attached C code is compiled and run.
Gammu_Place_Call.c : The source code I have written to place a simple gsm
voice call (No voice transmission is expected)


-- 
Archis A. Bhave

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
gammu_errors.txt (text/plain, 10.5 KB)
[Gammu            - 1.33.0 built 16:20:47 Aug  1 2013 using GCC 4.8]
[Connection       - "at"]
[Connection index - 0]
[Model type       - ""]
[Device           - "/dev/ttyUSB0"]
[Running on       - Linux, kernel 3.13.0-44-generic (#73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 19200
[Module           - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D                                                          ..              
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A                                                      R..             
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "HEX"....OK.. 
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "SIMCOM_Ltd"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1C/28
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |53S|49I|4DM|43C|4FO|4DM AT+CGMI...SIMCOM
5F_|4CL|74t|64d|0D |0A |0D |0A |4FO|4BK|0D |0A                  _Ltd....OK..    
Manufacturer info received
[Manufacturer: SIMCOM_Ltd]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2","HEX","PCCP","PCDN","8859-1")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x4C/76
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|2C,|22"|48H|45E|58X|22"|2C,|22"|50P|43C "UCS2","HEX","PC
43C|50P|22"|2C,|22"|50P|43C|44D|4EN|22"|2C,|22"|388|388|355|399 CP","PCDN","8859
2D-|311|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A                  -1")....OK..    
Chosen HEX as normal charset
Chosen UCS2 as unicode charset
Getting model
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D                                  AT+CGMM.        
1 "AT+CGMM"
2 "SIMCOM_SIM900A"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x20/32
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |53S|49I|4DM|43C|4FO|4DM AT+CGMM...SIMCOM
5F_|53S|49I|4DM|399|300|300|41A|0D |0A |0D |0A |4FO|4BK|0D |0A  _SIM900A....OK..
Unknown model, but it should still work
[Model name: `SIMCOM_SIM900A']
[Model data: `']
[Model data: `unknown']
[Connected model  - "SIMCOM_SIM900A"]
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A                                                  OR..            
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A                                              ROR..           
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A                                          RROR..          
[Module           - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D                                                          ..              
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A                                                      R..             
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "HEX"....OK.. 
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "SIMCOM_Ltd"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1C/28
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |53S|49I|4DM|43C|4FO|4DM AT+CGMI...SIMCOM
5F_|4CL|74t|64d|0D |0A |0D |0A |4FO|4BK|0D |0A                  _Ltd....OK..    
Manufacturer info received
[Manufacturer: SIMCOM_Ltd]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2","HEX","PCCP","PCDN","8859-1")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x4C/76
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|2C,|22"|48H|45E|58X|22"|2C,|22"|50P|43C "UCS2","HEX","PC
43C|50P|22"|2C,|22"|50P|43C|44D|4EN|22"|2C,|22"|388|388|355|399 CP","PCDN","8859
2D-|311|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A                  -1")....OK..    
Chosen HEX as normal charset
Chosen UCS2 as unicode charset
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A                                                  OR..            
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A                                              ROR..           
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A                                          RROR..          
Getting firmware versions
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D                                  AT+CGMR.        
1 "AT+CGMR"
2 "Revision:1137B03SIM900A64_ST_ENHANCE"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x36/54
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |52R|65e|76v|69i|73s|69i AT+CGMR...Revisi
6Fo|6En|3A:|311|311|333|377|42B|300|333|53S|49I|4DM|399|300|300 on:1137B03SIM900
41A|366|344|5F_|53S|54T|5F_|45E|4EN|48H|41A|4EN|43C|45E|0D |0A  A64_ST_ENHANCE..
0D |0A |4FO|4BK|0D |0A                                          ..OK..          
Received firmware version: "Revision:1137B03SIM900A64_ST_ENHANCE"
Number version is "11370390064.000000"
[Firmware version - "Revision:1137B03SIM900A64_ST_ENHANCE"]
[Connected]
Entering GSM_DialVoice
GSM_DialVoice failed with error NOTSUPPORTED[21]: Function not supported by phone.
Leaving GSM_DialVoice
[Terminating]
[Closing]
Gammu_Place_Call.c (text/x-csrc, 2 KB)
#include <stdlib.h>
#include <stdio.h>
#include <gammu.h>
#include <gammu-call.h>
#include <unistd.h>

GSM_Error error;

/* Function to handle errors */
void error_handler(GSM_StateMachine *s)
{
	if (error != ERR_NONE) {
		printf("ERROR: %s\n", GSM_ErrorString(error));
		if (GSM_IsConnected(s))
			GSM_TerminateConnection(s);
		exit(error);
	}
}

int main (int argc,char *argv[])
{
    GSM_StateMachine *s;
    INI_Section *cfg;
    char buffer[100];

	GSM_Debug_Info *debug_info;
	GSM_InitLocales(NULL);
	//All debug info goes to stderr (So do a Gammu_Place_Call 2>gammu_errors to get debug info in a file called gammu_errors)
	debug_info = GSM_GetGlobalDebug();
	GSM_SetDebugFileDescriptor(stderr, FALSE, debug_info);
	GSM_SetDebugLevel("textall", debug_info);
	//Try getting memory allocated for the state machine
	s = GSM_AllocStateMachine();
	if (s == NULL)
		return 3;
		
	//Redirect state machine debug messages to stderr 
	debug_info = GSM_GetDebug(s);
	GSM_SetDebugGlobal(FALSE, debug_info);
	GSM_SetDebugFileDescriptor(stderr, FALSE, debug_info);
	GSM_SetDebugLevel("textall", debug_info);
	
	//Read the gammurc config file (if name passed as a command line argument)
	error = GSM_FindGammuRC(&cfg, argc == 2 ? argv[1] : NULL);
	error_handler(s);

	/* Try reading the the gammurc file */
	error = GSM_ReadConfig(cfg, GSM_GetConfig(s, 0), 0);
	error_handler(s);

	/* Free config file structures */
	INI_Free(cfg);

	/* Only one valid configuration */
	GSM_SetConfigNum(s, 1);

    sleep(2);
    GSM_TerminateConnection(s);
	/* Connect to modem on port specified in the gammurc file */
	error = GSM_InitConnection(s, 1);
	error_handler(s);

	error = GSM_GetManufacturer(s, buffer);
	error_handler(s);
	printf("Manufacturer  : %s\n", buffer);

	//Try dialing the number provided as the second command line argument or call Archis Bhave.
	error = GSM_DialVoice(s, "+9194xxxxxxxx", 1);   //The actual number is inserted here. This is just to avoid getting this number spammed.
	error_handler(s);
	
	return(0);
}
gammulog.txt (text/plain, 10.9 KB)
[Gammu            - 1.33.0 built 16:20:47 Aug  1 2013 using GCC 4.8]
[Connection       - "at"]
[Connection index - 0]
[Model type       - ""]
[Device           - "/dev/ttyUSB1"]
[Running on       - Linux, kernel 3.13.0-44-generic (#73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014)]
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 19200
[Module           - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D                                                          ..              
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A                                                      R..             
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "HEX"....OK.. 
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "SIMCOM_Ltd"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1C/28
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |53S|49I|4DM|43C|4FO|4DM AT+CGMI...SIMCOM
5F_|4CL|74t|64d|0D |0A |0D |0A |4FO|4BK|0D |0A                  _Ltd....OK..    
Manufacturer info received
[Manufacturer: SIMCOM_Ltd]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2","HEX","PCCP","PCDN","8859-1")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x4C/76
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|2C,|22"|48H|45E|58X|22"|2C,|22"|50P|43C "UCS2","HEX","PC
43C|50P|22"|2C,|22"|50P|43C|44D|4EN|22"|2C,|22"|388|388|355|399 CP","PCDN","8859
2D-|311|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A                  -1")....OK..    
Chosen HEX as normal charset
Chosen UCS2 as unicode charset
Getting model
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|4DM|0D                                  AT+CGMM.        
1 "AT+CGMM"
2 "SIMCOM_SIM900A"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x20/32
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |53S|49I|4DM|43C|4FO|4DM AT+CGMM...SIMCOM
5F_|53S|49I|4DM|399|300|300|41A|0D |0A |0D |0A |4FO|4BK|0D |0A  _SIM900A....OK..
Unknown model, but it should still work
[Model name: `SIMCOM_SIM900A']
[Model data: `']
[Model data: `unknown']
[Connected model  - "SIMCOM_SIM900A"]
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A                                                  OR..            
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A                                              ROR..           
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A                                          RROR..          
[Module           - "A2D|iPAQ|at|M20|S25|MC35|TC35|C35i|S65|S300|5110|5130|5190|5210|6110|6130|6150|6190|6210|6250|6310|6310i|6510|7110|8210|8250|8290|8310|8390|8850|8855|8890|8910|9110|9210"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D                                                          ..              
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
1 "AT+MODE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x13/19
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO AT+MODE=2...ERRO
52R|0D |0A                                                      R..             
Seems not to be supported
Enabling CME errors
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+CMEE=1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x10/16
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A  AT+CMEE=1...OK..
SENDING frametype 0x00/length 0x09/9
41A|54T|2B+|43C|53S|43C|53S|3F?|0D                              AT+CSCS?.       
1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1F/31
41A|54T|2B+|43C|53S|43C|53S|3F?|0D |0D |0A |2B+|43C|53S|43C|53S AT+CSCS?...+CSCS
3A:|20 |22"|48H|45E|58X|22"|0D |0A |0D |0A |4FO|4BK|0D |0A      : "HEX"....OK.. 
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "SIMCOM_Ltd"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x1C/28
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |53S|49I|4DM|43C|4FO|4DM AT+CGMI...SIMCOM
5F_|4CL|74t|64d|0D |0A |0D |0A |4FO|4BK|0D |0A                  _Ltd....OK..    
Manufacturer info received
[Manufacturer: SIMCOM_Ltd]
SENDING frametype 0x00/length 0x0A/10
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D                          AT+CSCS=?.      
1 "AT+CSCS=?"
2 "+CSCS: ("IRA","GSM","UCS2","HEX","PCCP","PCDN","8859-1")"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x4C/76
41A|54T|2B+|43C|53S|43C|53S|3D=|3F?|0D |0D |0A |2B+|43C|53S|43C AT+CSCS=?...+CSC
53S|3A:|20 |28(|22"|49I|52R|41A|22"|2C,|22"|47G|53S|4DM|22"|2C, S: ("IRA","GSM",
22"|55U|43C|53S|322|22"|2C,|22"|48H|45E|58X|22"|2C,|22"|50P|43C "UCS2","HEX","PC
43C|50P|22"|2C,|22"|50P|43C|44D|4EN|22"|2C,|22"|388|388|355|399 CP","PCDN","8859
2D-|311|22"|29)|0D |0A |0D |0A |4FO|4BK|0D |0A                  -1")....OK..    
Chosen HEX as normal charset
Chosen UCS2 as unicode charset
Checking for OBEX support
SENDING frametype 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R AT+CPROT=?...ERR
4FO|52R|0D |0A                                                  OR..            
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R AT+SYNCML=?...ER
52R|4FO|52R|0D |0A                                              ROR..           
Checking for SYNCML/OBEX support
SENDING frametype 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frametype 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A                                          RROR..          
Getting firmware versions
SENDING frametype 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|52R|0D                                  AT+CGMR.        
1 "AT+CGMR"
2 "Revision:1137B03SIM900A64_ST_ENHANCE"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x36/54
41A|54T|2B+|43C|47G|4DM|52R|0D |0D |0A |52R|65e|76v|69i|73s|69i AT+CGMR...Revisi
6Fo|6En|3A:|311|311|333|377|42B|300|333|53S|49I|4DM|399|300|300 on:1137B03SIM900
41A|366|344|5F_|53S|54T|5F_|45E|4EN|48H|41A|4EN|43C|45E|0D |0A  A64_ST_ENHANCE..
0D |0A |4FO|4BK|0D |0A                                          ..OK..          
Received firmware version: "Revision:1137B03SIM900A64_ST_ENHANCE"
Number version is "11370390064.000000"
[Firmware version - "Revision:1137B03SIM900A64_ST_ENHANCE"]
[Connected]
Entering GSM_DialVoice
Making voice call
SENDING frametype 0x00/length 0x13/19
41A|54T|44D|54T|2B+|399|311|399|344|322|300|344|333|366|322|311 ATDT+9194xxxxxxxx
399|3B;|0D                                                      9;.             
1 "ATDT+9194xxxxxxxx;"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frametype 0x00/length 0x19/25
41A|54T|44D|54T|2B+|399|311|399|344|322|300|344|333|366|322|311 ATDT+91942043621
399|3B;|0D |0D |0A |4FO|4BK|0D |0A                              9;...OK..       
Dial voice OK
Leaving GSM_DialVoice
[Terminating]
[Closing]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.