[OpenSIPS-Users] GRUU contact not found
    Robert Dyck 
    rob.dyck at telus.net
       
    Thu Nov  8 15:05:16 EST 2018
    
    
  
After some thought I realized that a lookup had to be invoked while in dialog. The BYE was 
directed at the proxy and the GRUU needed to be mapped to the device that was the intended 
target.
Added the following to script for "in dialog"
                       xlog("Check for GRUU, Method is $rm\n"); 
Nov  8 11:49:30 [24807] DBG:rr:after_loose: Topmost route URI: 'sip:
192.168.1.2;lr;ftag=SAjVc2sqm' is me
Nov  8 11:49:30 [24807] DBG:core:parse_headers: flags=200
Nov  8 11:49:30 [24807] DBG:core:get_hdr_field: cseq <CSeq>: <252> <BYE>
Nov  8 11:49:30 [24807] DBG:core:get_hdr_field: content_length=0
Nov  8 11:49:30 [24807] DBG:core:get_hdr_field: found end of header
Nov  8 11:49:30 [24807] DBG:rr:find_next_route: No next Route HF found
Nov  8 11:49:30 [24807] DBG:rr:after_loose: No next URI found!
Nov  8 11:49:30 [24807] DBG:core:parse_headers: flags=78
Nov  8 11:49:30 [24807] DBG:core:parse_to_param: tag=uqzwj
Nov  8 11:49:30 [24807] DBG:core:_parse_to: end of header reached, state=29
Nov  8 11:49:30 [24807] DBG:core:_parse_to: display={}, ruri={sip:7 at 192.168.1.2}
Nov  8 11:49:30 [24807] DBG:rr:check_route_param: params are <;lr;ftag=SAjVc2sqm>
Nov  8 11:49:30 [24807] DBG:rr:check_route_param: params are <;lr;ftag=SAjVc2sqm>
Nov  8 11:49:30 [24807] Check for GRUU, Method is BYE
Nov  8 11:49:30 [24807] Found GRUU
Nov  8 11:49:30 [24807] DBG:registrar:parse_lookup_flags: final flags: 1
Nov  8 11:49:30 [24807] DBG:registrar:extract_aor: has gruu
Nov  8 11:49:30 [24807] DBG:registrar:extract_aor: public gruu
Nov  8 11:49:30 [24807] DBG:registrar:select_contacts: ct: sip:
4 at 192.168.1.72:5062;transport=udp
Nov  8 11:49:30 [24807] DBG:registrar:select_contacts: ruri has gruu
Nov  8 11:49:30 [24807] DBG:registrar:select_contacts: matched sip instance
Nov  8 11:49:30 [24807] DBG:registrar:push_branch: setting as ruri <sip:
4 at 192.168.1.72:5062;transport=udp>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181108/d872661f/attachment.html>
    
    
More information about the Users
mailing list