keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

G400P - MiniCom access?

11 years 11 months ago #8052 by Joe.Yung
hello,

If you would like to install g4term application.

Please follow these steps:

1>. Stop asterisk
2>. Install chan_extra-2.0.1 instead of its higher version.
3>. Perform the commands as the README saying in g4term tar packet.

11 years 11 months ago #8053 by krzysioD
Now it's better :)
Any way of providing a pseudo tty from g4term? need for ppp/gprs session and for example - minicom
but i think, either i've got some problem with sim card, or telco provider i do this:
zimbra*CLI> gsm send sms 1 123456789 "test 3343"
zimbra*CLI> gsm show span 1
D-channel: 2
Status: Provisioned, Up, Active
Type: CPE
Manufacturer: SIMCOM_Ltd
Model Name: SIMCOM_SIM300D
Model IMEI: 356896031102685
Revision: 1008B13SIM300D32_SST34HF3284
Network Name: 06
Network Status: Registered (Home network)
Signal Quality (0,31): 26
SIM IMSI: 260060094164685
Event:1
State:GSM STATE SMS SENDING

and this state "SENDING" is for more than 5 minutes...

i] Last edited by krzysioD at 2012-5-11 15:24 [/i
11 years 11 months ago #8054 by Joe.Yung
Hello,

Regard to the time, I think we will plan to optimize it in next week. And give you a solution here as soon as possible.

Anyway, please give us some more days.

11 years 11 months ago #8057 by krzysioD
Ok - as far as the terminal - you could use something like socat to create pseudo tty while g4term running.
11 years 11 months ago #8064 by krzysioD
Still have some troubles with sending in PDU mode:

2012-05-14 13:20:07,6, GSM2: I have to send 1 short message for /var/spool/sms/checked/test.sms
2012-05-14 13:20:07,7, GSM2: -> AT
2012-05-14 13:20:08,7, GSM2: -> AT
2012-05-14 13:20:08,7, GSM2: <- AT OK
2012-05-14 13:20:08,7, GSM2: -> ATE0+CMEE=1
2012-05-14 13:20:09,7, GSM2: <- ATE0+CMEE=1 OK
2012-05-14 13:20:09,7, GSM2: -> AT+CSQ
2012-05-14 13:20:09,7, GSM2: <- AT+CSQ +CSQ: 31,0 OK
2012-05-14 13:20:09,7, GSM2: -> AT+CREG?
2012-05-14 13:20:10,7, GSM2: <- AT+CREG? +CREG: 0,1 OK
2012-05-14 13:20:10,7, GSM2: -> AT+CMGF=0
2012-05-14 13:20:10,7, GSM2: <- AT+CMGF=0 OK
2012-05-14 13:20:10,7, GSM2: -> AT+CPMS?
2012-05-14 13:20:11,7, GSM2: <- AT+CPMS? +CPMS: "SM",0,25,"SM",0,25,"SM",0,25 OK
2012-05-14 13:20:11,6, GSM2: Command failed.
2012-05-14 13:20:11,6, GSM2: No SMS received (reading interrupted)
2012-05-14 13:20:11,6, GSM2: Sending SMS from to 48504XXXXXX
2012-05-14 13:20:11,7, GSM2: -> AT
2012-05-14 13:20:12,7, GSM2: -> AT
2012-05-14 13:20:12,7, GSM2: <- AT OK
2012-05-14 13:20:12,7, GSM2: -> ATE0+CMEE=1
2012-05-14 13:20:12,7, GSM2: <- ATE0+CMEE=1 OK
2012-05-14 13:20:13,7, GSM2: -> AT+CSQ
2012-05-14 13:20:13,7, GSM2: <- AT+CSQ +CSQ: 31,0 OK
2012-05-14 13:20:13,7, GSM2: -> AT+CREG?
2012-05-14 13:20:13,7, GSM2: <- AT+CREG? +CREG: 0,1 OK
2012-05-14 13:20:13,6, GSM2: Selecting PDU mode
2012-05-14 13:20:14,7, GSM2: -> AT+CMGF=0
2012-05-14 13:20:14,7, GSM2: <- AT+CMGF=0 OK
2012-05-14 13:20:14,7, GSM2: -> AT+CMGS=32
2012-05-14 13:20:14,7, GSM2: <- AT+CMGS=32 >
2012-05-14 13:20:15,7, GSM2: -> 01000B918405145775F7000015D4E294FABC0641F77498FC6EBFE763D0BC3D07

i] Last edited by krzysioD at 2012-5-14 19:38 [/i
11 years 11 months ago #8065 by krzysioD
2012-05-14 13:21:15,7, GSM2: put_command expected (OK)|(ERROR), timeout occurred. 1.
2012-05-14 13:21:15,7, GSM2: <- 01000B918405145775F7000015D4E294FABC0641F77498FC6EBFE763D0BC3
2012-05-14 13:21:15,3, GSM2: The modem answer was not OK: 01000B918405145775F7000015D4E294FABC0641F77498FC6EBFE763D0BC3
2012-05-14 13:21:15,5, GSM2: Waiting 60 sec. before retrying
2012-05-14 13:22:15,7, GSM2: -> AT
2012-05-14 13:22:16,7, GSM2: -> AT
2012-05-14 13:22:21,7, GSM2: put_command expected (OK)|(ERROR), timeout occurred. 2.
2012-05-14 13:22:21,7, GSM2: <- AT
2012-05-14 13:22:21,7, GSM2: ->

and the modem hangs.

sim card is valid, i could orginate call from asterisk

i] Last edited by krzysioD at 2012-5-14 19:38 [/i
Time to create page: 0.041 seconds
Powered by Kunena Forum