Inbound calls is getting to my server but it is saying Phone number is out of service.
I use an E1 PRI line
I have 2 FreePBX servers on the same LAN
Phone Number provisioned by E1 Provider 3809945
Server A - E1 PRI line connected
Server B - Main call center router for my agents
Server A trunk setup
host=ServerB
type=peer
qualify=yes
context=from-internal
Server A Inbound Route setup
Any CID/AnyDID
Server B trunk setup
host=ServerA
type=peer
qualify=yes
context=from-trunk
Server B Inbound Route setup
Agent Extension/Any CID
Set Destination to Agent Extensions
I can make Outbound calls from the main call center Server 2 but agents can’t receive inbound calls.
This is my log to show I can receive calls but it is saying phone number out of service.
– Accepting call from ‘08120867676’ to ‘3809945’ on channel 0/8, span 1
– Executing [3809945@from-pstn:1] Set(“DAHDI/i1/08120867676-575”, “__FROM_DID=3809945”) in new stack
– Executing [3809945@from-pstn:2] NoOp(“DAHDI/i1/08120867676-575”, “Received an unknown call with DID set to 4609945”) in new stack
– Executing [3809945@from-pstn:3] Goto(“DAHDI/i1/08120867676-575”, “s,a2”) in new stack
– Goto (from-pstn,s,2)
– Executing [s@from-pstn:2] Answer(“DAHDI/i1/08120867676-575”, “”) in new stack
– Executing [s@from-pstn:3] Wait(“DAHDI/i1/08120867676-575”, “2”) in new stack
– Executing [s@from-pstn:4] Playback(“DAHDI/i1/08120867676-575”, “ss-noservice”) in new stack
– <DAHDI/i1/08120867676-575> Playing ‘ss-noservice.gsm’ (language ‘en’)
– Executing [s@from-pstn:5] SayAlpha(“DAHDI/i1/08120867676-575”, “3809945”) in new stack
– <DAHDI/i1/08120867676-575> Playing ‘digits/3.gsm’ (language ‘en’)
– <DAHDI/i1/08120867676-575> Playing ‘digits/8.gsm’ (language ‘en’)
– <DAHDI/i1/08120867676-575> Playing ‘digits/0.gsm’ (language ‘en’)
– <DAHDI/i1/08120867676-575> Playing ‘digits/9.gsm’ (language ‘en’)
– <DAHDI/i1/08120867676-575> Playing ‘digits/9.gsm’ (language ‘en’)
– <DAHDI/i1/08120867676-575> Playing ‘digits/4.gsm’ (language ‘en’)
– <DAHDI/i1/08120867676-575> Playing ‘digits/5.gsm’ (language ‘en’)
– Executing [s@from-pstn:6] Hangup(“DAHDI/i1/08120867676-575”, “”) in new stack
You didn’t actually share the DID you are using (at least, you didn’t share one that would work), but the system is crystal clear on this - you do not have an inbound route that corresponds to your DID of 3809945.
It’s considered good practice to always include a “default” DID entry of “<blank>/<blank>” (nothing set in the DID or CID fields). This way, if your provider sends you a call with a mangled DID, you can still answer it.
Appreciate your assistance.
Try to set an inbound route for the number 4609945. It was my error.
On server A and B create a general inbound with this pattern: _X. (call it Any).
On server A and B create a general inbound with blank fields (call it Any).
Please advise;
Server A destination is set to Trunks (being the server where E1 PRI line is attached)
Server B destination is set to my agent extensions (being the server where agent extensions are setup)