Giter VIP home page Giter VIP logo

Comments (12)

NUCLEAR-WAR avatar NUCLEAR-WAR commented on June 16, 2024 1

Hi @herlesupreeth

with the new Fix from Sukchan, the flood of Error Indication, also almost stopped, the rest I think is on SRS eNB, it should react on this Error Indicator, after the session closed the Device still sends Traffic over the Tunnel after tear down, to my knowledge eNB should release the E-RAB, instead it throw an error in Log about Unhandled GTP-U Extension Header.

I still have an issue when the device wake up and try to make a call, the MME is not responding to "Create Bearer Request", I will open an new issue for it, you can close this issue.
The Problem with IPhone is that it does not like the Mode-set and prefer to have one, I need to find a way to solve it, or to leave all MRF Tasks to Asterisk.

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

@NUCLEAR-WAR

but if I tried to call FS

you mean call from UE to FS?

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

I had a look into pcap, it looks like an issue in open5gs. Can you try using the latest open5gs commits by modifying the commits hash here

git checkout 322719f3e729aafacf531e85552d7a977fff3e2a && meson build --prefix=`pwd`/install && \
and recompile the base image?

btw, awesome work making use of FS as TAS :)

from docker_open5gs.

NUCLEAR-WAR avatar NUCLEAR-WAR commented on June 16, 2024

Hi herlesupreeth,

still crashing, here is the logs again.

mme.log
pcrf.log
sgwc.log
sgwu.log
smf.log
upf.log
TRACE.zip

I use now FS as TAS and Asterisk as Voicemail and IBCF utilizing ENUM to route the calls to IBCF, it was quit a journey, still have issues with RTPs, RTPs flowing from UE directly from IP Addrese of the UE to FS was expecting from UE to RTPEngine then to FS

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

I think its an issue in open5gs and would suggest to raise an issue in open5gs repo. Below is my breakdown of the scenario based on the pcap:

  1. packet 3425 Create Bearer Request is sent for VoLTE voice call
  2. packet 3433 Activate dedicated EPS bearer context request is sent to UE
  3. packet 3468 eNB replies E-RABSetupResponse saying the bearer was setup successfully (still UE hasnt replies it bearer creation was successful or not)
  4. packet 3588 UE is sending BYE SIP message saying "SIP;cause=200;text="Received reject SDP". This triggers deletion of bearer
  5. NOTE: At this point Create Bearer Response is not yet received (received in packet 3674)
  6. packet 3634 Delete Bearer Request is sent

I think not having received Create Bearer Response before receiving Delete Bearer Request is causing SGW-C to crash.

Regarding the RTP issue you can take a look at this comment - #142 (comment)

from docker_open5gs.

NUCLEAR-WAR avatar NUCLEAR-WAR commented on June 16, 2024

I will open an issue in Open5GS.

I dont know why the Iphone is rejecting the SDP with BYE, is it because there is not Bearer Response?

In the meantime the change in that comment solve the issue to all calls towards AS and term_unreg to Voicemail !! many thanks, the change could be more improved to be not only based on the User-Agent but for the time being it solve a big issue.

I see there is almost not guide on how to integrate FS and Asterisk as MTAS, I may write one when every things is stable is not so hard actually.

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

I dont know why the Iphone is rejecting the SDP with BYE, is it because there is not Bearer Response?

It could be that it not receiving sendrecv as part of SDP for INVITE

you could use this commits changes - b14eecb as reference to alter the SDP parameters

In the meantime the change in that comment solve the issue to all calls towards AS and term_unreg to Voicemail !! many thanks, the change could be more improved to be not only based on the User-Agent but for the time being it solve a big issue.

Thanks for confirming it :). I have very less knowledge of working with AS so havent managed to come up with a generic solution

I see there is almost not guide on how to integrate FS and Asterisk as MTAS, I may write one when every things is stable is not so hard actually.

Looking forward to it

from docker_open5gs.

NUCLEAR-WAR avatar NUCLEAR-WAR commented on June 16, 2024

I opened Issue#3109 regarding the SWGC, Hope get a solution for it.

I looked at the commit above its looks like its already there and doing his job maybe the IPhone is just dropping the call because there is no Bearer Response, Apple devices are know to be weird with there errors ;( I will try to connect it to a console
I tried the case with OnePlus 9 Pro there is no BYE but the SGWC is still crashing

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

I looked at the commit above its looks like its already there and doing his job

Notice that the changes in that commit is checking whether a line in SDP with a=inactive exists and only if it exists then modifies it.
I would suggest you do the modification in FS to send 200 OK for INVITE with SDP containing a=sendrecv

IPhone is just dropping the call because there is no Bearer Response

I dont think so since all iPhone cares is whether it received Activate dedicated EPS bearer context request or not

I tried the case with OnePlus 9 Pro there is no BYE but the SGWC is still crashing

Can you post the pcap for this?

from docker_open5gs.

NUCLEAR-WAR avatar NUCLEAR-WAR commented on June 16, 2024

@herlesupreeth I noticed that with OnePlus the SGWC is not crashing here the Request is sent to MME, and the MME is not responding to this request, there is also working cases in the trace also.
mme.log
pcrf.log
sgwc.log
sgwu.log
smf.log
upf.log
good_and_bad_cases_f.zip

Regarding IPhone, those devices are really strange they have a SIP Stack called "Bambi" act really sometimes weird and its very sensitive and always has issues with payload types we had to implements workarounds sometimes on our P-CSCFs to cover there issues ;(.
I recorded the logs from the console and the IPhone is complaining about missing Audio Settings:

Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [sdp.session]: Missing audio settings!
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: SipStack 018C044B-73C3-4458-A4BE-45ED279B6E89 [BambiCall 1cfYz1n4NJhmGmCa5XVkAlf4]: received rejection answer:
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: SipStack 018C044B-73C3-4458-A4BE-45ED279B6E89 [BambiCall 1cfYz1n4NJhmGmCa5XVkAlf4]: v=0
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: o=FreeSWITCH 1712280579 1712280580 IN IP4 172.22.0.16
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: s=FreeSWITCH
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: c=IN IP4 172.22.0.16
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: t=0 0
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=rtpengine:d3deba85bf1d
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: m=audio 49458 RTP/AVP 99 105
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=rtpmap:99 AMR-WB/16000
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=fmtp:99 octet-align=0; mode-set=0,1,2,5,7
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=rtpmap:105 telephone-event/16000
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=fmtp:105 0-15
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=silenceSupp:off - - - -
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=sendrecv
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=rtcp:49459
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]: a=ptime:20
Apr 5 12:00:33 iPhone CommCenter(libIPTelephony.dylib)[90] : E [bambi.call]:

not sure if he is expecting the RS/RR/AS, here is a working case between two devices over FS :
VoLTE Call RTPs filteredOut.zip

from docker_open5gs.

NUCLEAR-WAR avatar NUCLEAR-WAR commented on June 16, 2024

also related to a=sendrecv, the attribute is there looks like the P-CSCF is adding it on the Way to the UE

from docker_open5gs.

herlesupreeth avatar herlesupreeth commented on June 16, 2024

Thanks for the update

from docker_open5gs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.