Closed benlangfeld closed 11 years ago
@JustinAiken also has an interest in this
I don't have a problem with this.
If I were to implement this, I'd pass along FreeSWITCH's internal enumeration instead of the endpoint-specific code.
@bklang expressed concern that code
gives the impression of normalisation, and so I will replace this with platform_code
to avoid ambiguity.
Some applications require more detailed end reasons such as circuit congestion, etc. Asterisk and FreeSWITCH provide their own enumerations, while other platforms (eg PRISM) might expose SIP codes or something else entirely. This patch allows for passing those specific codes up to the Rayo client after categorisation as one of the more general Rayo end reasons.
@crienzo, @bklang and @loopingrage: I'd like your input on this, please.