alternatiq
05/06/2013, 00h46
Bonjour,
Je viens de faire une fresh install d'asterisk avec une B410P.
Asterisk 1.8.22.0 + Dahdi 2.6.2 + Libpri 1.4.14
J'ai créé un truck sur Port1 de la Carte = Span1
J'ai créé 2 users ... 8100 + 8096
J'ai un dialplan avec des regles .... et je veux sortir !!!
National _0[1-5]XXXXXXXX Span 1
International _00. Span 1
Portables _0[6-7]XXXXXXXX Span 1
Num_Spec _0[8-9]XXXXXXXX Span 1
Num_Court _XNNN Span 1
== Using SIP RTP CoS mark 5
-- Executing [0618830604@DLPN_Solares:1] Macro("SIP/8100-00000003", "trunkdial-failover-0.3,DAHDI/g1/0618830604,,span_1,,0388309774") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/8100-00000003", "0?1-fmsetcid,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/8100-00000003", "1?1-setgbobname,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-setgbobname,1)
-- Executing [1-setgbobname@macro-trunkdial-failover-0.3:1] Set("SIP/8100-00000003", "CALLERID(name)=Solares Bauen") in new stack
-- Executing [1-setgbobname@macro-trunkdial-failover-0.3:2] Goto("SIP/8100-00000003", "s,3") in new stack
-- Goto (macro-trunkdial-failover-0.3,s,3)
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/8100-00000003", "CALLERID(num)=0388309774") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] Set("SIP/8100-00000003", "CALLERID(all)=0388309774") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] GotoIf("SIP/8100-00000003", "1?1-dial,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/8100-00000003", "DAHDI/g1/0618830604") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g1/0618830604
-- Span 1: Channel 0/1 got hangup, cause 3
-- Hungup 'DAHDI/i1/0618830604-3'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/8100-00000003", "0 > 0 ?1-CHANUNAVAIL,1:1-out,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-out,1)
-- Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup("SIP/8100-00000003", "") in new stack
== Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on 'SIP/8100-00000003' in macro 'trunkdial-failover-0.3'
== Spawn extension (DLPN_Solares, 0618830604, 1) exited non-zero on 'SIP/8100-00000003'
En entrée pas de soucis, mon catchall vers un groupe est OK !!!
ipbx*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 DID_span_1 fr default In Service
2 DID_span_1 fr default In Service
ipbx*CLI>
ipbx*CLI> sip show users
Username Secret Accountcode Def.Context ACL ForcerPort
8096 DLPN_Solares No Yes
8100 DLPN_Solares No Yes
ipbx*CLI>
root@ipbx: $ cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 5 00:44:29 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2
# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5
# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
span=3,3,0,ccs,ami
# termtype: te
bchan=7-8
hardhdlc=9
echocanceller=mg2,7-8
# Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" RED
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11
# Global data
loadzone = us
defaultzone = us
root@ipbx: $
J'ai l'impression que ce GUI de Digium pour asterisk fout la merde quand il parse les files ....
Donc je sors pas !!! une idée
Je viens de faire une fresh install d'asterisk avec une B410P.
Asterisk 1.8.22.0 + Dahdi 2.6.2 + Libpri 1.4.14
J'ai créé un truck sur Port1 de la Carte = Span1
J'ai créé 2 users ... 8100 + 8096
J'ai un dialplan avec des regles .... et je veux sortir !!!
National _0[1-5]XXXXXXXX Span 1
International _00. Span 1
Portables _0[6-7]XXXXXXXX Span 1
Num_Spec _0[8-9]XXXXXXXX Span 1
Num_Court _XNNN Span 1
== Using SIP RTP CoS mark 5
-- Executing [0618830604@DLPN_Solares:1] Macro("SIP/8100-00000003", "trunkdial-failover-0.3,DAHDI/g1/0618830604,,span_1,,0388309774") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] GotoIf("SIP/8100-00000003", "0?1-fmsetcid,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/8100-00000003", "1?1-setgbobname,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-setgbobname,1)
-- Executing [1-setgbobname@macro-trunkdial-failover-0.3:1] Set("SIP/8100-00000003", "CALLERID(name)=Solares Bauen") in new stack
-- Executing [1-setgbobname@macro-trunkdial-failover-0.3:2] Goto("SIP/8100-00000003", "s,3") in new stack
-- Goto (macro-trunkdial-failover-0.3,s,3)
-- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/8100-00000003", "CALLERID(num)=0388309774") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] Set("SIP/8100-00000003", "CALLERID(all)=0388309774") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:5] GotoIf("SIP/8100-00000003", "1?1-dial,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/8100-00000003", "DAHDI/g1/0618830604") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g1/0618830604
-- Span 1: Channel 0/1 got hangup, cause 3
-- Hungup 'DAHDI/i1/0618830604-3'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/8100-00000003", "0 > 0 ?1-CHANUNAVAIL,1:1-out,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-out,1)
-- Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup("SIP/8100-00000003", "") in new stack
== Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on 'SIP/8100-00000003' in macro 'trunkdial-failover-0.3'
== Spawn extension (DLPN_Solares, 0618830604, 1) exited non-zero on 'SIP/8100-00000003'
En entrée pas de soucis, mon catchall vers un groupe est OK !!!
ipbx*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 DID_span_1 fr default In Service
2 DID_span_1 fr default In Service
ipbx*CLI>
ipbx*CLI> sip show users
Username Secret Accountcode Def.Context ACL ForcerPort
8096 DLPN_Solares No Yes
8100 DLPN_Solares No Yes
ipbx*CLI>
root@ipbx: $ cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 5 00:44:29 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2
# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5
# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
span=3,3,0,ccs,ami
# termtype: te
bchan=7-8
hardhdlc=9
echocanceller=mg2,7-8
# Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" RED
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11
# Global data
loadzone = us
defaultzone = us
root@ipbx: $
J'ai l'impression que ce GUI de Digium pour asterisk fout la merde quand il parse les files ....
Donc je sors pas !!! une idée