I am trying to dive into things I am not quite comfortable with as my disclaimer. Avaya Aura/CM 6.3
So, I know there is SigMa Scripting, ARS Digit Conversion, and UDP, etc. Some of the customers/locations we call do not accept our SIP Diversion header so obviously inbound/outbound is a failure in some way. Trying to get a location or their provider to work together to fix this is like pulling teeth on a unicorn. What I am trying to figure out is, what is the best way to strip the area code from the number so if one of our customers dials the number it goes out like a local call.
-- In ARS Digit Conversion what I am thinking I would have to do is :
Matching Pattern Min/Max Del Replacement String Net Conv
3 Digit Area Code 3/3 3 Blank ARS Y
If I am understanding that it will strip off 850 when it is dialed leaving the 7 digits, correct?
-- I also attempted to write into the manipulation section on SBCE with
/*To remove the Diversion Header from XXX-XXX-XXXX Area Code For ------*/
within session "INVITE"
{
act on request where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
if (%HEADERS["TO"][1].URI.USER.regex_match("1XXXXXXXXXX(.*)")) then
{
remove(%HEADERS["Diversion"][1]);
}
}
}
So, I know there is SigMa Scripting, ARS Digit Conversion, and UDP, etc. Some of the customers/locations we call do not accept our SIP Diversion header so obviously inbound/outbound is a failure in some way. Trying to get a location or their provider to work together to fix this is like pulling teeth on a unicorn. What I am trying to figure out is, what is the best way to strip the area code from the number so if one of our customers dials the number it goes out like a local call.
-- In ARS Digit Conversion what I am thinking I would have to do is :
Matching Pattern Min/Max Del Replacement String Net Conv
3 Digit Area Code 3/3 3 Blank ARS Y
If I am understanding that it will strip off 850 when it is dialed leaving the 7 digits, correct?
-- I also attempted to write into the manipulation section on SBCE with
/*To remove the Diversion Header from XXX-XXX-XXXX Area Code For ------*/
within session "INVITE"
{
act on request where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
if (%HEADERS["TO"][1].URI.USER.regex_match("1XXXXXXXXXX(.*)")) then
{
remove(%HEADERS["Diversion"][1]);
}
}
}