текущий код extensions.conf
- exten =>_8918XXXXXXX,1,Set(fname=${UNIQUEID}-${STRFTIME({$EPOCH},,%d.%m.%Y-%H:%M:%S)}-${CALLERID(number)}-${EXTEN})
exten =>_8918XXXXXXX,2,MixMonitor(/media/asterisk/wav/${fname}.wav)
exten =>_8918XXXXXXX,n,Dial(SIP/8517/1${EXTEN},30,mT)
exten =>_8918XXXXXXX,n,Dial(SIP/8518/2${EXTEN},30,mT)
exten =>_891XXXXXXXX,1,Set(fname=${UNIQUEID}-${STRFTIME({$EPOCH},,%d.%m.%Y-%H:%M:%S)}-${CALLERID(number)}-${EXTEN})
exten =>_891XXXXXXXX,2,MixMonitor(/media/asterisk/wav/${fname}.wav)
exten =>_891XXXXXXXX,n,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_892XXXXXXXX,1,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_8495XXXXXXX,1,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_8499XXXXXXX,1,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_8XXXXXXXXXX,1,Dial(SIP/${EXTEN}@sipnet,30,mT)
такого вида
Код: Выделить всё
exten =>_8XXXXXXXXXX,1,Set(fname=${UNIQUEID}-${STRFTIME({$EPOCH},,%d.%m.%Y-%H:%M:%S)}-${CALLERID(number)}-${EXTEN})
exten =>_8XXXXXXXXXX,2,MixMonitor(/media/asterisk/wav/${fname}.wav)
exten =>_8918XXXXXXX,n,Dial(SIP/8517/1${EXTEN},30,mT)
exten =>_8918XXXXXXX,n,Dial(SIP/8518/2${EXTEN},30,mT)
exten =>_891XXXXXXXX,n,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_892XXXXXXXX,n,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_8495XXXXXXX,n,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_8499XXXXXXX,n,Dial(SIP/${EXTEN}@sipnet,30,mT)
exten =>_8XXXXXXXXXX,n,Dial(SIP/${EXTEN}@sipnet,30,mT)