<div>OK, sorry for not being so explicit.</div>
<div>Here is the console output when i try to call no a non-existant number. I don't get the message from the provider telling me the number does not exist. But, if i place a call through an analog line, i got the provider message.
</div>
<div> </div>
<div> -- Accepting AUTHENTICATED call from <a href="http://201.240.77.46">201.240.77.46</a>:<br> > requested format = gsm,<br> > requested prefs = (),<br> > actual format = gsm,<br> > host prefs = (g729|gsm|ulaw|alaw),
<br> > priority = mine<br> -- Executing Macro("IAX2/599-2", "dialout-trunk|1|5622716||") in new stack<br> -- Executing GotoIf("IAX2/599-2", "1?3:2") in new stack<br> -- Goto (macro-dialout-trunk,s,3)
<br> -- Executing Macro("IAX2/599-2", "user-callerid") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?report") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?start") in new stack
<br> -- Executing Set("IAX2/599-2", "REALCALLERIDNUM=599") in new stack<br> -- Executing NoOp("IAX2/599-2", "REALCALLERIDNUM is 599") in new stack<br> -- Executing Set("IAX2/599-2", "AMPUSER=599") in new stack
<br> -- Executing Set("IAX2/599-2", "AMPUSERCIDNAME=Carlos Prieto") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?report") in new stack<br> -- Executing Set("IAX2/599-2", "CALLERID(all)=Carlos Prieto <599>") in new stack
<br> -- Executing NoOp("IAX2/599-2", "Using CallerID "Carlos Prieto" <599>") in new stack<br> -- Executing Macro("IAX2/599-2", "record-enable|599|OUT") in new stack
<br> -- Executing GotoIf("IAX2/599-2", "0 > 0?2:4") in new stack<br> -- Goto (macro-record-enable,s,4)<br> -- Executing AGI("IAX2/599-2", "recordingcheck|20060808-125641|1155059801.39") in new stack
<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> recordingcheck|20060808-125641|1155059801.39: Outbound recording not enabled<br> -- AGI Script recordingcheck completed, returning 0<br> -- Executing NoOp("IAX2/599-2", "No recording needed") in new stack
<br> -- Executing Macro("IAX2/599-2", "outbound-callerid|1") in new stack<br> -- Executing GotoIf("IAX2/599-2", "1?start") in new stack<br> -- Goto (macro-outbound-callerid,s,3)
<br> -- Executing NoOp("IAX2/599-2", "REALCALLERIDNUM is 599") in new stack<br> -- Executing Set("IAX2/599-2", "USEROUTCID=") in new stack<br> -- Executing Set("IAX2/599-2", "EMERGENCYCID=") in new stack
<br> -- Executing Set("IAX2/599-2", "TRUNKOUTCID=") in new stack<br> -- Executing GotoIf("IAX2/599-2", "1?trunkcid") in new stack<br> -- Goto (macro-outbound-callerid,s,11)
<br> -- Executing GotoIf("IAX2/599-2", "1?usercid") in new stack<br> -- Goto (macro-outbound-callerid,s,13)<br> -- Executing GotoIf("IAX2/599-2", "1?report") in new stack<br>
-- Goto (macro-outbound-callerid,s,15)<br> -- Executing NoOp("IAX2/599-2", "CallerID set to "Carlos Prieto" <599>") in new stack<br> -- Executing Set("IAX2/599-2", "GROUP()=OUT_1") in new stack
<br> -- Executing GotoIf("IAX2/599-2", "0?108") in new stack<br> -- Executing Set("IAX2/599-2", "DIAL_NUMBER=5622716") in new stack<br> -- Executing Set("IAX2/599-2", "DIAL_TRUNK=1") in new stack
<br> -- Executing AGI("IAX2/599-2", "fixlocalprefix") in new stack<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br> fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
<br> -- AGI Script fixlocalprefix completed, returning 0</div>
<div> -- Executing Set("IAX2/599-2", "OUTNUM=5622716") in new stack<br> -- Executing Set("IAX2/599-2", "custom=ZAP/g1") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?16") in new stack
<br> -- Executing Dial("IAX2/599-2", "ZAP/g1/5622716|120|tTrwW") in new stack<br> -- Requested transfer capability: 0x00 - SPEECH<br> <strong><font color="#000099"> -- Called g1/5622716</font></strong>
<br> -- Zap/1-1 is proceeding passing it to IAX2/599-2<br> <strong><font color="#ff0000">--</font></strong> <strong><font color="#ff0000">Channel 0/1, span 1 got hangup request<br></font></strong> <strong><font color="#ff0000">
-- Hungup 'Zap/1-1'<br> == Everyone is busy/congested at this time (1:0/0/1)</font></strong><br> -- Executing Goto("IAX2/599-2", "s-CHANUNAVAIL|1") in new stack<br> -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
<br> -- Executing NoOp("IAX2/599-2", "Dial failed due to CHANUNAVAIL") in new stack<br> -- Executing Macro("IAX2/599-2", "outisbusy|") in new stack<br> -- <strong><font color="#ff0000">
Executing Playback("IAX2/599-2", "all-circuits-busy-now") in new stack<br> -- Playing 'all-circuits-busy-now' (language 'es')<br></font></strong> -- Executing Playback("IAX2/599-2", "pls-try-call-later") in new stack
<br> -- Playing 'pls-try-call-later' (language 'es')<br> -- Hungup 'IAX2/599-2'</div>
<div> </div>
<div>Here is the console output when calling to an existant number. From time to time, totally random; i got the previous message.</div>
<div> </div>
<div> -- Accepting AUTHENTICATED call from <a href="http://201.240.77.46">201.240.77.46</a>:<br> > requested format = gsm,<br> > requested prefs = (),<br> > actual format = gsm,<br> > host prefs = (g729|gsm|ulaw|alaw),
<br> > priority = mine<br> -- Executing Macro("IAX2/599-2", "dialout-trunk|1|3623885||") in new stack<br> -- Executing GotoIf("IAX2/599-2", "1?3:2") in new stack<br> -- Goto (macro-dialout-trunk,s,3)
<br> -- Executing Macro("IAX2/599-2", "user-callerid") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?report") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?start") in new stack
<br> -- Executing Set("IAX2/599-2", "REALCALLERIDNUM=599") in new stack<br> -- Executing NoOp("IAX2/599-2", "REALCALLERIDNUM is 599") in new stack<br> -- Executing Set("IAX2/599-2", "AMPUSER=599") in new stack
<br> -- Executing Set("IAX2/599-2", "AMPUSERCIDNAME=Carlos Prieto") in new stack<br> -- Executing GotoIf("IAX2/599-2", "0?report") in new stack<br> -- Executing Set("IAX2/599-2", "CALLERID(all)=Carlos Prieto <599>") in new stack
<br> -- Executing NoOp("IAX2/599-2", "Using CallerID "Carlos Prieto" <599>") in new stack<br> -- Executing Macro("IAX2/599-2", "record-enable|599|OUT") in new stack
<br> -- Executing GotoIf("IAX2/599-2", "0 > 0?2:4") in new stack<br> -- Goto (macro-record-enable,s,4)<br> -- Executing AGI("IAX2/599-2", "recordingcheck|20060808-130315|1155060195.44") in new stack
<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> recordingcheck|20060808-130315|1155060195.44: Outbound recording not enabled<br> -- AGI Script recordingcheck completed, returning 0<br> -- Executing NoOp("IAX2/599-2", "No recording needed") in new stack
<br> -- Executing Macro("IAX2/599-2", "outbound-callerid|1") in new stack<br> -- Executing GotoIf("IAX2/599-2", "1?start") in new stack<br> -- Goto (macro-outbound-callerid,s,3)
<br> -- Executing NoOp("IAX2/599-2", "REALCALLERIDNUM is 599") in new stack<br> -- Executing Set("IAX2/599-2", "USEROUTCID=") in new stack<br> -- Executing Set("IAX2/599-2", "EMERGENCYCID=") in new stack
<br> -- Executing Set("IAX2/599-2", "TRUNKOUTCID=") in new stack<br> -- Executing GotoIf("IAX2/599-2", "1?trunkcid") in new stack<br> -- Goto (macro-outbound-callerid,s,11)
<br> -- Executing GotoIf("IAX2/599-2", "1?usercid") in new stack<br> -- Goto (macro-outbound-callerid,s,13)<br> -- Executing GotoIf("IAX2/599-2", "1?report") in new stack<br>
-- Goto (macro-outbound-callerid,s,15)<br> -- Executing NoOp("IAX2/599-2", "CallerID set to "Carlos Prieto" <599>") in new stack<br> -- Executing Set("IAX2/599-2", "GROUP()=OUT_1") in new stack
<br> -- Executing GotoIf("IAX2/599-2", "0?108") in new stack<br> -- Executing Set("IAX2/599-2", "DIAL_NUMBER=3623885") in new stack<br> -- Executing Set("IAX2/599-2", "DIAL_TRUNK=1") in new stack
<br> -- Executing AGI("IAX2/599-2", "fixlocalprefix") in new stack<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br> fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
<br> -- AGI Script fixlocalprefix completed, returning 0<br> -- Executing Set("IAX2/599-2", "OUTNUM=3623885") in new stack<br> -- Executing Set("IAX2/599-2", "custom=ZAP/g1") in new stack
<br> -- Executing GotoIf("IAX2/599-2", "0?16") in new stack<br> -- Executing Dial("IAX2/599-2", "ZAP/g1/3623885|120|tTrwW") in new stack<br> -- Requested transfer capability: 0x00 - SPEECH
<br> <strong><font color="#000099">-- Called g1/3623885</font></strong><br> -- Zap/1-1 is proceeding passing it to IAX2/599-2<br> <strong><font color="#000099">-- Zap/1-1 is ringing<br> -- Zap/1-1 answered IAX2/599-2
<br></font></strong> -- Hungup 'Zap/1-1'<br> -- Hungup 'IAX2/599-2'<br> </div>
<div>Kind regards.<br> </div>
<div><span class="gmail_quote">On 8/8/06, <b class="gmail_sendername">Moises Silva</b> <<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Carlos, are you new in asterisk-users? My recommendation would be<br>to post more information about what is Asterisk showing in the verbose
<br>console. Posting only configurations with a brief description of the<br>problem from a "end user" perspective is something that I dont see<br>much usefull.<br><br>Regards<br><br>On 8/8/06, Carlos Prieto <
<a href="mailto:prieto.carlos@gmail.com">prieto.carlos@gmail.com</a>> wrote:<br>><br>> Hi !<br>><br>> I have a partial PRI conection with Telmex, and sometimes when i try to<br>> place a call, i got the message "all circuits are busy now", however all
<br>> channels are not in use. The same ocurres when i place a call to a<br>> non-existant number or to a busy number; i got "all circuits are busy now"<br>> instead of getting "that number does not exist" from the provider or listen
<br>> the "busy" tone. When i place a call to a residential number and that number<br>> does not answer, i don't hear the message from the voicemail ("You have<br>> tried to reach the number 123455. Please leave your message after the tone")
<br>> but instead i only hear the "beep" signal for leaving the message.<br>><br>> Here are my configurations:<br>><br>><br>> /etc/zaptel.conf:<br>><br>> span=1,1,0,ccs,hdb3<br>> bchan=1-15
<br>> dchan=16<br>> loadzone = us<br>> defaultzone = us<br>><br>> /etc/asterisk/zapata.conf:<br>><br>> [channels]<br>> context=from-trunk<br>> switchtype=euroisdn<br>> signalling=pri_cpe
<br>> group=1<br>> channel => 1-15<br>> callgroup=1<br>> pickupgroup=1<br>><br>> "zap show status":<br>><br>> Description Alarms IRQ<br>> bpviol CRC4
<br>> Digium Wildcard TE110P T1/E1 Card 0 OK 18964 0 0<br>><br>><br>> "pri show span 1":<br>><br>> Primary D-channel: 16<br>> Status: Provisioned, Up, Active<br>> Switchtype: EuroISDN
<br>> Type: CPE<br>> Window Length: 0/7<br>> Sentrej: 0<br>> SolicitFbit: 0<br>> Retrans: 0<br>> Busy: 0<br>> Overlap Dial: 0<br>> T200 Timer: 1000<br>> T203 Timer: 10000<br>> T305 Timer: 30000
<br>> T308 Timer: 4000<br>> T313 Timer: 4000<br>> N200 Counter: 3<br>> Any help, will be appreciated.<br>><br>> Thanks in advance.<br>> Kind regards.<br>><br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>><br>><br><br><br>--<br>"Su nombre es GNU/Linux, no solamente Linux, mas info en <a href="http://www.gnu.org">http://www.gnu.org</a>"<br>
_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>