Having two Contact headers in a REGISTER request is also ok. Your issue is not related to this, see my previous reply to your initial email.

Cheers,
Daniel


On 27.06.17 12:37, 赵国杰 wrote:
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


 





_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com