[AsteriskBrasil] Problemas com Integração.

Vinícius Fontes vinicius em canall.com.br
Sexta Fevereiro 19 10:09:57 BRST 2010


Poste seu /etc/dahdi/system.conf e /etc/asterisk/chan_dahdi.conf.

A integração está sendo feita com a sinalização MFC/R2 ou ISDN?


Atenciosamente,

Vinícius Fontes
Gerente de Segurança da Informação
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000

Information Security Manager
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brazil
+55 54 2104-7000

----- "Eduardo Carrilho Jr" <educarrilhojr em gmail.com> escreveu:

> Boa Tarde Srs.
> 
> Amigos, estou integrando um Asterisk 1.4.26 com uma central NEC, a
> placa que estou utilizando é uma Aligera de 2 E1's, estou tendo um
> problema pois não consigo nem realizar nem receber chamadas, sempre
> quando eu tento acontece esse problema.
> 
> [Feb 19 08:49:02] WARNING[3341]: chan_dahdi.c:2258 dahdi_enable_ec:
> Unable to enable echo cancellation on channel 46 (No such device)
>     -- Executing [35765000 em from-internal:1] Dial("DAHDI/46-1",
> "DAHDI/G2/35765000|90") in new stack
> [Feb 19 08:49:02] NOTICE[3345]: app_dial.c:1185 dial_exec_full: Hey!
> chan DAHDI/46-1's context='from-internal', and exten='35765000'
> [Feb 19 08:49:02] DEBUG[3345]: chan_dahdi.c:1264
> dahdi_r2_get_channel_category: no MFC/R2 category specified for chan
> DAHDI/62-1, using default National Subscriber
> [Feb 19 08:49:02] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - Attempting to make call (ANI=28426405, DNIS=35765000,
> category=National Subscriber)
> [Feb 19 08:49:02] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - Call started at Fri Feb 19 08:49:02 2010 on chan 62 [openr2
> version 1.2.0, revision (release)]
> [Feb 19 08:49:02] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - CAS Tx >> [SEIZE] 0x00
> [Feb 19 08:49:02] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - CAS Raw Tx >> 0x01
>     -- Called G2/35765000
> [Feb 19 08:49:10] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - calling timer 2 (r2_seize) callback
> [Feb 19 08:49:10] WARNING[3345]: chan_dahdi.c:1523
> dahdi_r2_write_log:
> Chan 62 - Seize Timeout Expired!
> [Feb 19 08:49:10] ERROR[3345]: chan_dahdi.c:1526 dahdi_r2_write_log:
> Chan 62 - Protocol error. Reason = Seize Timeout, R2 State = Seize
> Transmitted, MF state = MF Engine Off, MF Group = Forward MF init,
> CAS
> = 0x08
> DNIS = 35765000, ANI = 28426405, MF = 0x20
> [Feb 19 08:49:10] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - CAS Tx >> [IDLE] 0x08
> [Feb 19 08:49:10] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 62 - CAS Raw Tx >> 0x09
> [Feb 19 08:49:10] ERROR[3345]: chan_dahdi.c:1336
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 62: Seize
> Timeout
> [Feb 19 08:49:10] WARNING[3345]: app_dial.c:775 wait_for_answer:
> Unable to forward voice or dtmf
> [Feb 19 08:49:10] DEBUG[3345]: chan_dahdi.c:3490 dahdi_hangup:
> disconnecting MFC/R2 call on chan 62
> [Feb 19 08:49:10] ERROR[3345]: chan_dahdi.c:1526 dahdi_r2_write_log:
> Chan 62 - Cannot disconnect call when we dont have a call to
> disconnect
>     -- Hungup 'DAHDI/62-1'
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing [35765000 em from-internal:2] Goto("DAHDI/46-1",
> "CHANUNAVAIL") in new stack
>     -- Goto (from-internal,35765000,4)
>     -- Executing [35765000 em from-internal:4] Goto("DAHDI/46-1",
> "BUSY")
> in new stack
>     -- Goto (from-internal,35765000,3)
>     -- Executing [35765000 em from-internal:3] Busy("DAHDI/46-1", "90")
> in new stack
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:4707 dahdi_handle_event:
> bits changed in chan 46
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 46 - Bits changed from 0x00 to 0x08
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 46 - CAS Rx << [CLEAR FORWARD] 0x08
> [Feb 19 08:49:12] NOTICE[3345]: chan_dahdi.c:1520 dahdi_r2_write_log:
> Chan 46 - Far end disconnected. Reason: Normal Clearing
> [Feb 19 08:49:12] NOTICE[3345]: chan_dahdi.c:1477
> dahdi_r2_on_call_disconnect: MFC/R2 call disconnected on chan 46
>   == Spawn extension (from-internal, 35765000, 3) exited non-zero on
> 'DAHDI/46-1'
>     -- Executing [h em from-internal:1] Macro("DAHDI/46-1",
> "hangupcall")
> in new stack
>     -- Executing [s em macro-hangupcall:1] GotoIf("DAHDI/46-1",
> "1?skiprg") in new stack
>     -- Goto (macro-hangupcall,s,4)
> [Feb 19 08:49:12] DEBUG[3345]: app_macro.c:379 _macro_exec: Executed
> application: GotoIf
>     -- Executing [s em macro-hangupcall:4] GotoIf("DAHDI/46-1",
> "1?skipblkvm") in new stack
>     -- Goto (macro-hangupcall,s,7)
> [Feb 19 08:49:12] DEBUG[3345]: app_macro.c:379 _macro_exec: Executed
> application: GotoIf
>     -- Executing [s em macro-hangupcall:7] GotoIf("DAHDI/46-1",
> "1?theend") in new stack
>     -- Goto (macro-hangupcall,s,9)
> [Feb 19 08:49:12] DEBUG[3345]: app_macro.c:379 _macro_exec: Executed
> application: GotoIf
>     -- Executing [s em macro-hangupcall:9] Hangup("DAHDI/46-1", "") in
> new stack
>   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on
> 'DAHDI/46-1' in macro 'hangupcall'
>   == Spawn extension (from-internal, s, 1) exited non-zero on
> 'DAHDI/46-1'
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:3490 dahdi_hangup:
> disconnecting MFC/R2 call on chan 46
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 46 - Call ended
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 46 - CAS Tx >> [IDLE] 0x08
> [Feb 19 08:49:12] DEBUG[3345]: chan_dahdi.c:1533 dahdi_r2_write_log:
> Chan 46 - CAS Raw Tx >> 0x09
> [Feb 19 08:49:12] NOTICE[3345]: chan_dahdi.c:1388
> dahdi_r2_on_call_end: MFC/R2 call end on chan 46
>     -- Hungup 'DAHDI/46-1'
> 
> 
> Meu extensions esta configurado dessa Forma.
> 
> [from-internal-custom]
> exten => 1234,1,Playback(demo-congrats)         ; extensions can dial
> 1234
> exten => 1234,2,Hangup()
> exten => h,1,Hangup()
> include => agentlogin
> include => conferences
> include => calendar-event
> include => weather-wakeup
> 
> 
> ;Chamadas Locais
> exten => _XXXXXXXX,1,Dial(DAHDI/G1/${EXTEN},90)
> exten => _XXXXXXXX,n,Goto(${DIALSTATUS})
> exten => _XXXXXXXX,n(BUSY),Busy(90)
> exten => _XXXXXXXX,n(CHANUNAVAIL),Goto(BUSY)
> exten => _XXXXXXXX,n(NOANSWER),1,Goto(BUSY)
> exten => _XXXXXXXX,n(CONGESTION),1,Goto(BUSY)
> exten => _XXXXXXXX,n,Hangup()
> 
> 
> ;Chamadas DDD
> exten => _XXXXXXXXXXXXX,1,Dial(DAHDI/G1/${EXTEN},90)
> exten => _XXXXXXXXXXXXX,n,Goto(${DIALSTATUS})
> exten => _XXXXXXXXXXXXX,n(BUSY),Busy(30)
> exten => _XXXXXXXXXXXXX,n(CHANUNAVAIL),Goto(BUSY)
> exten => _XXXXXXXXXXXXX,n(CONGESTION),1,Goto(BUSY)
> exten => _XXXXXXXXXXXXX,n,Hangup()
> 
> 
> ;Ramal SIP
> exten => _XXXXXXXX,1,Dial(SIP/G1/${EXTEN},90)
> exten => _XXXXXXXX,n,Goto(${DIALSTATUS})
> exten => _XXXXXXXX,n(BUSY),Busy(90)
> exten => _XXXXXXXX,n(CHANUNAVAIL),Goto(BUSY)
> exten => _XXXXXXXX,n(NOANSWER),1,Goto(BUSY)
> exten => _XXXXXXXX,n(CONGESTION),1,Goto(BUSY)
> exten => _XXXXXXXX,n,Hangup()
> 
> 
> [from-pstn-custom]
> ;Chamadas para ramal
> exten => _64XX,1,Dial(DAHDI/G2/${EXTEN},90)
> exten => _64XX,n,Hangup()
> 
> 
> Conseguem me ajudar com essas informações?
> 
> Obrigado desde já.
> _______________________________________________
> 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
> _______________________________________________
> 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