Instalación de Servidor Elastix

Gentoo

Joined
Apr 4, 2010
Messages
10
Likes
0
Points
0
#1
Estimados :

Actualmente tengo un servidor elastix en produccion las llamadas entran y salen desde internet.

Ahora quiero instalar otro servidor pero las llamadas de entradas y salidas con una tarjeta sangoma. tengo una de cuatro puertos que ya tengo instalada.

Segun esto la tarjeta estaria reconocida por la plataforma pero mis llamadas no salen.

Al marcar me sale una grabacion en ingles que dice que el servicio no esta disponible y que intente mas tarde.

Podrian por favor orientarme de que procedimiento deberia seguir para lograr mi objetivo ?

Saludos de Antemano!

--- EDITO ---

El archivo log me entrega lo siguiente :
== Spawn extension (from-pstn, h, 1) exited non-zero on 'SIP/101-c4002730'
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Executing [7321111@from-pstn:1] Set("SIP/101-c4002730", "__FROM_DID=7321111") in new stack
-- Executing [7321111@from-pstn:2] NoOp("SIP/101-c4002730", "Received an unknown call with DID set to 7321111") in new stack
-- Executing [7321111@from-pstn:3] Goto("SIP/101-c4002730", "s|a2") in new stack
-- Goto (from-pstn,s,2)
-- Executing [s@from-pstn:2] Answer("SIP/101-c4002730", "") in new stack
-- Executing [s@from-pstn:3] Wait("SIP/101-c4002730", "2") in new stack
-- Executing [s@from-pstn:4] Playback("SIP/101-c4002730", "ss-noservice") in new stack
-- <SIP/101-c4002730> Playing 'ss-noservice' (language 'en')
-- Executing [s@from-pstn:5] SayAlpha("SIP/101-c4002730", "7321111") in new stack
-- <SIP/101-c4002730> Playing 'digits/7' (language 'en')
-- <SIP/101-c4002730> Playing 'digits/3' (language 'en')
-- <SIP/101-c4002730> Playing 'digits/2' (language 'en')
-- <SIP/101-c4002730> Playing 'digits/1' (language 'en')
-- <SIP/101-c4002730> Playing 'digits/1' (language 'en')
-- <SIP/101-c4002730> Playing 'digits/1' (language 'en')
-- <SIP/101-c4002730> Playing 'digits/1' (language 'en')
-- Executing [s@from-pstn:6] Hangup("SIP/101-c4002730", "") in new stack
== Spawn extension (from-pstn, s, 6) exited non-zero on 'SIP/101-c4002730'
-- Executing [h@from-pstn:1] Hangup("SIP/101-c4002730", "") in new stack
== Spawn extension (from-pstn, h, 1) exited non-zero on 'SIP/101-c4002730'
 

mm.alpha2k

Joined
Jun 19, 2010
Messages
165
Likes
0
Points
0
#2
Lo que pegaste es el ingreso de una llamada, pero como no tenes configurado el DID 7321111
Osea no existe destino a donde vaya, te dice que el servicio no esta disponible.
Configura la routas entrantes DID 7321111 y dale un destino.
 

Gentoo

Joined
Apr 4, 2010
Messages
10
Likes
0
Points
0
#3
En efecto esa es una llamada de salida local y si lo marco completo incluyendo codigo de ciudad me da otro mensaje 018717321111

Code:
    -- Executing [018717321111@from-internal:1] Macro("SIP/100-b0002d40", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/100-b0002d40", "AMPUSER=100") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/100-b0002d40", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/100-b0002d40", "1|Set|REALCALLERIDNUM=100") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/100-b0002d40", "AMPUSER=100") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/100-b0002d40", "AMPUSERCIDNAME=SISTEMAS") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/100-b0002d40", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/100-b0002d40", "AMPUSERCID=100") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/100-b0002d40", "CALLERID(all)="SISTEMAS" <100>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/100-b0002d40", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/100-b0002d40", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/100-b0002d40", "Using CallerID "SISTEMAS" <100>") in new stack
    -- Executing [018717321111@from-internal:2] Set("SIP/100-b0002d40", "_NODEST=") in new stack
    -- Executing [018717321111@from-internal:3] Macro("SIP/100-b0002d40", "record-enable|100|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/100-b0002d40", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/100-b0002d40", "recordingcheck|20101110-154833|1289425713.3") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20101110-154833|1289425713.3: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/100-b0002d40", "") in new stack
    -- Executing [018717321111@from-internal:4] Macro("SIP/100-b0002d40", "dialout-trunk|1|018717321111||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/100-b0002d40", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/100-b0002d40", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/100-b0002d40", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/100-b0002d40", "DIAL_NUMBER=018717321111") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/100-b0002d40", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/100-b0002d40", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/100-b0002d40", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/100-b0002d40", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/100-b0002d40", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/100-b0002d40", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/100-b0002d40", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/100-b0002d40", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/100-b0002d40", "0|Set|REALCALLERIDNUM=100") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/100-b0002d40", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/100-b0002d40", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/100-b0002d40", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/100-b0002d40", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/100-b0002d40", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/100-b0002d40", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/100-b0002d40", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/100-b0002d40", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/100-b0002d40", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  ==  fixlocalprefix: Dialpattern XXXXXXXXXXXX matched. 018717321111 -> 018717321111
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/100-b0002d40", "OUTNUM=018717321111") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/100-b0002d40", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/100-b0002d40", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/100-b0002d40", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/100-b0002d40", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/100-b0002d40", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/100-b0002d40", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/100-b0002d40", "DAHDI/g0/018717321111|300|") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:20] Goto("SIP/100-b0002d40", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/100-b0002d40", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/100-b0002d40", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 0) - failing through to other trunks") in new stack
    -- Executing [018717321111@from-internal:5] Macro("SIP/100-b0002d40", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/100-b0002d40", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/100-b0002d40> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/100-b0002d40", "pls-try-call-later|noanswer") in new stack
    -- <SIP/100-b0002d40> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("SIP/100-b0002d40", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-b0002d40", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/100-b0002d40", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/100-b0002d40", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/100-b0002d40", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/100-b0002d40' in macro 'hangupcall'
  == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/100-b0002d40' in macro 'outisbusy'
  == Spawn extension (from-internal, 018717321111, 5) exited non-zero on 'SIP/100-b0002d40'
    -- Executing [h@from-internal:1] Macro("SIP/100-b0002d40", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-b0002d40", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/100-b0002d40", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/100-b0002d40", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/100-b0002d40", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/100-b0002d40' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-b0002d40'
Tambien te puedo contar que la troncal telefonica es solo de salida, no es posible que entren llamadas por esa linea.

Por esa razon no tengo creada una ruta de entrada.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top