[ZGEN- я исправил логи] Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20
zgen спасибо что откликнулись
Asterisk 1.8.11-cert8
FPBX-2.10.0rc1(1.8.11)
при попытке сделать заходящие звонки как внутр сети так и в наружу
(2 дня назад всё работало, backup даёт ошибку PHP Fatal error Call to undefined function fpbx_ami_update() in /var/www/html/admin/modules/backup/bin/restore.php,
есть несколько backups, но из за ошибки не могу их использовать через GUI)
Connected to Asterisk 1.8.11-cert8 currently running on SIPserver (pid = 22727) Verbosity is at least 6 == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 — Executing [8903xxxxxxx@from-internal:1] Macro(«SIP/333-00000012», «user-callerid,LIMIT,») in new stack — Executing [s@macro-user-callerid:1] Set(«SIP/333-00000012», «AMPUSER=333») in new stack — Executing [s@macro-user-callerid:2] GotoIf(«SIP/333-00000012», «0?report») in new stack — Executing [s@macro-user-callerid:3] ExecIf(«SIP/333-00000012», «1?Set(REALCALLERIDNUM=333)») in new stack — Executing [s@macro-user-callerid:4] Set(«SIP/333-00000012», «AMPUSER=333») in new stack — Executing [s@macro-user-callerid:5] Set(«SIP/333-00000012», «AMPUSERCIDNAME=333») in new stack — Executing [s@macro-user-callerid:6] GotoIf(«SIP/333-00000012», «0?report») in new stack — Executing [s@macro-user-callerid:7] Set(«SIP/333-00000012», «AMPUSERCID=333») in new stack — Executing [s@macro-user-callerid:8] Set(«SIP/333-00000012», «CALLERID(all)=„333“ <333>») in new stack — Executing [s@macro-user-callerid:9] GotoIf(«SIP/333-00000012», «0?limit») in new stack — Executing [s@macro-user-callerid:10] ExecIf(«SIP/333-00000012», «1?Set(GROUP(concurrency_limit)=333)») in new stack — Executing [s@macro-user-callerid:11] GotoIf(«SIP/333-00000012», «1?continue») in new stack — Goto (macro-user-callerid,s,24) — Executing [s@macro-user-callerid:24] Set(«SIP/333-00000012», «CALLERID(number)=333») in new stack — Executing [s@macro-user-callerid:25] Set(«SIP/333-00000012», «CALLERID(name)=333») in new stack — Executing [s@macro-user-callerid:26] Set(«SIP/333-00000012», «CHANNEL(language)=en») in new stack — Executing [8903XXXXXXX@from-internal:2] Set(«SIP/333-00000012», «MOHCLASS=default») in new stack — Executing [89032726588@from-internal:3] Set(«SIP/333-00000012», «_NODEST=») in new stack — Executing [8903XXXXXXX@from-internal:4] Gosub(«SIP/333-00000012», «sub-record-check,s,1(out,8903XXXXXXX,)») in new stack — Executing [s@sub-record-check:1] GotoIf(«SIP/333-00000012», «1?check») in new stack — Goto (sub-record-check,s,6) — Executing [s@sub-record-check:6] Set(«SIP/333-00000012», «__MON_FMT=wav») in new stack — Executing [s@sub-record-check:7] GotoIf(«SIP/333-00000012», «1?next») in new stack — Goto (sub-record-check,s,10) — Executing [s@sub-record-check:10] ExecIf(«SIP/333-00000012», «0?Return()») in new stack — Executing [s@sub-record-check:11] GotoIf(«SIP/333-00000012», «0?out,1») in new stack — Executing [s@sub-record-check:12] Set(«SIP/333-00000012», «__REC_STATUS=INITIALIZED») in new stack — Executing [s@sub-record-check:13] ExecIf(«SIP/333-00000012», «0?Set(__REC_POLICY_MODE=)») in new stack — Executing [s@sub-record-check:14] Set(«SIP/333-00000012», «NOW=1370513870») in new stack — Executing [s@sub-record-check:15] Set(«SIP/333-00000012», «__DAY=06») in new stack — Executing [s@sub-record-check:16] Set(«SIP/333-00000012», «__MONTH=06») in new stack — Executing [s@sub-record-check:17] Set(«SIP/333-00000012», «__YEAR=2013») in new stack — Executing [s@sub-record-check:18] Set(«SIP/333-00000012», «__TIMESTR=20130606-141750») in new stack — Executing [s@sub-record-check:19] Set(«SIP/333-00000012», «__FROMEXTEN=333») in new stack — Executing [s@sub-record-check:20] Set(«SIP/333-00000012», «__CALLFILENAME=out-8903XXXXXXX-333-20130606-141750-1370513870.108») in new stack — Executing [s@sub-record-check:21] Goto(«SIP/333-00000012», «out,1») in new stack — Goto (sub-record-check,out,1) — Executing [out@sub-record-check:1] ExecIf(«SIP/333-00000012», «1?Set(__REC_POLICY_MODE=dontcare)») in new stack — Executing [out@sub-record-check:2] GosubIf(«SIP/333-00000012», «0?record,1(exten,8903XXXXXXX,333)») in new stack — Executing [out@sub-record-check:3] Return(«SIP/333-00000012», "") in new stack — Executing [8903XXXXXXX@from-internal:5] Macro(«SIP/333-00000012», «dialout-trunk,12,+79032726588,») in new stack — Executing [s@macro-dialout-trunk:1] Set(«SIP/333-00000012», «DIAL_TRUNK=12») in new stack — Executing [s@macro-dialout-trunk:2] GosubIf(«SIP/333-00000012», «0?sub-pincheck,s,1()») in new stack — Executing [s@macro-dialout-trunk:3] GotoIf(«SIP/333-00000012», «0?disabletrunk,1») in new stack — Executing [s@macro-dialout-trunk:4] Set(«SIP/333-00000012», «DIAL_NUMBER=+7903XXXXXXX») in new stack — Executing [s@macro-dialout-trunk:5] Set(«SIP/333-00000012», «DIAL_TRUNK_OPTIONS=r») in new stack — Executing [s@macro-dialout-trunk:6] Set(«SIP/333-00000012», «OUTBOUND_GROUP=OUT_12») in new stack — Executing [s@macro-dialout-trunk:7] GotoIf(«SIP/333-00000012», «1?nomax») in new stack — Goto (macro-dialout-trunk,s,9) — Executing [s@macro-dialout-trunk:9] GotoIf(«SIP/333-00000012», «0?skipoutcid») in new stack — Executing [s@macro-dialout-trunk:10] Set(«SIP/333-00000012», «DIAL_TRUNK_OPTIONS=») in new stack — Executing [s@macro-dialout-trunk:11] Macro(«SIP/333-00000012», «outbound-callerid,12») in new stack — Executing [s@macro-outbound-callerid:1] ExecIf(«SIP/333-00000012», «0?Set(CALLERPRES()=)») in new stack — Executing [s@macro-outbound-callerid:2] ExecIf(«SIP/333-00000012», «0?Set(REALCALLERIDNUM=333)») in new stack — Executing [s@macro-outbound-callerid:3] GotoIf(«SIP/333-00000012», «1?normcid») in new stack — Goto (macro-outbound-callerid,s,6) — Executing [s@macro-outbound-callerid:6] Set(«SIP/333-00000012», «USEROUTCID=») in new stack — Executing [s@macro-outbound-callerid:7] Set(«SIP/333-00000012», «EMERGENCYCID=») in new stack — Executing [s@macro-outbound-callerid:8] Set(«SIP/333-00000012», «TRUNKOUTCID=74995530840») in new stack — Executing [s@macro-outbound-callerid:9] GotoIf(«SIP/333-00000012», «1?trunkcid») in new stack — Goto (macro-outbound-callerid,s,12) — Executing [s@macro-outbound-callerid:12] ExecIf(«SIP/333-00000012», «1?Set(CALLERID(all)=7499XXXXXXX)») in new stack — Executing [s@macro-outbound-callerid:13] ExecIf(«SIP/333-00000012», «0?Set(CALLERID(all)=)») in new stack — Executing [s@macro-outbound-callerid:14] ExecIf(«SIP/333-00000012», «0?Set(CALLERID(all)=)») in new stack — Executing [s@macro-outbound-callerid:15] ExecIf(«SIP/333-00000012», «0?Set(CALLERPRES()=prohib_passed_screen)») in new stack — Executing [s@macro-dialout-trunk:12] GosubIf(«SIP/333-00000012», «0?sub-flp-12,s,1()») in new stack — Executing [s@macro-dialout-trunk:13] Set(«SIP/333-00000012», «OUTNUM=+7903XXXXX») in new stack — Executing [s@macro-dialout-trunk:14] Set(«SIP/333-00000012», «custom=SIP/TR_MOS_MANGO») in new stack — Executing [s@macro-dialout-trunk:15] ExecIf(«SIP/333-00000012», «0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))») in new stack — Executing [s@macro-dialout-trunk:16] ExecIf(«SIP/333-00000012», «0?Set(DIAL_TRUNK_OPTIONS=M(confirm))») in new stack — Executing [s@macro-dialout-trunk:17] Macro(«SIP/333-00000012», «dialout-trunk-predial-hook,») in new stack — Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(«SIP/333-00000012», "") in new stack — Executing [s@macro-dialout-trunk:18] GotoIf(«SIP/333-00000012», «0?bypass,1») in new stack — Executing [s@macro-dialout-trunk:19] ExecIf(«SIP/333-00000012», «1?Set(CONNECTEDLINE(num,i)=+7903XXXXXXX)») in new stack — Executing [s@macro-dialout-trunk:20] ExecIf(«SIP/333-00000012», «1?Set(CONNECTEDLINE(name,i)=CID:7499XXXXXXX)») in new stack — Executing [s@macro-dialout-trunk:21] GotoIf(«SIP/333-00000012», «0?customtrunk») in new stack — Executing [s@macro-dialout-trunk:22] Dial(«SIP/333-00000012», «SIP/TR_MOS_MANGO/+7903XXXXX,300,») in new stack == Everyone is busy/congested at this time (1:0/0/1) — Executing [s@macro-dialout-trunk:23] NoOp(«SIP/333-00000012», «Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20») in new st ack — Executing [s@macro-dialout-trunk:24] Goto(«SIP/333-00000012», «s-CHANUNAVAIL,1») in new stack — Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) — Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(«SIP/333-00000012», «RC=20») in new stack — Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(«SIP/333-00000012», «20,1») in new stack — Goto (macro-dialout-trunk,20,1) — Executing [20@macro-dialout-trunk:1] Goto(«SIP/333-00000012», «continue,1») in new stack — Goto (macro-dialout-trunk,continue,1) — Executing [continue@macro-dialout-trunk:1] GotoIf(«SIP/333-00000012», «1?noreport») in new stack — Goto (macro-dialout-trunk,continue,3) — Executing [continue@macro-dialout-trunk:3] NoOp(«SIP/333-00000012», «TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trun ks») in new stack — Executing [continue@macro-dialout-trunk:4] Set(«SIP/333-00000012», «CALLERID(number)=333») in new stack — Executing [8903XXXXXX@from-internal:6] Macro(«SIP/333-00000012», «outisbusy,») in new stack — Executing [s@macro-outisbusy:1] Progress(«SIP/333-00000012», "") in new stack — Executing [s@macro-outisbusy:2] Playback(«SIP/333-00000012», «all-circuits-busy-now,noanswer») in new stack — <SIP/333-00000012> Playing 'all-circuits-busy-now.gsm' (language 'en') — Executing [s@macro-outisbusy:3] Playback(«SIP/333-00000012», «pls-try-call-later,noanswer») in new stack — <SIP/333-00000012> Playing 'pls-try-call-later.gsm' (language 'en') — Executing [s@macro-outisbusy:4] Macro(«SIP/333-00000012», «hangupcall») in new stack — Executing [s@macro-hangupcall:1] GotoIf(«SIP/333-00000012», «1?theend») in new stack — Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] ExecIf(«SIP/333-00000012», «0?Set(CDR(recordingfile)=)») in new stack -- Executing [s@macro-hangupcall:4] Hangup(«SIP/333-00000012», "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/333-00000012' in macro 'hangupcall' == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/333-00000012' in macro 'outisbusy' == Spawn extension (from-internal, 8903XXXXX, 6) exited non-zero on 'SIP/333-00000012' — Executing [h@from-internal:1] Hangup(«SIP/333-00000012», "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/333-00000012'
============================================================
так же выдает ошибку «all-circuits-busy-now,noanswer»
не возможно сделать внутренне звонки из sip на sip
sip_additonal.conf
[333] deny= secret=пароль dtmfmode=rfc2833 canreinvite=no context=from-internal host=dynamic trustrpid=yes sendrpid=no type=friend nat=no port=5060 qualify=yes qualifyfreq=30 transport=udp encryption=no callgroup=2 pickupgroup=2 dial=SIP/333 mailbox=333@device permit=0.0.0.0/0.0.0.0 callerid=333 <333> callcounter=yes faxdetect=no
======================================
sip_general_additional.cfg
accept_outofcall_messages=yes auth_message_requests=no outofcall_message_context=dpma_message_context context=from-sip-external callerid=Unknown notifyringing=yes notifyhold=yes tos_sip=cs3 tos_audio=ef tos_video=af41 alwaysauthreject=yes useragent=FPBX-2.10.0rc1(1.8.11) disallow=all allow=ulaw allow=alaw allow=gsm realm=asteriskn language=ru callevents=no jbenable=no defaultexpiry=120 minexpiry=60 registerattempts=0 registertimeout=20 notifyhold=yes notifyringing=yes checkmwi=10 srvlookup=no allowguest=no maxexpiry=3600 g726nonstandard=no t38pt_udptl=no videosupport=no maxcallbitrate=384 canreinvite=no rtpholdtimeout=300 rtpkeepalive=0 rtptimeout=30 ;nat=no ;externip=XXX.XXX.XXX.XXX ;localnet=192.168.0.0/255.255.255.0 ;localnet=172.16.0.0/255.255.255.0
chan_dahdi.conf
_____________________
[general] [channels] language=ru overlapdial=no pridialplan=unknown priindication=outofband usecallerid=yes hidecallerid=no callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=no callreturn=no cancallforward=yes context=from-GLOBUS (E1 поток) switchtype=euroisdn signalling=pri_cpe group=1 channel=>1-15,17-31 context=from-TDA200 switchtype=euroisdn signalling=pri_net group=2 channel=>32-46,48-62