#1 Call from C15: Call will be sent to PBXs or Carriers
- Call to PBX
- Get the tgpr from the request-uri
- Use this tgrp to match the destination nap
- Check the destination NAP has send_clearip_flag=NO
- Create the route to destination NAP (PBX)
- Call sent to the destination NAP (PBX)
- Call to Carrier — requires to do Stir/Shaken signing
- Get the tgpr from the request-uri
- Use this tgrp to match the destination nap
- Check the destination NAP has send_clearip_flag=YES
- Reserver the send_clearip_flag as params[:user_context][:send_clearip_flag_out]
- Reserver the desitnation nap name as params[:user_context][:dest_nap]
- Call send to ClearIP
- ClearIP returns 302 with Identity header
- Check params[:user_context][:send_clearip_flag_out] = YES
- Create the route to params[:user_context][:dest_nap]
- Call sent to params[:user_context][:dest_nap] (Carrier) with identity
#2 Call from PBX or the Carriers: Call shall be sent to C15 with tgrp value in the request-uri
- Call from PBX
- Get the tgpr from Naps column by the incoming NAP name
- Check the incoming NAP has send_clearip_flag=NO
- Send the call to C15 by static route with tgpr value in the request-uri
- Call from Carrier — requires to do Stir/Shaken signing
- Get the tgpr from Naps column by the incoming NAP name
- Check the incoming NAP has send_clearip_flag=YES
- Reserver the send_clearip_flag as params[:user_context][:send_clearip_flag_in]
- Send the call to ClearIP
- ClearIP returns 302 with Identity header
- Check params[:user_context][:send_clearip_flag_in] = YES
- Send the call to C15 by static route with tgpr value in the request-uri, and the Identity from 302
Attachments