[AsteriskBrasil] OpenR2+Asterisk+Nec
Glauber
glauber em discfone.com.br
Segunda Abril 19 08:18:37 BRT 2010
Cara faz um teste, lá no chan_dahdi.conf muda nas duas span o parametro :
mfcr2_double_answer=no, mas coloca este parametro nas duas span.
Att
Glauber
-----Original Message-----
From: asteriskbrasil-bounces em listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] On Behalf Of
Matheus Cucoloto
Sent: sábado, 17 de abril de 2010 15:49
To: asteriskbrasil em listas.asteriskbrasil.org
Subject: Re: [AsteriskBrasil] OpenR2+Asterisk+Nec
Ainda sem solução, o tecnico do NEC disse que do lado dele ta tudo certo,,,
Vejam só
[root em mxfone-acim pabx]# cat chan-32-forward-1-20100417152932.call
[15:29:32:542] [Thread: 3072650128] [Chan 32] - M - Call started at Sat Apr
17 15:29:32 2010 on chan 32 [openr2 version 1.3.0, revision exported]
[15:29:32:542] [Thread: 3072650128] [Chan 32] - M - Outgoing call
proceeding: ANI=4321038100, DNIS=9610, Category=National Subscriber
[15:29:32:542] [Thread: 3072650128] [Chan 32] - M - CAS Tx >> [SEIZE] 0x00
[15:29:32:542] [Thread: 3072650128] [Chan 32] - M - CAS Raw Tx >> 0x01
[15:29:32:542] [Thread: 3072650128] [Chan 32] - M - scheduled timer id
2 (r2_seize)
[15:29:32:602] [Thread: 3072650128] [Chan 32] - M - Bits changed from
0x08 to 0x0C
[15:29:32:602] [Thread: 3072650128] [Chan 32] - M - CAS Rx << [SEIZE ACK]
0x0C [15:29:32:602] [Thread: 3072650128] [Chan 32] - M - Attempting to
cancel timer timer 2 [15:29:32:602] [Thread: 3072650128] [Chan 32] - M -
timer id 2 found, cancelling it now [15:29:32:602] [Thread: 3072650128]
[Chan 32] - M - MFC/R2 call acknowledge!
[15:29:32:602] [Thread: 3072650128] [Chan 32] - M - Sending DNIS digit 9
[15:29:32:602] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 9 [ON]
[15:29:32:961] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1 [ON]
[15:29:32:961] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:32:961] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:32:961] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
9 [OFF] [15:29:33:161] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1 [OFF]
[15:29:33:161] [Thread: 3072650128] [Chan 32] - M - Sending DNIS digit 6
[15:29:33:161] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 6 [ON]
[15:29:33:161] [Thread: 3072650128] [Chan 32] - M - Group A DNIS request
handled [15:29:33:301] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1 [ON]
[15:29:33:301] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:33:301] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:33:301] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
6 [OFF] [15:29:33:481] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1 [OFF]
[15:29:33:481] [Thread: 3072650128] [Chan 32] - M - Sending DNIS digit 1
[15:29:33:481] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 1 [ON]
[15:29:33:481] [Thread: 3072650128] [Chan 32] - M - Group A DNIS request
handled [15:29:33:621] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1 [ON]
[15:29:33:621] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:33:621] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:33:621] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
1 [OFF] [15:29:33:801] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1 [OFF]
[15:29:33:801] [Thread: 3072650128] [Chan 32] - M - Sending DNIS digit 0
[15:29:33:801] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 0 [ON]
[15:29:33:801] [Thread: 3072650128] [Chan 32] - M - Group A DNIS request
handled [15:29:34:301] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:34:301] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:34:301] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:34:301] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
0 [OFF] [15:29:34:461] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:34:461] [Thread: 3072650128] [Chan 32] - M - Sending category
National Subscriber [15:29:34:461] [Thread: 3072650128] [Chan 32] - M - MF
Tx >> 1 [ON] [15:29:34:581] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5
[ON] [15:29:34:581] [Thread: 3072650128] [Chan 32] - M - Attempting to
cancel timer timer 0 [15:29:34:581] [Thread: 3072650128] [Chan 32] - M -
Cannot cancel timer 0 [15:29:34:581] [Thread: 3072650128] [Chan 32] - M - MF
Tx >> 1 [OFF] [15:29:34:741] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5
[OFF] [15:29:34:741] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit
4 [15:29:34:741] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 4 [ON]
[15:29:34:881] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:34:881] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:34:881] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:34:881] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
4 [OFF] [15:29:35:081] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:35:081] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 4
[15:29:35:081] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 4 [ON]
[15:29:35:241] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:35:241] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:35:241] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:35:241] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
4 [OFF] [15:29:35:421] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:35:421] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 2
[15:29:35:421] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 2 [ON]
[15:29:35:581] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:35:581] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:35:581] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:35:581] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
2 [OFF] [15:29:35:741] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:35:741] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 1
[15:29:35:741] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 1 [ON]
[15:29:35:901] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:35:901] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:35:901] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:35:901] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
1 [OFF] [15:29:36:061] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:36:061] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 0
[15:29:36:061] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 0 [ON]
[15:29:36:241] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:36:241] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:36:241] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:36:241] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
0 [OFF] [15:29:36:421] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:36:421] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 3
[15:29:36:421] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 3 [ON]
[15:29:36:561] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:36:561] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:36:561] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:36:561] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
3 [OFF] [15:29:36:741] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:36:741] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 8
[15:29:36:741] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 8 [ON]
[15:29:36:901] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:36:901] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:36:901] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:36:901] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
8 [OFF] [15:29:37:081] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:37:081] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 1
[15:29:37:081] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 1 [ON]
[15:29:37:221] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:37:221] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:37:221] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:37:221] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
1 [OFF] [15:29:37:421] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:37:421] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 0
[15:29:37:421] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 0 [ON]
[15:29:37:561] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:37:561] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:37:561] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:37:561] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
0 [OFF] [15:29:37:741] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:37:741] [Thread: 3072650128] [Chan 32] - M - Sending ANI digit 0
[15:29:37:741] [Thread: 3072650128] [Chan 32] - M - MF Tx >> 0 [ON]
[15:29:37:881] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [ON]
[15:29:37:881] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:37:881] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:37:881] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
0 [OFF] [15:29:38:041] [Thread: 3072650128] [Chan 32] - M - MF Rx << 5 [OFF]
[15:29:38:041] [Thread: 3072650128] [Chan 32] - M - Sending more ANI
unavailable [15:29:38:041] [Thread: 3072650128] [Chan 32] - M - MF Tx >> F
[ON] [15:29:38:401] [Thread: 3072650128] [Chan 32] - M - MF Rx << 3 [ON]
[15:29:38:401] [Thread: 3072650128] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:38:401] [Thread: 3072650128] [Chan 32] - M - Cannot
cancel timer 0 [15:29:38:401] [Thread: 3072650128] [Chan 32] - M - MF Tx >>
F [OFF] [15:29:38:601] [Thread: 3072650128] [Chan 32] - M - MF Rx << 3 [OFF]
[15:29:38:601] [Thread: 3072650128] [Chan 32] - M - Sending category
National Subscriber [15:29:38:601] [Thread: 3072650128] [Chan 32] - M - MF
Tx >> 1 [ON] [15:29:38:921] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1
[ON] [15:29:38:921] [Thread: 3072650128] [Chan 32] - M - Attempting to
cancel timer timer 0 [15:29:38:921] [Thread: 3072650128] [Chan 32] - M -
Cannot cancel timer 0 [15:29:38:921] [Thread: 3072650128] [Chan 32] - M - MF
Tx >> 1 [OFF] [15:29:39:121] [Thread: 3072650128] [Chan 32] - M - MF Rx << 1
[OFF] [15:29:39:121] [Thread: 3072650128] [Chan 32] - M - scheduled timer id
3 (r2_answer)
[15:29:45:201] [Thread: 3072650128] [Chan 32] - M - Bits changed from 0x0C
to 0x04 [15:29:45:201] [Thread: 3072650128] [Chan 32] - M - CAS Rx <<
[ANSWER] 0x04 [15:29:45:201] [Thread: 3072650128] [Chan 32] - M - Attempting
to cancel timer timer 3 [15:29:45:201] [Thread: 3072650128] [Chan 32] - M -
timer id 3 found, cancelling it now [15:29:45:201] [Thread: 3072650128]
[Chan 32] - M - Attempting to cancel timer timer 0 [15:29:45:201] [Thread:
3072650128] [Chan 32] - M - Cannot cancel timer 0 [15:29:46:188] [Thread:
3072650128] [Chan 32] - M - Bits changed from
0x04 to 0x0C
[15:29:46:188] [Thread: 3072650128] [Chan 32] - M - CAS Rx << [CLEAR BACK]
0x0C [15:29:46:188] [Thread: 3072650128] [Chan 32] - M - Far end
disconnected. Reason: Normal Clearing [15:29:46:291] [Thread: 3072650128]
[Chan 32] - M - Attempting to cancel timer timer 0 [15:29:46:291] [Thread:
3072650128] [Chan 32] - M - Cannot cancel timer 0 [15:29:46:291] [Thread:
3072650128] [Chan 32] - M - CAS Tx >> [CLEAR FORWARD] 0x08 [15:29:46:291]
[Thread: 3072650128] [Chan 32] - M - CAS Raw Tx >> 0x09 [15:29:46:524]
[Thread: 3082562448] [Chan 32] - M - Bits changed from 0x0C to 0x08
[15:29:46:524] [Thread: 3082562448] [Chan 32] - M - CAS Rx << [IDLE] 0x08
[15:29:46:524] [Thread: 3082562448] [Chan 32] - M - Call ended
[15:29:46:524] [Thread: 3082562448] [Chan 32] - M - Attempting to cancel
timer timer 0 [15:29:46:524] [Thread: 3082562448] [Chan 32] - M - Cannot
cancel timer 0
On Sat, Apr 17, 2010 at 2:35 PM, Matheus Cucoloto
<matheuscucoloto em gmail.com> wrote:
> É para rir ou para chorar???
>
> http://lists.digium.com/pipermail/asterisk-r2/2008-October/000062.html
>
>
>
> 2010/4/17 Matheus Cucoloto <matheuscucoloto em gmail.com>:
>> Valeu pessoal.
>>
>> Ja acionei o tecnico do PABX para verificar isso, hoje a tarde vamos
>> ter atividade, vou reportar vocês as alterações.
>>
>> 2010/4/17 Wagner Oliveira <wagaobr em yahoo.com>:
>>> Matheus,
>>> Olha aqui:
>>> Chan 32 - Far end disconnected. Reason: Normal Clearing
>>> MFC/R2 call disconnected on channel 32 O NEC atende e manda
>>> desconectar em modo normal instantaneamente.
>>> Vc esta com problema de tempo no NEC. Veja os CIC no NEC se estão
>>> alinhados com o asterisk se sim, veja pq o NEC esta mandando
>>> desconectar logo após o atendimento.
>>>
>>> Wagner de Oliveira
>>> Gateway - The gateway to the Brazil West Center Zone GSM, PDH, SDH,
>>> WDM, DWDM, SWITCH and much more...
>>> wagaobr em yahoo.com
>>>
>>>
>>>
>>> ________________________________
>>> From: Matheus Cucoloto <matheuscucoloto em gmail.com>
>>> To: asteriskbrasil <asteriskbrasil em listas.asteriskbrasil.org>
>>> Sent: Sat, April 17, 2010 9:37:09 AM
>>> Subject: [AsteriskBrasil] OpenR2+Asterisk+Nec
>>>
>>> Bom dia galéra.
>>>
>>> Fiquei a semana inteira tentando entender aonde esta a falha mas não
>>> encontrei, chegou a hora de perguntar.
>>>
>>> Verifiquei ja aterramento e parametros de clock porem ainda não
>>> encontrei a solução.
>>>
>>> Em um ambiente tenho E1 da GVT R2 ligado ao asterisk, e o asterisk
>>> ligado a um PABX NEC também em R2.
>>>
>>> Estou usando placa da sangoma com 2 E1 (primeira vez que estou
>>> usando essa marca).
>>>
>>> O que acontece é que a ligação recebida entra no asterisk pela GVT e
>>> é encaminhada para o PABX, quando a ligação é atendida da 1 segundo
>>> e a ligação cai.
>>>
>>> Se eu pego a ligação e ao invez de jogar para o PABX eu jogo para um
>>> ramal SIP a ligação acontece sem nenhum problema.
>>>
>>> Se alguem tiver alguma ideia...
>>>
>>> Veja os logs do console:
>>>
>>> New MFC/R2 call detected on chan 1.
>>> MFC/R2 call offered on chan 1. ANI = 4399216100, DNIS = 9624,
>>> Category = National Subscriber
>>> MFC/R2 call has been accepted on backward channel 1
>>> -- Executing [9624 em default:1] NoOp("DAHDI/1-1", "---> NOVA LIGACAO
>>> EXTERNA ENTRANDO <--") in new stack
>>> -- Executing [9624 em default:2] NoOp("DAHDI/1-1", "---> DE 4399216100
>>> PARA 9624 <--") in new stack
>>> -- Executing [9624 em default:3] Dial("DAHDI/1-1",
>>> "DAHDI/g1/9624,40,TtWwRr") in new stack
>>> -- Called g1/9624
>>>
>>> voip*CLI>
>>>
>>> MFC/R2 call has been accepted on forward channel 32
>>> -- DAHDI/32-1 is ringing
>>> MFC/R2 call has been answered on channel 32
>>> -- DAHDI/32-1 answered DAHDI/1-1
>>> Chan 32 - Far end disconnected. Reason: Normal Clearing
>>> MFC/R2 call disconnected on channel 32
>>> -- Hungup 'DAHDI/32-1'
>>> == Spawn extension (default, 9624, 3) exited non-zero on 'DAHDI/1-1'
>>> -- Hungup 'DAHDI/1-1'
>>>
>>> Veja minhas conf:
>>>
>>> [root em voip ~]# cat /etc/dahdi/system.conf loadzone=br defaultzone=br
>>>
>>> #Sangoma A102 port 1 [slot:0 bus:48 span:1] <wanpipe1>
>>> span=1,0,1,cas,hdb3
>>> cas=1-15:1101
>>> cas=17-31:1101
>>>
>>> #Sangoma A102 port 2 [slot:0 bus:48 span:2] <wanpipe2>
>>> span=2,0,1,cas,hdb3
>>> cas=32-46:1101
>>> cas=48-62:1101
>>>
>>>
>>> [root em voip~]# cat /etc/wanpipe/wanpipe1.conf | grep -v "^#"
>>>
>>> [devices]
>>> wanpipe1 = WAN_AFT_TE1, Comment
>>>
>>> [interfaces]
>>> w1g1 = wanpipe1, , TDM_VOICE, Comment
>>>
>>> [wanpipe1]
>>> CARD_TYPE = AFT
>>> S514CPU = A
>>> CommPort = PRI
>>> AUTO_PCISLOT = NO
>>> PCISLOT = 0
>>> PCIBUS = 48
>>> FE_MEDIA = E1
>>> FE_LCODE = HDB3
>>> FE_FRAME = NCRC4
>>> FE_LINE = 1
>>> TE_CLOCK = NORMAL
>>> TE_REF_CLOCK = 0
>>> TE_SIG_MODE = CAS
>>> TE_HIGHIMPEDANCE = NO
>>> LBO = 120OH
>>> FE_TXTRISTATE = NO
>>> MTU = 1500
>>> UDPPORT = 9000
>>> TTL = 255
>>> IGNORE_FRONT_END = NO
>>> TDMV_SPAN = 1
>>> TDMV_DCHAN = 0
>>> TDMV_HW_DTMF = NO
>>> TDMV_HW_FAX_DETECT = NO
>>>
>>> [w1g1]
>>> ACTIVE_CH = ALL
>>> TDMV_HWEC = YES
>>>
>>>
>>> [root em voip ~]# cat /etc/wanpipe/wanpipe2.conf | grep -v "^#"
>>>
>>> [devices]
>>> wanpipe2 = WAN_AFT_TE1, Comment
>>>
>>> [interfaces]
>>> w2g1 = wanpipe2, , TDM_VOICE, Comment
>>>
>>> [wanpipe2]
>>> CARD_TYPE = AFT
>>> S514CPU = A
>>> CommPort = PRI
>>> AUTO_PCISLOT = NO
>>> PCISLOT = 0
>>> PCIBUS = 48
>>> FE_MEDIA = E1
>>> FE_LCODE = HDB3
>>> FE_FRAME = NCRC4
>>> FE_LINE = 2
>>> TE_CLOCK = MASTER
>>> TE_REF_CLOCK = 0
>>> TE_SIG_MODE = CAS
>>> TE_HIGHIMPEDANCE = NO
>>> LBO = 120OH
>>> FE_TXTRISTATE = NO
>>> MTU = 1500
>>> UDPPORT = 9000
>>> TTL = 255
>>> IGNORE_FRONT_END = NO
>>> TDMV_SPAN = 2
>>> TDMV_DCHAN = 0
>>> TDMV_HW_DTMF = NO
>>> TDMV_HW_FAX_DETECT = NO
>>>
>>> [w2g1]
>>> ACTIVE_CH = ALL
>>> TDMV_HWEC = YES
>>>
>>> [root em voip ~]# cat /etc/asterisk/chan_dahdi.conf | grep -v "^#"
>>>
>>> [channels]
>>>
>>> ;Sangoma A102 port 1 [slot:0 bus:48 span:1] <wanpipe1> GVT
>>> group=0
>>> callgroup=0
>>> pickupgroup=0
>>> rxgain=0.0
>>> txgain=0.0
>>>
>>> ;Configuracao para MFC/R2
>>> signalling=mfcr2
>>> mfcr2_variant=br
>>> mfcr2_get_ani_first=no
>>> mfcr2_max_ani=20
>>> mfcr2_max_dnis=4
>>> mfcr2_category=national_subscriber
>>> mfcr2_logdir=span1
>>> mfcr2_call_files=yes
>>> mfcr2_logging=all
>>> mfcr2_mfback_timeout=-1
>>> mfcr2_metering_pulse_timeout=-1
>>> mfcr2_allow_collect_calls=no
>>> mfcr2_double_answer=yes
>>> mfcr2_immediate_accept=no
>>> mfcr2_forced_release=no
>>> mfcr2_charge_calls=yes
>>> ;mfcr2_advanced_protocol_file=/etc/r2proto.conf
>>>
>>> context=contexto-pstn
>>> usecallerid=yes
>>> callwaiting=yes
>>> usecallingpres=yes
>>> callwaitingcallerid=yes
>>> threewaycalling=yes
>>> transfer=yes
>>> canpark=yes
>>> cancallforward=yes
>>> callreturn=yes
>>> echocancel=yes
>>> echocancelwhenbridged=yes
>>> faxdetect=incoming
>>> channel => 1-15
>>> channel => 17-31
>>>
>>>
>>> ;Sangoma A102 port 2 [slot:0 bus:48 span:2] <wanpipe2> PABX
>>> group=1
>>> callgroup=1
>>> pickupgroup=1
>>> rxgain=0.0
>>> txgain=0.0
>>>
>>> ;Configuracao para MFC/R2
>>> signalling=mfcr2
>>> mfcr2_variant=br
>>> mfcr2_get_ani_first=no
>>> mfcr2_max_ani=20
>>> mfcr2_max_dnis=4
>>> mfcr2_category=national_subscriber
>>> mfcr2_logdir=span1
>>> mfcr2_call_files=yes
>>> mfcr2_logging=all
>>> mfcr2_mfback_timeout=-1
>>> mfcr2_metering_pulse_timeout=-1
>>> mfcr2_allow_collect_calls=no
>>> mfcr2_double_answer=yes
>>> mfcr2_immediate_accept=no
>>> mfcr2_forced_release=no
>>> mfcr2_charge_calls=yes
>>> ;mfcr2_advanced_protocol_file=/etc/r2proto.conf
>>>
>>>
>>> context=contexto-pabx
>>> usecallerid=yes
>>> callwaiting=yes
>>> usecallingpres=yes
>>> callwaitingcallerid=yes
>>> threewaycalling=yes
>>> transfer=yes
>>> canpark=yes
>>> cancallforward=yes
>>> callreturn=yes
>>> echocancel=yes
>>> echocancelwhenbridged=yes
>>> faxdetect=incoming
>>> channel => 32-46
>>> channel => 48-62
>>>
>>>
>>>
>>>
>>> --
>>> -----------------------------------------------
>>> Matheus Cucoloto
>>> Unix Expertise
>>> Voip Expertise
>>> _______________________________________________
>>> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>>> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>>> - Suporte técnico local qualificado e gratuito Conheça a linha
>>> completa de produtos KHOMP em www.khomp.com.br
>>> _______________________________________________
>>> A Redfone é líder no fornecimento de bridges TDMoE -> E1
>>> - Valor similar ao de placas E1 PCI;
>>> - Não há problemas de compatibilidade com barramento PCI;
>>> - Possibilitam a construção de soluções de alta disponibilidade(dois
>>> servidores compartilham o mesmo E1) Conheça mais sobre este produto
>>> em www.red-fone.com _______________________________________________
>>>
>>>
>>> Lista de discussões AsteriskBrasil.org
>>> AsteriskBrasil em listas.asteriskbrasil.org
>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>>>
>>>
>>> _______________________________________________
>>> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
>>> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
>>> - Suporte técnico local qualificado e gratuito Conheça a linha
>>> completa de produtos KHOMP em www.khomp.com.br
>>> _______________________________________________
>>> A Redfone é líder no fornecimento de bridges TDMoE -> E1
>>> - Valor similar ao de placas E1 PCI;
>>> - Não há problemas de compatibilidade com barramento PCI;
>>> - Possibilitam a construção de soluções de alta disponibilidade(dois
>>> servidores compartilham o mesmo E1) Conheça mais sobre este produto
>>> em www.red-fone.com _______________________________________________
>>>
>>>
>>> Lista de discussões AsteriskBrasil.org
>>> AsteriskBrasil em listas.asteriskbrasil.org
>>> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
--
-----------------------------------------------
Matheus Cucoloto
Unix Expertise
Voip Expertise
_______________________________________________
KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
- Hardware com alta disponibilidade de recursos e qualidade KHOMP
- Suporte técnico local qualificado e gratuito Conheça a linha completa de
produtos KHOMP em www.khomp.com.br
_______________________________________________
A Redfone é líder no fornecimento de bridges TDMoE -> E1
- Valor similar ao de placas E1 PCI;
- Não há problemas de compatibilidade com barramento PCI;
- Possibilitam a construção de soluções de alta disponibilidade(dois
servidores compartilham o mesmo E1) Conheça mais sobre este produto em
www.red-fone.com _______________________________________________
Lista de discussões AsteriskBrasil.org
AsteriskBrasil em listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
Mais detalhes sobre a lista de discussão AsteriskBrasil