[asterisk-bugs] [JIRA] (ASTERISK-22183) Fake acceptance of AOC MESSAGEs

Birger "WIMPy" Harzenetter (JIRA) noreply at issues.asterisk.org
Mon Jul 22 23:01:03 CDT 2013


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

Birger "WIMPy" Harzenetter commented on ASTERISK-22183:
-------------------------------------------------------

Yes, it probably shouldn't kill that call because of that response, but unfortunately it does.
Someone with the same issue with another provider suggested just to modify the sent string, which seems to be a very bad idea, so I came up with this less bad version to at least make outbound calls possible.

The Huawei stuff is usually used by the classic telcos replacing their PSTN gear. So the normal use case would be with the supplied IAD (SIP<>ISDN/POTS gateway) as replacement for PSTN lines.
Connecting Asterisk to the SIP account by converting from SIP to ISDN and back to SIP will off course not give you the issue (and working AOC) but seems just wrong.

BTW: How much brainfuck do you expect trying to use libpri functions from chan_sip?
                
> Fake acceptance of AOC MESSAGEs
> -------------------------------
>
>                 Key: ASTERISK-22183
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22183
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Interoperability
>    Affects Versions: SVN, 11.5.0
>         Environment: Using a telco with Huawei style AOC support.
>            Reporter: Birger "WIMPy" Harzenetter
>            Severity: Critical
>         Attachments: sip-asn1-aoc.patch
>
>
> Reception of AOC via MESSSAGE with content type ASN1/aoc makes Asterisk reply with "415 Unsupported Media Type" which again makes the ITSP (telco) drop the call.
> This patch "fakes" an accepted response.
> Would be nice if the message would actually get processed, but at least the calls are no longer dropped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list