Hi. I’m having a bit of trouble with outgoing calls on zap channels. When i try to make an outgoing call asterisk doesn’t detect if the other party answers. When i run ‘show channels verbose’ in CLI asterisk tells me that the respective channles are in ringing state like this:
Channel Context Extension Prio State Application Data CallerID Duration Accountcode BridgedTo
Zap/19-1 agentie s 1 Dialing AppDial (Outgoing Line) 00726710704 (None)
Zap/15-1 int_omg 00726710704 5 Ring Dial Zap/g5/0726710704||T 00:00:14 (None)
although i can speak to the called party. I must mention that the context for outgoing calls is ‘agentie’:
My zapata.conf looks like this:
[channels]
usecallerid=yes
hidecallerid=no
echocancel=yes
musiconhold=guitar
busydetect=yes
;callprogress=yes
busycount=3
flash=20
rxflash=40
transfer=yes
threewaycalling=yes
;rxgain=100%
;txgain=1.0
;relaxdtmf=yes
;------------------------------
context=int_soft
;------------------------------
group=1
callgroup=1
pickupgroup=1,6,7
threewaycalling=yes
transfer=yes
;useincomingcalleridonzaptransfer=yes
callwaitingcallerid=yes
;echocancelwhenbriged=yes
immediate=no
rxgain=-2.0
txgain=2.2
signalling=fxo_ks
callerid=Soft 1
channel=>1
callerid=Soft 2
channel=>2
callerid=Soft 3
channel=>3
callerid=Soft 4
channel=>4
callerid=Soft 5
channel=>5
callerid=Soft 6
channel=>6
callerid=Soft 7
channel=>7
;------------------------------
context=int_omg
;------------------------------
group=2
callgroup=2
pickupgroup=2,5,6
threewaycalling=yes
transfer=yes
;useincomingcalleridonzaptransfer=yes
callwaitingcallerid=yes
;echocancelwhenbriged=yes
immediate=no
rxgain=-2.0
txgain=2.2
callerid=OMG 28
channel=>8
callerid=OMG 29
channel=>9
callerid=OMG 30
channel=>10
callerid=OMG 31
channel=>11
callerid=OMG 32
channel=>12
callerid=OMG 33
channel=>13
callerid=OMG 34
channel=>14
callerid=OMG 35
channel=>15
callerid=OMG 36
channel=>16
;-------------------
;Placa TDM24XXP - 24 DE INTERIOARE; CONTEXT NOU!!
;-------------------
;------------------------------
context=int_agentie
;------------------------------
group=3
callgroup=3
pickupgroup=3,4,5,10
threewaycalling=yes
transfer=yes
;useincomingcalleridonzaptransfer=yes
callwaitingcallerid=yes
;echocancelwhenbriged=yes
immediate=no
rxgain=-2.0
txgain=2.2
callerid=Agentie 45
channel=>25
callerid=Agentie 46
channel=>26
callerid=Agentie 47
channel=>27
callerid=Agentie 48
channel=>28
callerid=Agentie 49
channel=>29
callerid=Agentie 50
channel=>30
callerid=Agentie 51
channel=>31
callerid=Agentie 52
channel=>32
callerid=Agentie 53
channel=>33
callerid=Agentie 54
channel=>34
callerid=Agentie 55
channel=>35
callerid=Agentie 56
channel=>36
callerid=Agentie 57
channel=>37
callerid=Agentie 58
channel=>38
callerid=Agentie 59
channel=>39
callerid=Agentie 60
channel=>40
callerid=Agentie 61
channel=>41
callerid=Agentie 62
channel=>42
callerid=Agentie 63
channel=>43
callerid=Agentie 64
channel=>44
callerid=Clopotel 65
channel=>45
callerid=Clopotel 66
channel=>46
callerid=Clopotel 67
channel=>47
callerid=Clopotel 68
channel=>48
;------------------------------
context=cap_hunting
;------------------------------
group=4
callgroup=4
callerid=asreceived
cidsignalling=v23
cidstart=ring
transfer=yes
threewaycalling=yes
immediate=no
useincomingcalleridonzaptransfer=yes
;echocancelwhenbriged=yes
;musiconhold=guitar
rxgain=10.2
txgain=1.8
signalling=fxs_ks
channel=>17
;------------------------------
context=omegasoft
;------------------------------
group=10
callgroup=10
callerid=asreceived
cidsignalling=v23
cidstart=ring
transfer=yes
threewaycalling=yes
immediate=no
useincomingcalleridonzaptransfer=yes
;echocancelwhenbriged=yes
;musiconhold=guitar
rxgain=10.2
txgain=1.8
signalling=fxs_ks
channel=>18
;------------------------------
context=agentie
;------------------------------
group=5
callgroup=5
callerid=asreceived
cidsignalling=v23
cidstart=ring
transfer=yes
threewaycalling=yes
immediate=no
useincomingcalleridonzaptransfer=yes
;echocancelwhenbriged=yes
;musiconhold=guitar
rxgain=10.2
txgain=1.8
signalling=fxs_ks
channel=>19-24
;------------------------------
context=tehnic
;------------------------------
group=6
callgroup=6
callerid=asreceived
cidsignalling=v23
cidstart=ring
transfer=yes
threewaycalling=yes
immediate=no
useincomingcalleridonzaptransfer=yes
callprogres=yes
;echocancelwhenbriged=yes
rxgain=10.2
txgain=1.8
signalling=fxs_ks
channel=>80
;------------------------------
context=service
;------------------------------
group=7
callgroup=7
;echocancelwhenbriged=yes
callerid=asreceived
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
rxgain=5.5
txgain=6.2
signalling=fxs_ks
channel=>81
;------------------------------
context=service_out
;------------------------------
group=7
callgroup=7
;echocancelwhenbriged=yes
callerid=asreceived
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
rxgain=5.5
txgain=3.2
signalling=fxs_ks
channel=>82
;------------------------------
context=mobline
;------------------------------
group=8
;echocancelwhenbriged=yes
callerid=asreceived
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
rxgain=5.5
txgain=3.2
signalling=fxs_ks
channel=>83
;------------------------------
context=mediasat
;------------------------------
group=9
callerid=asreceived
;switchtype=national
;echocancelwhenbriged=yes
echotraining=no
;rxgain=1.0
;txgain=1.0
signalling=pri_cpe
channel=>49-63,65-79