Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sip client register failed #30

Open
lglhust opened this issue Jan 3, 2023 · 8 comments
Open

sip client register failed #30

lglhust opened this issue Jan 3, 2023 · 8 comments

Comments

@lglhust
Copy link

lglhust commented Jan 3, 2023

Hi herlesupreeth:

I have set up volte environment according to docs/tutorial/02-VoLTE-setup/. LTE UE registered to ims successfully, but sip client failed.

The account and password of sip client have been added into kamailio DB by "kamctl add 10000 1234" , and in databases kamailio the user 10000 can be found using "select * from subscriber".

Below is the pcscf log:

2(12688) NOTICE: <script>: PCSCF: REGISTER sip:192.168.13.95 (sip:[email protected] (192.168.13.11:57640) to sip:[email protected], 530a08da613a46708820312c54cecbe2)
2(12688) NOTICE: <script>: PCSCF REGISTER:
Destination URI:
Request URI: sip:192.168.13.95
2(12688) NOTICE: <script>: Source IP and Port: (192.168.13.11:57640)
Route-URI: sip:192.168.13.95;lr
2(12688) NOTICE: <script>: Received IP and Port: (192.168.13.95:5060)
2(12688) NOTICE: <script>: Contact header: "webclient" sip:[email protected]:57640;ob
2(12688) INFO: ims_registrar_pcscf [sec_agree.c:264]: cscf_get_security(): No security parameters found
2(12688) INFO: ims_registrar_pcscf [sec_agree.c:296]: cscf_get_security_verify(): No security-verify parameters found
2(12688) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 1
94(12853) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 7
89(12844) ERROR: <script>: Diameter: AAR failed on subscription to signalling

Pcscf return error: Status-Line: SIP/2.0 403 Can't register to QoS for signalling.

image

I think pcscf may treat the use 10000 as a volte user instead of a sip client user, and interacts with EPC.

How to solve the problem?
Thanks a lot.

@herlesupreeth
Copy link
Owner

Always attach a trace (.pcap), logs does not give much useful information

@lglhust
Copy link
Author

lglhust commented Jan 3, 2023

Here is the packet capture.
Thanks.

register-err.zip

@herlesupreeth
Copy link
Owner

I think pcscf may treat the use 10000 as a volte user instead of a sip client user, and interacts with EPC.

True. You need to disable the following flags in pcscf.cfg file and restart P-CSCF

#!define WITH_RX
#!define WITH_RX_REG
#!define WITH_RX_CALL

@lglhust
Copy link
Author

lglhust commented Jan 3, 2023

If i disable the flags, will the registeration of LTE UE be influenced ?
Doesn't the pcscf.cfg support the call between sip client and LTE UE ?

Thanks.

@herlesupreeth
Copy link
Owner

If i disable the flags, will the registeration of LTE UE be influenced ?

Mostly yes, it all depends on the UE whether its okay with having a call over default bearer or not (most UE are not as it results in lower quality)

Doesn't the pcscf.cfg support the call between sip client and LTE UE ?

No it doesn't. If you want to have perform call between sip client and LTE UE you need to have two instances of PCSCF on with default and another with RX disabled as I mentioned above. And, make sure you connect SIP client only to the one where RX is disabled. I haven't tried this setup so can't say it work or not.

@lglhust
Copy link
Author

lglhust commented Jan 5, 2023

Hi herlesupreeth:
Another question: have you ever tried LTE video call ? I tried voice call switching to video call, but the call cannot continue for a while and will switch to voice again. Then the call will hung up by ims core.
I changed the APN GBR/MBR to 2048 Kbps, it seemed no works, without any improvements.

@herlesupreeth
Copy link
Owner

For Video you need to add another pcc rule in open5gs web ui with qci 2 arp 4 (just the way its done for voice call qci 1 arp 2)

@lglhust
Copy link
Author

lglhust commented Jan 10, 2023

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants