Create callback table for emergency calls
Page 1 of 1
Create callback table for emergency calls
Requirements:
If the To: "Number" = 911 or 933 then
A) Use From: "calling" and From: "calling_sip_host" to lookup geoheader
B) Insert geoheader into SIP Invite
C) Use geolocation field to look up matching record in AEUI table, change extasgn1 to be calling (extension)
D) Replace From: calling to use aeui1 or Insert aeui1 into P-Asserted Identity Field
E) Route call to Bandwidth SBCs - NAP
If extension and or ipaddress is not found, then reject the call with a 4xx response (:call_rejected is 403)
If the To: "Number" is not 911 or 933 then
A) Use To: "number" to look up callbacknum1 to lookup geolocation in AEUI table
If extasgn1 is > than 1 then use extasgn1 as extension & lookup geolocation in the Geolocation Table to find the value of the ipaddress
If extasgn1 is null then use callbacknum1 as extension & lookup geolocation in the Geolocation Table to find value of the ipaddress
C) Use extension & ipaddress to change the To: Header to call extension via direct peer (xbind in case of a hangup)
D) Route call to extension@ipaddress
if the callback number is not found in the temporary table, have another routine that looks up the callback in the aeui_table and pull the default number (to be used as the To:) and use the geolocation value to index to the first matching in the geolocation_table, retrieving the IP address to be used in the To: header or building a NAP on the fly.
Need to clear extasgn1 field after 1 hour (configurable) starting when a field is assigned. This timer is a variable in seconds.
If the To: "Number" = 911 or 933 then
A) Use From: "calling" and From: "calling_sip_host" to lookup geoheader
B) Insert geoheader into SIP Invite
C) Use geolocation field to look up matching record in AEUI table, change extasgn1 to be calling (extension)
D) Replace From: calling to use aeui1 or Insert aeui1 into P-Asserted Identity Field
E) Route call to Bandwidth SBCs - NAP
If extension and or ipaddress is not found, then reject the call with a 4xx response (:call_rejected is 403)
If the To: "Number" is not 911 or 933 then
A) Use To: "number" to look up callbacknum1 to lookup geolocation in AEUI table
If extasgn1 is > than 1 then use extasgn1 as extension & lookup geolocation in the Geolocation Table to find the value of the ipaddress
If extasgn1 is null then use callbacknum1 as extension & lookup geolocation in the Geolocation Table to find value of the ipaddress
C) Use extension & ipaddress to change the To: Header to call extension via direct peer (xbind in case of a hangup)
D) Route call to extension@ipaddress
if the callback number is not found in the temporary table, have another routine that looks up the callback in the aeui_table and pull the default number (to be used as the To:) and use the geolocation value to index to the first matching in the geolocation_table, retrieving the IP address to be used in the To: header or building a NAP on the fly.
Need to clear extasgn1 field after 1 hour (configurable) starting when a field is assigned. This timer is a variable in seconds.
- Attachments
lmorissette- Number of Messages : 45
Point : 89
Registration Date : 2017-11-27
Similar topics
» How about calls originated outside NorthAmerica? (these countries won´t follow this STIR/SHAKEN protocol) Are these calls all be treated as "possible spoofed CLI" calls?
» Inbound calls are working but outbound calls are failing for SIP Trunk
» how will this implement calling card calls and other calls that have a dial in number?
» How do you trap calls on SIP trunks - TDM is easy to do and provide from the carrier - What about SIP threats - like bomb threats, harrassing calls
» Are Service Provider still having issues with Codec Mismatch? i.e. Company A is using G.711 calls Company B using G.729 - Company B only accept G.729 calls only, are Service Provider have capability to match the codecs?
» Inbound calls are working but outbound calls are failing for SIP Trunk
» how will this implement calling card calls and other calls that have a dial in number?
» How do you trap calls on SIP trunks - TDM is easy to do and provide from the carrier - What about SIP threats - like bomb threats, harrassing calls
» Are Service Provider still having issues with Codec Mismatch? i.e. Company A is using G.711 calls Company B using G.729 - Company B only accept G.729 calls only, are Service Provider have capability to match the codecs?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum