[asterisk-users] Callerid with DAHDI
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu May 20 07:58:26 CDT 2010
On Mon, May 17, 2010 at 10:26:18PM -0300, Daniel Bareiro wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all!
>
> I'm testing a telephone connected to FXS port of a Sangoma A200 card.
> But I'm observing that callerid is not working. The configuration that
> I'm using in chan_dahdi.conf is the following one:
>
> - ---------------------------------------------------------------------
> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
> ;autogenrated on 2010-05-11
> ;Dahdi Channels Configurations
> ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
>
> [trunkgroups]
>
> [channels]
> language=es
> defaultzone=es
> usecallerid=yes
> hidecallerid=no
> callwaiting=no
> threewaycalling=yes
> transfer=yes
> echocancel=yes
> echotraining=yes
> inmediate=no
>
> ; DGB - 20100322
> busydetect=yes
> busycount=3
>
>
> ;Sangoma AFT-A200 [slot:8 bus:1 span:1] <wanpipe1>
> context=from-internal
> group=1
> echocancel=yes
> signalling = fxo_ks
> channel => 1
> mailbox=300 at voicemail
> callerid="Jane Doe" <300>
The 'mailbox' and 'callerid' settings only affect channels 2-4, and not
channel 1. Is that intentoinal?
>
> context=from-internal
> group=1
> echocancel=yes
> signalling = fxo_ks
> channel => 2
>
> context=from-zaptel
> group=0
> echocancel=yes
> signalling = fxs_ks
> channel => 3
>
> context=from-zaptel
> group=0
> echocancel=yes
> signalling = fxs_ks
> channel => 4
> - ---------------------------------------------------------------------
>
> I was comparing this configuration with which I have in my house with a
> OpenVox card, where callerid works, and the unique difference that I
> found is that I'm using fxo_ls. Can be it the cause of the problem?
Hardly likely. But if that is what you suspect:
sed -i -e 's/fxo_ks/fxo_ls/' /etc/asterisk/chan_dahdi.conf
asterisk -rx 'dahdi restart'
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list