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
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
I'm very sorry. I just found I mis-configured the advertise ip. It's very stupid of me. sorry
在 2017-06-27 18:37:11,"赵国杰" zhaoguojie2010@163.com 写道:
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
【网易自营|30天无忧退货】不到同款1折价!Tory Burch制造商美式休闲人字拖限时仅29.9元>>
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 <mailto: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
【网易自营|30天无忧退货】不到同款1折价!Tory Burch制造商美式休闲人字拖限时仅29.9元>> http://you.163.com/item/detail?id=1185012&from=web_gg_mail_jiaobiao_9
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
REGISTER requests are typically only with the address of the server in request URI, no username there. So this if fine to have $rU being NULL.
No relaying means that From header and To header have URIs with domains not belonging to local SIP server. Check alias and listen parameters.
Cheers, Daniel
On 27.06.17 12:05, 赵国杰 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