Код: Выделить всё
exten => s,n,System(/bin/echo -e "Call From: ${CALLERID(num)} To: ${EXTEN}" >> /tmp/incoming.txt)
Код: Выделить всё
exten => s,n,System(/bin/echo -e "Call From: ${CALLERID(num)} To: ${EXTEN}" >> /tmp/incoming.txt)
Код: Выделить всё
[Oct 22 18:01:59] ERROR[13273]: callerid.c:562 callerid_feed: No start bit found in fsk data.
[Oct 22 18:01:59] WARNING[13273]: chan_dahdi.c:8712 ss_thread: CallerID feed failed: Success
[Oct 22 18:01:59] WARNING[13273]: chan_dahdi.c:8816 ss_thread: CallerID returned with error on channel 'DAHDI/3-1'
Код: Выделить всё
-- Executing [s@Incoming:3] NoOp("DAHDI/3-1", """ <>") in new stack
ded писал(а): Несколько стандартов, читайте документацию, анализируйте свой случай.
Whether or not to use caller ID
;
usecallerid=yes
;
; Hide the name part and leave just the number part of the caller ID
; string. Only applies to PRI channels.
;hidecalleridname=yes
;
; Type of caller ID signalling in use
; bell = bell202 as used in US (default)
; v23 = v23 as used in the UK
; v23_jp = v23 as used in Japan
; dtmf = DTMF as used in Denmark, Sweden and Netherlands
; smdi = Use SMDI for caller ID. Requires SMDI to be enabled (usesmdi).
;
;cidsignalling=v23
;
; What signals the start of caller ID
; ring = a ring signals the start (default)
; polarity = polarity reversal signals the start
; polarity_IN = polarity reversal signals the start, for India,
; for dtmf dialtone detection; using DTMF.
; (see doc/India-CID.txt)
;
;cidstart=polarity