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

NOA on Calling Number

Go down

NOA on Calling Number Empty NOA on Calling Number

Post by ahsanul.moyeen Thu Feb 18, 2021 8:17 am

Hi,

One of the customers is bringing up a new ISDN group that requires the NOA on the calling number to be set to international. Under ISUP this can be set under the userpart, but I do not see a similar way to do this with ISDN. I, also, do not see any way to set this under the profiles.

Can you point me to the best method to set the NOA on the calling number based on the NAP the call is being routed to?

Note: The ingress side of the call is using SIP and we already have a custom script to set the Called Party NOA based on the P-tb-ps-noa header passed in the SIP INVITE method.


Thanks


Last edited by ahsanul.moyeen on Thu Feb 18, 2021 11:03 am; edited 1 time in total

ahsanul.moyeen

Number of Messages : 153
Point : 311
Registration Date : 2020-11-24

Back to top Go down

NOA on Calling Number Empty Re: NOA on Calling Number

Post by ahsanul.moyeen Thu Feb 18, 2021 8:19 am

Hi,

The best way to configure the NOA will be to set it in the routes.
Add column, e.g.
calling_noa
called_noa

then you can set whatever value of the NOA you want in the Routes.

Then add these lines to your existing script:
   call_params[:called_noa] = route[:called_noa]
   call_params[:calling_noa] = route[:calling_noa]


The full script would look like:

route_remap :method => :flexible_noa_remap
 def flexible_noa_remap( route, nap_list, call_params )
   #remapped_fields = {}
   
   #Take the valued from the colums in the routes
   #remapped_fields[:calling_noa] = route[:calling_noa]
   #remapped_fields[:calling_npi] = route[:calling_npi]
   call_params[:called_noa] = route[:called_noa]
   call_params[:calling_noa] = route[:calling_noa]
   #call_params[:calling_screening] = route [:calling_screening]
  # call_params[:calling_subscriber_screening] = [:generic_screening]
   
   call_params

 end

support@telcobridges.com will help you if you are not sure how to add them in your existing routing script.

The below TBwiki link is helpful:

https://docs.telcobridges.com/tbwiki/Enable_Flexible_NOA_Routing_Script_B


Last edited by ahsanul.moyeen on Mon Feb 22, 2021 5:49 am; edited 2 times in total

ahsanul.moyeen

Number of Messages : 153
Point : 311
Registration Date : 2020-11-24

Back to top Go down

NOA on Calling Number Empty Re: NOA on Calling Number

Post by ahsanul.moyeen Thu Feb 18, 2021 8:20 am

Hi,

One quick question on this method. What will the Calling NOA be set to if the route[:calling_noa] is blank? Will this default to national or the value on the ISUP userpart?

Thanks

ahsanul.moyeen

Number of Messages : 153
Point : 311
Registration Date : 2020-11-24

Back to top Go down

NOA on Calling Number Empty Re: NOA on Calling Number

Post by ahsanul.moyeen Thu Feb 18, 2021 8:21 am

Hi,

Good question.

So maybe add this condition:


 def flexible_noa_remap( route, nap_list, call_params )
call_params[:calling_noa] = :national_number (you can change to whatever default NOA you want)
call_params[:called_noa] = :national_number  (you can change to whatever default NOA you want)

   if route[:called_noa]&& !( route[:called_noa].nil?)
call_params[:called_noa] = route[:called_noa]
end

    if route[:calling_noa]&& !( route[:calling_noa].nil?)
 call_params[:calling_noa] = route[:calling_noa]
end
   
   call_params

 end

ahsanul.moyeen

Number of Messages : 153
Point : 311
Registration Date : 2020-11-24

Back to top Go down

Back to top


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