[asterisk-users] Can't hear audio when Playback(something, noanswer) on Zap

Rafael RGV rafael.risco at gmail.com
Fri Jan 30 14:04:22 CST 2009


Hi
I have this escenario:

|SIP or H323 phone|---->|Cisco2600|----E1-pri---->|Asterisk|------>IVR,
A2Billing, etc...

The problem is that I can not hear any audio when call from 'sip or H323
phone' and configure something like: exten =>
_01XXXXXXX,1,Playback(thank-you-for-calling|noanswer) ...

It works if I remove the 'noanswer' parameter but in this case it connects
the call before 'called user' answer the call.

please help,
rafael

My zaptel and extensions config:

/etc/zaptel.conf
-----------------------
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16

span=2,2,0,ccs,hdb3,crc4
bchan=32-46,48-62
dchan=47

loadzone        = us
defaultzone     = us

/etc/asterisk/zapata.conf
-------------------------------------
[trunkgroups]
[channels]
context=from-pstn
;signalling=fxs_ks
signalling=pri_net
rxwink=300              ; Atlas seems to use long (250ms) winks
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
;Uncomment these lines if you have problems with the disconection of your
analog lines
;busydetect=yes
;busycount=3
immediate=no
#include zapata-channels.conf


/etc/asterisk/zapata-channels.conf
--------------------------------------------------
; Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-hughes-2600
switchtype=euroisdn
signalling=pri_net
channel=>1-15,17-31
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-hughes-2600
switchtype=euroisdn
signalling=pri_net
channel=>32-46,48-62


extensions_custom.conf
------------------------------------
[from-hughes-2600]
exten => _01XXXXXXX,1,Playback(thank-you-for-calling|noanswer)
exten => _01XXXXXXX,2,Goto(from_2600_to_a2b,51${EXTEN:1},1)
exten => _01XXXXXXX,3,Hangup()

[from_2600_to_a2b]
exten => _511XXXXXXX,1,DeadAGI(a2billing.php|1)
exten => _511XXXXXXX,2,Hangup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090130/b02a1bcb/attachment.htm 


More information about the asterisk-users mailing list