Inbound Routes not going to correct destination

All calls going to one extension. I have 4 port digium FXO card all ports setup on different groups 0,1,2,3. Believe issue to be DID as outbound calls go out proper ports. Is anyone familiar with DID for routing through the inbound. We don’t currently believe the POTS provider is pushing DID.

You can define DID for dahdi analog channels and use those “virtual” DIDs for routing inbound calls. You can find that option o connectivity menu

Thanks - Do you have a link or video on how to create a virtual inbound?

Anolog lines do not have DIDs. You need to use the Analog DID module to set a DID per dahdi channel that way inboind it’s cam route based on the DID you create.

Thank you all. I think we figured it out. Think we are using an older version that doesn’t have the module pre-loaded. More to come in the next few hours.

Use this link as a starting point

https://wiki.freepbx.org/display/FPG/DAHDI+(Analog)+Channel+DIDs

We followed the link above but still running into problems. One line rings but on the incorrect extension assigned and the second line still gives the error that the number is not in service.

Here are the log files we captured.

;--------------------------------------------------------------------------------;

; Do NOT edit this file as it is auto-generated by FreePBX. ;

;--------------------------------------------------------------------------------;

; For information on adding additional paramaters to this file, please visit the ;

; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;

; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;

; is totally deliberate. ;

;--------------------------------------------------------------------------------;

[general]

; generated by module

#include chan_dahdi_general.conf

; for user additions not provided by module

#include chan_dahdi_general_custom.conf

[channels]

language=en

busydetect=yes

busycount=10

usecallerid=yes

callwaiting=yes

usecallingpres=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=no

echotraining=no

immediate=no

faxdetect=no

rxgain=0.0

txgain=0.0

; for user additions not provided by module

#include chan_dahdi_channels_custom.conf

; include dahdi groups defined by DAHDI module of FreePBX

#include chan_dahdi_additional.conf

;--------------------------------------------------------------------------------;

; Do NOT edit this file as it is auto-generated by FreePBX. ;

;--------------------------------------------------------------------------------;

; For information on adding additional paramaters to this file, please visit the ;

; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;

; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;

; is totally deliberate. ;

;--------------------------------------------------------------------------------;

signalling=fxs_ks

context=from-analog

group=0

channel=>1

signalling=fxs_ks

context=from-analog

group=1

channel=>2

signalling=fxs_ks

context=from-analog

group=2

channel=>3

signalling=fxs_ks

context=from-analog

group=3

channel=>4

-------------------------------------------------------------------------------;

Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;

this file must be done via the web gui. There are alternative files to make ;

custom modifications, details at: http://freepbx.org/configuration_files ;

-------------------------------------------------------------------------------;

fxsks=1-4

echocanceller=oslec,1-4

loadzone=us

defaultzone=us

You should first make sure that the 4 ports are working correctly so start with an ANY/ANY inbound route and call each pstn line and make sure you can receive the call. Once you have checked that works, create a DID for one of the ports and an inbound route for that DID and check and so on. “The number you have dialed is not in service” message is almost always indicating a misconfigured inbound route.

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