https://osmocom.org/https://osmocom.org/favicon.ico?16647414092019-04-16T18:57:02ZOpen Source Mobile CommunicationsOsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=140212019-04-16T18:57:02Zlynxis
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-2 priority-2 priority-default" href="/issues/3920">Support #3920</a>: PCAPs files of 3G PS for Osmocom network and Commercial one</i> added</li></ul> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=140462019-04-18T14:26:17Zefistokl
<ul></ul> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=140872019-04-23T10:54:33Zefistokl
<ul></ul><p>lynxis wrote:</p>
<blockquote>
<p>What should the SGSN answer to GMM Service Request (type=data) when no PDP Context are active?<br />Should it sent GMM Service Reject?</p>
</blockquote>
<p>Yes, GMM Service Reject with cause # 40 (No PDP Context) works fine.</p>
<p>The problem is that sometimes Osmo-SGSN "hard-drops" PDP context - deletes it from itself and from GGSN but it doesn't send Deactivate PDP Context to the phone. So, the phone thinks that the PDP context is still active and doesn't send Activate PDP Context requests to the SGSN. I will post a patch in a moment.</p> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=140972019-04-23T12:33:36Zefistokl
<ul></ul><p>Posted a patch here: <a class="external" href="https://gerrit.osmocom.org/#/c/osmo-sgsn/+/13744/">https://gerrit.osmocom.org/#/c/osmo-sgsn/+/13744/</a></p>
<p>Attaching traces and logs for the patch above.</p>
<p>GTP packets between 2196-2218 are related to "hard-dropping" PDP context.<br />Packet 2311 - Service Reject which forces MS to reset its PDP contexts. (3GPP TS 24.008 Section 4.7.13.4 Service request procedure not accepted by the network. Cause # 40.).</p>
<p>Description:<br />10.0.2.52: femtocell nano3g ip.access S8<br />10.0.2.51: Osmocom network (without HLR and GGSN)<br />10.0.1.123 or 192.168.14.16: GGSN<br />172.48.1.5: HLR</p> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=140982019-04-23T12:36:38Zefistokl
<ul><li><strong>File</strong> <a href="/attachments/3664">sgsn-change-13744.zip</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3664/sgsn-change-13744.zip">sgsn-change-13744.zip</a> added</li></ul> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=141152019-04-24T08:25:29Zlaforge
<ul><li><strong>Tags</strong> set to <i>TTCN3</i></li></ul> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=141402019-04-25T16:21:28Zefistokl
<ul></ul><p><a class="user active" href="https://osmocom.org/users/1741">lynxis</a> may I ask you for a review or your opinion on this solution if you have time for this? <a class="external" href="https://gerrit.osmocom.org/#/c/osmo-sgsn/+/13744/">https://gerrit.osmocom.org/#/c/osmo-sgsn/+/13744/</a></p> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=141422019-04-25T19:49:57Zlynxis
<ul></ul><p><a class="user active" href="https://osmocom.org/users/288667">efistokl</a> thanks for your patch! Comments are in gerrit.</p> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=144162019-05-12T13:14:07Zefistokl
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>lynxis wrote:</p>
<blockquote>
<p><a class="user active" href="https://osmocom.org/users/288667">efistokl</a> thanks for your patch! Comments are in gerrit.</p>
</blockquote>
<p>Shall we mark it as "Resolved"? The patch <a class="external" href="https://gerrit.osmocom.org/#/c/osmo-sgsn/+/13744/">https://gerrit.osmocom.org/#/c/osmo-sgsn/+/13744/</a> is merged.</p> OsmoSGSN - Bug #3937: Iu: verify handling of GMM Service Request (data)when no PDP Context present.https://osmocom.org/issues/3937?journal_id=145432019-05-21T10:28:04Zmanatails
<ul><li><strong>File</strong> <a href="/attachments/3721">before.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3721/before.txt">before.txt</a> added</li><li><strong>File</strong> <a href="/attachments/3722">after.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3722/after.txt">after.txt</a> added</li></ul><p>Some phones like iPhone 4 is unable to open data connection after this patch.</p>
<p>Attached are the logs from osmo-sgsn before and after the patch.</p>