tengo en el chan_dahdi.conf
[channels]
callerid=asreceived
asreceived=yes
context=default
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
según el poco conocimiento: esta configuración debería de identificar las llamadas siempre que entra la llamada pero en la practica no es así en ocasiones no realiza la identifacion y trasteando en log no veo una señal de error,
[2013-04-25 16:18:06] VERBOSE[3366] sig_analog.c: -- Starting simple switch on 'DAHDI/4-1'
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@xxxxxx:1] Set("DAHDI/4-1", "s=xxxxxx") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@xxxxxx:2] Macro("DAHDI/4-1", "grabararchivo,SIP/s") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:1] NoOp("DAHDI/4-1", "llamando a SIP/s") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:2] System("DAHDI/4-1", "/var/lib/asterisk/agi-bin/envio.sh \"Llamada DE hacia xxxxxx \"") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:3] Set("DAHDI/4-1", "calltime=20130425-161811") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:4] Set("DAHDI/4-1", "calldir=/var/spool/asterisk/monitor/") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:5] System("DAHDI/4-1", "/bin/mkdir -p /var/spool/asterisk/monitor/") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:6] MixMonitor("DAHDI/4-1", "/var/spool/asterisk/monitor//20130425-161811--s.wav") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:7] Dial("DAHDI/4-1", "SIP/10&SIP/30,20,Ttr") in new stack
[2013-04-25 16:18:11] VERBOSE[3372] app_mixmonitor.c: == Begin MixMonitor Recording DAHDI/4-1
[2013-04-25 16:18:11] VERBOSE[3366] netsock2.c: == Using SIP RTP CoS mark 5
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- Called SIP/10
[2013-04-25 16:18:11] VERBOSE[3366] netsock2.c: == Using SIP RTP CoS mark 5
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- Called SIP/30
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/10-00000003 connected line has changed. Saving it until answer for DAHDI/4-1
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/30-00000004 connected line has changed. Saving it until answer for DAHDI/4-1
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/10-00000003 is ringing
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/30-00000004 is ringing
[2013-04-25 16:18:24] VERBOSE[3366] app_macro.c: == Spawn extension (macro-grabararchivo, s, 7) exited non-zero on 'DAHDI/4-1' in macro 'grabararchivo'
[2013-04-25 16:18:24] VERBOSE[3366] pbx.c: == Spawn extension (xxxxxx, s, 2) exited non-zero on 'DAHDI/4-1'
[2013-04-25 16:18:24] VERBOSE[3366] sig_analog.c: -- Hanging up on 'DAHDI/4-1'
[channels]
callerid=asreceived
asreceived=yes
context=default
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
según el poco conocimiento: esta configuración debería de identificar las llamadas siempre que entra la llamada pero en la practica no es así en ocasiones no realiza la identifacion y trasteando en log no veo una señal de error,
[2013-04-25 16:18:06] VERBOSE[3366] sig_analog.c: -- Starting simple switch on 'DAHDI/4-1'
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@xxxxxx:1] Set("DAHDI/4-1", "s=xxxxxx") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@xxxxxx:2] Macro("DAHDI/4-1", "grabararchivo,SIP/s") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:1] NoOp("DAHDI/4-1", "llamando a SIP/s") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:2] System("DAHDI/4-1", "/var/lib/asterisk/agi-bin/envio.sh \"Llamada DE hacia xxxxxx \"") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:3] Set("DAHDI/4-1", "calltime=20130425-161811") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:4] Set("DAHDI/4-1", "calldir=/var/spool/asterisk/monitor/") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:5] System("DAHDI/4-1", "/bin/mkdir -p /var/spool/asterisk/monitor/") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:6] MixMonitor("DAHDI/4-1", "/var/spool/asterisk/monitor//20130425-161811--s.wav") in new stack
[2013-04-25 16:18:11] VERBOSE[3366] pbx.c: -- Executing [s@macro-grabararchivo:7] Dial("DAHDI/4-1", "SIP/10&SIP/30,20,Ttr") in new stack
[2013-04-25 16:18:11] VERBOSE[3372] app_mixmonitor.c: == Begin MixMonitor Recording DAHDI/4-1
[2013-04-25 16:18:11] VERBOSE[3366] netsock2.c: == Using SIP RTP CoS mark 5
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- Called SIP/10
[2013-04-25 16:18:11] VERBOSE[3366] netsock2.c: == Using SIP RTP CoS mark 5
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- Called SIP/30
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/10-00000003 connected line has changed. Saving it until answer for DAHDI/4-1
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/30-00000004 connected line has changed. Saving it until answer for DAHDI/4-1
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/10-00000003 is ringing
[2013-04-25 16:18:11] VERBOSE[3366] app_dial.c: -- SIP/30-00000004 is ringing
[2013-04-25 16:18:24] VERBOSE[3366] app_macro.c: == Spawn extension (macro-grabararchivo, s, 7) exited non-zero on 'DAHDI/4-1' in macro 'grabararchivo'
[2013-04-25 16:18:24] VERBOSE[3366] pbx.c: == Spawn extension (xxxxxx, s, 2) exited non-zero on 'DAHDI/4-1'
[2013-04-25 16:18:24] VERBOSE[3366] sig_analog.c: -- Hanging up on 'DAHDI/4-1'