I have a simple setup: inbound plays message, press 1 to ringgroup or direct extension number. Either case, there is silence on the line. This is what my log files says:
app_macro.c: No such context ‘macro-from-zaptel1’ for macro 'from-zaptel-1’
Any ideas? Even if I connect an inbound line directly to an extension, it doesn’t work.
Thanks!
a bit more info would help. trunk definitions in particular.
I just have one trunk (ZAP/g0) with 2 channels, no dial rules, trunk name is g0.
Here is my zapata.conf
;autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
;autogenrated on 2009-12-22
;Zaptel Channels Configurations
;For detailed Zaptel options, view /etc/asterisk/zapata.conf.bak
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma AFT-A200 [slot:8 bus:0 span:1]
context=from-zaptel
group=0
faxdetect=incoming
signalling = fxs_ks
channel => 1
context=from-zaptel
group=0
faxdetect=incoming
signalling = fxs_ks
channel => 2
context=from-zaptel
group=0
faxdetect=incoming
signalling = fxs_ks
channel => 3
context=from-zaptel
group=0
faxdetect=incoming
signalling = fxs_ks
channel => 4
I went into the trunk settings and changed some things and re-saved. Then I went to the outgoing routes and removed the trunk sequence and added it again and saved. Then I reboot the service and it appears to have cleared up some config files somewhere. I couldn’t tell you exactly why these actions fixed it, though.