Forum Asterisk
Welcome Guest   [Register]  Autenticação
 Subject :Asterisk e Trixbox - Não dá mensagens de erro da rede.. 2010-10-11 11:52:22 
bhenriques
Joined: 2010-05-03 09:39:20
Posts: 4
Location

Bom dia,

Tenho uma instalação do Trixbox 2.6.2.1 que funciona bem a nivel de usabilidade mas que tem um problema.

Se ligar para um numero que já nao exista, em vez de ouvir a mensagem da PT a dizer que o numero nao esta atribuido, ou o proprio asterisk reproduzir uma mensagem semelhante, o que acontece e que oiço na mesma o sinal de chamada como se não houvesse qualquer problema.

 

este e o log:

-- Executing [253566241@from-internal:1] Macro("SIP/101-b606a788", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/101-b606a788", "AMPUSER=101") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/101-b606a788", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/101-b606a788", "1|Set|REALCALLERIDNUM=101") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/101-b606a788", "AMPUSER=101") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/101-b606a788", "AMPUSERCIDNAME=Bruno") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/101-b606a788", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/101-b606a788", "AMPUSERCID=101") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/101-b606a788", "CALLERID(all)="Bruno" <101>") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/101-b606a788", "REALCALLERIDNUM=101") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/101-b606a788", "1|Set|CHANNEL(language)=pt-br") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/101-b606a788", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/101-b606a788", "Using CallerID "Bruno" <101>") in new stack
-- Executing [253566241@from-internal:2] Set("SIP/101-b606a788", "_NODEST=") in new stack
-- Executing [253566241@from-internal:3] Macro("SIP/101-b606a788", "record-enable|101|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/101-b606a788", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/101-b606a788", "recordingcheck|20100930-155059|1285858259.2853") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100930-155059|1285858259.2853: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/101-b606a788", "") in new stack
-- Executing [253566241@from-internal:4] Macro("SIP/101-b606a788", "dialout-trunk|3|XXXXXXXXX||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/101-b606a788", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/101-b606a788", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/101-b606a788", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/101-b606a788", "DIAL_NUMBER=253566241") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/101-b606a788", "DIAL_TRUNK_OPTIONS=tTr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/101-b606a788", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/101-b606a788", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/101-b606a788", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/101-b606a788", "DIAL_TRUNK_OPTIONS=tT") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/101-b606a788", "outbound-callerid|3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/101-b606a788", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/101-b606a788", "0|Set|REALCALLERIDNUM=101") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/101-b606a788", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/101-b606a788", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/101-b606a788", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/101-b606a788", "TRUNKOUTCID="PSTN"") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/101-b606a788", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/101-b606a788", "1|Set|CALLERID(all)=PSTN<229744211>") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/101-b606a788", "1?exit") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/101-b606a788", "") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/101-b606a788", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern [0-9]X.
== fixlocalprefix: Dialpattern [0-9]X. matched. XXXXXXXXX-> XXXXXXXXX
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/101-b606a788", "OUTNUM=XXXXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/101-b606a788", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/101-b606a788", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)tT") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/101-b606a788", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/101-b606a788", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/101-b606a788", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/101-b606a788", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,21)
-- Executing [s@macro-dialout-trunk:21] Set("SIP/101-b606a788", "pre_num=AMP:mISDN/1/") in new stack
-- Executing [s@macro-dialout-trunk:22] Set("SIP/101-b606a788", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/101-b606a788", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/101-b606a788", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,25)
-- Executing [s@macro-dialout-trunk:25] Set("SIP/101-b606a788", "the_num=XXXXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:26] Dial("SIP/101-b606a788", "mISDN/1/XXXXXXXXX|300|tT") in new stack
P[ 1] channel with stid:0 for one second still in use!
-- Called 1/253566241
-- mISDN/1-u2898 is proceeding passing it to SIP/101-b606a788
-- mISDN/1-u2899 is ringing

 

 Eu sei que o numero não esta atribuido porque seligar de telemovel da a mensagem que referi anteriormente.

Que configurações é necessário colocar aqui para ajudar?

Obrigado desde já!!

 

Bruno Henriques

 

IP Logged
 Subject :Re:Asterisk e Trixbox - Não dá mensagens de erro da rede.. 2010-10-21 15:41:27 
vozip
Joined: 2010-10-21 15:31:24
Posts: 2
Location

Boas,

Qual a versão do mISDN? e ficheiro de configuração? misdn.conf?

(Por algum motivo não estás a receber informações de callprogress)

 

Abraço

IP Logged
Página # 


Powered by ccBoard