Can't get sangoma A104 to dial out


#1

I’m trying to get a sangoma A104D to dial out from asterisk. This is a vicidial installation and I’m testing with manual dialling first using zoiper. I can make internal calls.
I have a BT ISDN 30 with 30 channels and I’ve done the following
1.Type wancfg_dahdi
2. Answered the questions on screen correctly (I think)
3. dahdi_cfg -vvvv
4. asterisk -r
5. module reload chan_dahdi.so
6. dahdi show status
7. dahdi show channels

output from dahdi_hardware

[quote]vicibox:~ # dahdi_hardware
pci:0000:06:04.0 wanpipe- 1923:0040 Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card[/quote]
/etc/dahdi/system.conf contents

[quote]loadzone=us
defaultzone=us

#Sangoma A101 port 1 [slot:4 bus:6 span:1]
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
echocanceller=mg2,1-15,17-31
hardhdlc=16[/quote]

output from dahdi show channels

[quote]vicibox*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
pseudo default default
1 from-pstn default
2 from-pstn default
3 from-pstn default
4 from-pstn default
5 from-pstn default
6 from-pstn default
7 from-pstn default
8 from-pstn default
9 from-pstn default
10 from-pstn default
11 from-pstn default
12 from-pstn default
13 from-pstn default
14 from-pstn default
15 from-pstn default
17 from-pstn default
18 from-pstn default
19 from-pstn default
20 from-pstn default
21 from-pstn default
22 from-pstn default
23 from-pstn default
24 from-pstn default
25 from-pstn default
26 from-pstn default
27 from-pstn default
28 from-pstn default
29 from-pstn default
30 from-pstn default
31 from-pstn default[/quote]
contents of /etc/asteriskchan_dahdi.conf

[quote][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=tes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A101 port 1 [slot:4 bus:6 span:1]
switchtype=euroisdn
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-15,17-31[/quote]
Relevant contents of extensions.conf

[quote][globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=DAHDI/g0 ; Trunk interface
TRUNKX=DAHDI/g0 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk

; dial a long distance outbound number
; This ‘o’ Dial flag is VERY important for VICIDIAL on outbound calls
exten => _9XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},To)
exten => _9XXXXXXXXXXX,3,Hangup[/quote]

Now ehn I make a call from Zoiper the asterisk output is

[quote][Nov 13 09:56:32] – Executing [9xxxxxxxxxxx@default:1] AGI(“SIP/202-00000002”, “agi://127.0.0.1:4577/call_log”) in new stack
[Nov 13 09:56:32] – AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov 13 09:56:32] – Executing [9xxxxxxxxxxx@default:2] Dial(“SIP/202-00000002”, “DAHDI/g0/xxxxxxxxxxx||To”) in new stack
[Nov 13 09:56:32] – Requested transfer capability: 0x00 - SPEECH
[Nov 13 09:56:32] – Called g0/xxxxxxxxxxx
[Nov 13 09:56:32] – DAHDI/1-1 is proceeding passing it to SIP/202-00000002
[Nov 13 09:56:34] – Channel 0/1, span 1 got hangup request, cause 1
[Nov 13 09:56:34] WARNING[10920]: app_dial.c:801 wait_for_answer: Unable to forward voice or dtmf
[Nov 13 09:56:34] – Hungup ‘DAHDI/1-1’
[Nov 13 09:56:34] == Everyone is busy/congested at this time (1:0/0/1)
[Nov 13 09:56:34] – Executing [9xxxxxxxxxxx@default:3] Hangup(“SIP/202-00000002”, “”) in new stack
[Nov 13 09:56:34] == Spawn extension (default, 9xxxxxxxxxxx, 3) exited non-zero on ‘SIP/202-00000002’
[Nov 13 09:56:34] – Executing [h@default:1] DeadAGI(“SIP/202-00000002”, “agi://127.0.0.1:4577/call_log–HVcauses–PRI-----NODEBUG-----1-----CHANUNAVAIL----------”) in new stack
[Nov 13 09:56:34] – AGI Script agi://127.0.0.1:4577/call_log–HVcauses … ---------- completed, returning 0
vicibox*CLI> [/quote]
I’ve been struggling with this for some time now so some help would be appreciated. I’m a beginner with linux and asterisk.
My setup is Dell T110 4Gb RAM 500Mg HDD
Vicidial-redux 3.1.12 from iso | Asterisk 1.4.39.2-vici | Sangoma A101D | no additional software after installation | OpenSuse 11.3


#2

Howdy,

Try your card vendor for installation assistance.

Cheers.