I just found that when client register to server B, client will append another Contact header after Authorization header, which makes the REGISTER have 2 Contact headers. Not sure if it's relevant.




--
Guojie Zhao 
18664366579

At 2017-06-27 18:05:40, "赵国杰" <zhaoguojie2010@163.com> wrote:
Hello all,
     I have two kamailio servers(A and B) with exact same config using the same mysql db. I can register to A but not B. Server B complained:
     ERROR: <script>: fu is sip:851968556538527744@104.198.52.31, ru is sip:104.198.52.31, rU is <null>

     After capture the udp packet on both server using ngrep, the REGISTER they received are both good except A returns 200 OK and B returns 403 Not relaying.
     
     I don't have a clue what went wrong.  How come the $rU is null when all the headers in REGISTER are valid? Can someone please point me the direction?

Thanks
Jesse