FreePBX 15 Anveo Direct failing: Call rejected because extension not found in context

As in the title, when I try to make a call to my Anveo number, the call fails:

Call from <ANVEO-SUB-ACCOUNT> 67.212.84.21:XXXX to extension <CID> rejected because extension not found in context from-anveo

I’m running FreePBX 15.0.17.9, Asterisk 16.15.1, PBX Distro 12.7.8-2012-1-sng7. All modules are up to date.

Trunk Name:
SIP Settings:
Outgoing
Trunk Name:from-anveo
PEER Details:
username=<ANVEO-SUB-ACCOUNT>
type=friend
secret=<SIP SECRET>
port=5010
insecure=port,invite
host=sip.ca.anveo.com
disallow=all
context=from-anveo
allow=ulaw

Incoming
USER context:<BLANK>
USER details:<BLANK>
Register string:<ANVEO-SUB-ACCOUNT>:<SIP SECRET>@sip.ca.anveo.com:XXXX/<CID>

The Anveo.com dashboard shows this sub account as registered (i.e., green).

<CID> needs to exist in your inbound route

@dicko Thanks for your speedy reply. In addition to one Anveo DID, I have two VoIP.ms DIDs. Suppose we say the Anveo DID is 604-999-1111, and the two VoIP.ms DIDs are 604-999-1112 and 604-999-1113. FYI, I can make calls to the two VoIP DIDs without any problems.

Until a few minutes ago the Inbound Routes Table looked like this:
DID CID Description Destination
6049991111 Any Incoming-604-999-1111 Extensions:1001
6049991112 Any Incoming-604-999-1112 Extensions:1002
6049991113 Any Incoming-604-999-1113 Extensions:1003

The error message I received was
Call from <ANVEO-SUB-ACCOUNT> 67.212.84.21:XXXX to extension <6049991111> rejected because extension not found in context from-anveo

Now, after reading your suggestion, I added a line to Inbound Routes as follows:
DID CID Description Destination
Any 6049991111 from-anveo Extensions:1001
6049991111 Any Incoming-604-999-1111 Extensions:1001
6049991112 Any Incoming-604-999-1112 Extensions:1002
6049991113 Any Incoming-604-999-1113 Extensions:1003

I’m still getting the identical error message:The error message I received was
Call from <ANVEO-SUB-ACCOUNT> 67.212.84.21:XXXX to extension <6049991111> rejected because extension not found in context from-anveo

Without knowing what your from-anveo context actually is, I have no comment.

@dicko Problem solved. In PEER Details I changed “context:from-anveo” to “context:from-trunk” and calls are going through now when I call the Anveo DID. context:from-trunk is the entry that works for the VoIP.ms DIDs.

FYI, I had used “context:from-anveo” because that is what the Anveo web page recommended for “Asterisk”.

In any case, thanks for your help. You’ve helped me more than once and it’s appreciated.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.