Author Topic: sip-t and nature of address indicator  (Read 114 times)

kontrol

  • Newbie
  • *
  • Posts: 1
    • View Profile
sip-t and nature of address indicator
« on: July 31, 2017, 03:06:17 AM »
Hello, could You help (I am newbie) with ss7 ?
I need to initiate SIP call, set NAI=subscriber and pass it to operator  via SIP-T.
my regexroute.conf (_ is a erased letter or digit):
.*=;message-prefix=isup.;\
        isup.message-type=IAM;\
        isup.protocol-type=itu-t92+;\
        isup.CallingPartyNumber.nature=subscriber;\
        isup.CalledPartyNumber.nature=subscriber;\
        isup.CallingParty=257_;

^9$=sip/sip:99670671____@19_.21_.23_.6:5070;\
        caller=${isup.CallingPartyNumber};\
        diverter=${isup.RedirectingNumber};\
        nai=${isup.CallingPartyNumber.nature};\
        callername=${device};

debug  output says:
{...}
  param['isup.message-type'] = 'IAM'
  param['isup.protocol-type'] = 'itu-t92+'
  param['isup.CallingPartyNumber.nature'] = 'subscriber'
  param['isup.CalledPartyNumber.nature'] = 'subscriber'
  param['isup.CallingParty'] = '257_'
{...}

But Wireshark says (see attached file) in ISDN User Part of this called party has NAI=2 (unknown (national use)) and calling party has no NAI.

As far as  i  understand SS7 - Cg and Cd NAI must be equal to 1

Am i wrong ? If no - how to set NAI=subscriber