Thank you for your reply

 

It's the first time to learn ims, I am very sorry for lack of knowledge and inaccurate description of this problem.

I sincerely hope that you can give me some advice how to deal with this problem.

thank you

 

发件人: Mojtaba <mespio@gmail.com>
发送时间: 202148 17:02
收件人: Dong Ming (董明) <dongming@twsz.com>
抄送: Daniel-Constantin Mierla <miconda@gmail.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
主题: Re: [SR-Users] sip registration fail

 

Just be notic, being behind nat, cause your request to pcscf is rejected and the same issue (No private identity specified) is appeared in lon info.

The public identity (IMPU) and private identity (IMPI) are created with the same pattern by default as shown in your attachment, but the title of the issue is confusing.

 

 

On Thu, Apr 8, 2021 at 1:08 PM Dong Ming (董明) <dongming@twsz.com> wrote:

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@ims.mnc001.mcc460.3gppnetwork.org]

12(4516) DEBUG: <core> [core/parser/msg_parser.c:174]: get_hdr_field(): to body [<sip:460010000000001@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@gmail.com>
发送时间: 202148 15:48
收件人: Daniel-Constantin Mierla <miconda@gmail.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
抄送: Dong Ming (董明) <dongming@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@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

TipsAbout 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
www.twitter.com/miconda -- 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@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.



--

--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.