<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I started with the sample residential script from some time back. GRUU was enabled in the sample. When I started working with a UA that registers a GRUU I noticed it was not receiving BYE when the other end released the call. I have since experimented with checking for GRUU while in dialog. That seems to work. The documentation doesn't mention anything about modifying the script other than enabling or disabling GRUU. Do you have any tips regarding GRUU in the script? Are there corner cases I should be aware of?</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Rob</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday, November 14, 2018 6:14:20 AM PST Bogdan-Andrei Iancu wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    <span style=" font-family:'Monospace';">Hi Robert,<br />      <br />      According to docs, the gruu is by default off - see</span><a href="http://www.opensips.org/html/docs/modules/2.3.x/registrar.html#idp5567984"><span style=" font-family:'Monospace'; text-decoration: underline; color:#2980b9;">http://www.opensips.org/html/docs/modules/2.3.x/registrar.html#idp5567984</span></a><span style=" font-family:'Monospace';"><br />      <br />      Regards,<br />    </span>    </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Monospace';">Bogdan-Andrei IancuOpenSIPS Founder and Developer  </span><a href="http://www.opensips-solutions.com"><span style=" font-family:'Monospace'; text-decoration: underline; color:#2980b9;">http://www.opensips-solutions.com</span></a><span style=" font-family:'Monospace';">OpenSIPS Bootcamp 2018  </span><a href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/"><span style=" font-family:'Monospace'; text-decoration: underline; color:#2980b9;">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</span></a>    </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On 11/07/2018 10:09 PM, Robert Dyck      wrote:<br />        </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                  </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">My understanding is that GRUU processing in opensips is automatic, provided it is not disabled. No further configuration or scripting is required. Is that correct.      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">A GRUU capable UA rergisters and receives  public and temporary GR identities. The UA establishes a dialog with another UA. The callee ends the call. The caller does not recive the BYE.      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Caller :      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    Request-Line: INVITE <a href="sip:7@192.168.1.2"><span style=" text-decoration: underline; color:#2980b9;">sip:7@192.168.1.2</span></a> SIP/2.0      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Contact URI: <a href="sip:4@192.168.1.2:5060;gr=urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1"><span style=" text-decoration: underline; color:#2980b9;">sip:4@192.168.1.2:5060;gr=urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1</span></a>      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Callee:      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    Status-Line: SIP/2.0 200 OK      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Caller:      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    Request-Line: ACK <a href="sip:7@192.168.1.3:5062"><span style=" text-decoration: underline; color:#2980b9;">sip:7@192.168.1.3:5062</span></a> SIP/2.0      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Callee:      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    Request-Line: BYE <a href="sip:4@192.168.1.2:5060;gr=urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1"><span style=" text-decoration: underline; color:#2980b9;">sip:4@192.168.1.2:5060;gr=urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1</span></a> SIP/2.0      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Proxy ( opensips @ 192.168.1.2 )      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    Status-Line: SIP/2.0 404 Not here      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Am I missing something?      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Should "opensipsctl ul show" show the GRUU?      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;">AOR:: 4       Contact:: </span><a href="sip:4@192.168.1.72:5062;transport=udp"><span style=" font-family:'monospace'; text-decoration: underline; color:#2980b9; background-color:#ffffff;">sip:4@192.168.1.72:5062;transport=udp</span></a><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> Q= </span><span style=" font-family:'monospace';">               ContactID:: 3518589640418194                Expires:: 3586                Callid:: OL1gvsViBJ                Cseq:: 21                User-agent:: LinphoneAndroid/4.0.1 (belle-sip/1.6.3)                State:: CS_NEW                Flags:: 0                Cflags::                 Socket:: udp:192.168.1.2:5060                Methods:: 4294967295                SIP_instance:: <urn:uuid:35dfa98a-2feb-482a-bde7-7568a86348b1></span>      </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">      <br />            <br />      </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:80px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Monospace';">_______________________________________________Users mailing list</span><a href="mailto:Users@lists.opensips.org"><span style=" font-family:'Monospace'; text-decoration: underline; color:#2980b9;">Users@lists.opensips.org</span></a><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"><span style=" font-family:'Monospace'; text-decoration: underline; color:#2980b9;">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</span></a>        <br />  </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>