Easy way to add subscribers to hss without node.js / web UI

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/nextepc@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Fri Jul 12 03:31:59 UTC 2019


Hi!

it seems I found a way to do it: Insert a json document looking like the
attachment using mongoimport like this:

	mongoimport -d nextepc -c subscribers ./subscriber_imsi1.json

It may not be elegant, but it works for now, I'm getting a NAS AuthReq
in response to an AttachReq in my test case now, after the subscriber
was created with above command.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subscriber_imsi1.json
Type: application/json
Size: 1220 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20190712/47239ad2/attachment.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190712-attach-auth_req.pcap
Type: application/vnd.tcpdump.pcap
Size: 544 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20190712/47239ad2/attachment.bin>


More information about the nextepc mailing list