Você está na página 1de 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm

Generated: 9 April, 2012, 09:05

error "todas las lineas esta ocupadas"


Posted by apachont - 2010/05/19 12:15

_____________________________________

Hola,
tengo instalado elastix 1.6 configurado para una troncal SIP de EPM en Bogota, Colombia. la troncal
tiene 1 CID y 20 DID se supone que en este momento tengo todo bien configurado para la entrada de
llamadas pero al momento de sacar las llamadas esta reportado el error "lo sentimos todas las lineas
estan ocupadas por favor intente mas tarde". Ayuda por favor
Andres
============================================================================

Re:error "todas las lineas esta ocupadas"


Posted by jgutierrez - 2010/05/19 12:58

_____________________________________

Hay algunos proveedor SIP que si pones un CID correcto, no te dejan hacer la llamada. As mismo se
puede dar el caso de que ests enviando de formaincorrecta los dgitos, es decir, puede que tu
operador est esperando un prefijo y no se lo ests enviando.
Te recomiendo que cuando hagas una llamada, tengas en otr ventana ejecutando lo siguiente:
tail -f /var/log/asterisk/full | grep response
Y as veas el mensaje SIP de error, y en conjunto con tu proveedor vean cul es el problema.
============================================================================

Re:error

Posted by tbote - 2010/05/20 17:09


_____________________________________

jgutierrez wrote:
Hay algunos proveedor SIP que si pones un CID correcto, no te dejan hacer la llamada. As mismo se
puede dar el caso de que ests enviando de formaincorrecta los dgitos, es decir, puede que tu
operador est esperando un prefijo y no se lo ests enviando.
Te recomiendo que cuando hagas una llamada, tengas en otr ventana ejecutando lo siguiente:
tail -f /var/log/asterisk/full | grep response
Y as veas el mensaje SIP de error, y en conjunto con tu proveedor vean cul es el problema.
Hola Jorge
Mi problema es similar a este y lo puse en otro hilo pero no obtuve solucin, si yo marco un n errneo o
que no existe, la centralita me dice que todas las lneas estn ocupadas, cuando el error debera ser
que el nmero marcado no existe o es incorrecto. Hay alguna manera de controlar esos errores para
que la locucin sea la correcta? Es que causa confusin porque la gente intenta una y otra vez llamar a
esos nmeros pensando en que efectivamente las lneas estn ocupadas, cuando no es as.

1 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

Saludos
============================================================================

Re: Re:error

Posted by afos0110 - 2011/03/26 10:39


_____________________________________

Yo tambien tengo el mismo problema pero es con una troncal SIP de EMCALI en colombia.
Quedo en espera de una pronta solucion.
Saludos
JF
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by jgutierrez - 2011/04/07 14:24

_____________________________________

Deben pegar la salida del CLI cuando se marca a un nmero equivocado, y a un nmero ocupado
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by afos0110 - 2011/04/20 00:35

_____________________________________

http://www.elastix.org/images/fbfiles/files/Numero_equivocado_o_no_existente.txt
http://www.elastix.org/images/fbfiles/files/Numero_equivocado_o_no_existente.txt
http://www.elastix.org/images/fbfiles/files/Numero_equivocado_o_no_existente.txt Buenas Noche, a
continuacion estos son los CLI solicitados:
NUMERO EQUIVOCADO
sterisk 1.4.36, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail
s.
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 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.36 currently running on elastix (pid = 2996)
Verbosity is at least 3
elastix*CLI>
elastix*CLI> clear
No such command 'clear' (type 'help clear' for other possible commands)
2 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

elastix*CLI> cl
No such command 'cl' (type 'help cl' for other possible commands)
elastix*CLI>
Disconnected from Asterisk server
# clear
# asterisk -r
Asterisk 1.4.36, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core 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 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.36 currently running on elastix (pid = 2996)
Verbosity is at least 3
-- Executing Macro("SIP/599-00000f47", "user-callerid|SKIPTTL|") in new stack
-- Executing Set("SIP/599-00000f47", "AMPUSER=599") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?report") in new stack
-- Executing ExecIf("SIP/599-00000f47", "1|Set|REALCALLERIDNUM=599") in new stack
-- Executing Set("SIP/599-00000f47", "AMPUSER=599") in new stack
-- Executing Set("SIP/599-00000f47", "AMPUSERCIDNAME=599") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?report") in new stack
-- Executing Set("SIP/599-00000f47", "AMPUSERCID=599") in new stack
-- Executing Set("SIP/599-00000f47", "CALLERID(all)="599" ") in new stack
-- Executing ExecIf("SIP/599-00000f47", "0|Set|CHANNEL(language)=") in new stack
-- Executing GotoIf("SIP/599-00000f47", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing NoOp("SIP/599-00000f47", "Using CallerID "599" ") in new stack
-- Executing NoOp("SIP/599-00000f47", "Calling Out Route: 6411000") in new stack
-- Executing Set("SIP/599-00000f47", "MOHCLASS=default") in new stack
-- Executing Set("SIP/599-00000f47", "_NODEST=") in new stack
-- Executing Macro("SIP/599-00000f47", "record-enable|599|OUT|") in new stack
-- Executing GotoIf("SIP/599-00000f47", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/599-00000f47", "recordingcheck|20110420-002558|1303277158.3936") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110420-002558|1303277158.3936: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing MacroExit("SIP/599-00000f47", "") in new stack
-- Executing Macro("SIP/599-00000f47", "dialout-trunk|2|2356659|") in new stack
-- Executing Set("SIP/599-00000f47", "DIAL_TRUNK=2") in new stack
-- Executing GosubIf("SIP/599-00000f47", "0?sub-pincheck|s|1") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?disabletrunk|1") in new stack
-- Executing Set("SIP/599-00000f47", "DIAL_NUMBER=2356659") in new stack
-- Executing Set("SIP/599-00000f47", "DIAL_TRUNK_OPTIONS=trWw") in new stack
-- Executing Set("SIP/599-00000f47", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing GotoIf("SIP/599-00000f47", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing GotoIf("SIP/599-00000f47", "0?skipoutcid") in new stack
-- Executing Set("SIP/599-00000f47", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/599-00000f47", "outbound-callerid|2") in new stack

3 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

-- Executing ExecIf("SIP/599-00000f47", "0|SetCallerPres|") in new stack


-- Executing ExecIf("SIP/599-00000f47", "0|Set|REALCALLERIDNUM=599") in new stack
-- Executing GotoIf("SIP/599-00000f47", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing Set("SIP/599-00000f47", "USEROUTCID=") in new stack
-- Executing Set("SIP/599-00000f47", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/599-00000f47", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/599-00000f47", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing ExecIf("SIP/599-00000f47", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/599-00000f47", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/599-00000f47", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/599-00000f47", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing GosubIf("SIP/599-00000f47", "0?sub-flp-2|s|1") in new stack
-- Executing Set("SIP/599-00000f47", "OUTNUM=2356659") in new stack
-- Executing Set("SIP/599-00000f47", "custom=SIP/6411000") in new stack
-- Executing ExecIf("SIP/599-00000f47", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)") in
new stack
-- Executing Macro("SIP/599-00000f47", "dialout-trunk-predial-hook|") in new stack
-- Executing MacroExit("SIP/599-00000f47", "") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?bypass|1") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?customtrunk") in new stack
-- Executing Dial("SIP/599-00000f47", "SIP/6411000/2356659|300|") in new stack
-- Called 6411000/2356659
-- SIP/6411000-00000f48 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing NoOp("SIP/599-00000f47", "Dial failed for some reason with DIALSTATUS =
CONGESTION and HANGUPCAUSE = 1") in new stack
-- Executing Goto("SIP/599-00000f47", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing Set("SIP/599-00000f47", "RC=1") in new stack
-- Executing Goto("SIP/599-00000f47", "1|1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing Goto("SIP/599-00000f47", "continue|1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing GotoIf("SIP/599-00000f47", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing NoOp("SIP/599-00000f47", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE:
1 - failing through to other trunks") in new stack
-- Executing Set("SIP/599-00000f47", "CALLERID(number)=599") in new stack
-- Executing Macro("SIP/599-00000f47", "outisbusy|") in new stack
-- Executing Progress("SIP/599-00000f47", "") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?emergency|1") in new stack
-- Executing GotoIf("SIP/599-00000f47", "0?intracompany|1") in new stack
-- Executing Playback("SIP/599-00000f47", "all-circuits-busy-now&pls-try-call-later| noanswer") in
new stack
-- Playing 'all-circuits-busy-now' (language 'es')
-- Playing 'pls-try-call-later' (language 'es')
-- Executing Congestion("SIP/599-00000f47", "20") in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/599-00000f47' in macro
'outisbusy'
== Spawn extension (from-internal, 2356659, 7) exited non-zero on 'SIP/599-00000f47'

4 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

-- Executing Macro("SIP/599-00000f47", "hangupcall") in new stack


-- Executing GotoIf("SIP/599-00000f47", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing NoOp("SIP/599-00000f47", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing GotoIf("SIP/599-00000f47", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing GotoIf("SIP/599-00000f47", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Hangup("SIP/599-00000f47", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/599-00000f47' in macro
'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/599-00000f47'
elastix*CLI>
NUMERO OCUPADO
# asterisk -r
Asterisk 1.4.36, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core 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 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.36 currently running on elastix (pid = 2996)
Verbosity is at least 3
-- Executing Macro("SIP/599-00000f4b", "user-callerid|SKIPTTL|") in new stack
-- Executing Set("SIP/599-00000f4b", "AMPUSER=599") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "0?report") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "1|Set|REALCALLERIDNUM=599") in new stack
-- Executing Set("SIP/599-00000f4b", "AMPUSER=599") in new stack
-- Executing Set("SIP/599-00000f4b", "AMPUSERCIDNAME=599") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "0?report") in new stack
-- Executing Set("SIP/599-00000f4b", "AMPUSERCID=599") in new stack
-- Executing Set("SIP/599-00000f4b", "CALLERID(all)="599" ") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|Set|CHANNEL(language)=") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing NoOp("SIP/599-00000f4b", "Using CallerID "599" ") in new stack
-- Executing NoOp("SIP/599-00000f4b", "Calling Out Route: 6411000") in new stack
-- Executing Set("SIP/599-00000f4b", "MOHCLASS=default") in new stack
-- Executing Set("SIP/599-00000f4b", "_NODEST=") in new stack
-- Executing Macro("SIP/599-00000f4b", "record-enable|599|OUT|") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/599-00000f4b", "recordingcheck|20110420-002905|1303277345.3940") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110420-002905|1303277345.3940: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing MacroExit("SIP/599-00000f4b", "") in new stack
-- Executing Macro("SIP/599-00000f4b", "dialout-trunk|2|4335476|") in new stack

5 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

-- Executing Set("SIP/599-00000f4b", "DIAL_TRUNK=2") in new stack


-- Executing GosubIf("SIP/599-00000f4b", "0?sub-pincheck|s|1") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "0?disabletrunk|1") in new stack
-- Executing Set("SIP/599-00000f4b", "DIAL_NUMBER=4335476") in new stack
-- Executing Set("SIP/599-00000f4b", "DIAL_TRUNK_OPTIONS=trWw") in new stack
-- Executing Set("SIP/599-00000f4b", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing GotoIf("SIP/599-00000f4b", "0?skipoutcid") in new stack
-- Executing Set("SIP/599-00000f4b", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/599-00000f4b", "outbound-callerid|2") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|SetCallerPres|") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|Set|REALCALLERIDNUM=599") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing Set("SIP/599-00000f4b", "USEROUTCID=") in new stack
-- Executing Set("SIP/599-00000f4b", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/599-00000f4b", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing ExecIf("SIP/599-00000f4b", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing GosubIf("SIP/599-00000f4b", "0?sub-flp-2|s|1") in new stack
-- Executing Set("SIP/599-00000f4b", "OUTNUM=4335476") in new stack
-- Executing Set("SIP/599-00000f4b", "custom=SIP/6411000") in new stack
-- Executing ExecIf("SIP/599-00000f4b", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)") in
new stack
-- Executing Macro("SIP/599-00000f4b", "dialout-trunk-predial-hook|") in new stack
-- Executing MacroExit("SIP/599-00000f4b", "") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "0?bypass|1") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "0?customtrunk") in new stack
-- Executing Dial("SIP/599-00000f4b", "SIP/6411000/4335476|300|") in new stack
-- Called 6411000/4335476
-- Got SIP response 486 "Busy Here" back from 10.0.1.129
-- SIP/6411000-00000f4c is busy
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing NoOp("SIP/599-00000f4b", "Dial failed for some reason with DIALSTATUS = BUSY and
HANGUPCAUSE = 17") in new stack
-- Executing Goto("SIP/599-00000f4b", "s-BUSY|1") in new stack
-- Goto (macro-dialout-trunk,s-BUSY,1)
-- Executing NoOp("SIP/599-00000f4b", "Dial failed due to trunk reporting BUSY - giving up") in new
stack
-- Executing PlayTones("SIP/599-00000f4b", "busy") in new stack
-- Executing Busy("SIP/599-00000f4b", "20") in new stack
== Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'SIP/599-00000f4b' in macro
'dialout-trunk'
== Spawn extension (from-internal, 4335476, 6) exited non-zero on 'SIP/599-00000f4b'
-- Executing Macro("SIP/599-00000f4b", "hangupcall|") in new stack
-- Executing GotoIf("SIP/599-00000f4b", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)

6 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

-- Executing NoOp("SIP/599-00000f4b", "TOUCH_MONITOR_OUTPUT=") in new stack


-- Executing GotoIf("SIP/599-00000f4b", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing GotoIf("SIP/599-00000f4b", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Hangup("SIP/599-00000f4b", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/599-00000f4b' in macro
'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/599-00000f4b'
elastix*CLI>
Por favor espero me puedan ayudar a solucionar este problema.
Saludos
JF
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by jgutierrez - 2011/04/20 10:38

_____________________________________

Segn veo, s hay forma de cambiar el mensaje, ahora has una llamada cuando la troncal no est
disponible, para vre si el hangupcause es diferente al que se setea cuadno el nmero es equivocado.
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by afos0110 - 2011/04/20 21:47

_____________________________________

Este es el CLI cuando la troncal no esta disponible tal cual como me solicitasta que hiciera.
LLAMADA CUANDO LA TRONCAL NO ES DISPONIBLE
# asterisk -r
Asterisk 1.4.36, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core 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 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.36 currently running on elastix (pid = 2996)
Verbosity is at least 3
-- Executing Macro("SIP/599-00001499", "user-callerid|SKIPTTL|") in new stack
-- Executing Set("SIP/599-00001499", "AMPUSER=599") in new stack
-- Executing GotoIf("SIP/599-00001499", "0?report") in new stack
-- Executing ExecIf("SIP/599-00001499", "1|Set|REALCALLERIDNUM=599") in new stack
-- Executing Set("SIP/599-00001499", "AMPUSER=599") in new stack
7 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

-- Executing Set("SIP/599-00001499", "AMPUSERCIDNAME=599") in new stack


-- Executing GotoIf("SIP/599-00001499", "0?report") in new stack
-- Executing Set("SIP/599-00001499", "AMPUSERCID=599") in new stack
-- Executing Set("SIP/599-00001499", "CALLERID(all)="599" ") in new stack
-- Executing ExecIf("SIP/599-00001499", "0|Set|CHANNEL(language)=") in new stack
-- Executing GotoIf("SIP/599-00001499", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing NoOp("SIP/599-00001499", "Using CallerID "599" ") in new stack
-- Executing NoOp("SIP/599-00001499", "Calling Out Route: 6411000") in new stack
-- Executing Set("SIP/599-00001499", "MOHCLASS=default") in new stack
-- Executing Set("SIP/599-00001499", "_NODEST=") in new stack
-- Executing Macro("SIP/599-00001499", "record-enable|599|OUT|") in new stack
-- Executing GotoIf("SIP/599-00001499", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/599-00001499", "recordingcheck|20110420-215406|1303354446.5300") in
new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110420-215406|1303354446.5300: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing MacroExit("SIP/599-00001499", "") in new stack
-- Executing Macro("SIP/599-00001499", "outisbusy|") in new stack
-- Executing Progress("SIP/599-00001499", "") in new stack
-- Executing GotoIf("SIP/599-00001499", "0?emergency|1") in new stack
-- Executing GotoIf("SIP/599-00001499", "0?intracompany|1") in new stack
-- Executing Playback("SIP/599-00001499", "all-circuits-busy-now&pls-try-call-later| noanswer") in
new stack
-- Playing 'all-circuits-busy-now' (language 'es')
-- Playing 'pls-try-call-later' (language 'es')
-- Executing Congestion("SIP/599-00001499", "20") in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/599-00001499' in macro
'outisbusy'
== Spawn extension (from-internal, 4335476, 6) exited non-zero on 'SIP/599-00001499'
-- Executing Macro("SIP/599-00001499", "hangupcall") in new stack
-- Executing GotoIf("SIP/599-00001499", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing NoOp("SIP/599-00001499", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing GotoIf("SIP/599-00001499", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing GotoIf("SIP/599-00001499", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Hangup("SIP/599-00001499", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/599-00001499' in macro
'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/599-00001499'
De antemano gracias por su ayuda.
JF
============================================================================

8 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

Re: error "todas las lineas esta ocupadas"


Posted by jgutierrez - 2011/04/26 14:35

_____________________________________

Lo que yo hara es pegar el siguiente contexto en extensions_override_freepbx.conf:

include => macro-outisbusy-custom


exten => s,1,Progress
exten => s,n,GotoIf($?emergency,1)
exten => s,n,GotoIf($?intracompany,1)
exten => s,n,GotoIf($?invalid)
exten => s,n,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)
exten => s,n,Congestion(20)
exten => s,n,Hangup
exten => s,n(invalid),Playback(invalid)
exten => s,n,Congestion(20)
exten => s,n,Hangup
exten => intracompany,1,Playback(all-circuits-busy-now&pls-try-call-later, noanswer)
exten => intracompany,n,Congestion(20)
exten => intracompany,n,Hangup
exten => emergency,1,Playback(all-circuits-busy-now&pls-try-call-later)
exten => emergency,n,Congestion(20)
exten => emergency,n,Hangup
Luego desde la consola ejecutas:
asterisk -rx "module reload"
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by afos0110 - 2011/04/26 15:35

_____________________________________

Ok, lo probare y te estare comentando. otra cosa tu no sabes como cancelar el retorno de eco de
sangoma U100 FXO-USB? me puedes regalar tu msn?.
Saludos,
JF
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by afos0110 - 2011/07/30 12:28

_____________________________________

Hola, coloque el codigo que me indicaste, y marque a un numero que se encuentra daado y sigue
9 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

respondiendo igual, a continuacin el CLI:


Extension Changed 146 new state InUse for Notify User 101
-- Executing Macro("SIP/146-00000275", "user-callerid|SKIPTTL|") in new stack
-- Executing Set("SIP/146-00000275", "AMPUSER=146") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?report") in new stack
-- Executing ExecIf("SIP/146-00000275", "1|Set|REALCALLERIDNUM=146") in new stack
-- Executing Set("SIP/146-00000275", "AMPUSER=146") in new stack
-- Executing Set("SIP/146-00000275", "AMPUSERCIDNAME=Sistemas") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?report") in new stack
-- Executing Set("SIP/146-00000275", "AMPUSERCID=146") in new stack
-- Executing Set("SIP/146-00000275", "CALLERID(all)="Sistemas" ") in new stack
-- Executing ExecIf("SIP/146-00000275", "1|Set|CHANNEL(language)=es") in new stack
-- Executing GotoIf("SIP/146-00000275", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing NoOp("SIP/146-00000275", "Using CallerID "Sistemas" ") in new stack
-- Executing Set("SIP/146-00000275", "_NODEST=") in new stack
-- Executing Macro("SIP/146-00000275", "record-enable|146|OUT|") in new stack
-- Executing GotoIf("SIP/146-00000275", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/146-00000275", "recordingcheck|20110730-122609|1312046769.652") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110730-122609|1312046769.652: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing MacroExit("SIP/146-00000275", "") in new stack
-- Executing Macro("SIP/146-00000275", "dialout-trunk|2|4335476||") in new stack
-- Executing Set("SIP/146-00000275", "DIAL_TRUNK=2") in new stack
-- Executing GosubIf("SIP/146-00000275", "0?sub-pincheck|s|1") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?disabletrunk|1") in new stack
-- Executing Set("SIP/146-00000275", "DIAL_NUMBER=4335476") in new stack
-- Executing Set("SIP/146-00000275", "DIAL_TRUNK_OPTIONS=TtrWw") in new stack
-- Executing Set("SIP/146-00000275", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing GotoIf("SIP/146-00000275", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing GotoIf("SIP/146-00000275", "0?skipoutcid") in new stack
-- Executing Set("SIP/146-00000275", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/146-00000275", "outbound-callerid|2") in new stack
-- Executing ExecIf("SIP/146-00000275", "0|SetCallerPres|") in new stack
-- Executing ExecIf("SIP/146-00000275", "0|Set|REALCALLERIDNUM=146") in new stack
-- Executing GotoIf("SIP/146-00000275", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing Set("SIP/146-00000275", "USEROUTCID=") in new stack
-- Executing Set("SIP/146-00000275", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/146-00000275", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/146-00000275", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing ExecIf("SIP/146-00000275", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/146-00000275", "0|Set|CALLERID(all)=") in new stack
-- Executing ExecIf("SIP/146-00000275", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing ExecIf("SIP/146-00000275", "0|AGI|fixlocalprefix") in new stack
-- Executing Set("SIP/146-00000275", "OUTNUM=4335476") in new stack

10 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

-- Executing Set("SIP/146-00000275", "custom=SIP/6410633") in new stack


-- Executing ExecIf("SIP/146-00000275", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new
stack
-- Executing Macro("SIP/146-00000275", "dialout-trunk-predial-hook|") in new stack
-- Executing MacroExit("SIP/146-00000275", "") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?bypass|1") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?customtrunk") in new stack
-- Executing Dial("SIP/146-00000275", "SIP/6410633/4335476|300|") in new stack
-- Called 6410633/4335476
-- SIP/6410633-00000276 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("SIP/146-00000275", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing GotoIf("SIP/146-00000275", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing NoOp("SIP/146-00000275", "TRUNK Dial failed due to CONGESTION - failing through
to other trunks") in new stack
-- Executing Macro("SIP/146-00000275", "outisbusy|") in new stack
-- Executing Progress("SIP/146-00000275", "") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?emergency|1") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?intracompany|1") in new stack
-- Executing GotoIf("SIP/146-00000275", "0?invalid") in new stack
-- Executing Playback("SIP/146-00000275", "all-circuits-busy-now&pls-try-call-later| noanswer") in
new stack
-- Playing 'all-circuits-busy-now' (language 'es')
-- Playing 'pls-try-call-later' (language 'es')
Extension Changed 149 new state Idle for Notify User 101
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/149-00000273' in macro 'dial'
== Spawn extension (ext, 131, 16) exited non-zero on 'SIP/149-00000273'
Extension Changed 131 new state InUse for Notify User 101
-- Executing Macro("SIP/149-00000273", "hangupcall") in new stack
-- Executing GotoIf("SIP/149-00000273", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing NoOp("SIP/149-00000273", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing GotoIf("SIP/149-00000273", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing NoOp("SIP/149-00000273", "MONITOR_FILENAME=") in new stack
-- Executing GotoIf("SIP/149-00000273", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Hangup("SIP/149-00000273", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/149-00000273' in macro
'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/149-00000273'
Agradezco tu ayuda.
JF
============================================================================

Re: error "todas las lineas esta ocupadas"


Posted by afos0110 - 2011/08/25 08:07

_____________________________________
11 / 12

Elastix Forums :: Open Source Unified Communications Server - Elastix :: The Open Source Unified Comm
Generated: 9 April, 2012, 09:05

Ahora se me presenta otro problema adicional, instale la version del elastis 2.2.0.rc1.
A veces se me presenta el problema en la salida de llamadas ( situacin que ya paso el lunes y el dia
de ayer en la tarde y nuevamente hoy) puesto que cuando se va a llamar o suena ocupado, o el
mensaje de todas las lneas estn ocupadas, se revisa las llamadas realizndolas de una lnea anloga
o de un celular externo y funciona ok.
Esto se soluciona realizando el servidor y los ATA FXS Linksys.
Saludos,
JF
============================================================================

12 / 12

Você também pode gostar