[asterisk-bugs] [JIRA] (ASTERISK-20484) Code Cleanup in app_alarmreceiver caused new issue where event are processed before receiving all digits

John Bonzey (JIRA) noreply at issues.asterisk.org
Mon Dec 24 14:35:46 CST 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200961#comment-200961 ] 

John Bonzey commented on ASTERISK-20484:
----------------------------------------

I have been trying to compile as you recommended the last time.  I'm likely doing this incorrectly as i continue to get errors.  Will the .so file be system specific because if not is there anyway someone can post a compiled version.

The errors i'm geting are below:
Thanks for your help!!!!!


root at pbx:/tmp $ gcc app_alarmreceiver.c -o app_alarmreceiver.so -lsrtp
app_alarmreceiver.c: In function âreceive_dtmf_digitsâ:
app_alarmreceiver.c:266: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c:266: error: (Each undeclared identifier is reported only once
app_alarmreceiver.c:266: error: for each function it appears in.)
app_alarmreceiver.c: In function âwrite_metadataâ:
app_alarmreceiver.c:370: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c: In function âlog_eventsâ:
app_alarmreceiver.c:421: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c: In function âademco_detect_formatâ:
app_alarmreceiver.c:595: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c: In function âreceive_ademco_eventâ:
app_alarmreceiver.c:683: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c: In function âalarmreceiver_execâ:
app_alarmreceiver.c:847: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c: In function âload_configâ:
app_alarmreceiver.c:876: error: âAST_MODULEâ undeclared (first use in this function)
app_alarmreceiver.c: At top level:
app_alarmreceiver.c:996: error: âAST_MODULEâ undeclared here (not in a function)

                
> Code Cleanup in app_alarmreceiver caused new issue where event are processed before receiving all digits
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20484
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20484
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_alarmreceiver
>    Affects Versions: SVN
>            Reporter: Jean-Philippe Lord
>            Assignee: Pedro Kiefer
>      Target Release: SVN
>
>         Attachments: app_alarmreceiver.c, ASTERISK-20484_v1.diff, ASTERISK-20484_v2.diff
>
>
> Issue caused since ASTERISK-20157
> event are processed before receiving all digits
>  == AlarmReceiver: Received Event 010
>  == AlarmReceiver: Bad DTMF character ý == AlarmReceiver: Nonzero checksum
>  == AlarmReceiver: Received Event 100
>  == AlarmReceiver: Bad DTMF character ý == AlarmReceiver: Nonzero checksum
>  == AlarmReceiver: Received Event 0C2
>  == AlarmReceiver: Bad DTMF character ý == AlarmReceiver: Nonzero checksum
>  == AlarmReceiver: Received Event 299

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list