Hi, I use:
Trixbox-2.2.4
FreePBX-2.3.1.0
Asterisk-1.2.17
BRIstuffed-0.3.0-PRE-1y-e
Zaptel-1.2.19
..with two ISDN cards, often but occasionally the dial out failed but is
possible to receive external call.
My zapata.conf conf is:
[trunkgroups]
[channels]
language=it
context=from-pstn
signalling=bri_cpe_ptmp
rxwink=300
pridialplan=unknown
prilocaldialplan=local
switchtype=euroisdn
pmp_l1_check=no
nodialtone=no
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
context=from-pstn
channel=>1-2
channel=>4-5
callgroup=1
pickupgroup=1
immediate=no
faxdetect=incoming
#include zapata-auto.conf
group=1
context=from-pstn
channel=>1-2
channel=>4-5
#include zapata_additional.conf
#include zapata-BRI-HFC.conf
..the log is:
Executing Macro("SIP/206-090a7dd8",
"dialout-trunk|1|348241xxxx||") in new
stack
-- Executing Set("SIP/206-090a7dd8", "DIAL_TRUNK=1") in
new stack
-- Executing Set("SIP/206-090a7dd8",
"DIAL_NUMBER=348241xxxx") in new
stack
-- Executing Set("SIP/206-090a7dd8", "ROUTE_PASSWD=") in
new stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?noauth") in
new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing GotoIf("SIP/206-090a7dd8",
"0?disabletrunk|1") in new stack
-- Executing Set("SIP/206-090a7dd8", "_NODEST=") in new
stack
-- Executing Set("SIP/206-090a7dd8",
"DIAL_TRUNK_OPTIONS=tT") in new
stack
-- Executing Set("SIP/206-090a7dd8", "GROUP()=OUT_1") in
new stack
-- Executing Macro("SIP/206-090a7dd8",
"user-callerid|SKIPTTL") in new
stack
-- Executing NoOp("SIP/206-090a7dd8", "user-callerid: device
206") in
new stack
-- Executing Set("SIP/206-090a7dd8", "AMPUSER=206") in
new stack
-- Executing GotoIf("SIP/206-090a7dd8", "0?report") in
new stack
-- Executing GotoIf("SIP/206-090a7dd8", "0?start") in
new stack
-- Executing Set("SIP/206-090a7dd8",
"REALCALLERIDNUM=206") in new stack
-- Executing NoOp("SIP/206-090a7dd8", "REALCALLERIDNUM is
206") in new
stack
-- Executing Set("SIP/206-090a7dd8", "AMPUSER=206") in
new stack
-- Executing Set("SIP/206-090a7dd8",
"AMPUSERCIDNAME=Centralino") in new
stack
-- Executing GotoIf("SIP/206-090a7dd8", "0?report") in
new stack
-- Executing Set("SIP/206-090a7dd8", "AMPUSERCID=206")
in new stack
-- Executing Set("SIP/206-090a7dd8",
"CALLERID(all)="Centralino" <206>")
in new stack
-- Executing Set("SIP/206-090a7dd8",
"REALCALLERIDNUM=206") in new stack
-- Executing NoOp("SIP/206-090a7dd8", "TTL: ARG1:
SKIPTTL") in new
stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?continue") in
new stack
-- Goto (macro-user-callerid,s,23)
-- Executing NoOp("SIP/206-090a7dd8", "Using CallerID
"Centralino"
<206>") in new stack
-- Executing Macro("SIP/206-090a7dd8",
"record-enable|206|OUT") in new
stack
-- Executing GotoIf("SIP/206-090a7dd8", "0?2:4") in new
stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/206-090a7dd8",
"recordingcheck|20080115-131850|asterisk-12308-1200399530.1395") in
new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080115-131850|asterisk-12308-1200399530.1395: Outbound
recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/206-090a7dd8", "No recording
needed") in new
stack
-- Executing GotoIf("SIP/206-090a7dd8", "0?skipoutcid")
in new stack
-- Executing Set("SIP/206-090a7dd8",
"DIAL_TRUNK_OPTIONS=tT") in new
stack
-- Executing Macro("SIP/206-090a7dd8",
"outbound-callerid|1") in new
stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?start") in
new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/206-090a7dd8", "REALCALLERIDNUM is
206") in new
stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?normcid") in
new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/206-090a7dd8", "USEROUTCID=") in
new stack
-- Executing Set("SIP/206-090a7dd8", "EMERGENCYCID=") in
new stack
-- Executing Set("SIP/206-090a7dd8", "TRUNKOUTCID=") in
new stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?trunkcid") in
new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/206-090a7dd8", "1?usercid") in
new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing GotoIf("SIP/206-090a7dd8", "1?report") in
new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/206-090a7dd8", "CallerID set to
"Centralino"
<206>") in new stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?nomax") in
new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing AGI("SIP/206-090a7dd8", "fixlocalprefix")
in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/206-090a7dd8",
"OUTNUM=348241xxxx") in new stack
-- Executing Set("SIP/206-090a7dd8", "custom=ZAP/g0") in
new stack
-- Executing GotoIf("SIP/206-090a7dd8", "1?gocall") in
new stack
-- Goto (macro-dialout-trunk,s,24)
-- Executing GotoIf("SIP/206-090a7dd8", "0?customtrunk")
in new stack
-- Executing Dial("SIP/206-090a7dd8",
"ZAP/g0/348241xxxx|300|tT") in new
stack
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("SIP/206-090a7dd8", "s-CONGESTION|1")
in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing GotoIf("SIP/206-090a7dd8", "1?noreport") in
new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing NoOp("SIP/206-090a7dd8", "TRUNK Dial failed due
to
CONGESTION - failing through to other trunks") in new stack
-- Executing Macro("SIP/206-090a7dd8", "outisbusy|") in
new stack
-- Executing Playback("SIP/206-090a7dd8",
"all-circuits-busy-now|noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'it')
-- Executing Playback("SIP/206-090a7dd8",
"pls-try-call-later|noanswer")
in new stack
-- Playing 'pls-try-call-later' (language 'it')
After this problem I must execute:
#amportal restart
..and then I can make dial out.
thanks.
------
Salvatore.