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@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@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@192.168.1.72:5062;transport=udp>
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users