[asterisk-users] Re: Outgoing problem on PRI

Mohamed A. Gombolaty mgombolaty at noorgroup.net
Sun Nov 12 02:00:19 MST 2006


Dear All,

The resolution to the problem below was very easy and I guess that what
made it very hard:

callerid=asreceived
   signalling=pri_cpe
   switchtype=> euroisdn
   context=from-zaptel
   group=0
   channel=>1-15,17-31

Thx
MAG


"Mohamed A. Gombolaty" wrote:

> Dear All,
>
> I have an asterisk server  version 1.2.12.1 along with trixbox and I
> am having this nasty problem, I have a TE200P and have an E1 pri
> attached to it and zttool  says it's OK, I have configured the whole
> 31 channels into one group  as follow:
>
> Zapata-auto.conf:
>
> callerid=asreceived
> signalling=pri_cpe
> switchtype=euroisdn
> context=from-zaptel
> group=0
> channel=>1-15,17-31
>
> /etc/zaptel.conf:
> span=1,1,0,ccs,hdb3,crc4
> bchan=1-15,17-31
> dchan=16
>
> Now I can recieve calls on the pri and everyhting is well but I can't
> make calls from the pri, whenever I try I get all circuits are busy
> message here is a log from asterisk cli when I try to make a call out
> using pri it is a tiny long but trixbox does add many macros and
> stuff  put I do have suspicions about what can cause the zap channel
> to get a Hungup request as it seems from below that is the case :
>
>
>     -- Executing Macro("SIP/146-b78060b0",
> "dialout-trunk|3|6536595||")in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?3:2") in new stack
>     -- Goto (macro-dialout-trunk,s,3)
>     -- Executing Macro("SIP/146-b78060b0", "user-callerid") in new
> stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?report") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?start") in new stack
>     -- Executing Set("SIP/146-b78060b0", "REALCALLERIDNUM=146") in
> newstack
>     -- Executing NoOp("SIP/146-b78060b0", "REALCALLERIDNUM is 146") in
> new stack
>     -- Executing Set("SIP/146-b78060b0", "AMPUSER=146") in new stack
>     -- Executing Set("SIP/146-b78060b0", "AMPUSERCIDNAME=Mohamed Samir
> -UNIX") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?report") in new stack
>     -- Executing Set("SIP/146-b78060b0", "CALLERID(all)=Mohamed Samir
> - UNIX <146>") in new stack
>     -- Executing NoOp("SIP/146-b78060b0", "Using CallerID "Mohamed
> Samir - UNIX" <146>") in new stack
>     -- Executing Macro("SIP/146-b78060b0", "record-enable|146|OUT") in
> new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0 > 0?2:4") in new stack
>     -- Goto (macro-record-enable,s,4)
>     -- Executing AGI("SIP/146-b78060b0",
> "recordingcheck|20061110-162404|1163168644.20") in new stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
>     -- Executing Macro("SIP/146-b78060b0",
> "dialout-trunk|3|6536595||") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?3:2") in new stack
>     -- Goto (macro-dialout-trunk,s,3)
>     -- Executing Macro("SIP/146-b78060b0", "user-callerid") in new
> stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?report") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?start") in new stack
>     -- Executing Set("SIP/146-b78060b0", "REALCALLERIDNUM=146") in new
> stack
>     -- Executing NoOp("SIP/146-b78060b0", "REALCALLERIDNUM is 146") in
> new stack
>     -- Executing Set("SIP/146-b78060b0", "AMPUSER=146") in new stack
>     -- Executing Set("SIP/146-b78060b0", "AMPUSERCIDNAME=Mohamed Samir
> - UNIX") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?report") in new stack
>     -- Executing Set("SIP/146-b78060b0", "CALLERID(all)=Mohamed Samir
> - UNIX <146>") in new stack
>     -- Executing NoOp("SIP/146-b78060b0", "Using CallerID "Mohamed
> Samir - UNIX" <146>") in new stack
>     -- Executing Macro("SIP/146-b78060b0", "record-enable|146|OUT") in
> new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0 > 0?2:4") in new stack
>     -- Goto (macro-record-enable,s,4)
>     -- Executing AGI("SIP/146-b78060b0",
> "recordingcheck|20061110-162404|1163168644.20") in new stack
>     -- Launched AGI Script
> /var/lib/asterisk/agi-bin/recordingcheckrecordingcheck|20061110-162404|1163168644.20:
> Outbound recording not enabled
>   recordingcheck|20061110-162404|1163168644.20: Outbound recording not
> enabled
>     -- AGI Script recordingcheck completed, returning 0
>     -- AGI Script recordingcheck completed, returning 0
>     -- Executing NoOp("SIP/146-b78060b0", "No recording needed") in
> new stack
>     -- Executing NoOp("SIP/146-b78060b0", "No recording needed") in
> new stack
>     -- Executing Macro("SIP/146-b78060b0", "outbound-callerid|3") in
> new stack
>     -- Executing Macro("SIP/146-b78060b0", "outbound-callerid|3") in
> new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?start") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?start") in new stack
>     -- Goto (macro-outbound-callerid,s,3)
>     -- Goto (macro-outbound-callerid,s,3)
>     -- Executing NoOp("SIP/146-b78060b0", "REALCALLERIDNUM is 146") in
> new stack
>     -- Executing NoOp("SIP/146-b78060b0", "REALCALLERIDNUM is 146") in
> new stack
>     -- Executing Set("SIP/146-b78060b0", "USEROUTCID=") in new stack
>     -- Executing Set("SIP/146-b78060b0", "USEROUTCID=") in new stack
>     -- Executing Set("SIP/146-b78060b0", "EMERGENCYCID=") in new stack
>
>     -- Executing Set("SIP/146-b78060b0", "EMERGENCYCID=") in new stack
>
>     -- Executing Set("SIP/146-b78060b0", "TRUNKOUTCID=") in new stack
>     -- Executing Set("SIP/146-b78060b0", "TRUNKOUTCID=") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?trunkcid") in new stack
>
>     -- Executing GotoIf("SIP/146-b78060b0", "1?trunkcid") in new stack
>
>     -- Goto (macro-outbound-callerid,s,11)
>     -- Goto (macro-outbound-callerid,s,11)
>     -- Executing GotoIf("SIP/146-b78060b0", "1?usercid") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?usercid") in new stack
>     -- Goto (macro-outbound-callerid,s,13)
>     -- Goto (macro-outbound-callerid,s,13)
>     -- Executing GotoIf("SIP/146-b78060b0", "1?report") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "1?report") in new stack
>     -- Goto (macro-outbound-callerid,s,15)
>     -- Goto (macro-outbound-callerid,s,15)
>     -- Executing NoOp("SIP/146-b78060b0", "CallerID set to "Mohamed
> Samir - UNIX" <146>") in new stack
>     -- Executing NoOp("SIP/146-b78060b0", "CallerID set to "Mohamed
> Samir - UNIX" <146>") in new stack
>     -- Executing Set("SIP/146-b78060b0", "GROUP()=OUT_3") in new stack
>
>     -- Executing Set("SIP/146-b78060b0", "GROUP()=OUT_3") in new stack
>
>     -- Executing GotoIf("SIP/146-b78060b0", "0?108") in new stack
>     -- Executing GotoIf("SIP/146-b78060b0", "0?108") in new stack
>     -- Executing Set("SIP/146-b78060b0", "DIAL_NUMBER=6536595") in new
> stack
>     -- Executing Set("SIP/146-b78060b0", "DIAL_NUMBER=6536595") in new
> stack
>     -- Executing Set("SIP/146-b78060b0", "DIAL_TRUNK=3") in new stack
>     -- Executing Set("SIP/146-b78060b0", "DIAL_TRUNK=3") in new stack
>     -- Executing AGI("SIP/146-b78060b0", "fixlocalprefix") in new
> stack
>     -- Executing AGI("SIP/146-b78060b0", "fixlocalprefix") in new
> stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
>   fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
>   fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
>     -- AGI Script fixlocalprefix completed, returning 0
>     -- Executing Set("SIP/146-b78060b0", "OUTNUM=6536595") in new
> stack
>     -- Executing Set("SIP/146-b78060b0", "custom=ZAP/g0") in new stack
>
>     -- Executing GotoIf("SIP/146-b78060b0", "0?16") in new stack
>     -- Executing Dial("SIP/146-b78060b0", "ZAP/g0/6536595|120|tr") in
> new stack
>     -- Requested transfer capability: 0x00 - SPEECH
>     -- Called g0/6536595
>     -- AGI Script fixlocalprefix completed, returning 0
>     -- Executing Set("SIP/146-b78060b0", "OUTNUM=6536595") in new
> stack
>     -- Executing Set("SIP/146-b78060b0", "custom=ZAP/g0") in new stack
>
>     -- Executing GotoIf("SIP/146-b78060b0", "0?16") in new stack
>     -- Executing Dial("SIP/146-b78060b0", "ZAP/g0/6536595|120|tr") in
> new stack
>     -- Requested transfer capability: 0x00 - SPEECH
>     -- Called g0/6536595
>     -- Zap/1-1 is proceeding passing it to SIP/146-b78060b0
>     -- Zap/1-1 is proceeding passing it to SIP/146-b78060b0
>     -- Channel 0/1, span 1 got hangup request
>     -- Channel 0/1, span 1 got hangup request
>     -- Hungup 'Zap/1-1'
>     -- Hungup 'Zap/1-1'
>   == Everyone is busy/congested at this time (1:0/0/1)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing Goto("SIP/146-b78060b0", "s-CHANUNAVAIL|1") in new
> stack
>     -- Executing Goto("SIP/146-b78060b0", "s-CHANUNAVAIL|1") in new
> stack
>     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
>     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
>     -- Executing NoOp("SIP/146-b78060b0", "Dial failed due to
> CHANUNAVAIL") in new stack
>     -- Executing NoOp("SIP/146-b78060b0", "Dial failed due to
> CHANUNAVAIL") in new stack
>     -- Executing Macro("SIP/146-b78060b0", "outisbusy|") in new stack
>     -- Executing Macro("SIP/146-b78060b0", "outisbusy|") in new stack
>     -- Executing Playback("SIP/146-b78060b0", "all-circuits-busy-now")
> in new stack
>     -- Executing Playback("SIP/146-b78060b0", "all-circuits-busy-now")
> in new stack
>     -- Playing 'all-circuits-busy-now' (language 'en')
>     -- Playing 'all-circuits-busy-now' (language 'en')
>     -- Executing Playback("SIP/146-b78060b0", "pls-try-call-later") in
> new stack
>     -- Playing 'pls-try-call-later' (language 'en')
>     -- Executing Playback("SIP/146-b78060b0", "pls-try-call-later") in
> new stack
>     -- Playing 'pls-try-call-later' (language 'en')
>
>
>
>
>
>
>
>
>
> --
> Thx
> MAG
>
>

--
Thx
MAG


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061112/f9851f0f/attachment.htm


More information about the asterisk-users mailing list