Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

NetNumber SAPI Script

Go down

NetNumber SAPI Script Empty NetNumber SAPI Script

Post by Admin Mon Dec 18, 2023 11:53 am

This  script sends a signingRequest including the following to the SHAKEN Signing Service:
 1. The “orig” parameter is populated using the PAI field if present, otherwise using the From header field in the SIP Invite.
 2. The “dest” parameter is populated using the To header field in the SIP Invite.
 3. The “iat” parameter is populated using the “Date” header field in the SIP Invite. If there is no “Date” header field in the SIP Invite, a Date header field is added to the SIP INVITE.
 4. The “origid” parameter is determined as described in ATIS-1000074 for the “origid” field in the PASSporT.
 5. The “attest” parameter is determined as described in ATIS-1000074 for the “attest” field in the PASSporT.
 6. The signingRequest is then sent to the SHAKEN Signing Service.
 7. Service return identity info for the call
 8. Generating a new header before sending the call
      Identity :<received identity information>

 Publish raw SIP to Routing Script parameter must be enabled under the SIP Stack -> Quirks to generate iat parameter

Global options for this filter script:
  :netnumber_signing_url             A full URL to the NetNumber server. ex: https://gc-trial.netnumbercloud.com/sti-asvs/stir/v1/signing
  :authorization                     An Authentication string gived by NetNumber

How to use
edit main script in 3 places:
  require 'netnumber_sapi'

 include NetNumberSapi
 
  before_filter :method => :netnumber_vapi,
:netnumber_verification_url => :"https://gc-trial.netnumbercloud.com/sti-asvs/stir/v1/signing",
                :authorization => :"abc-1234"
Attachments
NetNumber SAPI Script Attachment
netnumber_sapi.zip You don't have permission to download attachments.(2 Kb) Downloaded 4 times

Admin
Admin

Number of Messages : 516
Point : 1211
Registration Date : 2017-11-27

http://freesbc.yetkinforum.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum