PDA

Voir la version complète : [RESOLU] : Config BLF st2030



Mokha
08/11/2011, 13h56
Bonjour,

apres 3 jours de recherche et de test selon les différents posts déjà existants je capitule et demande votre aide.

J'essaie de mettre en place la supervision d'appels et le callpickup sur des ST2030

Pour info je suis sous centos-5.7 Asterisk 1.8 et Freepbx 2.9

Je pense que le mieux c'est de me demander au fur et à mesure les fichiers que vous souhaitez voir... parce que là je patauge !!!


Merci

ffossard
11/11/2011, 16h54
Il nous faut déjà voir le sip.conf, extensions.conf, et connaitre la version de firmware du téléphone.

Mokha
14/11/2011, 12h43
Merci, je désespérais d'avoir une réponse...

Pour les fichiers demandés, c'est un peu plus compliqué que ça car j'utilise Freepbx et du coup j'ai des sip_aditionnal.conf, extensions_aditionnal.conf, etc... en plus des sip.conf extensions.conf, etc...

Bref, je poste les fichiers qui sont je pense les plus intéressant :

sip_additional.conf
----------------------------------------------
[200]
deny=0.0.0.0/0.0.0.0
secret=xxxx
dtmfmode=auto
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=yes
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=
pickupgroup=
dial=SIP/200
mailbox=200@default
permit=0.0.0.0/0.0.0.0
callerid=device <200>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

[201]
deny=0.0.0.0/0.0.0.0
secret=xxx
dtmfmode=auto
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
encryption=no
callgroup=21
pickupgroup=21
dial=SIP/201
mailbox=201@default
permit=0.0.0.0/0.0.0.0
callerid=device <201>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

.
.
.
.
---------------------------------------------

Extensions_aditionnal.conf (j'ai mis que le contexte qui me semble être concerné)
---------------------------------------------------
[ext-local]
include => ext-local-custom
exten => *84200,1,Goto(app-campon-toggle,*84,1)
exten => *84200,hint,ccss:SIP/200
exten => *84201,1,Goto(app-campon-toggle,*84,1)
exten => *84201,hint,ccss:SIP/201
exten => *84202,1,Goto(app-campon-toggle,*84,1)
exten => *84202,hint,ccss:SIP/202
exten => *84203,1,Goto(app-campon-toggle,*84,1)
exten => *84203,hint,ccss:SIP/203
exten => *84204,1,Goto(app-campon-toggle,*84,1)
exten => *84204,hint,ccss:SIP/204
exten => *84205,1,Goto(app-campon-toggle,*84,1)
exten => *84205,hint,ccss:SIP/205
exten => *84206,1,Goto(app-campon-toggle,*84,1)
exten => *84206,hint,ccss:SIP/206
exten => *84207,1,Goto(app-campon-toggle,*84,1)
exten => *84207,hint,ccss:SIP/207
exten => *84208,1,Goto(app-campon-toggle,*84,1)
exten => *84208,hint,ccss:SIP/208
exten => *84209,1,Goto(app-campon-toggle,*84,1)
exten => *84209,hint,ccss:SIP/209
exten => *84210,1,Goto(app-campon-toggle,*84,1)
exten => *84210,hint,ccss:SIP/210
exten => *84211,1,Goto(app-campon-toggle,*84,1)
exten => *84211,hint,ccss:SIP/211
exten => *84212,1,Goto(app-campon-toggle,*84,1)
exten => *84212,hint,ccss:SIP/212
exten => *84220,1,Goto(app-campon-toggle,*84,1)
exten => *84220,hint,ccss:SIP/220
exten => 200,1,ExecIf($[${DB(AMPUSER/200/ringtimer)} > 0]?Set(__RINGTIMER=${DB(AMPUSER/200/ringtimer)}))
exten => 200,n,Macro(exten-vm,200,200,0,0,0)
exten => 200,n,Set(__PICKUPMARK=)
exten => 200,n,Goto(vmret,1)
exten => 200,hint,SIP/200
exten => ${VM_PREFIX}200,1,Macro(vm,200,DIRECTDIAL,${IVR_RE TVM})
exten => ${VM_PREFIX}200,n,Goto(vmret,1)
exten => vmb200,1,Macro(vm,200,BUSY,${IVR_RETVM})
exten => vmb200,n,Goto(vmret,1)
exten => vmu200,1,Macro(vm,200,NOANSWER,${IVR_RETVM})
exten => vmu200,n,Goto(vmret,1)
exten => vms200,1,Macro(vm,200,NOMESSAGE,${IVR_RETVM})
exten => vms200,n,Goto(vmret,1)
exten => Standard,1,Goto(from-internal,200,1)
exten => 201,1,ExecIf($[${DB(AMPUSER/201/ringtimer)} > 0]?Set(__RINGTIMER=${DB(AMPUSER/201/ringtimer)}))
exten => 201,n,Macro(exten-vm,201,201,0,0,0)
exten => 201,n,Set(__PICKUPMARK=)
exten => 201,n,Goto(vmret,1)
exten => 201,hint,SIP/201
exten => ${VM_PREFIX}201,1,Macro(vm,201,DIRECTDIAL,${IVR_RE TVM})
exten => ${VM_PREFIX}201,n,Goto(vmret,1)
exten => vmb201,1,Macro(vm,201,BUSY,${IVR_RETVM})
exten => vmb201,n,Goto(vmret,1)
exten => vmu201,1,Macro(vm,201,NOANSWER,${IVR_RETVM})
exten => vmu201,n,Goto(vmret,1)
exten => vms201,1,Macro(vm,201,NOMESSAGE,${IVR_RETVM})
exten => vms201,n,Goto(vmret,1)
exten => Emmanuelle,1,Goto(from-internal,201,1)
.
.
.
.

-------------------------------------------------------

Le firmware est le V2.77

Pour info, j'ai bien la lumière de ma touche qui clignote vert mais je peux rien faire avec...

Merci

Mokha
15/11/2011, 17h27
Bon j'ai résolu en partie le dysfonctionnement... et je me sens un peu bête LOL !

dans mon sip_aditionnal.conf vous verrez que j'ai pas mis de callgroup= pickupgroup= pour le user 200 (celui-ci avec qui je fais mes test). J'ai corrigé et maintenant le BLF (la supervision fonctionne).

LED éteinte quand user OK
LED clignote quand user ring
LED fixe quand user BUSY

Maitenant j'ai un autre souci... le pickup call! impossible d'intercepter un appel via les touche BLF...

some help for me please ???

ffossard
16/11/2011, 13h55
Ok c'est déjà ça.
Quand vous appuyez sur une touche clignote, est-ce que le téléphone réagit d'une manière ou d'une autre (erreur, autre action, etc...), ou bien rien ne se passe ?
Quand vous tentez ce pickup, y'a-t-il quelque chose qui s'affiche dans la CLI d'Asterisk ?
Pas évident de diagnostiquer avec Freepbx :/

Mokha
17/11/2011, 15h14
alors les symptomes sont étranges...

Scénario 1/ j'appuie sur la touche BLF et je décroche le combiné

Le poste 201 reçois un appel
Le poste 200 voit bien que le poste sonne
J'appuie sur la touche BLF qui clignote sur le poste 200
je décroche le combiné du poste 200
il me lance une numérotation vers le poste 201
Mais j'ai rien dans la CLI rien du tout à part :
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
au moment ou il compose le numéro 201

Scénario 2/ je décroche le combiné et j'appuie sur la touche BLF

Le poste 201 reçois un appel
Le poste 200 voit bien que le poste sonne
je décroche le combiné du poste 200
J'appuie sur la touche BLF qui clignote sur le poste 200
il me lance une numérotation vers le poste 201
Et là j'ai un double appel sur le poste 201 avec la CLI suivante (NB: les postes ici sont 001 et 002):

Mokha
17/11/2011, 15h17
IPBX*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [095025XXXX@from-trunk:1] NoOp("SIP/Free Aix-0000010f", "Catch-All DID Match - Found 095025XXXX - You probably want a DID for this.") in new stack
-- Executing [095025XXXX@from-trunk:2] Goto("SIP/Free Aix-0000010f", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/Free Aix-0000010f", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/Free Aix-0000010f", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/Free Aix-0000010f", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/Free Aix-0000010f", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/Free Aix-0000010f", "") in new stack
-- Executing [s@ext-did:3] ExecIf("SIP/Free Aix-0000010f", "0 ?Set(CALLERID(name)=0637XXXXXX)") in new stack
-- Executing [s@ext-did:4] Ringing("SIP/Free Aix-0000010f", "") in new stack
-- Executing [s@ext-did:5] Set("SIP/Free Aix-0000010f", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Set("SIP/Free Aix-0000010f", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:7] Goto("SIP/Free Aix-0000010f", "from-did-direct,001,1") in new stack
-- Goto (from-did-direct,001,1)
-- Executing [001@from-did-direct:1] ExecIf("SIP/Free Aix-0000010f", "0?Set(__RINGTIMER=0)") in new stack
-- Executing [001@from-did-direct:2] Macro("SIP/Free Aix-0000010f", "exten-vm,001,001,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/Free Aix-0000010f", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/Free Aix-0000010f", "AMPUSER=0637XXXXXX") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/Free Aix-0000010f", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/Free Aix-0000010f", "1?Set(REALCALLERIDNUM=0637XXXXXX)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/Free Aix-0000010f", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/Free Aix-0000010f", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/Free Aix-0000010f", "1?report") in new stack
-- Goto (macro-user-callerid,s,12)
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/Free Aix-0000010f", "0?continue") in new stack
-- Executing [s@macro-user-callerid:13] Set("SIP/Free Aix-0000010f", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/Free Aix-0000010f", "1?continue") in new stack
-- Goto (macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("SIP/Free Aix-0000010f", "CALLERID(number)=0637XXXXXX") in new stack
-- Executing [s@macro-user-callerid:26] Set("SIP/Free Aix-0000010f", "CALLERID(name)=0637XXXXXX") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/Free Aix-0000010f", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/Free Aix-0000010f", "__EXTTOCALL=001") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/Free Aix-0000010f", "__PICKUPMARK=001") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/Free Aix-0000010f", "RT=40") in new stack
-- Executing [s@macro-exten-vm:6] Macro("SIP/Free Aix-0000010f", "record-enable,001,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/Free Aix-0000010f", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/Free Aix-0000010f", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/Free Aix-0000010f", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("SIP/Free Aix-0000010f", "1?IN") in new stack
-- Goto (macro-record-enable,s,18)
-- Executing [s@macro-record-enable:18] ExecIf("SIP/Free Aix-0000010f", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/Free Aix-0000010f", "dial-one,40,tr,001") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/Free Aix-0000010f", "DEXTEN=001") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/Free Aix-0000010f", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/Free Aix-0000010f", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/Free Aix-0000010f", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/Free Aix-0000010f", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/Free Aix-0000010f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/Free Aix-0000010f", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/Free Aix-0000010f", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/Free Aix-0000010f", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/Free Aix-0000010f", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/Free Aix-0000010f", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/Free Aix-0000010f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/Free Aix-0000010f", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/Free Aix-0000010f", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/Free Aix-0000010f", "DEVICES=001") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/Free Aix-0000010f", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/Free Aix-0000010f", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/Free Aix-0000010f", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/Free Aix-0000010f", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/Free Aix-0000010f", "THISDIAL=SIP/001") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/Free Aix-0000010f", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/Free Aix-0000010f", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/Free Aix-0000010f", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/Free Aix-0000010f", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/Free Aix-0000010f", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/Free Aix-0000010f", "THISPART2=SIP/001") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/Free Aix-0000010f", "0?Set(THISPART2=DAHDI/001)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/Free Aix-0000010f", "NEWDIAL=SIP/001&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/Free Aix-0000010f", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/Free Aix-0000010f", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/Free Aix-0000010f", "THISDIAL=SIP/001") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/Free Aix-0000010f", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/Free Aix-0000010f", "DSTRING=SIP/001&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/Free Aix-0000010f", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/Free Aix-0000010f", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/Free Aix-0000010f", "DSTRING=SIP/001") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/Free Aix-0000010f", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/Free Aix-0000010f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/Free Aix-0000010f", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/Free Aix-0000010f", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/Free Aix-0000010f", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/Free Aix-0000010f", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/Free Aix-0000010f", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/Free Aix-0000010f", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/Free Aix-0000010f", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/Free Aix-0000010f", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/Free Aix-0000010f", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] Dial("SIP/Free Aix-0000010f", "SIP/001,40,tr") in new stack

Mokha
17/11/2011, 15h18
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Extension Changed 001[ext-local] new state Ringing for Notify User 002
-- Called 001
-- SIP/001-00000110 is ringing
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [001@from-internal:1] ExecIf("SIP/002-00000111", "0?Set(__RINGTIMER=0)") in new stack
-- Executing [001@from-internal:2] Macro("SIP/002-00000111", "exten-vm,001,001,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/002-00000111", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/002-00000111", "AMPUSER=002") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/002-00000111", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/002-00000111", "1?Set(REALCALLERIDNUM=002)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/002-00000111", "AMPUSER=002") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/002-00000111", "AMPUSERCIDNAME=Christophe") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/002-00000111", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/002-00000111", "AMPUSERCID=002") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/002-00000111", "CALLERID(all)="Christophe" <002>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/002-00000111", "0?limit") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/002-00000111", "0?Set(GROUP(concurrency_limit)=002)") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("SIP/002-00000111", "1?Set(CHANNEL(language)=fr)") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/002-00000111", "0?continue") in new stack
-- Executing [s@macro-user-callerid:13] Set("SIP/002-00000111", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/002-00000111", "1?continue") in new stack
-- Goto (macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("SIP/002-00000111", "CALLERID(number)=002") in new stack
-- Executing [s@macro-user-callerid:26] Set("SIP/002-00000111", "CALLERID(name)=Christophe") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/002-00000111", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/002-00000111", "__EXTTOCALL=001") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/002-00000111", "__PICKUPMARK=001") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/002-00000111", "RT=40") in new stack
-- Executing [s@macro-exten-vm:6] Macro("SIP/002-00000111", "record-enable,001,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/002-00000111", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/002-00000111", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/002-00000111", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("SIP/002-00000111", "1?IN") in new stack
-- Goto (macro-record-enable,s,18)
-- Executing [s@macro-record-enable:18] ExecIf("SIP/002-00000111", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/002-00000111", "dial-one,40,tr,001") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/002-00000111", "DEXTEN=001") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/002-00000111", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/002-00000111", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/002-00000111", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/002-00000111", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/002-00000111", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/002-00000111", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/002-00000111", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/002-00000111", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/002-00000111", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/002-00000111", "1?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/002-00000111", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/002-00000111", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/002-00000111", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/002-00000111", "DEVICES=001") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/002-00000111", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/002-00000111", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/002-00000111", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/002-00000111", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/002-00000111", "THISDIAL=SIP/001") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/002-00000111", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/002-00000111", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/002-00000111", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/002-00000111", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/002-00000111", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/002-00000111", "THISPART2=SIP/001") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/002-00000111", "0?Set(THISPART2=DAHDI/001)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/002-00000111", "NEWDIAL=SIP/001&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/002-00000111", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/002-00000111", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/002-00000111", "THISDIAL=SIP/001") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/002-00000111", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/002-00000111", "DSTRING=SIP/001&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/002-00000111", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/002-00000111", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/002-00000111", "DSTRING=SIP/001") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/002-00000111", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/002-00000111", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/002-00000111", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/002-00000111", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/002-00000111", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/002-00000111", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/002-00000111", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/002-00000111", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/002-00000111", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/002-00000111", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/002-00000111", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] Dial("SIP/002-00000111", "SIP/001,40,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 001
-- SIP/001-00000112 is ringing
-- Refreshing DNS lookups.
== Spawn extension (macro-dial-one, s, 38) exited non-zero on 'SIP/002-00000111' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/002-00000111' in macro 'exten-vm'
== Spawn extension (from-internal, 001, 2) exited non-zero on 'SIP/002-00000111'
-- Executing [h@from-internal:1] Hangup("SIP/002-00000111", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/002-00000111'
== Spawn extension (macro-dial-one, s, 38) exited non-zero on 'SIP/Free Aix-0000010f' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/Free Aix-0000010f' in macro 'exten-vm'
== Spawn extension (from-did-direct, 001, 2) exited non-zero on 'SIP/Free Aix-0000010f'
-- Executing [h@from-did-direct:1] Macro("SIP/Free Aix-0000010f", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/Free Aix-0000010f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] Hangup("SIP/Free Aix-0000010f", "") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/Free Aix-0000010f' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/Free Aix-0000010f'
== Extension Changed 001[ext-local] new state Idle for Notify User 002
IPBX*CLI>

Mokha
18/11/2011, 11h36
info complémentaire:

Le pickup fonctionne nikel quand je le fais moi même en numérotant --> *8 ou **+n°de poste

yold
18/11/2011, 13h20
C'est un bug qui est apparu sur les firmwares récents des ST2030 et ST2022.
Il faut d'abord appuyer sur la touche puis décrocher.
Sinon, cela effectue un double appel.

Mokha
18/11/2011, 16h39
alors les symptomes sont étranges...

Scénario 1/ j'appuie sur la touche BLF et je décroche le combiné

Le poste 201 reçois un appel
Le poste 200 voit bien que le poste sonne
J'appuie sur la touche BLF qui clignote sur le poste 200
je décroche le combiné du poste 200
il me lance une numérotation vers le poste 201
Mais j'ai rien dans la CLI rien du tout à part :
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
au moment ou il compose le numéro 201

Scénario 2/ je décroche le combiné et j'appuie sur la touche BLF

Le poste 201 reçois un appel
Le poste 200 voit bien que le poste sonne
je décroche le combiné du poste 200
J'appuie sur la touche BLF qui clignote sur le poste 200
il me lance une numérotation vers le poste 201
Et là j'ai un double appel sur le poste 201 avec la CLI suivante (NB: les postes ici sont 001 et 002):

il se passe rien du tout, regarde mon scénario 1

jiremek
18/11/2011, 16h57
C'est hors sujet (ou presque)
Mais je m'essay aussi au BLF, parcontre moi je n'ai pas réussi a configurer mon thomson pour !
Peux tu m'expliquer comment faire ou faire un screen de Advanced>Call features>Funkion key ?
et des eventuels autre modifications a apporter !

jiremek
19/11/2011, 23h53
En fin de compte, j'ai réussi a configurer la supervision, mais je n'ai pas pu utiliser vraiment le BLF aussi appeler BLA dans le Thomson, a tu utiliser le BLF ou supervised line dans le table de fonctions ?
Ensuite a tu renseigner l'extension du pickup dans la config du thomson (lequel ne peux deviner >> Advanced >> Callfeature >> au niveau du pickup choisir "sc" et renseigner l'extension dédié a côté, bien sur valider, en plus ça fonctionne sans redémarrage.

De mon côté, cela ne fonctionne pas, mais parce que mon dialplan ne prévoit pas encore le pickup, par contre aucun changement sur le fonctionnement de la touche de supervision.

Je remarque une autre bizarrerie, mais si sans décroché j'appuy sur ma touche, on m'indique que le poste est occupé.
Si je décroche et appuy, là l'autre passe en double appel.

Je viens de regarder le log, en fait c'est bon tout est prévu.
Ce que je ne sais pas, c'est s'il ne faut pas que je reboot entre ses modification sur les option pickup.
Je vais tester les différents comportement et je reviens vers vous

jiremek
20/11/2011, 00h37
finalement le BLA n'est pas le BLF contrairement a ce que je pensais.
BLA dans la doc, tout ce qui y ressemble c'est Sylantro BLA extension

Thomson indique BLA, dans la documentation il n'y a pas d'information a ce sujet, mais sa semble lié a un type particulier d'IPBX

De plus si je choisi BLA, les option BLF ne sont pas disponible sur le thomson, alors qu'avec supervised line elle le sont.

Mokha
21/11/2011, 12h09
Hello,

de mon côté ça ne marche toujours pas !!! :fou:

pour répondre à jiremek:

Pour mettre en place la supervision il faut:

1/ ajouter dans extensions.conf un context particulier ou des users seront supervisés

[BLF]

exten => 200,hint,SIP/200
exten => 201,hint,SIP/201
exten => 202,hint,SIP/202
.
.
.

2/ dans ton sip.conf mettre dans l'onglet general

notifyhold=yes
notifyringing=yes
subcribecontext=BLF
limitonpeer=yes

3/parametrer tes téléphones en BLF supervised line

a/ reserver des lignes pour la supervision

Advanced --> Advanced

Passer Multiline à 5 par exemple : les touches de F1 à F5 seront pour les lignes "classiques" et les touches de F6 à F10 seront réserver au BLF

b/configurer une touche de supervision

Advanced --> CallFeature --> Function Key Table

au niveau de la touche F6 mettre :
Type : Supervised Line
Destination : N°de poste à superviser
BLF option: cocher dialog

Et voilà. surtout on oublie pas d'appliquer et reboot si besoin.


Avec cette config chez moin ça marche mais pas le call pickup !!!

J'ai bien essayer déjà de mettre call pickup SC avec différentes numérotation: *8, *8X, **, **X mais rien ne marche !!!
Le pire c'est que j'ai rien dans la CLI, pour debuguer ça devient chaud !!!

AIDEZ MOI !!! :pt1cable:

jiremek
21/11/2011, 12h46
entre temps j'avais réussis, et je sais aussi pourquoi tu ne peux pas faire de pickup, va dans modules.conf et modifie le noload => app_pickup... pour load.
relance asterisk ou fait un module load...
pense a faire un core set verbose 10 avant.

Sur le thomson dans advanced mettre le pickup en sc et mettre l'extension dédié, là je ne sais pas si cela a vraiment de l'importance parceque dans la console c'est l'application pickup qui est demandé, pas l'extension qui est composé.
Bien entendu tu ne peux faire le pickup que pour un poste sonnant, ce n'est pas un moyen de picker un appel en cours.

Mokha
21/11/2011, 14h31
je n'ai pas de /usr/lib/asterisk/modules/app_pickup.so ?

est ce normal ?

jiremek
21/11/2011, 14h42
Je n'ai l'ai pas non plus, mais cela fonctionne tout de même.
je fais un bon
find / |grep app_pickup.so pour vois s'il n'y a pas un autre dossier.

Je confirme, le fichier est inexistant, mais cela fonctionne tout de même.

Mokha
21/11/2011, 15h29
malheureusement pas chez moi...!!!

j'ai même essayé de loader app_directed_pickup.so mais pareil... aucune amélioration !

d'autres pistes ?

Mokha
21/11/2011, 15h58
YEAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHH !!!!!!! :sol: :sol: :sol:

J'AI REUSSI !!!!

:pt1cable: :pt1cable: :pt1cable:

Alors petite explication avant de clore :

Je me trompais dans subscribecontext !!! :whistle: :whistle: :whistle:

Pour ceux qui utilise Freepbx like me il faute mettre :
subscribecontext=from-did-direct
et non pas :
subscribecontext=ext-local

explication :

Freepbx fonctionne avec des includes. Exemple, du fichiers extensions.conf :

#include extensions_override_freepbx.conf
#include extensions_additional.conf
#include extensions_custom.conf

Or, mon [ext-local] dans lequel j'ai mes hint:
exten => 200,hint,SIP/200
exten => 201,hint,SIP/201
exten => 202,hint,SIP/202
est dans extensions_additional.conf.

et dans extensions.conf j'ai mon contexte [from-did-direct] qui appel [ext-local] :

[from-did-direct]
include => ext-findmefollow
include => ext-local


D'où l'idée splendide et non moins logique de mettre un subscribecontexte=from-did-direct dans sip.conf !

BREF c'est résolu pour moi !!!