[SR-Users] 答复: sip registration fail

Dong Ming (董明) dongming at twsz.com
Thu Apr 8 10:37:26 CEST 2021


Hello

According to the debug information,
================================================
12(4516) DEBUG: <core> [core/parser/msg_parser.c:610]: parse_msg(): SIP Request:
12(4516) DEBUG: <core> [core/parser/msg_parser.c:612]: parse_msg():  method:  <REGISTER>
12(4516) DEBUG: <core> [core/parser/msg_parser.c:614]: parse_msg():  uri:     <sip:scscf.ims.mnc001.mcc460.3gppnetwork.org:6060>
12(4516) DEBUG: <core> [core/parser/msg_parser.c:616]: parse_msg():  version: <SIP/2.0>
12(4516) DEBUG: <core> [core/parser/parse_addr_spec.c:864]: parse_addr_spec(): end of header reached, state=10
12(4516) DEBUG: <core> [core/parser/msg_parser.c:171]: get_hdr_field(): <To> [57]; uri=[sip:460010000000001 at ims.mnc001.mcc460.3gppnetwork.org]
12(4516) DEBUG: <core> [core/parser/msg_parser.c:174]: get_hdr_field(): to body [<sip:460010000000001 at ims.mnc001.mcc460.3gppnetwork.org>
], to tag []
12(4516) DEBUG: <core> [core/parser/msg_parser.c:152]: get_hdr_field(): cseq <CSeq>: <2> <REGISTER>
12(4516) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK11a4.1097491452b96d42664a6b234646cc60.0>; state=6
12(4516) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 236, <i> = <1>; state=16
12(4516) DEBUG: <core> [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5
12(4516) DEBUG: <core> [core/parser/msg_parser.c:498]: parse_headers(): Via found, flags=2
12(4516) DEBUG: <core> [core/parser/msg_parser.c:500]: parse_headers(): this is the first via
12(4516) INFO: ims_auth [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_user_name: Failed finding avp (avp_code = 1, vendor_id = 0)
12(4516) ERROR: ims_auth [cxdx_mar.c:151]: async_cdp_callback(): No private identity specified (Authorization: username)
================================================
The above content is found in the log of s-cscf,It seems that the authentication failed.
May I ask how to configure this part, or if this part of the code is deleted, will it affect the subsequent process?

Thank you very much!

发件人: Mojtaba <mespio at gmail.com>
发送时间: 2021年4月8日 15:48
收件人: Daniel-Constantin Mierla <miconda at gmail.com>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
抄送: Dong Ming (董明) <dongming at twsz.com>
主题: Re: [SR-Users] sip registration fail

It seems the issue is related to some default configuration in IMS nodes in(pcscf, icscf and scscf). In pcap file, just pcscf node is appeared.
please send full signaling flow in whole nodes.
Thanks

On Thu, Apr 8, 2021 at 11:06 AM Daniel-Constantin Mierla <miconda at gmail.com<mailto:miconda at gmail.com>> wrote:

Hello,
On 07.04.21 10:40, Dong Ming (董明) wrote:
Hello


I have a problem about volte(401 Unauthorized).



P-CSCF:

4(4467) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
4(4467) INFO: ims_registrar_pcscf [sec_agree.c:296]: cscf_get_security_verify(): No sec urity-verify parameters found



Can you help me see where the problem is?

Tips:About SQN, the SQN is the same at the beginning of the test (Open5GS, FOHSS), but when it is found that the sip registration fails, the SQN is inconsistent. If this situation is normal? If it is not normal, how to solve it?

I am not familiar with the IMS extensions, if nobody else comes with other suggestions, I recommend to set debug=3 in your kamailio configuration file and then look at the syslog, there should be a lot of DEBUG messages that may give more hints about what happens.

Also, when sending Kamailio logs, do not make screen shots, just copy and paste them, it is easier to read as well as search in the source code for them by copy&paste.

Cheers,
Daniel



--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - Online

May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)

  * https://www.asipto.com/sw/kamailio-advanced-training-online/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
--Mojtaba Esfandiari.S
本电子邮件(包括任何的附件)为本公司保密文件。本文件仅仅可为以上指定的收件人或公司使用,如果阁下非电子邮件所指定之收件人,那么阁下对该邮件部分或全部的泄漏、阅览、复印、变更、散布或对邮件内容的使用都是被严格禁止的。如果阁下接收了该错误传送的电子邮件,敬请阁下通过回复该邮件的方式立即通知寄件人,同时删除你所接收到的文本。 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210408/6e381c3b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.zip
Type: application/x-zip-compressed
Size: 580073 bytes
Desc: Log.zip
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210408/6e381c3b/attachment-0001.bin>


More information about the sr-users mailing list