Hello,
I am newbee i asterisk and zaptel.
I am working on one IVR Project which use Asterisk and Zaptel .
I am able ot successfully generate the call using my SIP phone.
But when i am trying to use my PRI no. I am getting errror I am proiviing detail here:
I have A102 Sangomas card which is attached with Wanpipe driver.
I have installed Zaptel, Libpri and asterisk 1.4 version.
I have successfully configured the Card and wanoruter stauts shows me connected and able to see green led.
Now i am here providing my Zaptel details
Zaptel.conf
Autogenerated by /usr/local/sbin/sangoma/setup-sangoma – do not hand edit
Zaptel Channels Configurations (zaptel.conf)
loadzone=us
defaultzone=us
#Sangoma A101 port 1 [slot:4 bus:2 span:1]
span=1,0,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
========================
Zapata.conf
[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
dialplan=unknown
immediate=no
;Sangoma A101 port 1 [slot:4 bus:2 span:1]
switchtype=euroisdn
context=from-pstn
;group=0
signalling=pri_cpe
channel =>1-15,17-31
========================================
Extensions.conf
[globals]
CONSOLE=Console/dsp ; Console interface for demo
;CONSOLE=Zap/1
;CONSOLE=Phone/phone0
IAXINFO=guest ; IAXtel username/password
;IAXINFO=myuser:mypass
TRUNK=Zap/g1
[from-zaptel]
exten => _[0-9].,1,Dial(${TRUNK}/${EXTEN})
exten => _[0-9].,2,Hangup
exten =>40203600,1,Answer()
;exten =>40203600,n,Playback(demo-congrats)
exten => 40203600,n,Hangup()
Now when i am trying following command from the Asteriks CLI
CLI> console dial 9925597970@from-zaptel
I am getting following result
Console is full duplex
– Executing [9925597970@from-zaptel:1] Dial(“Console/dsp”, “Zap/g1/9925597970”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called g1/9925597970
*CLI> == Primary D-Channel on span 1 down
[Aug 14 01:29:58] WARNING[17109]: chan_zap.c:2398 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
– Hungup ‘Zap/1-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [9925597970@from-zaptel:2] Hangup(“Console/dsp”, “”) in new stack
== Spawn extension (from-zaptel, 9925597970, 2) exited non-zero on ‘Console/dsp’
<< Hangup on console >>
Primary D-Channel on span 1 up
And my call hangup and didnt commpletes
Can any one help me to solve this issue. ?
Thanks in Advance
Sandip