Огромная просьба, кому не трудно напишите пошагово, что делать.
1. Создавать ли внутренний номер 99991 ?
2. В настройках пользователя указывать 99991 как функцию followme ?
3. В extensions_custom.conf как правильно прописать с заголовком [ **** ], если да, то что писать в заголовке?
4. Для каждого контакта, нужно писать свою строку начинающуюся с exten => ?
Rsa97: Так этот экстеншон нужно создавать в реале или нет? Просто я следовал совету ув.Дмитрий Шицков Дмитрий Шицков он писал мне выше вот что:
Николай: Николай: Вы должны сделать именно несуществующий экстеншн, например
99991,1,JabberSend(asteriskjabber, почта@организация.ru,${CALLERID(all)} звонил(а) в ${STRFTIME(${EPOCH},,%c)}!) / "городской номер моей атс")
Я похоже совсем запутался....
Rsa97: dialplan show from-did-direct
[ Context 'from-did-direct' created by 'pbx_config' ]
Include => 'ext-findmefollow' [pbx_config]
Include => 'ext-local' [pbx_config]
Откуда этот конфиг понятно, но мне не совсем понятно как заставить freepbx слать сообщения...
Всё верно, используется разделение разрешений на звонки внутри отделов организации, с помощью модуля "custom context", значит так попробую описать что и где у меня присутствует.
В extensions_custom.conf - exten => 99991,1,JabberSend(asteriskjabber,username3@company-name.su,${CALLERID(all)} звонил(а) в ${STRFTIME(${EPOCH},,%c)}!) / "городской номер моей атс")
exten => 99991,1,Hungup()
В настройках внутреннего номера включено followme ,при неответе переадресация на 99991
После звонка на номер 134 , через 10 секунд гудков отрабатывает folowme и вызов сбрасывается, в логах есть вот такая строчка - WARNING[27533][C-00000e88]: pbx.c:6763 __ast_pbx_run: Channel 'SIP/132-00001daf' sent to invalid extension but no invalid handler: context,exten,priority=from-did-direct,99991,1
Rsa97: -- Executing [134@DenyMezdunarod:1] GotoIf("SIP/132-00001d42", "1?ext-local,134,1:followme-check,134,1") in new stack
-- Goto (ext-local,134,1)
-- Executing [134@ext-local:1] Set("SIP/132-00001d42", "__RINGTIMER=60") in new stack
-- Executing [134@ext-local:2] Macro("SIP/132-00001d42", "exten-vm,novm,134,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/132-00001d42", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/132-00001d42", "TOUCH_MONITOR=1473409647.8058") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/132-00001d42", "AMPUSER=132") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/132-00001d42", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/132-00001d42", "1?Set(REALCALLERIDNUM=132)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/132-00001d42", "AMPUSER=132") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/132-00001d42", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/132-00001d42", "AMPUSERCIDNAME=Test") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/132-00001d42", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/132-00001d42", "AMPUSERCID=132") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/132-00001d42", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/132-00001d42", "CALLERID(all)="Test" <132>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/132-00001d42", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/132-00001d42", "0?Set(GROUP(concurrency_limit)=132)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/132-00001d42", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/132-00001d42", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] ExecIf("SIP/132-00001d42", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:17] Set("SIP/132-00001d42", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("SIP/132-00001d42", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/132-00001d42", "CALLERID(number)=132") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/132-00001d42", "CALLERID(name)=Test") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("SIP/132-00001d42", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/132-00001d42", "CDR(cnam)=Test") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/132-00001d42", "CDR(cnum)=132") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/132-00001d42", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/132-00001d42", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/132-00001d42", "__EXTTOCALL=134") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/132-00001d42", "__PICKUPMARK=134") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/132-00001d42", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] ExecIf("SIP/132-00001d42", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
-- Executing [s@macro-exten-vm:7] ExecIf("SIP/132-00001d42", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:8] Gosub("SIP/132-00001d42", "sub-record-check,s,1(exten,134,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/132-00001d42", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/132-00001d42", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/132-00001d42", "NOW=1473409647") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/132-00001d42", "__DAY=09") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/132-00001d42", "__MONTH=09") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/132-00001d42", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/132-00001d42", "__TIMESTR=20160909-112727") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/132-00001d42", "__FROMEXTEN=132") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/132-00001d42", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/132-00001d42", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/132-00001d42", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/132-00001d42", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/132-00001d42", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/132-00001d42", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/132-00001d42", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/132-00001d42", "Exten Recording Check between 132 and 134") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/132-00001d42", "CALLTYPE=internal") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/132-00001d42", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/132-00001d42", "CALLEE=force") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/132-00001d42", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/132-00001d42", "0?callee") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/132-00001d42", "0?caller") in new stack
-- Executing [exten@sub-record-check:8] ExecIf("SIP/132-00001d42", "2?Set(CALLER_PRI=10):Set(CALLER_PRI=0)") in new stack
-- Executing [exten@sub-record-check:9] ExecIf("SIP/132-00001d42", "2?Set(CALLEE_PRI=10):Set(CALLEE_PRI=0)") in new stack
-- Executing [exten@sub-record-check:10] GotoIf("SIP/132-00001d42", "1?caller:callee") in new stack
-- Goto (sub-record-check,exten,13)
-- Executing [exten@sub-record-check:13] Set("SIP/132-00001d42", "RECMODE=yes") in new stack
-- Executing [exten@sub-record-check:14] ExecIf("SIP/132-00001d42", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:15] ExecIf("SIP/132-00001d42", "0?Set(RECMODE=force)") in new stack
-- Executing [exten@sub-record-check:16] Gosub("SIP/132-00001d42", "recordcheck,1(yes,internal,134)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/132-00001d42", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/132-00001d42", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("SIP/132-00001d42", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("SIP/132-00001d42", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("SIP/132-00001d42", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("SIP/132-00001d42", "Starting recording: internal, 134") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("SIP/132-00001d42", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("SIP/132-00001d42", "__CALLFILENAME=internal-134-132-20160909-112727-1473409647.8058") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("SIP/132-00001d42", "2016/09/09/internal-134-132-20160909-112727-1473409647.8058.wav,ai(LOCAL_MIXMON_ID),") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("SIP/132-00001d42", "__MIXMON_ID=0x7f312d8e87a0") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("SIP/132-00001d42", "__RECORD_ID=SIP/132-00001d42") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("SIP/132-00001d42", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("SIP/132-00001d42", "CDR(recordingfile)=internal-134-132-20160909-112727-1473409647.8058.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("SIP/132-00001d42", "") in new stack
-- Executing [exten@sub-record-check:17] Return("SIP/132-00001d42", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/132-00001d42", "dial-one,,Ttr,134") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/132-00001d42", "DEXTEN=134") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/132-00001d42", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/132-00001d42", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/132-00001d42", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/132-00001d42", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/132-00001d42", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/132-00001d42", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/132-00001d42", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/132-00001d42", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/132-00001d42", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/132-00001d42", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/132-00001d42", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/132-00001d42", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/132-00001d42", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/132-00001d42", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/132-00001d42", "DEVICES=134") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/132-00001d42", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/132-00001d42", "0?Set(DEVICES=34)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/132-00001d42", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/132-00001d42", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/132-00001d42", "THISDIAL=SIP/134") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/132-00001d42", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/132-00001d42", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/132-00001d42", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/132-00001d42", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/132-00001d42", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/132-00001d42", "THISPART2=SIP/134") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/132-00001d42", "0?Set(THISPART2=DAHDI/134)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/132-00001d42", "NEWDIAL=SIP/134&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/132-00001d42", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/132-00001d42", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/132-00001d42", "THISDIAL=SIP/134") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/132-00001d42", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("SIP/132-00001d42", "1?docheck") in new stack
-- Goto (macro-dial-one,dstring,12)
-- Executing [dstring@macro-dial-one:12] GotoIf("SIP/132-00001d42", "0?skipset") in new stack
-- Executing [dstring@macro-dial-one:13] Set("SIP/132-00001d42", "DSTRING=SIP/134&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("SIP/132-00001d42", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("SIP/132-00001d42", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("SIP/132-00001d42", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("SIP/132-00001d42", "DSTRING=SIP/134") in new stack
-- Executing [dstring@macro-dial-one:18] Return("SIP/132-00001d42", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/132-00001d42", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/132-00001d42", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/132-00001d42", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/132-00001d42", "DB(CALLTRACE/134)=132") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/132-00001d42", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/132-00001d42", "D_OPTIONS=Ttr") in new stack
== Begin MixMonitor Recording SIP/132-00001d42
-- Executing [s@macro-dial-one:31] NoOp("SIP/132-00001d42", "Blind Transfer: , Attended Transfer: , User: 132, Alert Info: ") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/132-00001d42", "1?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/132-00001d42", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:34] ExecIf("SIP/132-00001d42", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:35] GosubIf("SIP/132-00001d42", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [s@macro-dial-one:36] ExecIf("SIP/132-00001d42", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:37] GosubIf("SIP/132-00001d42", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:38] Set("SIP/132-00001d42", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:39] Set("SIP/132-00001d42", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:40] GotoIf("SIP/132-00001d42", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:41] GotoIf("SIP/132-00001d42", "0?godial") in new stack
-- Executing [s@macro-dial-one:42] Gosub("SIP/132-00001d42", "sub-presencestate-display,s,1(134)") in new stack
-- Executing [s@sub-presencestate-display:1] Goto("SIP/132-00001d42", "state-not_set,1") in new stack
-- Goto (sub-presencestate-display,state-not_set,1)
-- Executing [state-not_set@sub-presencestate-display:1] Set("SIP/132-00001d42", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-not_set@sub-presencestate-display:2] Return("SIP/132-00001d42", "") in new stack
-- Executing [s@macro-dial-one:43] Set("SIP/132-00001d42", "CONNECTEDLINE(name,i)=Test-1") in new stack
-- Executing [s@macro-dial-one:44] Set("SIP/132-00001d42", "CONNECTEDLINE(num)=134") in new stack
-- Executing [s@macro-dial-one:45] Set("SIP/132-00001d42", "D_OPTIONS=TtrI") in new stack
-- Executing [s@macro-dial-one:46] Macro("SIP/132-00001d42", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/132-00001d42", "") in new stack
-- Executing [s@macro-dial-one:47] ExecIf("SIP/132-00001d42", "0?Set(D_OPTIONS=trII)") in new stack
-- Executing [s@macro-dial-one:48] Dial("SIP/132-00001d42", "SIP/134,,TtrIb(func-apply-sipheaders^s^1)") in new stack
== Using SIP RTP CoS mark 5
-- SIP/134-00001d43 Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [s@func-apply-sipheaders:1] NoOp("SIP/134-00001d43", "Applying SIP Headers to channel") in new stack
-- Executing [s@func-apply-sipheaders:2] Set("SIP/134-00001d43", "SIPHEADERKEYS=") in new stack
-- Executing [s@func-apply-sipheaders:3] While("SIP/134-00001d43", "0") in new stack
-- Jumping to priority 7
-- Executing [s@func-apply-sipheaders:8] Return("SIP/134-00001d43", "") in new stack
== Spawn extension (DenyMezdunarod, 134, 1) exited non-zero on 'SIP/134-00001d43'
-- SIP/134-00001d43 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
-- Called SIP/134
-- Connected line update to SIP/132-00001d42 prevented.
== Extension Changed 134[ext-local] new state Ringing for Notify User 110
-- SIP/134-00001d43 is ringing
== Spawn extension (macro-dial-one, s, 48) exited non-zero on 'SIP/132-00001d42' in macro 'dial-one'
== Extension Changed 132[ext-local] new state Idle for Notify User 110
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/132-00001d42' in macro 'exten-vm'
== Spawn extension (ext-local, 134, 2) exited non-zero on 'SIP/132-00001d42'
-- Executing [h@ext-local:1] Macro("SIP/132-00001d42", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/132-00001d42", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
== Extension Changed 134[ext-local] new state Idle for Notify User 110
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/132-00001d42", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/132-00001d42", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/132-00001d42' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'SIP/132-00001d42'
== MixMonitor close filestream (mixed)
== End MixMonitor Recording SIP/132-00001d42
ничего связанного с jabber, нет...
Именно по ней я настроил jabber на сервере, даже пробовал писать в extensions_custom.conf что то вида - exten =>
787,n,JabberSend(asteriskjabber, почта@организация.ru,${CALLERID(all)} звонил(а) в ${STRFTIME(${EPOCH},,%c)}!) / "городской номер моей атс")
exten => 787,n,Hungup()
номер 787 естественно был заведён в freepbx, но после тестового зваонка в jabber ничего не было послано...
Давайте разберёмся с DNS, к примеру у вас домен firma.ru
Сервер с расшаренными дисками имеет имя shareserver.firma.ru
С клиентской машины, которая тоже введена в домен мы пингуем сервер просто по имени ping shareserver, если все пингуется и работает, то c DNS всё нормально, если же нет, то заняться сначала этим вопросом. Но диски можно подключать не только по имени сервера, можно по IP, тогда некоторые прблеммы с DNS можно обойти, что не есть правильно, но как временное решение подойдёт.
В скрипте правильно будет написать вот так %systemroot%\system32\net use q: \\shareserver\folder1
Какой путь к сетевым ресурсам у Вас прописан?
%systemroot%\system32\net use q: \\servername\folder ?
%systemroot%\system32\net use q: \\serverip\folder ?
Хотя если запускать данный script.bat с рабочего стола, то диски должны монтироваться от имени юзера.
Попробуйте в конец скрипта дописать команду pause, и глянуть в окно выполнения, на что ругается система
найдите что то вроде такого:
Примененные объекты групповой политики
---------------------------------------
XXX
Default Domain Policy
Следующие политики GPO не были применены, так как они отфильтрованы
--------------------------------------------------------------------
Local Group Policy
Фильтрация: Не применяется (пусто)
AntHTML: Зачем? Всё это успешно делается через GPO, бывае что на одной станции сидят несколько юзеров, из разных групп, запаришься каждому кидать "Его" батник.
1. Создавать ли внутренний номер 99991 ?
2. В настройках пользователя указывать 99991 как функцию followme ?
3. В extensions_custom.conf как правильно прописать с заголовком [ **** ], если да, то что писать в заголовке?
4. Для каждого контакта, нужно писать свою строку начинающуюся с exten => ?