Hi Rafael,

In the NextEPC, there are two ways to specify peers. 'addr' sets the IP address, and 'name' sets the hostname.
So, if your network is configured to look up the VLR as a hostname, you can use 'name'.

'port' was just made for testing. If you want to use a different port without using standard 29118, you can put  'port' number.

By the way, I've changed how to configure CS Fallback & SMS as below.

#  o Single MSC/VLR(127.0.0.2)
    sgsap:
      addr: 127.0.0.2
      map:
        tai:
          plmn_id:
            mcc: 001
            mnc: 01
          tac: 4130
        lai:
          plmn_id:
            mcc: 001
            mnc: 01
          lac: 43690
      map:
        tai:
          plmn_id:
            mcc: 002
            mnc: 02
          tac: 4132
        lai:
          plmn_id:
            mcc: 002
            mnc: 02
          lac: 43692

#  o Multiple MSC/VLR
    sgsap:
      - addr: 127.0.0.2
        port: 29119
        map:
          tai:
            plmn_id:
              mcc: 001
              mnc: 01
            tac: 4131
          lai:
            plmn_id:
              mcc: 001
              mnc: 01
            lac: 43691
        map:
          tai:
            plmn_id:
              mcc: 002
              mnc: 02
            tac: 4132
          lai:
            plmn_id:
              mcc: 002
              mnc: 02
            lac: 43692
      - addr
         - 127.0.0.3
         - fe80::2%lo
        map:
          tai:
            plmn_id:
              mcc: 001
              mnc: 01
            tac: 4132
          lai:
            plmn_id:
              mcc: 002
              mnc: 02
            lac: 43692
      - name: msc.open5gs.org
        map:
          tai:
            plmn_id:
              mcc: 001
              mnc: 01
            tac: 4133
          lai:
            plmn_id:
              mcc: 002
              mnc: 02
            lac: 43693

Thanks a lot!

Best Regards,
    Sukchan




On Sat, Aug 3, 2019 at 6:45 AM Rafael Diniz <rafael@rhizomatica.org> wrote:
Hi all,

Just a small question - what is the meaning of the "name" field in the
sgsap configuration?

Thanks,
Rafael Diniz

On 7/19/19 5:51 PM, Rafael Diniz wrote:
> Obrigado Romeu!
>
> On 7/19/19 4:58 PM, Romeu Medeiros wrote:
>> Hello Rafael
>>
>> I just configure the NextEPC to connect via SGS to OSMO-MSC, like this:
>>
>>     sgsap:
>>         addr: 127.0.0.1
>>         port: 29118
>>         name: vlr.example.net <http://vlr.example.net>
>>         tai:
>>            plmn_id:
>>              mcc: 724
>>              mnc: 21
>>            tac: 12345
>>         lai:
>>            plmn_id:
>>              mcc: 724
>>              mnc: 4
>>            lac: 51544
>>
>> And the configuration in the MSC:
>>
>> sgs
>>  local-port 29118
>>  local-ip 0.0.0.0
>>  vlr-name vlr.example.net <http://vlr.example.net>
>>
>> And configure the IMSI in the Osmo-HLR and NextEPC-HSS
>>
>> If you need more help tell me.
>>
>>
>> Thanks
>>
>> Romeu Medeiros
>>
>>
>> And 
>>
>> On Fri, Jul 19, 2019 at 1:31 PM Rafael Diniz <rafael@rhizomatica.org
>> <mailto:rafael@rhizomatica.org>> wrote:
>>
>>     Hi all,
>>
>>     I'd also like to test SMS and CSFB in LTE. I have some experience with
>>     the Osmocom GSM stack, but not much with the NextEPC LTE. Could you
>>     point me which fields should I set in the configuration files?
>>
>>     Thanks,
>>     Rafael Diniz
>>
>>     On 7/13/19 6:35 PM, Romeu Medeiros wrote:
>>     > Hello Sukchan and friends.
>>     >
>>     > I'm trying to use the CSFB in test lab, and every time that
>>     nextepc send
>>     > the UEContextModificationRequest, the UE respond with an
>>     > UEContextModificationFaliure [ Protocol-cause=semantic-error ].
>>     >
>>     > image.png
>>     >
>>     > I'm looking why I'm getting this. Someone have any idea?
>>     >
>>     > Thanks
>>     >
>>     > Romeu Medeiros
>>     >
>>     > On Thu, Jul 11, 2019 at 12:15 PM Sukchan Lee <acetcom@gmail.com
>>     <mailto:acetcom@gmail.com>
>>     > <mailto:acetcom@gmail.com <mailto:acetcom@gmail.com>>> wrote:
>>     >
>>     >     Dear Osmocom & NextEPC Community,
>>     >
>>     >     Today I've added CS Fallback and released NextEPC v0.5.0
>>     >
>>     >     So, I'd just like to test this part with Osmocom project, but it
>>     >     seems to be a difficult task. The reason is why I have little
>>     >     knowledge about 2G/3G. Nevertheless, I will try to do it
>>     >
>>     >     BTW, I don't know if there is anyone who wants to integrate
>>     this big
>>     >     thing.
>>     >     Even though I'm not sure if this will help, but let me
>>     introduce the
>>     >     configuration of the NextEPC.
>>     >
>>     >     To use SGsAP, change the mme.conf as follows:
>>     >
>>     >     #
>>     >     #  <sgsap>
>>     >     #
>>     >     #  o Single MSC/VLR
>>     >     #    sgsap:
>>     >     #      addr: 127.0.0.2
>>     >     #      plmn_id:
>>     >     #        mcc: 001
>>     >     #        mnc: 01
>>     >     #      tac: 4130
>>     >     #      lac: 43690
>>     >     #
>>     >     #  o Multiple MSC/VLR
>>     >     #    sgsap:
>>     >     #      - addr: 127.0.0.2
>>     >     #        plmn_id:
>>     >     #          mcc: 001
>>     >     #          mnc: 01
>>     >     #        tac: 4131
>>     >     #        lac: 43692
>>     >     #      - addr
>>     >     #         - 127.0.0.3
>>     >     #         - fe80::2%lo0
>>     >     #        plmn_id:
>>     >     #          mcc: 001
>>     >     #          mnc: 01
>>     >     #        tac: 4132
>>     >     #        lac: 43692
>>     >     #      - name: msc.open5gs.org <http://msc.open5gs.org>
>>     <http://msc.open5gs.org>
>>     >     #        plmn_id:
>>     >     #          mcc: 001
>>     >     #          mnc: 01
>>     >     #        tac: 4133
>>     >     #        lac: 43693
>>     >     #
>>     >
>>     >     FYI, I also attach the pcap that I run with nextepc simulator
>>     as below.
>>     >
>>     >     $ ./tests/testcsfb
>>     >     mo-idle-test        : SUCCESS
>>     >     mt-idle-test        : SUCCESS
>>     >     mo-active-test      : SUCCESS
>>     >     mt-active-test      : SUCCESS
>>     >     All tests passed.
>>     >
>>     >     Feel free to raise any questions about this things.
>>     >
>>     >     Best Regards,
>>     >         Sukchan
>>     >
>>
>