Connecting Siemens MC35i gsm/gprs modem

Hi all

I have successfully connected the MC35i modem using the celliax module for asterisk
Thank you for this module!

I found some diffcoult, so I want share the experience:

;dial commands:
at_dial_pre_number=ATD
at_dial_post_number=I\; ; when you want to hide your number
;at_dial_post_number=\; ; when you want to make visible your number
at_dial_expect=OK

;note the backslash semicolon in the post number. You must append an semicolon to the dial ;command, so the modem is put in voice mode, otherwise make an data call. W/o backslash, the ;semicolon is ignored because semicolon is the comment prefix. With backslash, the semicolon is ;append to the dial command, but the backslash is append to making the command like
;atd1234\;
;but hopefully, the modem ignore the backslash and makes the voice call

; hangup commands
at_hangup=ATH
at_hangup_expect=OK

;init commands:
at_preinit_1=ATE0
at_preinit_1_expect=OK
; pin entry
at_preinit_2=AT+CPIN=1234
at_preinit_2_expect=OK

; the following command sets the modem, that respond immediately to the atd (dial) command
; without this setting, the modem respond only after the connection is estabilished (about 10 seconds)
; asterisk expect the response within about 2 seconds
at_postinit_1=AT^SM20=0,0
at_postinit_1_expect=OK

; the following command sets the audio parameters of mic and loadspeaker
; and put off the local echo channel
at_postinit_2=at^snfs=4^snfo=0,16000,16000,16000,16000,16000,4,0^snfa=32767
at_postinit_2_expect=OK

you must also comment off the commands related to battery check etc.

The audio connection was more complicated than I was expected.
The modem has the RJ10 (4 contact) connector for the receiver. Two differencial lines, one for mic, other for the loadspeaker. No way to connect it directly to the sound card. I tried a couple of circuits with capacitors and resistances, but the only way is those with transformers.
I get 2 line transformers from 2 old modems. I connect one end of transformer to the mic input of the modem (pins 1 and 4) and the second end to output of the sound card between both channels shorted together and the ground.
The second transformers is connected simillary. One end to the loadspeaker output of the modem (pins 2 and 3) and second end to the line input of the sound card. L and R shorted together and the ground.

The last thing to check is the alsamixer.
You must set the the wave and pcm channels and, obviously, the master volume. Set all remaining inputs to 0.
In the capture screen you must select the capture from the line input and set the capture level to desired value.
You can try it connecting the mic and loadspeaker to the sound card and make a call.

I dont try the incomming calls yet, but the outgoing calls are ok.

enjoy it