PDA

Voir la version complète : connexion alcatel et asterisk digium te420B



faf
17/04/2011, 10h01
Bonjour,



J'ai plusieurs questions, auriez vous des réponses :-)



J'ai un pabx alcatel qui est connecté à 2 t2 via deux routeurs one access de completel et 40 postes téléphoniques reliés à alcatel.



Je souhaite mettre asterisk entre le routeur et l'alcatel. Pour ça, j'ai acheté 1 carte TE420B Digium 4 ports t2.



Je n'ai ni accès à l'alcatel, ni accès à complétel. Je ne connais pas leurs configurations.

j'ai déduit que le switchtype est euroisdn.



J'ai installé asterisk, dahdi etc.





Les appels sortant par t2 complétel depuis 1 tel sip relié à astérique sont ok.



Les appels depuis le tel sip connecté à asterisk vers les tel alcatel sont ok!



Le problème est que les tél alctel n'arrivent pas à émettre d'appels.



Dès qu'on fait le 0 pour sortir tout plante au niveau alcatel.

1/ soit les téléphones affichent à l'ecran serveur tftp non disponible,



2/ ou alors ils se réinitialisent continuellement avec des paramètres d'usine.

Leurs numéros interne changent, les carnets d'adresses et les messages sur le répondeur sont perdus etc.

Puis ils plantent à nouveau.


Tout rentre dans l'ordre quand je relie à nouveau le pabx au routeur complétel suivi d'une restauration des config téléphone.



Pour la configuration d'astérique, j'ai suivi à la lettre le tuto sur la page suivante :



http://wiki.contribs.org/FreePBX/DAHDI



Pensez-vous que le problème vienne du switchtype ou avez vous d'autres idées?



Je n'ai pas accès à l'interface d'alcatel ni au routeur complétel. Mais je penses qu'il manque un tout petit truc du coté alcatel.

Les appels entrant et sortant du t2 completel vers sip asterisk sont ok!



Merci pour votre aide

Reaper
17/04/2011, 13h23
Bonjour, sans acces vers Alcatel tu n'avancera pas.

ffossard
17/04/2011, 21h18
Dans le cas qui plante, l'Alcatel est en bout de chaine et Asterisk lui sert de "fournisseur", peut-être aussi un problème d'horloge ? Quelque chose dans la CLI d'Asterisk lors de l'essai ?

faf
18/04/2011, 16h46
Dans le cas qui plante, l'Alcatel est en bout de chaine et Asterisk lui sert de "fournisseur", peut-être aussi un problème d'horloge ? Quelque chose dans la CLI d'Asterisk lors de l'essai ?

Le gar d'alcatel ne veut rien savoir. Il dit qu'il a un contrat de maintenance pendant encore 15 mois et qu'il est responsable de l'alcatel.

En fait il reclammait une grosse somme pour basculer en sip donc asterisk met à l'eau ses projets.

Je travaille en prod donc après 19h30 quand les TC sont partis.
Je fournirai les logs plus tard.

Je vais creuser encore + la piste de l'horloge. L'alcatel ne fournirait quand même pas l'horloge sur 1 des t2?

faf
18/04/2011, 16h51
Bonjour, sans acces vers Alcatel tu n'avancera pas.

J'avancerai lentement ou je n'avancerai pas du tout?
Quel type de paramètre pourrait empêcher d'avancer?

Je contacterai completel pour savoir quelle config pour attaquer les oneaccess, ça m'avancerait peut être sur l'alcatel.

faf
19/04/2011, 02h33
Désolé de vous derranger dans votre sommeil :-)

Je tiens à préciser que les appels depuis un tel sip asterisk vers l'alcatel n'aboutissent pas.
Quelque soit le numero composé, j'ai la sonnerie puis le repondeurs du standard alors que ça devrait sonner sur les postes des techniciens.

Je penses qu'il y a un pb avec ce type d'option options wct4xxp opermode=FRANCE alawoverride=0 boostringer=0 lowpower=0 fastringer=0 fwringdetect=0 neonmwi_monitor=0
Mais ma version d'astérique refuse.

Asterisk now 2.6.18-194.11.1.el5 , freepbx 2.7.0.0, * 1.6

Ci dessous un copier coller


Appels échoué depuis alcatel


Accepting call from '15511' to 's' on channel 0/31, span 2
-- Executing [s@from-internal:1] Macro("DAHDI/62-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/62-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/62-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/62-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("DAHDI/62-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/62-1' in macro 'hangupcall'
== Spawn extension (from-internal, s, 1) exited non-zero on 'DAHDI/62-1'
-- Executing [h@from-internal:1] Macro("DAHDI/62-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/62-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/62-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/62-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("DAHDI/62-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/62-1' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/62-1'
-- Hungup 'DAHDI/62-1'


************************************************** ************************************************** ******
Appels réussi d'un tel sip vers alcatel via t2

Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [511@from-internal:1] Macro("SIP/9910-00000003", "exten-vm,novm,511") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/9910-00000003", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/9910-00000003", "AMPUSER=9910") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/9910-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/9910-00000003", "1?Set(REALCALLERIDNUM=9910)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/9910-00000003", "AMPUSER=9910") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/9910-00000003", "AMPUSERCIDNAME=9910") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/9910-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/9910-00000003", "AMPUSERCID=9910") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/9910-00000003", "CALLERID(all)="9910" <9910>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/9910-00000003", "0?continue") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/9910-00000003", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/9910-00000003", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] Set("SIP/9910-00000003", "CALLERID(number)=9910") in new stack
-- Executing [s@macro-user-callerid:19] Set("SIP/9910-00000003", "CALLERID(name)=9910") in new stack
-- Executing [s@macro-user-callerid:20] NoOp("SIP/9910-00000003", "Using CallerID "9910" <9910>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/9910-00000003", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/9910-00000003", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/9910-00000003", "EXTTOCALL=511") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/9910-00000003", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/9910-00000003", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/9910-00000003", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/9910-00000003", "record-enable,511,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/9910-00000003", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/9910-00000003", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/9910-00000003", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/9910-00000003", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/9910-00000003", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/9910-00000003", "dial,,tr,511") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/9910-00000003", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/9910-00000003", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '9910' number is '9910'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 511 to extension map
-- dialparties.agi: Extension 511 cf is disabled
-- dialparties.agi: Extension 511 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
-- dialparties.agi: dbset CALLTRACE/511 to 9910
-- dialparties.agi: Filtered ARG3: 511
-- <SIP/9910-00000003>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/9910-00000003", "DAHDI/61,,tr") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called 61
localhost*CLI> Use of uninitialized value in hash element at /var/www/html/panel/op_server.pl line 3367.
Use of uninitialized value in concatenation (.) or string at /var/www/html/panel/op_server.pl line 3372.
Use of uninitialized value in pattern match (m//) at /var/www/html/panel/op_server.pl line 3374.
-- DAHDI/61-1 is proceeding passing it to SIP/9910-00000003
-- DAHDI/61-1 is ringing
-- DAHDI/61-1 answered SIP/9910-00000003
-- Executing [h@macro-dial:1] Macro("SIP/9910-00000003", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/9910-00000003", "1?skiprg") in new

faf
13/05/2011, 08h20
Bonjour,

Mon problème est toujours d'actualité, car j'avance à tout petit pas.
Vous remerciant d'avance pour votre aide, je me permet de poser les question suivantes :

Il me faut regrouper les 2 premiers ports et les 2 derniers ports dans les même span. Je suis opérateur avec les ports 1 et 2, les ports 3 et 4 sont reliés à 1 opérateur (completel).

Q1) Pensez-vous que mon fichier system.conf est correct?

span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
bchan=32-46,48-62
dchan=16,47
echocanceller=mg2,1-15,17-31
echocanceller=mg2,32-46,48-62

span=2,0,0,ccs,hdb3,crc4
bchan=63-77,79-93
bchan=94-108,110-124
dchan=78,109
echocanceller=mg2,63-77,79-93
echocanceller=mg2,94-108,110-124

loadzone = fr
defaultzone = fr


Q2) Et j'aimerais aussi savoir si je peux raccourcir les dchan et echocanceller comme ci-dessous

span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-46,48-62
dchan=16,47
echocanceller=mg2,1-15,17-46,48-62

span=2,0,0,ccs,hdb3,crc4
bchan=63-77,79-108,110-124
dchan=78,109
echocanceller=mg2,63-77,79-108,110-124

loadzone = fr
defaultzone = fr

Q3) Puisque je regroup mes port dans des span identiques, je me pose la question suivante :
Dans mon fichier chan_dahdi.conf, dois-je déclarer un trunkgroups comme ci-dessous et la syntaxe est-elle correcte?

[trunkgroups]

trunkgroup => 1,16,47
trunkgroup => 2,78,109
spanmap => 1,1,1
spanmap => 2,2,2

[channels]

language=fr
context=from-zaptel
...

Q4) Ou il n'y a peut être aucun rapport et je peux simplement mettre

[trunkgroups]

[channels]
language=fr
context=from-zaptel
...

Cordialement,