[asterisk-r2] openR2 - falha em algumas ligaçoes

Joao Carlos Moura jmoura at crdusa.net
Tue Nov 4 03:45:19 CST 2008


Olá pessoal, instalei o pacote OpenR2 em um servidor Debian 4.0-r5 com asterisk 1.4.
Nao tive nenhum problema com compilação e aparentemente não acontece nenhum erro.
O problema que enfrento é que em algumas ligações que não completam.
Habilitei o debug e verifiquei que no momento da falha, onde era para enviar o número discado digito
por digito e pára no primeiro e fica até dar timeout.
Conversei com o Alexandre e ele me deu algumas sugestões, entre elas atualizar o pacote.
Esse procedimento ainda nao fiz

Envio minha configuração e um debug que falhou a chamada.
Agradeço a ajuda

João Carlos Moura

Debian
Asterisk 1.4.22
OpenR2 version: 0.1.1, revision: 79

zapata.conf
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echotrainning=yes
echocancelwhenbridged=yes

signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=20
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all

group=1
callgroup=1
pickupgroup=1
callerid=asreceived
context=from-pstn

channel => 1-15,17-31

zaptel.conf                              ;  E1 da Oi
span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:1101
loadzone = br
defaultzone= br


Debug que falhou a chamada

    -- Executing [POP121211724 at to-pstn:1] SetCDRUserField("SIP/192.168.0.5-b7000480", "POP121211724") in new stack
    -- Executing [POP121211724 at to-pstn:2] Dial("SIP/192.168.0.5-b7000480", "ZAP/g1/21211724|60|Ct") in new stack
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:956 dahdi_r2_get_channel_category: no MFC/R2 category specified for chan Zap/1-1, using default National Subscriber
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Attempting to make call (ANI=9009, DNIS=21211724, category=National Subscriber)
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Tx >> [SEIZE] 0x00
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Raw Tx >> 0x01
    -- Called g1/21211724
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:4370 dahdi_handle_event: bits changed in chan 1
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Bits changed from 0x08 to 0x0C
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Rx << [SEIZE ACK] 0x0C
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Sending DNIS digit 2
[Nov  1 06:28:10] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - MF Tx >> 2 [ON]
[Nov  1 06:28:16] DEBUG[2771]: chan_dahdi.c:3170 dahdi_hangup: disconnecting MFC/R2 call on chan 1
[Nov  1 06:28:16] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Tx >> [CLEAR FORWARD] 0x08
[Nov  1 06:28:16] DEBUG[2771]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Raw Tx >> 0x09
    -- Hungup 'Zap/1-1'
  == Spawn extension (to-pstn, POP121211724, 2) exited non-zero on 'SIP/192.168.0.5-b7000480'
[Nov  1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Bits changed from 0x0C to 0x08
[Nov  1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Rx << [IDLE] 0x08
[Nov  1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - Call ended
[Nov  1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Tx >> [IDLE] 0x08
[Nov  1 06:28:16] DEBUG[2636]: chan_dahdi.c:1209 dahdi_r2_write_log: Chan 1 - ABCD Raw Tx >> 0x09
[Nov  1 06:28:16] NOTICE[2636]: chan_dahdi.c:1065 dahdi_r2_on_call_end: MFC/R2 call en

-- 
I am using the free version of SPAMfighter.
We are a community of 5.6 million users fighting spam.
SPAMfighter has removed 32904 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20081104/5c67956c/attachment.htm 


More information about the asterisk-r2 mailing list