[asterisk-bugs] [JIRA] (ASTERISK-26968) chan_pjsip: Transfer() does not result in TRANSFERSTATUS reflecting SIP response to transfer

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Jul 23 09:21:48 CDT 2019


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

Friendly Automation commented on ASTERISK-26968:
------------------------------------------------

Change 11216 merged by George Joseph:
chan_pjsip:  Transmit REFER waits for the REFER result setting TRANSFERSTATUS

[https://gerrit.asterisk.org/c/asterisk/+/11216|https://gerrit.asterisk.org/c/asterisk/+/11216]

> chan_pjsip: Transfer() does not result in TRANSFERSTATUS reflecting SIP response to transfer
> --------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26968
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26968
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_transfer, Channels/chan_pjsip
>    Affects Versions: 14.4.0
>         Environment: Debian 8 running on a VMWare VM
>            Reporter: Dan Cropp
>            Severity: Minor
>         Attachments: chansiptransfer.txt
>
>
> Using AMI to tell Asterisk to perform a Transfer (it's a blind transfer).  Asterisk is connected to a switch (tried both Cisco and Avaya).  Trying to tell the switch to we want to blind transfer to another number.
> Everything works fine with chan_sip.  What we are seeing is only in PJSIP support.
> The SIP REFER packet is sent correctly.  Switch receives it and will process it and provide the appropriate response.
> Valid number - Cisco sends Asterisk a 202 Accepted packet and it rings the phone for the transfer.  With chan_sip, the Transfer is not complete until the call is answered (during which the SIP trace shows a Notify/OK response).  With PJSIP, the logs indicate Asterisk is indicating the Transfer completed right away and sets TRANSFERSTATUS variable to SUCCESS (even though the call hasn't been answered).
> Invalid number - Cisco sends Asrterisk a 404 Not Found in response to the REFER packet.  For PJSIP, we see an immediate response with TRANSFERSTATUS variable set to SUCCESS (milliseconds before the 404 is ever showing up in the logs).  For chan_sip, it correctly waits for the 404 packet, processes this packet and indicates the Transfer failed, setting the TRANSFERSTATUS to FAILED.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list