I have free pbx installed with pjsip sip trunk.
Extension are from 2001 to 2100
The sip trunk number is 07 11 554XXX
I have created inbound routes for all the Extensions
So if you call 07 11 5442001 the call will ring at extn 2001
The issue I have is
If I set inbound route for DID number that is outside my Extensions configured, example 2050
The call says please check the number and try again
I set 2050 as DID number and to ring at Extension 2001
The sip trunk is sending the 4 digits that is 2xxx
I also tried with 2051 and same issue.
Basically any DID number that is not in the Extensions configured range
Inbound doesn’t work.
The service provider says the have allowed all numbers 2000 to 2999 and that is true because the message played is from freepbx,
So the call is reaching the freepbx but since the DID number doesn’t match the physical Extension setup the calls fails
Please advise what could be the issue.
The freepbx and sip trunk are in the same ip subnet,
Sip trunk - router - lan switch- freepbx
The router has no restrictions , no firewall restrictions on sip.
That is the way the system is designed to work. If a DID is not assigned to ring an extension, ring-group, etc., a call to the DID will fail with the “not in service” message.
What are you expecting to happen if an inbound number has no destination defined on your PBX?