Help installing a Openvox a1200p

Joined
May 12, 2010
Messages
1,663
Points
0
Please, can someone give me instruction os how to install a openvox a1200p in elastix 0.9 beta2?
 
Joined
May 12, 2010
Messages
1,663
Points
0
when I try to modprobe opvxa1200 I get this in dmesg:

mISDN: INTERNAL ERROR in /usr/src/redhat/BUILD/mISDN-1_1_6/drivers/isdn/hardware/mISDN/stack.c:235 st(00000100) addr(41000100) layer -1 out of range
mISDN: INTERNAL ERROR in /usr/src/redhat/BUILD/mISDN-1_1_6/drivers/isdn/hardware/mISDN/stack.c:235 st(00000100) addr(41000100) layer -1 out of range
Zapata Telephony Interface Unloaded
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.4.5.1
Zaptap registered 'sample' char driver on major 33
Registered Tormenta2 PCI
Unregistered Tormenta2
Specify address with base=0xNNNNN
/usr/src/redhat does not exist in my box.
Any help??<br><br>Post edited by: ramoncio, at: 2007/11/12 21:15
 
Joined
Oct 22, 2007
Messages
39
Points
0
hello, you must check the kernel source under /usr/src. i think you lost the kernel source dir like redhat dir,which is needed by modules. please yum install kernel source. if you still can not solve the problem, please post your errors to openvox forum.
Good luck!
Openvox
 
Joined
May 12, 2010
Messages
1,663
Points
0
I can't register in the openvox forum. Have ben trying for 2 days.
I don't get the activation email, and when I do, it doesn't work.

I have downloaded kernel source.
Which versions of asterisk and zaptel do I have to download?
Elastix 0.9 has asterisk-1.4.13 an zaptel-1.4.5.1 are these ok?
 
Joined
May 12, 2010
Messages
1,663
Points
0
Ok I have seen the problem.
Somehow the wrong modules were loaded.
I removed them and loaded the correct ones.

Code:
amportal stop
/etc/init.d/mISDN stop
/etc/init.d/isdn stop
rmmod netjetpci
rmmod mISDN_isac
rmmod mISDN_core
modprobe zaptel
modprobe opvxa1200
genzaptelconf -d
ztcfg -vvvvvvvvvvv
Now it works, but I'll see what happens when I reboot.<br><br>Post edited by: ramoncio, at: 2007/11/13 16:09
 
Joined
May 12, 2010
Messages
1,663
Points
0
After reboot, nothing works again.
I can't get asterisk to detect the 12 channels.
After running the script again, and adding netjetcpi and mISDN* to /etc/modprobe.d/blacklist, everything seems ok with modules after a depmod -a, and I see the card and the modules with lszaptel and ztcfg -vvv everytime I reboot.
But when I gun genzaptelconf, everything goes wrong again.
I think I'll have to wait for 0.9.
I hope someone explains me how to install it in 0.9 asap, as I need to get the machine in production for tomorrow.
 
Joined
May 12, 2010
Messages
1,663
Points
0
Not yet.
The module loads ok, but I have problems creating zap trunks and extensions. And none of them appear in the fop.
lszaptel shows the card ok.
I have sent to your email details to connect to the box.<br><br>Post edited by: ramoncio, at: 2007/11/15 05:31
 
Joined
Nov 14, 2007
Messages
6
Points
0
I have exactly the same problem.
With the new 0.9.0 ant the Openvox A800P (witch is the same driver of A1200P.
Please, inform me too if you find a fix.
 

lek

Guest
The problem related by ramoncio was not a bug but a configuration issue. I exchanged some emails with him and the problem was solved.

What was happening is that he configured a wrong signaling in zapata.conf.
 
Joined
May 12, 2010
Messages
1,663
Points
0
Hello Edgar.
I still have problems.
As I told you, the main of my problems was that I got the wrong config for the fxs and fxo modules location in the card.
After noticing this problem, and reading about zapata.conf zapata-auto.conf and zapata_additional.com I nearly got it.
I got all my modules detected ok in the hardware detection.

The card has fxs modules in slots 1-6 and fxo modules in slots 7-12.

My configuration is this:

/etc/zaptel.conf
# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
fxoks=1
fxoks=2
fxoks=3
fxoks=4
fxoks=5
fxoks=6
fxsks=7
fxsks=8
fxsks=9
fxsks=10
fxsks=11
fxsks=12

# Global data

loadzone = es
defaultzone = es


/etc/asterisk/zapata.conf
[trunkgroups]
[channels]
language=es
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
rxgain=2.0
txgain=2.0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=4
busypattern=200,200
hanguponpolarityswitch=yes
faxdetect=incoming
;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

/etc/asterisk/zapata-auto.conf
callerid=asreceived

; Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channels 1-7
context=from-pstn
group=0
channel => 7-12
But lszaptel I think is wrong:
### Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
1 FXO FXOKS (In use)
2 FXO FXOKS (In use)
3 FXO FXOKS (In use)
4 FXO FXOKS (In use)
5 FXO FXOKS (In use)
6 FXO FXOKS (In use)
7 FXS FXSKS (In use)
8 FXS FXSKS (In use)
9 FXS FXSKS (In use)
10 FXS FXSKS (In use)
11 FXS FXSKS (In use)
12 FXS FXSKS (In use)
I think the spans are wrong... FXO should use FXSKS signaling.
I can't make or receive calls.
If I call from my mobile, asterisk answers, plays music on hold but the extension can't be reached.
If I call from one extension to another, I get voicemail unavailable.
I I try to call ot the trunk I get "all channels are busy" message, and this log:

-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g8") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g8/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:5] Macro("Zap/2-1", "dialout-trunk|4|966426468||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/2-1", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/2-1", "GROUP()=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/2-1", "outbound-callerid|4") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g9") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g9/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:6] Macro("Zap/2-1", "dialout-trunk|5|966426468||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/2-1", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/2-1", "GROUP()=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/2-1", "outbound-callerid|5") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g10") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g10/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:7] Macro("Zap/2-1", "dialout-trunk|6|966426468||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/2-1", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/2-1", "GROUP()=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/2-1", "outbound-callerid|6") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g11") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g11/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:8] Macro("Zap/2-1", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("Zap/2-1", "all-circuits-busy-now|noanswer") in new stack
-- <Zap/2-1> Playing 'all-circuits-busy-now' (language 'es')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1'
I have noticed as well some annoying clicks on the audio, every 5-6 seconds, when I dial 7777 for example.


Any help?
 
Joined
May 12, 2010
Messages
1,663
Points
0
Hello Edgar.
I still have problems.
As I told you, the main of my problems was that I got the wrong config for the fxs and fxo modules location in the card.
After noticing this problem, and reading about zapata.conf zapata-auto.conf and zapata_additional.com I nearly got it.
I got all my modules detected ok in the hardware detection.

The card has fxs modules in slots 1-6 and fxo modules in slots 7-12.

My configuration is this:

/etc/zaptel.conf
# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
fxoks=1
fxoks=2
fxoks=3
fxoks=4
fxoks=5
fxoks=6
fxsks=7
fxsks=8
fxsks=9
fxsks=10
fxsks=11
fxsks=12

# Global data

loadzone = es
defaultzone = es


/etc/asterisk/zapata.conf
[trunkgroups]
[channels]
language=es
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
rxgain=2.0
txgain=2.0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=4
busypattern=200,200
hanguponpolarityswitch=yes
faxdetect=incoming
;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

/etc/asterisk/zapata-auto.conf
callerid=asreceived

; Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channels 1-7
context=from-pstn
group=0
channel => 7-12

/etc/aterisk/zapata_additional.conf
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui

;;;;;;[101]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=101@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g0
context=from-internal
callprogress=no
callerid=device <101>
busydetect=yes
busycount=5
accountcode=
channel=>1

;;;;;;[102]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=102@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g1
context=from-internal
callprogress=no
callerid=device <102>
busydetect=yes
busycount=5
accountcode=
channel=>2

;;;;;;[103]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=103@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g2
context=from-internal
callprogress=no
callerid=device <103>
busydetect=no
busycount=7
accountcode=
channel=>3

;;;;;;[104]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=104@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g3
context=from-internal
callprogress=no
callerid=device <104>
busydetect=no
busycount=7
accountcode=
channel=>4

;;;;;;[105]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=105@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g4
context=from-internal
callprogress=no
callerid=device <105>
busydetect=no
busycount=7
accountcode=
channel=>5

;;;;;;[106]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=106@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/6
context=from-internal
callprogress=no
callerid=device <106>
busydetect=no
busycount=7
accountcode=
channel=>6

But lszaptel I think is wrong:

### Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
1 FXO FXOKS (In use)
2 FXO FXOKS (In use)
3 FXO FXOKS (In use)
4 FXO FXOKS (In use)
5 FXO FXOKS (In use)
6 FXO FXOKS (In use)
7 FXS FXSKS (In use)
8 FXS FXSKS (In use)
9 FXS FXSKS (In use)
10 FXS FXSKS (In use)
11 FXS FXSKS (In use)
12 FXS FXSKS (In use)
I think the spans are wrong... FXO should use FXSKS signaling.
How can I change this?

I can't make or receive calls.
If I call from my mobile, asterisk answers, plays music on hold but the extension can't be reached and sends me to the voicemail.
If I call from one extension to another, I get voicemail unavailable.
I I try to call ot the zap trunks I get "all channels are busy" message, and this log:

-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g8") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g8/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:5] Macro("Zap/2-1", "dialout-trunk|4|966426468||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/2-1", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/2-1", "GROUP()=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/2-1", "outbound-callerid|4") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g9") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g9/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:6] Macro("Zap/2-1", "dialout-trunk|5|966426468||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/2-1", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/2-1", "GROUP()=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/2-1", "outbound-callerid|5") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g10") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g10/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:7] Macro("Zap/2-1", "dialout-trunk|6|966426468||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Zap/2-1", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("Zap/2-1", "DIAL_NUMBER=966426468") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("Zap/2-1", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("Zap/2-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("Zap/2-1", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("Zap/2-1", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=trT") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("Zap/2-1", "GROUP()=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("Zap/2-1", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/2-1", "user-callerid: Ana Mata 102") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-user-callerid,s,6)
-- Executing [s@macro-user-callerid:6] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/2-1", "AMPUSER=102") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/2-1", "AMPUSERCIDNAME=Ana Mata") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/2-1", "AMPUSERCID=102") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/2-1", "CALLERID(all)="Ana Mata" <102>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/2-1", "REALCALLERIDNUM=102") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/2-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/2-1", "Using CallerID "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Zap/2-1", "record-enable|102|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/2-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/2-1", "recordingcheck|20071115-210745|1195157256.16") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071115-210745|1195157256.16: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/2-1", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("Zap/2-1", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("Zap/2-1", "outbound-callerid|6") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("Zap/2-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("Zap/2-1", "REALCALLERIDNUM is 102") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("Zap/2-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("Zap/2-1", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("Zap/2-1", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("Zap/2-1", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("Zap/2-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("Zap/2-1", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [s@macro-outbound-callerid:18] GotoIf("Zap/2-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("Zap/2-1", "CallerID set to "Ana Mata" <102>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("Zap/2-1", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("Zap/2-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("Zap/2-1", "OUTNUM=966426468") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("Zap/2-1", "custom=ZAP/g11") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("Zap/2-1", "0?gocall") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("Zap/2-1", "DIAL_TRUNK_OPTIONS=M(setmusic^clasica)tT") in new stack
-- Executing [s@macro-dialout-trunk:22] Macro("Zap/2-1", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("Zap/2-1", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("Zap/2-1", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("Zap/2-1", "ZAP/g11/966426468|300|M(setmusic^clasica)tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:26] Goto("Zap/2-1", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("Zap/2-1", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("Zap/2-1", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [0966426468@from-internal:8] Macro("Zap/2-1", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("Zap/2-1", "all-circuits-busy-now|noanswer") in new stack
-- <Zap/2-1> Playing 'all-circuits-busy-now' (language 'es')
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'Zap/2-1'
I have noticed as well some annoying clicks on the audio, every 5-6 seconds, when I dial 7777 for example.


Any help?<br><br>Post edited by: ramoncio, at: 2007/11/15 22:29
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,987
Messages
131,100
Members
17,716
Latest member
Orbit114
Top