[asterisk-bugs] [JIRA] (ASTERISK-26968) chan_pjsip: Transfer() does not result in TRANSFERSTATUS reflecting SIP response to transfer
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Wed Apr 26 09:38:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-26968:
-----------------------------------
Summary: chan_pjsip: Transfer() does not result in TRANSFERSTATUS reflecting SIP response to transfer (was: Transfer (Blind) with PJSIP receiving incorrect TRANSFERSTATUS value on failures)
> 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
>
> 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