Hi,
I installed Asterisk 1.8 and Distro 2.10. I’m using Audiocodes MP-118 ( 8 FXO) VoIP - analogy adapter in order to communicate with the external public exchange.
No any problem with incoming calls but some days I hear message that All circuits are busy when I’m trying to call outside via SIP trunk.
In first of all I see that adapter receipts invites from FreePBX, but calls rejected every time. Please help me
Outgoing Routing includes only one rule: 05. - dial via SIP trunk - that’s all. Actually adapter configured do not require authentication.
== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
e[0;37me[0mConnected to Asterisk 1.8.11-cert1 currently running on its-dt031 (pid = 2829)
its-dt031*CLI>
e[0KVerbosity is at least 5
e[Kits-dt031*CLI>
e[0K == Using SIP RTP TOS bits 184
e[Kits-dt031*CLI>
e[0K == Using SIP RTP CoS mark 5
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mMacroe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35muser-callerid,LIMIT,e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mAMPUSER=201e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:2] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?reporte[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:3] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?Set(REALCALLERIDNUM=201)e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:4] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mAMPUSER=201e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:5] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mAMPUSERCIDNAME=3CX Softphonee[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:6] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?reporte[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:7] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mAMPUSERCID=201e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:8] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mCALLERID(all)=“3CX Softphone” <201>e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:9] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?limite[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:10] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?Set(GROUP(concurrency_limit)=201)e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:11] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?continuee[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (macro-user-callerid,s,24)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:24] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mCALLERID(number)=201e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:25] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mCALLERID(name)=3CX Softphonee[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:26] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mCHANNEL(language)=ene[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:2] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mMOHCLASS=defaulte[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:3] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m_NODEST=e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:4] e[1;36mGosube[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35msub-record-check,s,1(out,0545677046,)e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?checke[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (sub-record-check,s,3)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:3] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mMON_FMT=wave[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:4] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?nexte[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (sub-record-check,s,7)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:7] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Return()e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:8] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?out,1e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:9] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__REC_STATUS=INITIALIZEDe[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:10] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(__REC_POLICY_MODE=)e[0m”) in new stack
– Executing [[email protected]:11] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mNOW=1347464004e[0m”) in new stack
– Executing [[email protected]:12] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__DAY=12e[0m”) in new stack
– Executing [[email protected]:13] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__MONTH=09e[0m”) in new stack
– Executing [[email protected]:14] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__YEAR=2012e[0m”) in new stack
– Executing [[email protected]:15] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__TIMESTR=20120912-183324e[0m”) in new stack
– Executing [[email protected]:16] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__FROMEXTEN=201e[0m”) in new stack
– Executing [[email protected]:17] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m__CALLFILENAME=out-0545677046-201-20120912-183324-1347464004.10e[0m”) in new stack
– Executing [[email protected]:18] e[1;36mGotoe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mout,1e[0m”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?Set(__REC_POLICY_MODE=dontcare)e[0m”) in new stack
– Executing [[email protected]:2] e[1;36mGosubIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?record,1(exten,0545677046,201)e[0m”) in new stack
– Executing [[email protected]:3] e[1;36mReturne[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35me[0m”) in new stack
– Executing [[email protected]:5] e[1;36mMacroe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mdialout-trunk,2,0545677046,e[0m”) in new stack
– Executing [[email protected]:1] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mDIAL_TRUNK=2e[0m”) in new stack
– Executing [[email protected]:2] e[1;36mGosubIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?sub-pincheck,s,1()e[0m”) in new stack
– Executing [[email protected]:3] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?disabletrunk,1e[0m”) in new stack
– Executing [[email protected]:4] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mDIAL_NUMBER=0545677046e[0m”) in new stack
– Executing [[email protected]:5] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mDIAL_TRUNK_OPTIONS=tre[0m”) in new stack
– Executing [[email protected]:6] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mOUTBOUND_GROUP=OUT_2e[0m”) in new stack
– Executing [[email protected]:7] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?nomaxe[0m”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]ialout-trunk:9] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?skipoutcide[0m”) in new stack
– Executing [[email protected]:10] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mDIAL_TRUNK_OPTIONS=e[0m”) in new stack
– Executing [[email protected]:11] e[1;36mMacroe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35moutbound-callerid,2e[0m”) in new stack
– Executing [[email protected]:1] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(CALLERPRES()=)e[0m”) in new stack
– Executing [[email protected]:2] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(REALCALLERIDNUM=201)e[0m”) in new stack
– Executing [[email protected]:3] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?normcide[0m”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mUSEROUTCID=e[0m”) in new stack
– Executing [[email protected]:7] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mEMERGENCYCID=e[0m”) in new stack
– Executing [[email protected]:8] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mTRUNKOUTCID=e[0m”) in new stack
– Executing [[email protected]:9] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?trunkcide[0m”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(CALLERID(all)=)e[0m”) in new stack
– Executing [[email protected]:13] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(CALLERID(all)=)e[0m”) in new stack
– Executing [[email protected]:14] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(CALLERID(all)=)e[0m”) in new stack
– Executing [[email protected]:15] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(CALLERPRES()=prohib_passed_screen)e[0m”) in new stack
– Executing [[email protected]:12] e[1;36mGosubIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?sub-flp-2,s,1()e[0m”) in new stack
– Executing [[email protected]:13] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mOUTNUM=0545677046e[0m”) in new stack
– Executing [[email protected]:14] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mcustom=SIP/AudioFXOe[0m”) in new stack
– Executing [[email protected]:15] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))e[0m”) in new stack
– Executing [[email protected]:16] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?Set(DIAL_TRUNK_OPTIONS=M(confirm))e[0m”) in new stack
– Executing [[email protected]:17] e[1;36mMacroe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mdialout-trunk-predial-hook,e[0m”) in new stack
– Executing [[email protected]:1] e[1;36mMacroExite[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35me[0m”) in new stack
– Executing [[email protected]:18] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?bypass,1e[0m”) in new stack
– Executing [[email protected]:19] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?Set(CONNECTEDLINE(num,i)=0545677046)e[0m”) in new stack
– Executing [[email protected]:20] e[1;36mExecIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?Set(CONNECTEDLINE(name,i)=CID:201)e[0m”) in new stack
– Executing [[email protected]:21] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m0?customtrunke[0m”) in new stack
– Executing [[email protected]:22] e[1;36mDiale[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mSIP/AudioFXO/0545677046,300,e[0m”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/AudioFXO/0545677046
e[Kits-dt031*CLI>
e[0K == Everyone is busy/congested at this time (1:0/1/0)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:23] e[1;36mNoOpe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mDial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:24] e[1;36mGotoe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35ms-CONGESTION,1e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (macro-dialout-trunk,s-CONGESTION,1)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mRC=34e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:2] e[1;36mGotoe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m34,1e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (macro-dialout-trunk,34,1)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mGotoe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mcontinue,1e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (macro-dialout-trunk,continue,1)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mGotoIfe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35m1?noreporte[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Goto (macro-dialout-trunk,continue,3)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:3] e[1;36mNoOpe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mTRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunkse[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:4] e[1;36mSete[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mCALLERID(number)=201e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:6] e[1;36mMacroe[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35moutisbusy,e[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:1] e[1;36mProgresse[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35me[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:2] e[1;36mPlaybacke[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mall-circuits-busy-now,noanswere[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – <SIP/201-0000000a> Playing ‘all-circuits-busy-now.gsm’ (language ‘en’)
e[Kits-dt031*CLI>
e[0K – Executing [[email protected]:3] e[1;36mPlaybacke[0m(“e[1;35mSIP/201-0000000ae[0m”, “e[1;35mpls-try-call-later,noanswere[0m”) in new stack
e[Kits-dt031*CLI>
e[0K – <SIP/201-0000000a> Playing ‘pls-try-call-later.gsm’ (language ‘en’)
e[Kits-dt031*CLI>