Inbound calls

Hi,

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.

Thanks.

I did the following

I created an extn 2050
And inbound route DID 2050 to ring at extn 2050
And call goes through.

It seems freepbx is checking is there is an extension configured so as to route inbound call

If the DID number doesn’t match the physical extensions the call doesn’t go through

In the trunk setting
Context is from-pstn

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?

I have defined the destination in the inbound route.
But the call fails.

Look at the CDR record for a failed call. Change the DID Number field of your Inbound Route to exactly match what shows in the DID field of the CDR.

I will able to resolve this.
On the trunk setting i changed
Context to from-trunk
And everything is working as required

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