Does anyone know if there is a way to disable the norefersub for PJSIP? It appears this is causing problems with a test we're running with Cisco. A wireshark trace from a system where the transfer with Cisco works versus a trace with Asterisk/Cisco shows one big difference being the supported: norefersub The REFER Accepted response is received by Asterisk. However, Cisco doesn't send the NOTIFY messages with 100 Trying followed by 404 Not Found.>From what we've been able to determine, this is a direct result of200 OK packet including Supported: 100rel, timer, replaces, norefersub Specifically, the norefersub. Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190325/39eeb1e4/attachment.html>
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. Dan From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Dan Cropp Sent: Monday, March 25, 2019 4:03 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Asterisk Transfers Does anyone know if there is a way to disable the norefersub for PJSIP? It appears this is causing problems with a test we're running with Cisco. A wireshark trace from a system where the transfer with Cisco works versus a trace with Asterisk/Cisco shows one big difference being the supported: norefersub The REFER Accepted response is received by Asterisk. However, Cisco doesn't send the NOTIFY messages with 100 Trying followed by 404 Not Found.>From what we've been able to determine, this is a direct result of200 OK packet including Supported: 100rel, timer, replaces, norefersub Specifically, the norefersub. Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190328/6b2efc0d/attachment.html>
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
Possibly Parallel Threads
- Asterisk Transfers
- Any idea what causes "Oooh, got a frame with format of g729 on channel 'PJSIP/121-000001d2' when we're sending 'ulaw', switching to match"
- Registered successfully, but after a minute or so no SIP messages anymore
- PJSIP configuration question
- Accessing to ekiga.net through Asterisk