error "todas las lineas esta ocupadas"

apachont

Joined
May 15, 2010
Messages
2
Likes
0
Points
0
#1
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
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#2
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 estés enviando de formaincorrecta los dígitos, es decir, puede que tu operador esté esperando un prefijo y no se lo estás 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 cuál es el problema.
 

tbote

Joined
Feb 17, 2009
Messages
98
Likes
0
Points
6
#3
Re:error

jgutierrez said:
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 estés enviando de formaincorrecta los dígitos, es decir, puede que tu operador esté esperando un prefijo y no se lo estás 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 cuál es el problema.
Hola Jorge

Mi problema es similar a este y lo puse en otro hilo pero no obtuve solución, si yo marco un nº erróneo o que no existe, la centralita me dice que todas las líneas están ocupadas, cuando el error debería ser que el número marcado no existe o es incorrecto. ¿Hay alguna manera de controlar esos errores para que la locución sea la correcta? Es que causa confusión porque la gente intenta una y otra vez llamar a esos números pensando en que efectivamente las líneas están ocupadas, cuando no es así.

Saludos
 

afos0110

Joined
Jul 26, 2010
Messages
131
Likes
0
Points
0
#4
Re: Re:error

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
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#5
Deben pegar la salida del CLI cuando se marca a un número equivocado, y a un número ocupado
 

afos0110

Joined
Jul 26, 2010
Messages
131
Likes
0
Points
0
#6
Re: error

http://forum.elastix.org/old_files/Numero_equivocado_o_no_existente.txt http://forum.elastix.org/old_files/Numero_equivocado_o_no_existente.txt http://forum.elastix.org/old_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)
elastix*CLI> cl
No such command 'cl' (type 'help cl' for other possible commands)
elastix*CLI>
Disconnected from Asterisk server
[root@elastix ~]# clear
[root@elastix ~]# 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 [2356659@from-internal:1] Macro("SIP/599-00000f47", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/599-00000f47", "AMPUSER=599") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/599-00000f47", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/599-00000f47", "1|Set|REALCALLERIDNUM=599") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/599-00000f47", "AMPUSER=599") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/599-00000f47", "AMPUSERCIDNAME=599") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/599-00000f47", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/599-00000f47", "AMPUSERCID=599") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/599-00000f47", "CALLERID(all)="599" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/599-00000f47", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/599-00000f47", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/599-00000f47", "Using CallerID "599" ") in new stack
-- Executing [2356659@from-internal:2] NoOp("SIP/599-00000f47", "Calling Out Route: 6411000") in new stack
-- Executing [2356659@from-internal:3] Set("SIP/599-00000f47", "MOHCLASS=default") in new stack
-- Executing [2356659@from-internal:4] Set("SIP/599-00000f47", "_NODEST=") in new stack
-- Executing [2356659@from-internal:5] Macro("SIP/599-00000f47", "record-enable|599|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/599-00000f47", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] 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 [s@macro-record-enable:5] MacroExit("SIP/599-00000f47", "") in new stack
-- Executing [2356659@from-internal:6] Macro("SIP/599-00000f47", "dialout-trunk|2|2356659|") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/599-00000f47", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/599-00000f47", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/599-00000f47", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/599-00000f47", "DIAL_NUMBER=2356659") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/599-00000f47", "DIAL_TRUNK_OPTIONS=trWw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/599-00000f47", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/599-00000f47", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/599-00000f47", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/599-00000f47", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/599-00000f47", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/599-00000f47", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/599-00000f47", "0|Set|REALCALLERIDNUM=599") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/599-00000f47", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/599-00000f47", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/599-00000f47", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/599-00000f47", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/599-00000f47", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/599-00000f47", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/599-00000f47", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/599-00000f47", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/599-00000f47", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/599-00000f47", "0?sub-flp-2|s|1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/599-00000f47", "OUTNUM=2356659") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/599-00000f47", "custom=SIP/6411000") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/599-00000f47", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/599-00000f47", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/599-00000f47", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/599-00000f47", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/599-00000f47", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] 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 [s@macro-dialout-trunk:20] NoOp("SIP/599-00000f47", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 1") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/599-00000f47", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/599-00000f47", "RC=1") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/599-00000f47", "1|1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [1@macro-dialout-trunk:1] Goto("SIP/599-00000f47", "continue|1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/599-00000f47", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/599-00000f47", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 1 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/599-00000f47", "CALLERID(number)=599") in new stack
-- Executing [2356659@from-internal:7] Macro("SIP/599-00000f47", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/599-00000f47", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/599-00000f47", "0?emergency|1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/599-00000f47", "0?intracompany|1") in new stack
-- Executing [s@macro-outisbusy:4] 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 [s@macro-outisbusy:5] 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'
-- Executing [h@from-internal:1] Macro("SIP/599-00000f47", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/599-00000f47", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/599-00000f47", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/599-00000f47", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/599-00000f47", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] 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

[root@elastix ~]# 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 [4335476@from-internal:1] Macro("SIP/599-00000f4b", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/599-00000f4b", "AMPUSER=599") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/599-00000f4b", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/599-00000f4b", "1|Set|REALCALLERIDNUM=599") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/599-00000f4b", "AMPUSER=599") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/599-00000f4b", "AMPUSERCIDNAME=599") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/599-00000f4b", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/599-00000f4b", "AMPUSERCID=599") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/599-00000f4b", "CALLERID(all)="599" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/599-00000f4b", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/599-00000f4b", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/599-00000f4b", "Using CallerID "599" ") in new stack
-- Executing [4335476@from-internal:2] NoOp("SIP/599-00000f4b", "Calling Out Route: 6411000") in new stack
-- Executing [4335476@from-internal:3] Set("SIP/599-00000f4b", "MOHCLASS=default") in new stack
-- Executing [4335476@from-internal:4] Set("SIP/599-00000f4b", "_NODEST=") in new stack
-- Executing [4335476@from-internal:5] Macro("SIP/599-00000f4b", "record-enable|599|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/599-00000f4b", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] 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 [s@macro-record-enable:5] MacroExit("SIP/599-00000f4b", "") in new stack
-- Executing [4335476@from-internal:6] Macro("SIP/599-00000f4b", "dialout-trunk|2|4335476|") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/599-00000f4b", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/599-00000f4b", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/599-00000f4b", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/599-00000f4b", "DIAL_NUMBER=4335476") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/599-00000f4b", "DIAL_TRUNK_OPTIONS=trWw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/599-00000f4b", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/599-00000f4b", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/599-00000f4b", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/599-00000f4b", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/599-00000f4b", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/599-00000f4b", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/599-00000f4b", "0|Set|REALCALLERIDNUM=599") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/599-00000f4b", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/599-00000f4b", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/599-00000f4b", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/599-00000f4b", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/599-00000f4b", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/599-00000f4b", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/599-00000f4b", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/599-00000f4b", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/599-00000f4b", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/599-00000f4b", "0?sub-flp-2|s|1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/599-00000f4b", "OUTNUM=4335476") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/599-00000f4b", "custom=SIP/6411000") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/599-00000f4b", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/599-00000f4b", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/599-00000f4b", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/599-00000f4b", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/599-00000f4b", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] 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 [s@macro-dialout-trunk:20] NoOp("SIP/599-00000f4b", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 17") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/599-00000f4b", "s-BUSY|1") in new stack
-- Goto (macro-dialout-trunk,s-BUSY,1)
-- Executing [s-BUSY@macro-dialout-trunk:1] NoOp("SIP/599-00000f4b", "Dial failed due to trunk reporting BUSY - giving up") in new stack
-- Executing [s-BUSY@macro-dialout-trunk:2] PlayTones("SIP/599-00000f4b", "busy") in new stack
-- Executing [s-BUSY@macro-dialout-trunk:3] 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 [h@macro-dialout-trunk:1] Macro("SIP/599-00000f4b", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/599-00000f4b", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/599-00000f4b", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/599-00000f4b", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/599-00000f4b", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] 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
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#7
Según 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 número es equivocado.
 

afos0110

Joined
Jul 26, 2010
Messages
131
Likes
0
Points
0
#8
Este es el CLI cuando la troncal no esta disponible tal cual como me solicitasta que hiciera.

[size=4[color=#FF0000]LLAMADA CUANDO LA TRONCAL NO ES DISPONIBLE [/color][/size]

[root@elastix ~]# asterisk -r
Asterisk 1.4.36, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
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 [4335476@from-internal:1] Macro("SIP/599-00001499", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/599-00001499", "AMPUSER=599") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/599-00001499", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/599-00001499", "1|Set|REALCALLERIDNUM=599") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/599-00001499", "AMPUSER=599") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/599-00001499", "AMPUSERCIDNAME=599") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/599-00001499", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/599-00001499", "AMPUSERCID=599") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/599-00001499", "CALLERID(all)="599" <599>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/599-00001499", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/599-00001499", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/599-00001499", "Using CallerID "599" <599>") in new stack
-- Executing [4335476@from-internal:2] NoOp("SIP/599-00001499", "Calling Out Route: 6411000") in new stack
-- Executing [4335476@from-internal:3] Set("SIP/599-00001499", "MOHCLASS=default") in new stack
-- Executing [4335476@from-internal:4] Set("SIP/599-00001499", "_NODEST=") in new stack
-- Executing [4335476@from-internal:5] Macro("SIP/599-00001499", "record-enable|599|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/599-00001499", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] 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 [s@macro-record-enable:5] MacroExit("SIP/599-00001499", "") in new stack
-- Executing [4335476@from-internal:6] Macro("SIP/599-00001499", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/599-00001499", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/599-00001499", "0?emergency|1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/599-00001499", "0?intracompany|1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/599-00001499", "all-circuits-busy-now&pls-try-call-later| noanswer") in new stack
-- <SIP/599-00001499> Playing 'all-circuits-busy-now' (language 'es')
-- <SIP/599-00001499> Playing 'pls-try-call-later' (language 'es')
-- Executing [s@macro-outisbusy:5] 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 [h@from-internal:1] Macro("SIP/599-00001499", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/599-00001499", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/599-00001499", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/599-00001499", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/599-00001499", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] 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
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#9
Lo que yo haría es pegar el siguiente contexto en extensions_override_freepbx.conf:

Code:
[macro-outisbusy]
include => macro-outisbusy-custom
exten => s,1,Progress
exten => s,n,GotoIf($["${EMERGENCYROUTE}" = "YES"]?emergency,1)
exten => s,n,GotoIf($["${INTRACOMPANYROUTE}" = "YES"]?intracompany,1)
exten => s,n,GotoIf($[ "${HANGUPCAUSE}" = "1" ]?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"
 

afos0110

Joined
Jul 26, 2010
Messages
131
Likes
0
Points
0
#10
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
 

afos0110

Joined
Jul 26, 2010
Messages
131
Likes
0
Points
0
#11
Hola, coloque el codigo que me indicaste, y marque a un numero que se encuentra dañado y sigue respondiendo igual, a continuación el CLI:

Extension Changed 146[ext-local] new state InUse for Notify User 101
-- Executing [4335476@from-internal:1] Macro("SIP/146-00000275", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/146-00000275", "AMPUSER=146") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/146-00000275", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/146-00000275", "1|Set|REALCALLERIDNUM=146") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/146-00000275", "AMPUSER=146") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/146-00000275", "AMPUSERCIDNAME=Sistemas") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/146-00000275", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/146-00000275", "AMPUSERCID=146") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/146-00000275", "CALLERID(all)="Sistemas" <146>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/146-00000275", "1|Set|CHANNEL(language)=es") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/146-00000275", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/146-00000275", "Using CallerID "Sistemas" <146>") in new stack
-- Executing [4335476@from-internal:2] Set("SIP/146-00000275", "_NODEST=") in new stack
-- Executing [4335476@from-internal:3] Macro("SIP/146-00000275", "record-enable|146|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/146-00000275", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] 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 [s@macro-record-enable:5] MacroExit("SIP/146-00000275", "") in new stack
-- Executing [4335476@from-internal:4] Macro("SIP/146-00000275", "dialout-trunk|2|4335476||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/146-00000275", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/146-00000275", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/146-00000275", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/146-00000275", "DIAL_NUMBER=4335476") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/146-00000275", "DIAL_TRUNK_OPTIONS=TtrWw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/146-00000275", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/146-00000275", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/146-00000275", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/146-00000275", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/146-00000275", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/146-00000275", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/146-00000275", "0|Set|REALCALLERIDNUM=146") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/146-00000275", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/146-00000275", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/146-00000275", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/146-00000275", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/146-00000275", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/146-00000275", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/146-00000275", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/146-00000275", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/146-00000275", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/146-00000275", "OUTNUM=4335476") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/146-00000275", "custom=SIP/6410633") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/146-00000275", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/146-00000275", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/146-00000275", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/146-00000275", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/146-00000275", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] 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 [s@macro-dialout-trunk:20] Goto("SIP/146-00000275", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/146-00000275", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/146-00000275", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing [4335476@from-internal:5] Macro("SIP/146-00000275", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/146-00000275", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/146-00000275", "0?emergency|1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/146-00000275", "0?intracompany|1") in new stack
-- Executing [s@macro-outisbusy:4] GotoIf("SIP/146-00000275", "0?invalid") in new stack
-- Executing [s@macro-outisbusy:5] Playback("SIP/146-00000275", "all-circuits-busy-now&pls-try-call-later| noanswer") in new stack
-- <SIP/146-00000275> Playing 'all-circuits-busy-now' (language 'es')
-- <SIP/146-00000275> Playing 'pls-try-call-later' (language 'es')
Extension Changed 149[ext-local] 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[ext-local] new state InUse for Notify User 101
-- Executing [h@macro-dial:1] Macro("SIP/149-00000273", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/149-00000273", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/149-00000273", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/149-00000273", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] NoOp("SIP/149-00000273", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/149-00000273", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] 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
 

afos0110

Joined
Jul 26, 2010
Messages
131
Likes
0
Points
0
#12
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 ( situación 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 líneas están ocupadas, se revisa las llamadas realizándolas de una línea análoga o de un celular externo y funciona ok.

Esto se soluciona realizando el servidor y los ATA FXS Linksys.

Saludos,

JF
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,900
Messages
130,884
Members
17,561
Latest member
marouen
Top