[asterisk-bugs] [JIRA] (ASTERISK-30397) SIP Reason: "Call completed elsewhere" no longer propagating
Ross Beer (JIRA)
noreply at issues.asterisk.org
Thu Mar 23 10:20:03 CDT 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-30397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261638#comment-261638 ]
Ross Beer commented on ASTERISK-30397:
--------------------------------------
I think it could be caused by:
{noformat}
if ((cause_q850 || cause_sip) && (cause = strstr(cause, "cause="))) {
/* If text is present get rid of it */
if ((text = strchr(cause, ';'))) {
*text = '\0';
}
{noformat}
If I am reading this correctly this would remove the `text="Call completed elsewhere" ` which is what phones use to not store call records etc.
> SIP Reason: "Call completed elsewhere" no longer propagating
> ------------------------------------------------------------
>
> Key: ASTERISK-30397
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30397
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_rfc3326
> Affects Versions: GIT
> Environment: CentOS
> Reporter: Ross Beer
> Assignee: Igor Goncharovsky
> Attachments: Asterisk.zip, sngrep.png
>
>
> Since Gerrit commit 19570 the 'Call completed elsewhere' reason is not passed on to endpoints.
> The setup is as follows:
> {quote}
> Endpoint -> Asterisk 1 (via Call Group) -> Asterisk 2 -> Endpoint
> {quote}
> To test make a call from one Endpoint on Asterisk 1 which contains a group with two endpoints on Asterisk 2. Answer the call on one of the endpoints in the group. Asterisk 1 sends headers:
> {quote}
> CSeq: 29930 CANCEL
> Reason: SIP;cause=200;text="Call completed elsewhere"
> Reason: Q.850;cause=26
> Max-Forwards: 70
> User-Agent: VoiceHost V6
> Content-Length: 0
> {quote}
> Asterisk 2 does not send on the 'Reason' headers.
> Asterisk 1 does not contain the patch and passes on the Headers correctly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list