Outbound Rule not working

Status
Not open for further replies.

SonnyH

Free User
Joined
Mar 4, 2021
Messages
32
Reaction score
3
I have a SIP (HH) that uses 4 digit number to dial into an Asterisk system.
I setup a simple rule, calls to number with 4 digits route to the HH SIP.
I get an "Unavailable" or not found error.

But if i dial the 4 digit number and hit the HH Line key it works.

Any thoughts?
 
Is the rule at the top of outbound rules, as rules are processed from the top down.

What length are you 3CX extensions ?
 
Did you check the 3CX Activity Log, and compare a working, and failed call, for differences? That should provide a clue as to what is happening on the failed call. If one call uses the correct rule, then I'd first suspect that the same number is not being sent in each case.

Do you use a routing prefix, or, as suggested, could there be a conflict with other system numbers?
 
The call log shows not answered.
I have tried using an 85000 and stripping the 8, but does the same thing.
All I want to do is if I dial 5000 it will go out through the HH SIP
 
Does the Activity Log show the failed call reaching the trunk? If not, what does it show for an error? Are the numbers, sent by the set, for working and non-working calls, the same?
 
In addition to checking the Activity log, what do you mean exactly by "...if i dial the 4 digit number and hit the HH Line key it works."

Also, what happens if you do the following:

• Create an Outbound Rule with prefix set to: 0-9
• Remove any extension, extension groups or digit length conditions.
• Set the first Route to be the "HH SIP Trunk". Do not strip or prepend anything.
• Move the Outbound Rule to the very top of the list of Outbound Rules.

Make the call to 5000, does it work? If not, check the Activity log as suggested earlier.
 
Hi,
If I dial 5000 and hit the HH Line key the call goes through.
The "Dial 4" rule is first.
I have tried your suggestion. Get call not answered in the call log.
Nothing I have tried works and get the same call log entry.
I notice that the main trunk, regular local US number format, will blink momentarily when enter the 4 digit number and hit dial
 
The log I'm referring to is the Activity Log in Dashboard as @leejor mentioned, not the Call log. Do you get anything there after the call fails? Also, I'm not sure I understood what you mean by HH Line key, what is that exactly? Is it a key on the IP Phone from where you are dialing, please clarify.

Also, what do you mean "main trunk will blink momentarily" where do you see this?
 
  • Like
Reactions: leejor
Hi,
Finally got around to checking.
This what I receive when I dial the 4 digit number:
03/13/2021 11:24:40 AM - Call to T:Line:10001>>5265@[Dev:sip:10001@********.net] from L:58.1[Extn:746] failed, cause: Cause: 401 Unauthorized/INVITE from ***.***.54.216:5060

Not sure where the 401 Unauthorized/INVITE from ***.***.54.216:5060 error is originating from
 
It is originating from the IP specified at the end of the error message, if that IP is not your Asterisk System, try to determine which SIP Trunk it belongs to so that you can then hopefully identify which Outbound Rule is being matched and then adjust appropriately.
 
Status
Not open for further replies.