<!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;"> The following configuration snippet worked for me in 2.4 but causes a coredump in 3.0.1 and 3.0.2.</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;">In request route ( sequential )</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;"><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;">               xlog("Check for GRUU, Method is $rm\n"); </span><span style=" font-family:'monospace';"><br />               xlog("Request URI is $ru \n"); <br />               if (is_myself("$rd") && $(ru{uri.params}{param.exist,gr})) {  <br />                       xlog("Found GRUU\n"); <br />                       if (!lookup("location","m")) { <br />                               xlog("Lookup failed\n"); <br />                       } <br />               }<br /></span></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;"><span style=" font-family:'monospace';">Results</span></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;"><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;">Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; font-weight:600; color:#ff5454; background-color:#ffffff;">Check for GRUU, Method is BYE</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; font-weight:600; color:#ff5454; background-color:#ffffff;">Request URI is sip:4@192.168.1.2:5060;gr=urn:uuid:13acf37f-2138-0064-a85a-fb5d39f65cc0</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:core:grep_sock_info_ext: checking if host==us: 11==11 &&  [192.168.1.2] == [192.168.</span><span style=" font-family:'monospace';"><br />1.1]                                                                                                                                                </span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:core:grep_sock_info_ext: checking if host==us: 11==11 &&  [192.168.1.2] == [192.168.</span><span style=" font-family:'monospace';"><br />1.2]                                                                                                                                                </span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:core:parse_params: Parsing params for:[gr=urn:uuid:13acf37f-2138-0064-a85a-fb5d39f65</span><span style=" font-family:'monospace';"><br />cc0]                                                                                                                                                </span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; font-weight:600; color:#ff5454; background-color:#ffffff;">Found GRUU</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:registrar:parse_lookup_flags: final flags: 1</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:registrar:extract_aor: has gruu</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:registrar:extract_aor: public gruu</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:registrar:select_contacts: ct: sip:4@192.168.1.75:49479;transport=udp</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:registrar:select_contacts: ruri has gruu</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; font-weight:600; color:#ff5454; background-color:#ffffff;">CRITICAL:core:sig_usr: segfault in process pid: 62100, id: 5</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:core:restore_segv_handler: restoring SIGSEGV handler...</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:core:restore_segv_handler: successfully restored system SIGSEGV handler</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:38 slim.mylan /usr/local/sbin/opensips[62095]: </span><span style=" font-family:'monospace'; color:#8a8a8a; background-color:#ffffff;">DBG:core:handle_sigs: OpenSIPS exit status = 139</span><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;"> </span><span style=" font-family:'monospace';"><br />Mar 06 13:39:38 slim.mylan /usr/local/sbin/opensips[62095]: INFO:core:handle_sigs: child process 62100 exited by a signal 11 <br />Mar 06 13:39:38 slim.mylan /usr/local/sbin/opensips[62095]: INFO:core:handle_sigs: core was generated<br /><br />Coredump attached</span></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="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p></body></html>