[Serusers] ACK relaying?

Igor Diakonov igorsd at satcomtel.spb.ru
Thu Nov 27 16:56:14 CET 2003


On Thu, 27 Nov 2003 09:19:33 -0600
Greg Fausak <lgfausak at august.net> wrote:

>  >                 if (method=="INVITE") {
> 
> this is the same mistake I made...
> 
> 		if (method=="INVITE" | method=="ACK")
> 
> The ACK is a independant message, so the loose_route
> doesn't pick it up.
> 
> ---greg


Thank you. 
If it's possible - can someone please send me a working example?

While trying to solve this problem i added the following lines to my conf and removed URI==myself check:

                if (method=="ASK") {
                    log (1, "************************* ASK received");
                    break;
                };

But, I can't see any "************************* ASK received" in, log ;(

 0(21153) receive_msg: cleaning up
 0(21153) SIP Request:
 0(21153)  method:  <ACK>
 0(21153)  uri:     <sip:3264467 at 194.xx.xx.170:5060>
 0(21153)  version: <SIP/2.0>
 0(21153) parse_headers: flags=1
 0(21153) Found param type 232, <branch> = <z9hG4bK-5fmxa2a5z7ww>; state=16
 0(21153) end of header reached, state=5
 0(21153) parse_headers: Via found, flags=1
 0(21153) parse_headers: this is the first via
 0(21153) After parse_msg...
 0(21153) DEBUG : sl_filter_ACK: to late to be a local ACK!
 0(21153) preparing to run routing scripts...
 0(21153) DEBUG : is_maxfwd_present: searching for max_forwards header
 0(21153) parse_headers: flags=128
 0(21153) DEBUG: add_param: tag=D4DB9784-2247
 0(21153) end of header reached, state=29
 0(21153) DEBUG: get_hdr_field: <To> [59]; uri=[sip:3264467 at 213.xx.xx.171;user=phone] 
 0(21153) DEBUG: to body [<sip:3264467 at 213.xx.xx.171;user=phone>]
 0(21153) get_hdr_field: cseq <CSeq>: <1> <ACK>
 0(21153) DEBUG: is_maxfwd_present: value = 70 
 0(21153) DEBUG: add_param: tag=mqgz8tt3vb
 0(21153) end of header reached, state=29
 0(21153) parse_headers: flags=256
 0(21153) check_self - checking if host==us: 15==14 &&  [194.xx.xx.170] == [213.xx.xx.171]
 0(21153) check_self - checking if port 5060 matches port 5060
 0(21153) check_self - checking if host==us: 15==14 &&  [194.xx.xx.170] == [213.xx.xx.171]
 0(21153) check_self - checking if port 5060 matches port 5060
 0(21153) check_self: host != me
 0(21153) check_self - checking if host==us: 14==14 &&  [213.xx.xx.171] == [213.xx.xx.171]
 0(21153) check_self - checking if port 5060 matches port 5060
 0(21153) ral(): Topmost route URI: 'sip:3264467 at 213.xx.xx.171;ftag=mqgz8tt3vb;lr=on' is me
 0(21153) parse_headers: flags=256
 0(21153) DEBUG: get_hdr_body : content_length=0
 0(21153) found end of header
 0(21153) fnr(): No next Route HF found
 0(21153) ral(): No next URI found
 0(21153) receive_msg: cleaning up




More information about the sr-users mailing list