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

Script to route on TGRP integrated with C15 and ClearIP

Go down

Script to route on TGRP integrated with C15 and ClearIP Empty Script to route on TGRP integrated with C15 and ClearIP

Post by NicoleTan Tue Apr 04, 2023 11:57 am

#1 Call from C15: Call will be sent to PBXs or Carriers
  1) 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)
 
  2) 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
  1) 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

  2) 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
Script to route on TGRP integrated with C15 and ClearIP Attachment
Script_TGRP with ClearIP.zip You don't have permission to download attachments.(4 Kb) Downloaded 7 times


Last edited by NicoleTan on Tue Apr 04, 2023 12:01 pm; edited 2 times in total (Reason for editing : Attached the zip file)

NicoleTan

Number of Messages : 18
Point : 38
Registration Date : 2017-11-27

Back to top Go down

Back to top

- Similar topics

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