Olá lista.

Tenho o seguinte cenário:

 

PABX Alcatel interligado via E1 (Placa Digivoice) no Asterisk(Elastix) – E1
Embratel (placa Digivoice).

 

O sistema só não está 100% por um único detalhe:

 

Estou com um Elastix que não esta gravando as ligações originadas pelos
ramais da Alcatel, somente as originadas...será que alguém já passou por
esse erro???

As ligações originadas pelos ramais SIP’s são gravadas normalmente

Pelo que entendi ele não grava por não receber o “Callerid”.

Mas é a mesma regra discagem para todos.

 

Ligação feita pelo ramal da Alcatel:

 

    -- Executing [xxxx...@from-internal:1] Macro("DGV/24",
"user-callerid|SKIPTTL|") in new stack

    -- Executing [...@macro-user-callerid:1] NoOp("DGV/24", "user-callerid:
") in new stack

    -- Executing [...@macro-user-callerid:2] Set("DGV/24", "AMPUSER=") in new
stack

    -- Executing [...@macro-user-callerid:3] GotoIf("DGV/24", "0?report") in
new stack

    -- Executing [...@macro-user-callerid:4] ExecIf("DGV/24",
"1|Set|REALCALLERIDNUM=") in new stack

    -- Executing [...@macro-user-callerid:5] NoOp("DGV/24", "REALCALLERIDNUM
is ") in new stack

    -- Executing [...@macro-user-callerid:6] Set("DGV/24", "AMPUSER=") in new
stack

    -- Executing [...@macro-user-callerid:7] Set("DGV/24", "AMPUSERCIDNAME=")
in new stack

    -- Executing [...@macro-user-callerid:8] GotoIf("DGV/24", "1?report") in
new stack

    -- Goto (macro-user-callerid,s,13)

    -- Executing [...@macro-user-callerid:13] NoOp("DGV/24", "TTL:  ARG1:
SKIPTTL") in new stack

    -- Executing [...@macro-user-callerid:14] GotoIf("DGV/24", "1?continue")
in new stack

    -- Goto (macro-user-callerid,s,23)

    -- Executing [...@macro-user-callerid:23] NoOp("DGV/24", "Using CallerID
"" <>") in new stack

    -- Executing [XXXXXXX @from-internal:2] Set("DGV/24", "_NODEST=") in new
stack

    -- Executing [XXXXXXX @from-internal:3] Macro("DGV/24",
"record-enable||OUT|") in new stack

    -- Executing [...@macro-record-enable:1] GotoIf("DGV/24", "0?2:4") in new
stack

    -- Goto (macro-record-enable,s,4)

    -- Executing [...@macro-record-enable:4] AGI("DGV/24",
"recordingcheck|20090812-180011|1250110811.78943") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

  recordingcheck|20090812-180011|1250110811.78943: No AMPUSER db entry for .
Not recording

    -- AGI Script recordingcheck completed, returning 0

    -- Executing [...@macro-record-enable:5] NoOp("DGV/24", "No recording
needed") in new stack

 

Ligação feita pelo ramal SIP:

 

    -- SIP/vono-0850af78 is making progress passing it to DGV/17

    -- Executing [21916...@from-internal:1] Macro("SIP/857-b361bae0",
"user-callerid|SKIPTTL|") in new stack

    -- Executing [...@macro-user-callerid:1] NoOp("SIP/857-b361bae0",
"user-callerid: "device" <857>") in new stack

    -- Executing [...@macro-user-callerid:2] Set("SIP/857-b361bae0",
"AMPUSER=857") in new stack

    -- Executing [...@macro-user-callerid:3] GotoIf("SIP/857-b361bae0",
"0?report") in new stack

    -- Executing [...@macro-user-callerid:4] ExecIf("SIP/857-b361bae0",
"1|Set|REALCALLERIDNUM=857") in new stack

    -- Executing [...@macro-user-callerid:5] NoOp("SIP/857-b361bae0",
"REALCALLERIDNUM is 857") in new stack

    -- Executing [...@macro-user-callerid:6] Set("SIP/857-b361bae0",
"AMPUSER=857") in new stack

    -- Executing [...@macro-user-callerid:7] Set("SIP/857-b361bae0",
"AMPUSERCIDNAME=857") in new stack

    -- Executing [...@macro-user-callerid:8] GotoIf("SIP/857-b361bae0",
"0?report") in new stack

    -- Executing [...@macro-user-callerid:9] Set("SIP/857-b361bae0",
"AMPUSERCID=21980857") in new stack

    -- Executing [...@macro-user-callerid:10] Set("SIP/857-b361bae0",
"CALLERID(all)="857" <21980857>") in new stack

    -- Executing [...@macro-user-callerid:11] Set("SIP/857-b361bae0",
"REALCALLERIDNUM=857") in new stack

    -- Executing [...@macro-user-callerid:12] ExecIf("SIP/857-b361bae0",
"0|Set|CHANNEL(language)=") in new stack

    -- Executing [...@macro-user-callerid:13] NoOp("SIP/857-b361bae0", "TTL:
ARG1: SKIPTTL") in new stack

    -- Executing [...@macro-user-callerid:14] GotoIf("SIP/857-b361bae0",
"1?continue") in new stack

    -- Goto (macro-user-callerid,s,23)

    -- Executing [...@macro-user-callerid:23] NoOp("SIP/857-b361bae0", "Using
CallerID "857" <21980857>") in new stack

    -- Executing [21916...@from-internal:2] Set("SIP/857-b361bae0",
"_NODEST=") in new stack

    -- Executing [21916...@from-internal:3] Macro("SIP/857-b361bae0",
"record-enable|857|OUT|") in new stack

    -- Executing [...@macro-record-enable:1] GotoIf("SIP/857-b361bae0",
"0?2:4") in new stack

    -- Goto (macro-record-enable,s,4)

    -- Executing [...@macro-record-enable:4] AGI("SIP/857-b361bae0",
"recordingcheck|20090820-154828|1250794108.7047") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

  recordingcheck|20090820-154828|1250794108.7047: Outbound recording
enabled.

  recordingcheck|20090820-154828|1250794108.7047:
CALLFILENAME=OUT-857-1250794108.7047

    -- AGI Script recordingcheck completed, returning 0

    -- Executing [...@macro-record-enable:999] MixMonitor("SIP/857-b361bae0",
"OUT-857-1250794108.7047.wav") in new stack

 

Alguém tem alguma idéia pq??

 

 

        
 

Pereira, Sidnei

Telecomunicações
: Tecnologia com Comprometimento 
O(17) 8124 3954 - *  <mailto:[email protected]> [email protected] 

  _____  

 

 


cid:020801c9eebe$3ad738b0$0b01a8c0@zntnoteribeir

Antes de imprimir esse e-mail, pense em seu compromisso com o MEIO AMBIENTE.
Desculpe-nos algum inconveniente pelo fundo deste e-mail ser escuro, porém
esta é uma forma de economia de energia.

 

 

 

<<image001.jpg>>

_______________________________________________
Participe do IV Encontro VoIPCenter, 16 a 18 de setembro - São Paulo.
VoIP, Asterisk e Convergência de Redes.
http://www.encontrovoipcenter.com.br

Compre uma camiseta da AsteriskBrasil.org!
http://www.voipmania.com.br

Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede 
Freenode.net: #asterisk-br
_______________________________________________
Lista de discussões AsteriskBrasil.org
[email protected]
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

Responder a