[Serusers] 200 OK not being ACKnowledged

Steven C. Blair blairs at isc.upenn.edu
Fri Aug 14 19:08:07 CEST 2009



-----Original Message-----
From: Martin Hoffmann [mailto:hn at nvnc.de] 
Sent: Friday, August 14, 2009 11:55 AM
To: Steven C. Blair
Cc: Michal Matyska; serusers at lists.iptel.org
Subject: Re: [Serusers] 200 OK not being ACKnowledged

Steven C. Blair wrote:
> 
> In route block 0 I use the following logic for relaying messages.
> 
> 
>       # Call Tear-Down Section for ACKs - do not account for acks
>      if (method=="ACK") {
>          xlog("L_INFO", "\n[SER]: --ACK--: Time: [%Tf] From: <%fu> To <%tu> Src IP <%is> Method:<%rm>\n");
>          t_relay();
>          break;
>      };

These ACKs are record routed messages like the BYE and thus should be
forwarded using something like this:

    if (loose_route()) {
        t_relay();
        break
    }

loose_route() does all the necessary magic to find out the next hop. You
should have a block like that already somewhere. Just removing the ACK
block should do the trick.


I do but that was not enough. Apparently the CXC was attempting to forward based on the maddr value while SER was using to/from/via headers. Changing the CXC to ignore the maddr header fixed the problem

-Steve

Regards,
Martin


More information about the Serusers mailing list