Код: Выделить всё
[2014-10-30 13:42:31] NOTICE[1649][C-00000065]: chan_sip.c:25450 handle_request_invite: Call from '907661' (195.64.217.115:5060) to extension 's' rejected because extension not found in context 'incoming'.
Scheduling destruction of SIP dialog '946C6723CC64FCB1C0864DD560077AC0' in 6400 ms (Method: INVITE)
<--- SIP read from UDP:195.64.217.115:5060 --->
ACK sip:s@10.45.1.13:5060 SIP/2.0
Via: SIP/2.0/UDP 195.64.217.115:5060;rport;branch=z9hG4bK-2617757359-3826323552-620784798-39323690401
Via: SIP/2.0/UDP 195.64.217.115:5061;rport=5061;branch=z9hG4bK-2617757359-3826323552-620784798-3932369040;received=195.64.217.115
From: <sip:917xxxxxxx@195.64.217.115:5061;user=phone>;tag=4277913519-3826323552-620784798-3932369040
To: <sip:28ххххх@195.64.217.115;user=phone>;tag=as22242dac
Call-ID: 946C6723CC64FCB1C0864DD560077AC0
CSeq: 1 ACK
Contact: <sip:9172237053@195.64.217.115:5060>
Max-Forwards: 70
User-Agent: TS-v4.5.1-17W
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '946C6723CC64FCB1C0864DD560077AC0' Method: ACK
Really destroying SIP dialog '735401726d5011453f49d76b4815d6a4@127.0.1.1' Method: REGISTER
Really destroying SIP dialog '3032ea1778ffff5e49e2f3c42b8aaf43@127.0.1.1' Method: REGISTER
Really destroying SIP dialog '04447645764229d94c351e03728ec251@127.0.1.1' Method: REGISTER
Really destroying SIP dialog '04fc9d506e0613cc1eadc348427625a9@127.0.1.1' Method: REGISTER
Really destroying SIP dialog '3dad53410020627e168fb63240d01ddf@127.0.1.1' Method: REGISTER
Really destroying SIP dialog '568277ca2371493b0852a4810572dfb7@127.0.1.1' Method: REGISTER
Код: Выделить всё
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})
exten => _791XXXXXXXX,1,Set(__FROM_DID=${EXTEN})
exten => _791XXXXXXXX,n,Gosub(app-blacklist-check,s,1())
exten => _791XXXXXXXX,n,Set(CDR(did)=${FROM_DID})
exten => _791XXXXXXXX,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => _791XXXXXXXX,n,Set(CHANNEL(musicclass)=default)
exten => _791XXXXXXXX,n,Set(__MOHCLASS=default)
exten => _791XXXXXXXX,n,GotoIf($["${__REVERSAL_REJECT}"="TRUE" & "${CHANNEL(reversecharge)}"="1" ]?macro-hangupcall)
exten => _791XXXXXXXX,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => _791XXXXXXXX,n,Set(CALLERPRES()=allowed_not_screened)
exten => _791XXXXXXXX,n(dest-ext),Goto(from-did-direct,200,1)