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

voice call is not connecting with the latest version #281

Open
ghost opened this issue Feb 7, 2024 · 10 comments
Open

voice call is not connecting with the latest version #281

ghost opened this issue Feb 7, 2024 · 10 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2024

i have attached two samsung mobiles and able to see volte in both of them. SMS services are also working fine. But when I tried to attempt a voice call, it is showing as call ended. this is the log. the same log is coming again and again. in wireshark also, i dont see any sip or rtp messages while attempting to call.
rtpengine has error on binding fd 10 to port 2225.

scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2071]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_auth [authorize.c:187]: reg_await_timer(): Looking for expired/useless at 73147135
scscf | 5(43) DEBUG: ims_auth [authorize.c:241]: reg_await_timer(): [DONE] Looking for expired/useless at 73147135
rtpengine | [1707289144.721627] ERR: [http] libwebsockets: ERROR on binding fd 10 to port 2225 (-1 99)
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2060]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_dialog [dlg_handlers.c:2061]: print_all_dlgs(): printing 4096 dialogs
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2071]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_auth [authorize.c:187]: reg_await_timer(): Looking for expired/useless at 73147145
scscf | 5(43) DEBUG: ims_auth [authorize.c:241]: reg_await_timer(): [DONE] Looking for expired/useless at 73147145
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2060]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_dialog [dlg_handlers.c:2061]: print_all_dlgs(): printing 4096 dialogs
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2071]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_auth [authorize.c:187]: reg_await_timer(): Looking for expired/useless at 73147155
scscf | 5(43) DEBUG: ims_auth [authorize.c:241]: reg_await_timer(): [DONE] Looking for expired/useless at 73147155
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2060]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_dialog [dlg_handlers.c:2061]: print_all_dlgs(): printing 4096 dialogs
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2071]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_auth [authorize.c:187]: reg_await_timer(): Looking for expired/useless at 73147165
scscf | 5(43) DEBUG: ims_auth [authorize.c:241]: reg_await_timer(): [DONE] Looking for expired/useless at 73147165
rtpengine | [1707289174.722674] ERR: [http] libwebsockets: ERROR on binding fd 10 to port 2225 (-1 99)
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2060]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_dialog [dlg_handlers.c:2061]: print_all_dlgs(): printing 4096 dialogs
scscf | 5(43) DEBUG: ims_dialog [dlg_handlers.c:2071]: print_all_dlgs(): ******************** 5(43) DEBUG: ims_auth [authorize.c:187]: reg_await_timer(): Looking for expired/useless at 73147175
scscf | 5(43) DEBUG: ims_auth [authorize.c:241]: reg_await_timer(): [DONE] Looking for expired/useless at 73147175

@herlesupreeth kindly check once

@herlesupreeth
Copy link
Owner

Please post a tcpdump trace for the calling scenario in order to debug.

@herlesupreeth
Copy link
Owner

herlesupreeth commented Feb 7, 2024

image

Please dont add + (a plus) before the number when attempting to place a call. Also, you are attempting a 5G call which as I mentioned before in other issues it may or may not work since there is no way to provision QoS (absence of N5 interface between P-CSCF and PCF) for 5G call.

@abcd11abcd
Copy link

this voice call working perfectly fine with the open5gs and kamailio ims on baremetal setup from this link. https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/.
only dockerized setup has the problem. same UE i'm using for both the cases. i tried removing + from the number and tried multiple ways. any solutions? @herlesupreeth

@herlesupreeth
Copy link
Owner

If the voice call worked perfectly fine with baremetal setup then it should works with dockerized one as well since there is practically no difference at all. Can you send me a trace of the call working on your bare metal setup using the same two phones?

@abcd11abcd
Copy link

abcd11abcd commented Feb 14, 2024

sorry for the late reply. I have been trying to resolve this issue. I found that there is no NOTIFY message to the ue after registering to the ims network. And call also not happening. one more thing is, we observed that the sms is also not working if we try to send after making a call(anyway call is not success). im using two samsung phones.
im attaching the pcaps. kindly check @herlesupreeth

pcaps.zip

sip 100 try and 180 ringing messages are not there. Is this due to the absence of NOTIFY message?

When I'm debugging the logs, i suspect that scscf is not able to contact the ipsec ports of pcscf. For example, 6103 and 6101. @herlesupreeth kindly check

@herlesupreeth
Copy link
Owner

I dont see any traffic related to call. Please send pcap without any filters

@abcd11abcd
Copy link

abcd11abcd commented Feb 15, 2024

Before calling only, the notify message has to go from scscf to pcscf and then to ue right?
Means the ue is not subscribed to use call services (ue sends subscribe request. But not receiving response). So call related sip packets are not flowing. It may be because of the scscf is not able to communicate to pcscf.
Is this procedure correct?

@herlesupreeth
Copy link
Owner

In order for that to happen UE needs to send SUBSCRIBE SIP message first

@abcd11abcd
Copy link

Ue is sending the subscribe sip. But the reply from scscf is not coming. Scscf is not responding to any messages from pcscf after attaching. It is unable access some ports of pcscf. That's what happening in the above wireshark logs also right? Can you check all these configurations are properly set in sip servers?

@herlesupreeth
Copy link
Owner

I dont see any SUBSCRIBE SIP message in your latest pcap. Please take a fresh trace for IMS registration

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