Mandatory info element invalid

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

anish achenkunju anish_achenkunju at yahoo.com
Tue Oct 11 08:08:50 UTC 2011


Hi All,

Finally I got the setup up and running using Openggsn 0.84, seems like there is a bug in version 0.91 which was causing the earlier reported issue.

I've sgsnemu sending packets to Cisco 7200 gprs code emulated on dynmips now which inturn is configured to authenticate via FreeRadius. Everything works now, i'm able to get sgnsemu send packets with username password for the apn to get it authenticated via AAA.

My next challenge are:
1. To get sgsnemu read configuration file. Can anyone help me with a sample to do this, would like to see a configuration file where i can have multiple packets with different apn, qos ,imsi being sent out with having to manually type via cli. At this point , i see that there is a limitation of binding only one sgsnemu instance to local interface, is there a way to have multiple instances running?

2. Also would want to setup charging gateway if possible, i couldnt find a live download link to open charging gateway . 

Would greatly appreciate any inputs on the same.

Thank you,
Anish


________________________________
From: anish achenkunju <anish_achenkunju at yahoo.com>
To: "openbsc at lists.osmocom.org" <openbsc at lists.osmocom.org>
Sent: Wednesday, September 21, 2011 4:57 PM
Subject: Fw: Mandatory info element invalid


 
Dear All,
 
I'm using sgsnemu of openggsn 0.91 to send traffic to Cisco 7200 GGSN code running on dynamips. 
 
[root at localhost ~]# sgsnemu -l 3.3.3.3 -r 3.3.3.1
Using default DNS server
Local IP address is:   3.3.3.3 (3.3.3.3)
Remote IP address is:  3.3.3.1 (3.3.3.1)
IMSI is:               240010123456789 (0xf987654321010042)
Using NSAPI:           0
Using GTP version:     1
Using APN:             internet
Using selection mode:  1
Using MSISDN:          46702123456
Initialising GTP library
openggsn[24632]: GTP: gtp_newgsn() started
Done initialising GTP library
Sending off echo request
Setting up PDP context #0
Waiting for response from ggsn........

 
 
I'm getting the following error on GGSN:
 
*Sep 19 20:45:35.487: %GTP-2-PDPACTIVATIONFAIL: GTP PDP activation/update failed, GSN: 0.0.0.0, TID: 00, Reason: Mandatory info element invalid
*Sep 19 20:45:35.491: %GTP-0-GTPv1PACKETPARSINGERROR: GSN: 3.3.3.1, TEID: 1, APN: NULL, Reason: Mandatory ie incorrect Mandatory info element invalid

And the following cause value on sgsnemu:
 
Received echo response
Received create PDP context response. Cause value: 201

 
Seems like the GSN adddr 0.0.0.0 ,TID: 00 generated by sgsnemu are invalid.  Looking forward for a workaround fix to help me move forward, any help is greatly appreciated. 
 
Thank you in advance,
Anish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20111011/b02cda13/attachment.htm>


More information about the OpenBSC mailing list