When a call arrives, I send some AT commands to set the audio parameters:
AT+VGT=132;+VGR=132;+CLVL=5;+KST=0;+KECHO=2;+KNOISE=1,1
When a call arrives, I have:
*PSCSC: 1, 10,, "xxxxxxxx", 129, 0,,,
*PSCSC: 1, 11,,,,,,,
AT+VGT=132;+VGR=132;+CLVL=5;+KST=0;+KECHO=2;+KNOISE=1,1
OK
*PSCSC: 1, 13,,,,,,,
+CRING: VOICE
+CLIP: "xxxxxxxx",129,"",,"",0
ATA
*PSCSC: 1, 14, 0,,,,,,
OK
Everything is OK! But if I send the commands for audio configuration, a little later (after the call enters state 14), the HL reboots!
*PSCSC: 1, 10,, "xxxxxxxx", 129, 0,,,
*PSCSC: 1, 11,,,,,,,
*PSCSC: 1, 13,,,,,,,
+CRING: VOICE
+CLIP: "xxxxxxxx",129,"",,"",0
AT+VGT=132;+VGR=132;+CLVL=5;+KST=0;+KECHO=2;+KNOISE=1,1
OK
+CRING: VOICE
+CLIP: "xxxxxxxx",129,"",,"",0
ATA
+KSUP: 0
+CREG: 0
+CREG: 2
+CREG: 1
+CGREG: 2
+CGREG: 1
Am I doing something wrong?
Thanks