Hello guys,
Have this problem on my fxo setup. Basically, this setup is from the Philippines with PLDT provider.
I’ve tested all the configuration and in all the configs, this setting on dahdi is the only one giving the nearest answer.
cidsignalling=dtmf
cidstart=polarity_IN
complete config:
dahdi_channels.conf
signalling=fxs_ks
callerid=asreceived
cidsignalling=dtmf
cidstart=polarity_IN
sendcalleridafter=2
group=0
context=from-pstn
channel => 1
chan_dahdi.conf
[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
busydetect=yes
busycount=5
#include dahdi_channels.conf
Please see the logs below…
Connected to Asterisk 1.8.23.0-vici currently running on linux-bu2x (pid = 2184)
Verbosity is at least 60
Core debug is at least 1
[Jan 14 08:07:21] – Starting simple switch on ‘DAHDI/1-1’
[Jan 14 08:07:22] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘D’ received on DAHDI/1-1
[Jan 14 08:07:22] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘D’ on DAHDI/1-1
[Jan 14 08:07:22] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘D’ received on DAHDI/1-1, duration 63 ms
[Jan 14 08:07:22] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘D’ on DAHDI/1-1
[Jan 14 08:07:22] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘0’ received on DAHDI/1-1
[Jan 14 08:07:22] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘0’ on DAHDI/1-1
[Jan 14 08:07:22] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘0’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:22] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘0’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘0’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘0’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘0’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘0’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘3’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘3’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘3’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘3’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘2’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘2’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘2’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘2’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘2’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘2’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘2’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘2’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘5’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘5’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘5’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘5’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘3’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘3’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘3’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘3’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘1’ received on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘1’ on DAHDI/1-1
[Jan 14 08:07:23] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘1’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:23] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘1’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘3’ received on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘3’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘3’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:24] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘3’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘8’ received on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘8’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘8’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:24] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘8’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘6’ received on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘6’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘6’ received on DAHDI/1-1, duration 76 ms
[Jan 14 08:07:24] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘6’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4151 __ast_read: DTMF begin ‘C’ received on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4155 __ast_read: DTMF begin ignored ‘C’ on DAHDI/1-1
[Jan 14 08:07:24] DTMF[9902]: channel.c:4066 __ast_read: DTMF end ‘C’ received on DAHDI/1-1, duration 63 ms
[Jan 14 08:07:24] DTMF[9902]: channel.c:4135 __ast_read: DTMF end passthrough ‘C’ on DAHDI/1-1
[Jan 14 08:07:28] WARNING[9902]: sig_analog.c:2416 __analog_ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
[Jan 14 08:07:28] – Hanging up on ‘DAHDI/1-1’
[Jan 14 08:07:28] – Hungup ‘DAHDI/1-1’
[Jan 14 08:07:31] – Starting simple switch on ‘DAHDI/1-1’
In this configuration, the phone will just keep on ringing and ringing…
If I use other configuration, calls will just push thru but no callerid will be detected.