PDA

Voir la version complète : call confirm



hugocholet
14/05/2012, 22h16
bon soir,
l'option call confirm de freepbx me pose une petite interrogation, une voix anglaise quand je décroche mon tel portable ligne 06xxxxxxx me dit je pense taper 1 ou 2. je fais cette opération et rien ne se passe.
Est ce un problème connu ?.

Reaper
14/05/2012, 23h23
Une problème DTMF est possible, tes touches passent en ivr normal ?

hugocholet
14/05/2012, 23h35
oui en ivr pas de soucis cela fonctionne, mais cette option ne fonctionne pas et en plus , j'ai grave besoin. il est pas possible aussi que la voix soit en français.

hugocholet
16/05/2012, 12h49
y a t il un paramètre a changer?

Reaper
16/05/2012, 19h32
oui en ivr pas de soucis cela fonctionne, mais cette option ne fonctionne pas et en plus
Ça fonctionne ou pas ?
Pour les fichiers son ils se trouvent sous /var/lib/asterisk/sounds

hugocholet
16/05/2012, 20h05
fonction ivr oui
call confirm quand je tape 1 ou 2 NON
quel fichier je modifie ? pour avoir la voix fr pour call confirm car j'ai déjà importer des voix française

Reaper
17/05/2012, 13h39
D'abord trace sur la console ce qui ce passe pendant tes choix. Utilise pastebin pour nous montrer.

Kriss
18/05/2012, 09h42
Pour logger les DTMF, tu dois éditer ton /etc/asterisk/logger.conf et ajouter l'option dtmf à l'un de tes fichiers de logs, par exemple :
full => notice,warning,error,debug,verbose, dtmf

Il convient ensuite de surveiller ton full pendant un appel pour voir si le serveur reçoit ou non tes DTMF :
tail -f /var/log/asterisk/full

./Kriss

hugocholet
24/05/2012, 12h14
tail -f /var/log/asterisk/full

[2012-05-24 12:07:43] NOTICE[2959] chan_sip.c: Registration from 'Fax Gestan <si p:101@192.168.1.6>' failed for '192.168.1.16:5060' - Peer is not supposed to reg ister
[2012-05-24 12:07:43] ERROR[2959] chan_sip.c: Peer 'pstn' is trying to register, but not configured as host=dynamic
[2012-05-24 12:07:43] NOTICE[2959] chan_sip.c: Registration from '<sip:pstn@192. 168.1.6>' failed for '192.168.1.16:5060' - Peer is not supposed to register
[2012-05-24 12:07:43] ERROR[2959] chan_sip.c: Peer '101' is trying to register, but not configured as host=dynamic
[2012-05-24 12:07:43] NOTICE[2959] chan_sip.c: Registration from 'Fax Gestan <si p:101@192.168.1.6>' failed for '192.168.1.16:5060' - Peer is not supposed to reg ister
[2012-05-24 12:07:43] ERROR[2959] chan_sip.c: Peer 'pstn' is trying to register, but not configured as host=dynamic
[2012-05-24 12:07:43] NOTICE[2959] chan_sip.c: Registration from '<sip:pstn@192. 168.1.6>' failed for '192.168.1.16:5060' - Peer is not supposed to register
[2012-05-24 12:10:45] WARNING[2959] chan_sip.c: Got 423 Interval too brief for s ervice 0951147663@freephonie.net, minimum is 1800 seconds
[2012-05-24 12:10:48] WARNING[2959] chan_sip.c: Got 423 Interval too brief for s ervice 0954055346@freephonie.net, minimum is 1800 seconds
[2012-05-24 12:12:45] VERBOSE[13995] asterisk.c: -- Remote UNIX connection d isconnected


asterisk -r



-- Executing [zap2dahdi@macro-dial-one:7] Set("Local/100@from-queue-07e8;2", "NEWDIAL=SIP/100&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("Local/100@from-queue-07e8;2", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/100@from-queue-07e8;2", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("Local/100@from-queue-07e8;2", "THISDIAL=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("Local/100@from-queue-07e8;2", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("Local/100@from-queue-07e8;2", "DSTRING=SIP/100&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("Local/100@from-queue-07e8;2", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("Local/100@from-queue-07e8;2", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("Local/100@from-queue-07e8;2", "DSTRING=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:13] Return("Local/100@from-queue-07e8;2", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("Local/100@from-queue-07e8;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("Local/100@from-queue-07e8;2", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("Local/100@from-queue-07e8;2", "1?ctset,1:ctclear,1") in new stack
-- Executing [ctset@macro-dial-one:1] Set("Local/100@from-queue-07e8;2", "DB(CALLTRACE/100)=0285455001") in new stack
-- Executing [ctset@macro-dial-one:2] Return("Local/100@from-queue-07e8;2", "") in new stack
-- Executing [s@macro-dial-one:30] Set("Local/100@from-queue-07e8;2", "D_OPTIONS=trM(auto-blkvm)") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("Local/100@from-queue-07e8;2", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("Local/100@from-queue-07e8;2", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("Local/100@from-queue-07e8;2", "1?Set(CHANNEL(musicclass)=HugoProd-)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("Local/100@from-queue-07e8;2", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("Local/100@from-queue-07e8;2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("Local/100@from-queue-07e8;2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("Local/100@from-queue-07e8;2", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("Local/100@from-queue-07e8;2", "1?godial") in new stack
-- Goto (macro-dial-one,s,42)
-- Executing [s@macro-dial-one:42] Dial("Local/100@from-queue-07e8;2", "SIP/100,5,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/100
-- Local/100@from-queue-07e8;1 is ringing
-- Local/100@from-queue-07e8;1 connected line has changed. Saving it until answer for SIP/100-000000d6
-- Local/100@from-queue-07e8;1 connected line has changed. Saving it until answer for SIP/100-000000d6
-- SIP/100-000000dd is ringing
-- Local/100@from-queue-07e8;1 is ringing
-- Nobody picked up in 5000 ms
-- Executing [s@macro-dial-one:43] ExecIf("Local/100@from-queue-07e8;2", "1?Set(DIALSTATUS=BUSY)") in new stack
-- Executing [s@macro-dial-one:44] GosubIf("Local/100@from-queue-07e8;2", "0?s-BUSY,1") in new stack
-- Executing [s@macro-dial-one:45] MacroExit("Local/100@from-queue-07e8;2", "") in new stack
-- Executing [s@macro-exten-vm:15] Set("Local/100@from-queue-07e8;2", "SV_DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-exten-vm:16] GosubIf("Local/100@from-queue-07e8;2", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:17] GosubIf("Local/100@from-queue-07e8;2", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:18] Set("Local/100@from-queue-07e8;2", "DIALSTATUS=BUSY") in new stack
-- Executing [s@macro-exten-vm:19] ExecIf("Local/100@from-queue-07e8;2", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:20] GotoIf("Local/100@from-queue-07e8;2", "0?s-BUSY,1") in new stack
-- Executing [s@macro-exten-vm:21] Macro("Local/100@from-queue-07e8;2", "vm,100,BUSY,") in new stack
-- Executing [s@macro-vm:1] Macro("Local/100@from-queue-07e8;2", "user-callerid,SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/100@from-queue-07e8;2", "AMPUSER=0285455001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/100@from-queue-07e8;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,13)
-- Executing [s@macro-user-callerid:13] GotoIf("Local/100@from-queue-07e8;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("Local/100@from-queue-07e8;2", "CALLERID(number)=0285455001") in new stack
-- Executing [s@macro-user-callerid:27] Set("Local/100@from-queue-07e8;2", "CALLERID(name)=HugoProd / Standard") in new stack
-- Executing [s@macro-user-callerid:28] Set("Local/100@from-queue-07e8;2", "CHANNEL(language)=fr") in new stack
-- Executing [s@macro-vm:2] Set("Local/100@from-queue-07e8;2", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] Macro("Local/100@from-queue-07e8;2", "blkvm-check,") in new stack
-- Executing [s@macro-blkvm-check:1] Set("Local/100@from-queue-07e8;2", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [s@macro-blkvm-check:2] MacroExit("Local/100@from-queue-07e8;2", "") in new stack
-- Executing [s@macro-vm:4] GotoIf("Local/100@from-queue-07e8;2", "0?vmx,1") in new stack
-- Executing [s@macro-vm:5] Hangup("Local/100@from-queue-07e8;2", "") in new stack
== Spawn extension (macro-vm, s, 5) exited non-zero on 'Local/100@from-queue-07e8;2' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 21) exited non-zero on 'Local/100@from-queue-07e8;2' in macro 'exten-vm'
== Spawn extension (from-internal, 100, 2) exited non-zero on 'Local/100@from-queue-07e8;2'
-- Executing [h@from-internal:1] Hangup("Local/100@from-queue-07e8;2", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/100@from-queue-07e8;2'
-- Nobody picked up in 5000 ms
-- Executing [s@macro-confirm:5] Read("SIP/FreeTelecom2Out-000000da", "INPUT,,1,,,4") in new stack
-- Accepting a maximum of 1 digits.
-- User disconnected
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'Local/006@from-queue-9487;2' in macro 'dialout-trunk'
== Spawn extension (from-internal, 0060, 5) exited non-zero on 'Local/0060@from-queue-9487;2'
-- Executing [h@from-internal:1] Hangup("Local/00629736460@from-queue-9487;2", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/0066@from-queue-9487;2'
localhost*CLI>



quand je tape 1 ou deux rien ne ce passe dans la console, et j'ai remarqué avec mon GXP-2000 pour la boite vocale quand je tape 1 oui 2 rien ne se passe aussi.

que faire ?

hugocholet
26/05/2012, 12h09
Est ce une erreur connue, cela peut il venir des DTMF?