Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12608

Direct call to extension without inbound route

$
0
0

@Just1M wrote:

Hi all,

My company uses FreePBX/Asterisk as its main phone system (Elastix distribution). We recently changed of SIP trunk provider and something doesn't behave like before since the switch from one trunk to the other.
All the employees have a dedicated line number, accessible from external calls and which targets their personal phone extension, the last 4 digits. Each extension is configured in FreePBX to have the right SIP alias defined but no inboud DID is set, nor dedicated inbound route. With our first trunk provider, the SIP alias value was used to "inbound route" calls to the right extension from external calls. When the SIP alias value was emptied, the server terminated the call immediately. With the current provider and the same extension configuration, an external call never reaches the extension (call terminated with an error message), except if I create an inbound route.

I honestly don't want to manage and maintain one inbound route per extension.
As a temporary solution, I have added an inbound route with DID number _17595XXXX with an arbitrary extension destination. Then I have manually edited the file "extensions_additional.conf" to insert the ${EXTEN:-4} instruction:

exten => _17595XXXX,n(dest-ext),Goto(from-did-direct,${EXTEN:-4},1)

Now it works as expected, but each time I modify something from the FreePBX GUI I get all the "inbound calls" broken!

What is the proper way to do what I want? How can I explain that the two trunks don't behave the same? With the first provider we had a router installed in-house (no access to the configuration) that we don't have with the current provider. Is it a clue?
(Please, don't suggest me to build an IVR because that's not what I want.)

Here is the original trunk configuration:

type=peer
t38pt_udptl=yes,redundancy,maxdatagram=200
qualify=yes
insecure=very
host=[*host_ip_address*]
dtmfmode=rfc2833
disallow=all
canreinvite=no
allow=alaw

And the new one:

type=friend
host=[*host_ip_address*]
username=[*user_name*]
secret=[*password*]
insecure=invite,port
qualify=yes
language=fr

Thanks for your precious help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12608

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>