[AsteriskBrasil] RES: RES: RES: RES: RES: Problemas com DialPlan

2006-03-05 Por tôpico João David Prevedello
Pois é Felipe. Fiz assim e não tem cristo... um fato que não comentei é que
a ligação não está nem chegando na operadora... de inicio eu pensei que
fosse a operadora, porem entrei em contato com o técnico lá que consegue
escutar as ligações do lado deles e ele falou que nem tinha chegado la a
ligação. Eu acredito que seja pelo erro no log (abaixo)

== No one is available to answer at this time (1:0/0/0)

Porem não consegui descobrir porque ele só aceita quando tem 014XX e o mais
interessante é que se disco 01455, 01411 tb não funciona acontecendo o mesmo
erro. Alguém já passou por algo parecido?

Att

João

-Mensagem original-
De: asteriskbrasil-bounces em listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de Felipe
Silva
Enviada em: domingo, 5 de março de 2006 09:47
Para: asteriskbrasil em listas.asteriskbrasil.org
Assunto: [AsteriskBrasil] RES: RES: RES: RES: Problemas com DialPlan

Ola amigo !

A config da rota para a ZAP do meu AMP esta assim:
http://www.geocities.com/frps 

Abraços

Felipe Rafael
-Mensagem original-
De: asteriskbrasil-bounces em listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de Lucio
Gonzalez
Enviada em: domingo, 5 de março de 2006 08:12
Para: asteriskbrasil em listas.asteriskbrasil.org
Assunto: Re: [AsteriskBrasil] RES: RES: RES: Problemas com DialPlan


Eu fiz uma Rota pelo AMP com X para minha ZAP e as ligações
discando 0145432781664 por exemplo funciona OK.
Aqui a Tua rrota tem que ser exten = _0XXNXXX
Porem queria fazer ligações locais direto exemplo 32781664 sem o 01454.

Tentei adiciona uma rota  mas não adianta.
Aqui exten = _NXXX

Como teria que fazer meu plano de discagem?


O Log quando disco direto 32781664.

36;40mPlayback(SIP/9600-a4cb, pls-try-call-later) in new stack
-- Playing 'pls-try-call-later' (language 'en')
Verbosity is at least 3
-- Executing Macro(SIP/9600-a4cb, hangupcall) in new stack
-- Executing ResetCDR(SIP/9600-a4cb, w) in new stack
-- Executing NoCDR(SIP/9600-a4cb, ) in new stack
-- Executing Wait(SIP/9600-a4cb, 5) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/9600-a4cb' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on
'SIP/9600-a4cb' in macro 'outisbusy'
== Spawn extension (from-internal, 32781664, 2) exited non-zero on
'SIP/9600-a4cb'
-- Executing Macro(SIP/9600-a4cb, hangupcall) in new stack
-- Executing ResetCDR(SIP/9600-a4cb, w) in new stack
-- Executing NoCDR(SIP/9600-a4cb, ) in new stack
-- Executing Wait(SIP/9600-a4cb, 5) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/9600-a4cb' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/9600-a4cb'
asterisk1*CLI
[root em asterisk1 asterisk]# asterisk -r
Asterisk 1.2.2, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer markster em digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'show license' for details.
=
Connected to Asterisk 1.2.2 currently running on asterisk1 (pid = 2758)
Verbosity is at least 3
-- Executing Macro(SIP/9600-9b32, dialout-trunk|1|32781664|) in new
stack
-- Executing GotoIf(SIP/9600-9b32, 1?3:2)) in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro(SIP/9600-9b32, user-callerid) in new stack
-- Executing DBget(SIP/9600-9b32, AMPUSER=DEVICE/9600/user) in new
stack
-- DBget: varname=AMPUSER, family=DEVICE, key=9600/user
-- DBget: set variable AMPUSER to 9600
-- Executing DBget(SIP/9600-9b32,
AMPUSERCIDNAME=AMPUSER/9600/cidname) in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=9600/cidname
-- DBget: set variable AMPUSERCIDNAME to PDH
-- Executing GotoIf(SIP/9600-9b32, 0?5) in new stack
-- Executing SetCallerID(SIP/9600-9b32, PDH 9600) in new stack
-- Executing NoOp(SIP/9600-9b32, Using CallerID PDH 9600) in new
stack
-- Executing Macro(SIP/9600-9b32, record-enable|9600|OUT) in new
stack
-- Executing GotoIf(SIP/9600-9b32, 0  0?2:4) in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI(SIP/9600-9b32,
recordingcheck|20060303-133454|1141410894.22) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060303-133454|1141410894.22: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp(SIP/9600-9b32, No recording needed) in new stack
-- Executing Macro(SIP/9600-9b32, outbound-callerid|1) in new stack
-- Executing DBget(SIP/9600-9b32,
USEROUTCID=AMPUSER/9600/outboundcid) in new stack
-- DBget: varname=USEROUTCID, family=AMPUSER, key=9600/outboundcid
-- DBget: set variable USEROUTCID to 

[AsteriskBrasil] RES: RES: RES: RES: RES: Problemas com DialPlan

2006-03-05 Por tôpico Felipe Silva
Comigo vai da forma que eu coloquei no screenshot

-Mensagem original-
De: asteriskbrasil-bounces em listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de Lucio
Gonzalez
Enviada em: domingo, 5 de março de 2006 22:31
Para: asteriskbrasil em listas.asteriskbrasil.org
Assunto: Re: [AsteriskBrasil] RES: RES: RES: RES: Problemas com DialPlan

desculpa falta a operadora tenta colocar assim
_X.;isto para local
_0X.  ;isto para ddd
- Original Message - 
From: Lucio Gonzalez [EMAIL PROTECTED]
To: asteriskbrasil em listas.asteriskbrasil.org
Sent: Sunday, March 05, 2006 9:32 PM
Subject: Re: [AsteriskBrasil] RES: RES: RES: RES: Problemas com DialPlan


ta certo so falta 0XXNXXX coloca la isso e já vai funca
- Original Message - 
From: Felipe Silva [EMAIL PROTECTED]
To: asteriskbrasil em listas.asteriskbrasil.org
Sent: Sunday, March 05, 2006 9:47 AM
Subject: [AsteriskBrasil] RES: RES: RES: RES: Problemas com DialPlan


Ola amigo !

A config da rota para a ZAP do meu AMP esta assim:
http://www.geocities.com/frps

Abraços

Felipe Rafael
-Mensagem original-
De: asteriskbrasil-bounces em listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces em listas.asteriskbrasil.org] Em nome de Lucio
Gonzalez
Enviada em: domingo, 5 de março de 2006 08:12
Para: asteriskbrasil em listas.asteriskbrasil.org
Assunto: Re: [AsteriskBrasil] RES: RES: RES: Problemas com DialPlan


Eu fiz uma Rota pelo AMP com X para minha ZAP e as ligações
discando 0145432781664 por exemplo funciona OK.
Aqui a Tua rrota tem que ser exten = _0XXNXXX
Porem queria fazer ligações locais direto exemplo 32781664 sem o 01454.

Tentei adiciona uma rota  mas não adianta.
Aqui exten = _NXXX

Como teria que fazer meu plano de discagem?


O Log quando disco direto 32781664.

36;40mPlayback(SIP/9600-a4cb, pls-try-call-later) in new stack
-- Playing 'pls-try-call-later' (language 'en')
Verbosity is at least 3
-- Executing Macro(SIP/9600-a4cb, hangupcall) in new stack
-- Executing ResetCDR(SIP/9600-a4cb, w) in new stack
-- Executing NoCDR(SIP/9600-a4cb, ) in new stack
-- Executing Wait(SIP/9600-a4cb, 5) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/9600-a4cb' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on
'SIP/9600-a4cb' in macro 'outisbusy'
== Spawn extension (from-internal, 32781664, 2) exited non-zero on
'SIP/9600-a4cb'
-- Executing Macro(SIP/9600-a4cb, hangupcall) in new stack
-- Executing ResetCDR(SIP/9600-a4cb, w) in new stack
-- Executing NoCDR(SIP/9600-a4cb, ) in new stack
-- Executing Wait(SIP/9600-a4cb, 5) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/9600-a4cb' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/9600-a4cb'
asterisk1*CLI
[root em asterisk1 asterisk]# asterisk -r
Asterisk 1.2.2, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer markster em digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'show license' for details.
=
Connected to Asterisk 1.2.2 currently running on asterisk1 (pid = 2758)
Verbosity is at least 3
-- Executing Macro(SIP/9600-9b32, dialout-trunk|1|32781664|) in new
stack
-- Executing GotoIf(SIP/9600-9b32, 1?3:2)) in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro(SIP/9600-9b32, user-callerid) in new stack
-- Executing DBget(SIP/9600-9b32, AMPUSER=DEVICE/9600/user) in new
stack
-- DBget: varname=AMPUSER, family=DEVICE, key=9600/user
-- DBget: set variable AMPUSER to 9600
-- Executing DBget(SIP/9600-9b32,
AMPUSERCIDNAME=AMPUSER/9600/cidname) in new stack
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=9600/cidname
-- DBget: set variable AMPUSERCIDNAME to PDH
-- Executing GotoIf(SIP/9600-9b32, 0?5) in new stack
-- Executing SetCallerID(SIP/9600-9b32, PDH 9600) in new stack
-- Executing NoOp(SIP/9600-9b32, Using CallerID PDH 9600) in new
stack
-- Executing Macro(SIP/9600-9b32, record-enable|9600|OUT) in new
stack
-- Executing GotoIf(SIP/9600-9b32, 0  0?2:4) in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI(SIP/9600-9b32,
recordingcheck|20060303-133454|1141410894.22) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060303-133454|1141410894.22: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp(SIP/9600-9b32, No recording needed) in new stack
-- Executing Macro(SIP/9600-9b32, outbound-callerid|1) in new stack
-- Executing DBget(SIP/9600-9b32,
USEROUTCID=AMPUSER/9600/outboundcid) in new stack
-- DBget: varname=USEROUTCID, family=AMPUSER,