[asterisk-users] Asterisk Transfers

Dan Cropp dan at amtelco.com
Thu Mar 28 12:55:27 CDT 2019


Thank you Joshua.

We're trying to run more tests.
We believe Cisco may not be adhering to the specification.  Unfortunately, we're also stuck with having to make it work.

An interesting test, I commented out the norefersub from the res_pjsip_refer.c code just for a test.  Without this, Cisco does sent the NOTIFY packets to let Asterisk know the status (Trying, Ringing, OK, 486 Busy Here, ...)

Would it make sense for me to try including the Refer-Sub in the REFER packet Asterisk sends to Cisco?  Perhaps Cisco sees the norefersub, but not the Refer-Sub header.  It may interpret the lack of a Refer-Sub header in the REFER incorrectly?

Dan

-----Original Message-----
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Joshua C. Colp
Sent: Thursday, March 28, 2019 9:18 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Asterisk Transfers

On Thu, Mar 28, 2019, at 11:10 AM, Dan Cropp wrote:
>  
> Is there no one who knows if there is a way to turn off the norefersub setting?
> 
> 
> Supported: norefersub
> 
> 
> This happens in the TRYing, OK, and other commands in response to the INVITE.
> 
> 
> For chan_sip, I noticed it does not send the norefersub. As a result, 
> Cisco then sends NOTIFY packets with TRYing, Ringing, OK inside them.
> This basically gives the chan_sip code the ability to know if the 
> REFER
> (Transfer) is succeeding or not.

There is no way to configure it. It would have to be removed from res_pjsip_refer's code itself. The presence of "norefersub" in Supported also isn't supposed to enable it. It's just for stating it is supported. It's supposed to be enabled by the presence of the "Refer-Sub" header in the REFER itself. I don't believe we set that on the REFER we produce, we only care if we receive a REFER with it in place.

--
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


More information about the asterisk-users mailing list