[asterisk-users] Quadbri Cellular Issue

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu May 17 08:41:49 MST 2007


On Thu, May 17, 2007 at 11:47:25AM +0200, Antonio Martínez Contreras wrote:
> Hello everybody, and first of all sorry for my poor English.
> 
> I'm having trouble with Quadbri installed on Asterisk 
> 1.2.17-BRIstuffed-0.3.0-PRE-1y-e. Everything is working fine, except 
> calling to switched off or "out of coverage" cell phones. In this case I 
> have to wait 40 seconds until Asterisk tell me that "all circuits are busy 
> now" instead of receive cell phone company message of "The cell phone you 
> are calling is unavailable". We tried a lot of configurations in 
> zapata.conf and zaptel.conf, but we still have the same problem. I show my 
> config:
> 
> zapata.conf:
> 
> =================================
> ;
> ; Zapata telephony interface
> ;
> ; Configuration file
> 
> [trunkgroups]
> 
> [channels]
> 
> language=es
> 
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> group=1
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=800
> immediate=no
> 
> switchtype=euroisdn
> signalling=bri_cpe_ptmp
> pridialplan=unknown
> prilocaldialplan=unknown
> priindication=outofband
> facilityenable=yes
> relaxdtmf=yes
> context=from-zaptel
> rxgain=0.0
> txgain=0.0
> channel => 1,2
> 
> faxdetect=incoming
> 
> ;Include genzaptelconf configs
> #include zapata-auto.conf
> 
> #group=1
> 
> ;Include AMP configs
> #include zapata_additional.conf

Could you please provide those two files (zapata_additional.conf and 
zapata-auto.conf )?

> 
> 
> 
> ;Include BRI-HFC configs
> #include zapata-BRI-HFC.conf
> 
> ===============================
> 
> zaptel.conf
> 
> ===============================
> 
> # Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
> # Zaptel Configuration File
> #
> # This file is parsed by the Zaptel Configurator, ztcfg
> #
> 
> # It must be in the module loading order
> 
> 
> # Global data
> 
> loadzone = es
> defaultzone = es
> 
> # HFC CARD NOTE:
> # When run for the first time the card numbers start from 1
> # When run subsequently the card numbers start from 0
> # Go figure!
> 
> 
> # Span 1: ztqoz/2/1 "quadBRI PCI ISDN Card 1 Span 1 [TE]"
> span=1,1,3,ccs,ami
> bchan=1-2
> dchan=3
> 
> 
> # Span 2: ztqoz/2/2 "quadBRI PCI ISDN Card 1 Span 2 [TE]"
> #span=2,0,3,ccs,ami
> #bchan=4-5
> #dchan=6
> 
> 
> # Span 3: ztqoz/2/3 "quadBRI PCI ISDN Card 1 Span 3 [TE]"
> #span=3,0,3,ccs,ami
> #bchan=7-8
> #dchan=9
> 
> 
> # Span 4: ztqoz/2/4 "quadBRI PCI ISDN Card 1 Span 4 [TE]"
> #span=4,0,3,ccs,ami
> #bchan=10-11
> #dchan=12
> 
> ===============================
> 
> In channel debug I have:
> 
> Debugging on new channels is enabled
> 
>    -- Executing Macro("SIP/200-09fc1698", "dialout-trunk|2|637574972||") in 
> new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK=2") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "_NODEST=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_NUMBER=637574972") in new 
> stack
> 
>    -- Executing Set("SIP/200-09fc1698", "ROUTE_PASSWD=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK_OPTIONS=tr") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?noauth") in new stack
> 
>    -- Goto (macro-dialout-trunk,s,8)
> 
>    -- Executing Set("SIP/200-09fc1698", "GROUP()=OUT_2") in new stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "user-callerid|SKIPTTL") in new 
> stack
> 
>    -- Executing NoOp("SIP/200-09fc1698", "user-callerid: device 200") in 
> new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?report") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?start") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "REALCALLERIDNUM=200") in new stack
> 
>    -- Executing NoOp("SIP/200-09fc1698", "REALCALLERIDNUM is 200") in new 
> stack
> 
>    -- Executing Set("SIP/200-09fc1698", "AMPUSER=200") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "AMPUSERCIDNAME=200") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?report") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "CALLERID(all)=200 <200>") in new 
> stack
> 
>    -- Executing Set("SIP/200-09fc1698", "REALCALLERIDNUM=200") in new stack
> 
>    -- Executing NoOp("SIP/200-09fc1698", "TTL:  ARG1: SKIPTTL") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?continue") in new stack
> 
>    -- Goto (macro-user-callerid,s,21)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "Using CallerID "200" <200>") in 
> new stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "record-enable|200|OUT") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?2:4") in new stack
> 
>    -- Goto (macro-record-enable,s,4)
> 
>    -- Executing DeadAGI("SIP/200-09fc1698", 
> "recordingcheck|20070517-111347|asterisk-2589-1179393227.3") in new stack
> 
>    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
> 
>  recordingcheck|20070517-111347|asterisk-2589-1179393227.3: Outbound 
> recording not enabled
> 
>    -- AGI Script recordingcheck completed, returning 0
> 
>    -- Executing NoOp("SIP/200-09fc1698", "No recording needed") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?skipoutcid") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK_OPTIONS=r") in new 
> stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "outbound-callerid|2") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?start") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,3)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "REALCALLERIDNUM is 200") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?normcid") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,9)
> 
>    -- Executing Set("SIP/200-09fc1698", "USEROUTCID=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "EMERGENCYCID=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "TRUNKOUTCID="CITY LOGO" 
> <965245915>") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?trunkcid") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,16)
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?usercid") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "CALLERID(all)="CITY LOGO" 
> <965245915>") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?report") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,22)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "CallerID set to "CITY LOGO" 
> <965245915>") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?nomax") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?chanfull") in new stack
> 
>    -- Executing DeadAGI("SIP/200-09fc1698", "fixlocalprefix") in new stack
> 
>    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> 
>    -- AGI Script fixlocalprefix completed, returning 0
> 
>    -- Executing Set("SIP/200-09fc1698", "OUTNUM=637574972") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "custom=ZAP/1") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?customtrunk") in new stack
> 
>    -- Executing Dial("SIP/200-09fc1698", "ZAP/1/637574972|300|r") in new 
> stack
> 
>    -- Requested transfer capability: 0x00 - SPEECH
> 
>    -- Called 1/637574972
> 
>    -- Zap/1-1 is proceeding passing it to SIP/200-09fc1698
> 
>    -- Zap/1-1 is making progress passing it to SIP/200-09fc1698
> 
>    -- Channel 0/1, span 1 got hangup request
> 
>    -- Channel 0/1, span 1 received AOC-E charging 0 units
> 
>    -- Hungup 'Zap/1-1'
> 
>  == Everyone is busy/congested at this time (1:0/0/1)
> 
>    -- Executing Goto("SIP/200-09fc1698", "s-CHANUNAVAIL|1") in new stack
> 
>    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "Dial failed due to CHANUNAVAIL - 
> failing through to other trunks") in new stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "dialout-trunk|1|637574972||") in 
> new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK=1") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "_NODEST=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_NUMBER=637574972") in new 
> stack
> 
>    -- Executing Set("SIP/200-09fc1698", "ROUTE_PASSWD=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK_OPTIONS=tr") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?noauth") in new stack
> 
>    -- Goto (macro-dialout-trunk,s,8)
> 
>    -- Executing Set("SIP/200-09fc1698", "GROUP()=OUT_1") in new stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "user-callerid|SKIPTTL") in new 
> stack
> 
>    -- Executing NoOp("SIP/200-09fc1698", "user-callerid: CITY LOGO 
> 965245915") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?report") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?start") in new stack
> 
>    -- Goto (macro-user-callerid,s,5)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "REALCALLERIDNUM is 200") in new 
> stack
> 
>    -- Executing Set("SIP/200-09fc1698", "AMPUSER=200") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "AMPUSERCIDNAME=200") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?report") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "CALLERID(all)=200 <200>") in new 
> stack
> 
>    -- Executing Set("SIP/200-09fc1698", "REALCALLERIDNUM=200") in new stack
> 
>    -- Executing NoOp("SIP/200-09fc1698", "TTL:  ARG1: SKIPTTL") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?continue") in new stack
> 
>    -- Goto (macro-user-callerid,s,21)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "Using CallerID "200" <200>") in 
> new stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "record-enable|200|OUT") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?2:4") in new stack
> 
>    -- Goto (macro-record-enable,s,4)
> 
>    -- Executing DeadAGI("SIP/200-09fc1698", 
> "recordingcheck|20070517-111420|asterisk-2589-1179393227.3") in new stack
> 
>    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
> 
>  recordingcheck|20070517-111420|asterisk-2589-1179393227.3: Outbound 
> recording not enabled
> 
>    -- AGI Script recordingcheck completed, returning 0
> 
>    -- Executing NoOp("SIP/200-09fc1698", "No recording needed") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?skipoutcid") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK_OPTIONS=r") in new 
> stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "outbound-callerid|1") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?start") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,3)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "REALCALLERIDNUM is 200") in new 
> stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?normcid") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,9)
> 
>    -- Executing Set("SIP/200-09fc1698", "USEROUTCID=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "EMERGENCYCID=") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "TRUNKOUTCID="CITY LOGO" 
> <965245915>") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?trunkcid") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,16)
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?usercid") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "CALLERID(all)="CITY LOGO" 
> <965245915>") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?report") in new stack
> 
>    -- Goto (macro-outbound-callerid,s,22)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "CallerID set to "CITY LOGO" 
> <965245915>") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?nomax") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?chanfull") in new stack
> 
>    -- Executing DeadAGI("SIP/200-09fc1698", "fixlocalprefix") in new stack
> 
>    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> 
>    -- AGI Script fixlocalprefix completed, returning 0
> 
>    -- Executing Set("SIP/200-09fc1698", "OUTNUM=637574972") in new stack
> 
>    -- Executing Set("SIP/200-09fc1698", "custom=ZAP/2") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "0?customtrunk") in new stack
> 
>    -- Executing Dial("SIP/200-09fc1698", "ZAP/2/637574972|300|r") in new 
> stack
> 
>    -- Requested transfer capability: 0x00 - SPEECH
> 
>    -- Called 2/637574972
> 
>    -- Zap/2-1 is proceeding passing it to SIP/200-09fc1698
> 
>    -- Zap/2-1 is making progress passing it to SIP/200-09fc1698
> 
> -- Channel 0/2, span 1 got hangup request
> 
>    -- Channel 0/2, span 1 received AOC-E charging 0 units
> 
>    -- Hungup 'Zap/2-1'
> 
>  == Everyone is busy/congested at this time (1:0/0/1)
> 
>    -- Executing Goto("SIP/200-09fc1698", "s-CHANUNAVAIL|1") in new stack
> 
>    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
> 
>    -- Executing NoOp("SIP/200-09fc1698", "Dial failed due to CHANUNAVAIL - 
> failing through to other trunks") in new stack
> 
>    -- Executing Macro("SIP/200-09fc1698", "outisbusy|") in new stack
> 
>    -- Executing Playback("SIP/200-09fc1698", 
> "all-circuits-busy-now|noanswer") in new stack
> 
>    -- Playing 'all-circuits-busy-now' (language 'es')
> 
>    -- Executing Playback("SIP/200-09fc1698", "pls-try-call-later|noanswer") 
> in new stack
> 
>    -- Playing 'pls-try-call-later' (language 'es')
> 
>    -- Executing Macro("SIP/200-09fc1698", "hangupcall") in new stack
> 
>    -- Executing ResetCDR("SIP/200-09fc1698", "w") in new stack
> 
>    -- Executing NoCDR("SIP/200-09fc1698", "") in new stack
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?skiprg") in new stack
> 
>    -- Goto (macro-hangupcall,s,6)
> 
>    -- Executing GotoIf("SIP/200-09fc1698", "1?theend") in new stack
> 
>    -- Goto (macro-hangupcall,s,9)
> 
>    -- Executing Wait("SIP/200-09fc1698", "5") in new stack
> 
>    -- Executing Hangup("SIP/200-09fc1698", "") in new stack
> 
> 
> 
> I'm getting crazy with this issue, so I hope one of you could help me.
> 
> 
> 
> Thanks a lot for your uninterested help to Asterisk-Users!!
> 
> 
> 
> Bye.
> 
> _________________________________________________________________
> Moda para esta temporada. Ponte al día de todas las tendencias. 
> http://www.msn.es/Mujer/moda/default.asp
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list