I have ‘successfully’ got the AlarmReceiver module to work on our E1 line. The E1 line uses aLaw and the AlarmReceiver uses uLaw. I have set up a panel that on power up sends 12 contact ID strings (of 16 dtmf chars). The panel transmits Contact ID at a cadence of 5ms on and 5ms off. I have hacked app_alarmreceiver.c to spit out the string after it receives being careful not to add cpu load on the app. It consistently receives the first 7 chars correctly. From the 8th char onwards we get a missing char and we mostly only receive 14 of the 16 chars.
This seems to me to be a buffer problem because the 1st 7 chars are always correct. I have tried recompiling app_alarmreceiver.c to use ALAW but things got worse. Has anyone got a clue on this problem and if it is a buffer problem whether the buffer can be increased?
This is what should be received from the 12 contact id strings of 16 chars:
This is a sample of what is received of the 12 contact id strings:
where dropouts occur from the 8th digit onwards.
I have used both Asterisk 11.4.0 and 11.5.0.
Any help/feedback would be very much appreciated.