Carlos te aconsejo pasarte por los foros en castellano de elastix.
Alli te pueden ayudar, esta lista de correo es para Asterisk unicamente...
Suerte
Jose
2009/11/19 Carlos <
carlosmar...@gmail.com>:
>
> Soy instalador de redes al que un cliente que no le pagaba le dio a
> modo de trueque una tarjeta digium con 1 modulo FXO y un telefono
> LINKSYS SPA491. Me convencio diciendome que podia montar una
> centralita facilmente con una linea analogica. Mis unicos
> conocimientos sobre asterisk vienen de leer el Elastix without tears y
> comunicaciones unificadas con elaxtix. Unicamente quiero realizar
> llamadas y recibirlas. Os copio mi system.conf y mi chan_dahdi.conf
> ademas de lo que el cli me dice cuando intento llamar. Mi version de
> Elastix es la 1.6-12. Estoy dispuesto ha hacer lo que sea incluso
> cambiar de distribucion ya que escogi la elastix porque al parecer era
> la mas sencilla de utilizar. Mi agradecimiento por adelantado.
>
> systen.conf
>
> # Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
> fxsks=1
> echocanceller=oslec,1
> # channel 2, WCTDM/0/1, no module.
> # channel 3, WCTDM/0/2, no module.
> # channel 4, WCTDM/0/3, no module.
>
> # Global data
>
> loadzone = es
> defaultzone = es
>
> chan_dahdi.conf
>
> [trunkgroups]
>
> [channels]
> context=from-pstn
> signalling=fxs_ks
> rxwink=300 ; Atlas seems to use long (250ms) winks
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=no
> faxdetect=incoming
> echotraining=800
> rxgain=0.0
> txgain=0.0
> callgroup=1
> pickupgroup=1
> answeronpolarityswitch=yes
> hanguponpolarityswitch=yes
> ;Uncomment these lines if you have problems with the disconection of
> your analog lines
> busydetect=yes
> busycount=3
> channel => 1
>
> immediate=no
>
> #include dahdi-channels.conf
> #include chan_dahdi_additional.conf
>
> elastix*cli
>
> -- Executing [0954215012@from-internal:1] Macro("SIP/2311-0934b580",
> "user-callerid|SKIPTTL|") in new stack
> -- Executing [s@macro-user-callerid:1] Set("SIP/2311-0934b580",
> "AMPUSER=2311") in new stack
> -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2311-0934b580",
> "0?report") in new stack
> -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2311-0934b580",
> "1|Set|REALCALLERIDNUM=2311") in new stack
> -- Executing [s@macro-user-callerid:4] Set("SIP/2311-0934b580",
> "AMPUSER=2311") in new stack
> -- Executing [s@macro-user-callerid:5] Set("SIP/2311-0934b580",
> "AMPUSERCIDNAME=2311") in new stack
> -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2311-0934b580",
> "0?report") in new stack
> -- Executing [s@macro-user-callerid:7] Set("SIP/2311-0934b580",
> "AMPUSERCID=2311") in new stack
> -- Executing [s@macro-user-callerid:8] Set("SIP/2311-0934b580",
> "CALLERID(all)="2311" <2311>") in new stack
> -- Executing [s@macro-user-callerid:9] ExecIf("SIP/2311-0934b580",
> "0|Set|CHANNEL(language)=") in new stack
> -- Executing [s@macro-user-callerid:10] GotoIf("SIP/
> 2311-0934b580", "1?continue") in new stack
> -- Goto (macro-user-callerid,s,19)
> -- Executing [s@macro-user-callerid:19] NoOp("SIP/2311-0934b580",
> "Using CallerID "2311" <2311>") in new stack
> -- Executing [0954215012@from-internal:2] Set("SIP/2311-0934b580",
> "_NODEST=") in new stack
> -- Executing [0954215012@from-internal:3] Macro("SIP/
> 2311-0934b580", "record-enable|2311|OUT|") in new stack
> -- Executing [s@macro-record-enable:1] GotoIf("SIP/2311-0934b580",
> "1?check") in new stack
> -- Goto (macro-record-enable,s,4)
> -- Executing [s@macro-record-enable:4] AGI("SIP/2311-0934b580",
> "recordingcheck|20091119-004036|1258587636.7") in new stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
> recordingcheck|20091119-004036|1258587636.7: Outbound recording not
> enabled
> -- AGI Script recordingcheck completed, returning 0
> -- Executing [s@macro-record-enable:5] MacroExit("SIP/
> 2311-0934b580", "") in new stack
> -- Executing [0954215012@from-internal:4] Macro("SIP/
> 2311-0934b580", "dialout-trunk|2|954215012||") in new stack
> -- Executing [s@macro-dialout-trunk:1] Set("SIP/2311-0934b580",
> "DIAL_TRUNK=2") in new stack
> -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/
> 2311-0934b580", "0?sub-pincheck|s|1") in new stack
> -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2311-0934b580",
> "0?disabletrunk|1") in new stack
> -- Executing [s@macro-dialout-trunk:4] Set("SIP/2311-0934b580",
> "DIAL_NUMBER=954215012") in new stack
> -- Executing [s@macro-dialout-trunk:5] Set("SIP/2311-0934b580",
> "DIAL_TRUNK_OPTIONS=tr") in new stack
> -- Executing [s@macro-dialout-trunk:6] Set("SIP/2311-0934b580",
> "OUTBOUND_GROUP=OUT_2") in new stack
> -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2311-0934b580",
> "0?nomax") in new stack
> -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2311-0934b580",
> "0?chanfull") in new stack
> -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2311-0934b580",
> "0?skipoutcid") in new stack
> -- Executing [s@macro-dialout-trunk:10] Set("SIP/2311-0934b580",
> "DIAL_TRUNK_OPTIONS=") in new stack
> -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2311-0934b580",
> "outbound-callerid|2") in new stack
> -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/
> 2311-0934b580", "0|SetCallerPres|") in new stack
> -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/
> 2311-0934b580", "0|Set|REALCALLERIDNUM=2311") in new stack
> -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/
> 2311-0934b580", "1?normcid") in new stack
> -- Goto (macro-outbound-callerid,s,6)
> -- Executing [s@macro-outbound-callerid:6] Set("SIP/
> 2311-0934b580", "USEROUTCID=") in new stack
> -- Executing [s@macro-outbound-callerid:7] Set("SIP/
> 2311-0934b580", "EMERGENCYCID=") in new stack
> -- Executing [s@macro-outbound-callerid:8] Set("SIP/
> 2311-0934b580", "TRUNKOUTCID=") in new stack
> -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/
> 2311-0934b580", "1?trunkcid") in new stack
> -- Goto (macro-outbound-callerid,s,12)
> -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/
> 2311-0934b580", "0|Set|CALLERID(all)=") in new stack
> -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/
> 2311-0934b580", "0|Set|CALLERID(all)=") in new stack
> -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/
> 2311-0934b580", "0|SetCallerPres|prohib_passed_screen") in new stack
> -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/
> 2311-0934b580", "1|AGI|fixlocalprefix") in new stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> > fixlocalprefix: Using pattern XX.
> == fixlocalprefix: Dialpattern XX. matched. 954215012 -> 954215012
> -- AGI Script fixlocalprefix completed, returning 0
> -- Executing [s@macro-dialout-trunk:13] Set("SIP/2311-0934b580",
> "OUTNUM=954215012") in new stack
> -- Executing [s@macro-dialout-trunk:14] Set("SIP/2311-0934b580",
> "custom=DAHDI/1") in new stack
> -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/
> 2311-0934b580", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
> -- Executing [s@macro-dialout-trunk:16] Macro("SIP/2311-0934b580",
> "dialout-trunk-predial-hook|") in new stack
> -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/
> 2311-0934b580", "") in new stack
> -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/
> 2311-0934b580", "0?bypass|1") in new stack
> -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/
> 2311-0934b580", "0?customtrunk") in new stack
> -- Executing [s@macro-dialout-trunk:19] Dial("SIP/2311-0934b580",
> "DAHDI/1/954215012|300|") in new stack
> == Everyone is busy/congested at this time (1:0/0/1)
> -- Executing [s@macro-dialout-trunk:20] Goto("SIP/2311-0934b580",
> "s-CHANUNAVAIL|1") in new stack
> -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
> -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/
> 2311-0934b580", "1?noreport") in new stack
> -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
> -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/
> 2311-0934b580", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 0)
> - failing through to other trunks") in new stack
> -- Executing [0954215012@from-internal:5] Macro("SIP/
> 2311-0934b580", "dialout-trunk|1|954215012||") in new stack
> -- Executing [s@macro-dialout-trunk:1] Set("SIP/2311-0934b580",
> "DIAL_TRUNK=1") in new stack
> -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/
> 2311-0934b580", "0?sub-pincheck|s|1") in new stack
> -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2311-0934b580",
> "0?disabletrunk|1") in new stack
> -- Executing [s@macro-dialout-trunk:4] Set("SIP/2311-0934b580",
> "DIAL_NUMBER=954215012") in new stack
> -- Executing [s@macro-dialout-trunk:5] Set("SIP/2311-0934b580",
> "DIAL_TRUNK_OPTIONS=tr") in new stack
> -- Executing [s@macro-dialout-trunk:6] Set("SIP/2311-0934b580",
> "OUTBOUND_GROUP=OUT_1") in new stack
> -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2311-0934b580",
> "1?nomax") in new stack
> -- Goto (macro-dialout-trunk,s,9)
> -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2311-0934b580",
> "0?skipoutcid") in new stack
> -- Executing [s@macro-dialout-trunk:10] Set("SIP/2311-0934b580",
> "DIAL_TRUNK_OPTIONS=") in new stack
> -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2311-0934b580",
> "outbound-callerid|1") in new stack
> -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/
> 2311-0934b580", "0|SetCallerPres|") in new stack
> -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/
> 2311-0934b580", "0|Set|REALCALLERIDNUM=2311") in new stack
> -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/
> 2311-0934b580", "1?normcid") in new stack
> -- Goto (macro-outbound-callerid,s,6)
> -- Executing [s@macro-outbound-callerid:6] Set("SIP/
> 2311-0934b580", "USEROUTCID=") in new stack
> -- Executing [s@macro-outbound-callerid:7] Set("SIP/
> 2311-0934b580", "EMERGENCYCID=") in new stack
> -- Executing [s@macro-outbound-callerid:8] Set("SIP/
> 2311-0934b580", "TRUNKOUTCID=") in new stack
> -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/
> 2311-0934b580", "1?trunkcid") in new stack
> -- Goto (macro-outbound-callerid,s,12)
> -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/
> 2311-0934b580", "0|Set|CALLERID(all)=") in new stack
> -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/
> 2311-0934b580", "0|Set|CALLERID(all)=") in new stack
> -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/
> 2311-0934b580", "0|SetCallerPres|prohib_passed_screen") in new stack
> -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/
> 2311-0934b580", "0|AGI|fixlocalprefix") in new stack
> -- Executing [s@macro-dialout-trunk:13] Set("SIP/2311-0934b580",
> "OUTNUM=954215012") in new stack
> -- Executing [s@macro-dialout-trunk:14] Set("SIP/2311-0934b580",
> "custom=DAHDI/g0") in new stack
> -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/
> 2311-0934b580", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
> -- Executing [s@macro-dialout-trunk:16] Macro("SIP/2311-0934b580",
> "dialout-trunk-predial-hook|") in new stack
> -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/
> 2311-0934b580", "") in new stack
> -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/
> 2311-0934b580", "0?bypass|1") in new stack
> -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/
> 2311-0934b580", "0?customtrunk") in new stack
> -- Executing [s@macro-dialout-trunk:19] Dial("SIP/2311-0934b580",
> "DAHDI/g0/954215012|300|") in new stack
> == Everyone is busy/congested at this time (1:0/1/0)
> -- Executing [s@macro-dialout-trunk:20] Goto("SIP/2311-0934b580",
> "s-CONGESTION|1") in new stack
> -- Goto (macro-dialout-trunk,s-CONGESTION,1)
> -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/
> 2311-0934b580", "1?noreport") in new stack
> -- Goto (macro-dialout-trunk,s-CONGESTION,3)
> -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/
> 2311-0934b580", "TRUNK Dial failed due to CONGESTION - failing through
> to other trunks") in new stack
> -- Executing [0954215012@from-internal:6] Macro("SIP/
> 2311-0934b580", "outisbusy|") in new stack
> -- Executing [s@macro-outisbusy:1] Playback("SIP/2311-0934b580",
> "all-circuits-busy-now|noanswer") in new stack
> -- <SIP/2311-0934b580> Playing 'all-circuits-busy-now' (language
> 'en')
> -- Executing [s@macro-outisbusy:2] Playback("SIP/2311-0934b580",
> "pls-try-call-later|noanswer") in new stack
> -- <SIP/2311-0934b580> Playing 'pls-try-call-later' (language
> 'en')
> -- Executing [s@macro-outisbusy:3] Macro("SIP/2311-0934b580",
> "hangupcall") in new stack
> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2311-0934b580", "1?
> skiprg") in new stack
> -- Goto (macro-hangupcall,s,4)
> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2311-0934b580", "1?
> skipblkvm") in new stack
> -- Goto (macro-hangupcall,s,7)
> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2311-0934b580", "1?
> theend") in new stack
> -- Goto (macro-hangupcall,s,9)
> -- Executing [s@macro-hangupcall:9] Hangup("SIP/2311-0934b580",
> "") in new stack
> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/
> 2311-0934b580' in macro 'hangupcall'
> == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/
> 2311-0934b580' in macro 'outisbusy'
> == Spawn extension (from-internal, 0954215012, 6) exited non-zero on
> 'SIP/2311-0934b580'
> -- Executing [h@from-internal:1] Macro("SIP/2311-0934b580",
> "hangupcall") in new stack
> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2311-0934b580", "1?
> skiprg") in new stack
> -- Goto (macro-hangupcall,s,4)
> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2311-0934b580", "1?
> skipblkvm") in new stack
> -- Goto (macro-hangupcall,s,7)
> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2311-0934b580", "1?
> theend") in new stack
> -- Goto (macro-hangupcall,s,9)
> -- Executing [s@macro-hangupcall:9] Hangup("SIP/2311-0934b580",
> "") in new stack
> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/
> 2311-0934b580' in macro 'hangupcall'
> == Spawn extension (from-internal, s, 1) exited non-zero on 'SIP/
> 2311-0934b580'
>
> >
>