Forum

Unified Communications PBX System

Help us to improve VitalPBX

USD
Google Assistant in...
 

[Solved] Google Assistant installed but still don't work  

  RSS

alexander
(@alexander)
New Member Customer
Joined: 1 month ago
Posts: 3
17/10/2019 2:07 am  

I have installed Google Assistant succefully ,but it still dosen't work 

i do step by step like what they wrote in

https://vitalpbx.org/en/vitalpbx-assistant-powered-by-google/

what can i do ?? is there in option should i active it in VitalPbx webpage ??

how can i now what is the problem ?? 

if i call *789 i get : your call cannot be completed as dial please check the number and dial again 


mrivera
(@ing-joserivera26)
Developer Admin
Joined: 2 years ago
Posts: 1827
18/10/2019 11:05 am  

What is the output of:

asterisk -rx"dialplan show cos-all-custom"

alexander
(@alexander)
New Member Customer
Joined: 1 month ago
Posts: 3
21/10/2019 1:05 am  

[root@vitalpbx ~]# asterisk -rx"dialplan show cos-all-custom"
[ Context 'cos-all-custom' created by 'pbx_config' ]
'*789' => 1. Answer() [extensions__6 0-google_assistant.conf:5171]
2. Playback(google_welcome) [extensions__6 0-google_assistant.conf:5173]
3. Playback(google_example) [extensions__6 0-google_assistant.conf:5174]
[record] 4. agi(google.agi,en-us) [extensions__6 0-google_assistant.conf:5176]
5. Playback(google_another) [extensions__6 0-google_assistant.conf:5178]
6. goto(record) [extensions__6 0-google_assistant.conf:5179]
[goodbye] 7. Playback(google_goodbye) [extensions__6 0-google_assistant.conf:5181]
8. Hangup() [extensions__6 0-google_assistant.conf:5182]
'fake-ext' => 1. NoOp(Fake extension for generate this context from VitalP BX) [extensions__50-1-dialplan.conf:2986]
Include => 'domotic' [pbx_config]

-= 2 extensions (9 priorities) in 1 context. =-

 

 


mrivera
(@ing-joserivera26)
Developer Admin
Joined: 2 years ago
Posts: 1827
23/10/2019 3:28 pm  

May you share a call trace from asterisk CLI when dialing *789?


alexander
(@alexander)
New Member Customer
Joined: 1 month ago
Posts: 3
24/10/2019 12:36 am  

<------------>
-- Executing [*789@T2_cos-all:1] NoOp("SIP/0256*102-000075cc", "More than on digit pattern") in new stack
-- Executing [*789@T2_cos-all:2] Gosub("SIP/0256*102-000075cc", "s,1(*789)") in new stack
-- Executing [s@T2_cos-all:1] Set("SIP/0256*102-000075cc", "EXTENSION=*789") in new stack
-- Executing [s@T2_cos-all:2] NoOp("SIP/0256*102-000075cc", "Dialing *789 from 0256*102") in new stack
-- Executing [s@T2_cos-all:3] Gosub("SIP/0256*102-000075cc", "sub-set-global-vars,s,1(*789,parking-2)") in new stack
-- Executing [s@sub-set-global-vars:1] NoOp("SIP/0256*102-000075cc", "Setting Global Vars") in new stack
-- Executing [s@sub-set-global-vars:2] Set("SIP/0256*102-000075cc", "__PICKUPMARK=*789") in new stack
-- Executing [s@sub-set-global-vars:3] Set("SIP/0256*102-000075cc", "__PARKINGLOT=parking-2") in new stack
-- Executing [s@sub-set-global-vars:4] Set("SIP/0256*102-000075cc", "__DYNAMIC_FEATURES=custom-features") in new stack
-- Executing [s@sub-set-global-vars:5] Set("SIP/0256*102-000075cc", "ICALL=no") in new stack
-- Executing [s@sub-set-global-vars:6] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@T2_cos-all:4] Gosub("SIP/0256*102-000075cc", "sub-set-call-vars,s,1(673232705009f41c,*789,2,T2_cos-all,T2_ARS-all)") in new stack
-- Executing [s@sub-set-call-vars:1] NoOp("SIP/0256*102-000075cc", "Setting Call Vars") in new stack
-- Executing [s@sub-set-call-vars:2] Set("SIP/0256*102-000075cc", "_TENANT=673232705009f41c") in new stack
-- Executing [s@sub-set-call-vars:3] Set("SIP/0256*102-000075cc", "_CALL_DESTINATION=*789") in new stack
-- Executing [s@sub-set-call-vars:4] Set("SIP/0256*102-000075cc", "_COS_ID=2") in new stack
-- Executing [s@sub-set-call-vars:5] Set("SIP/0256*102-000075cc", "_COS_NAME=T2_cos-all") in new stack
-- Executing [s@sub-set-call-vars:6] Set("SIP/0256*102-000075cc", "__TRANSFER_CONTEXT=T2_cos-all") in new stack
-- Executing [s@sub-set-call-vars:7] Set("SIP/0256*102-000075cc", "_ARS=T2_ARS-all") in new stack
-- Executing [s@sub-set-call-vars:8] Set("SIP/0256*102-000075cc", "CDR(tenant)=bizznet") in new stack
-- Executing [s@sub-set-call-vars:9] Set("SIP/0256*102-000075cc", "CDR(destination)=*789") in new stack
-- Executing [s@sub-set-call-vars:10] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@T2_cos-all:5] Gosub("SIP/0256*102-000075cc", "sub-construct-cid,s,1") in new stack
-- Executing [s@sub-construct-cid:1] NoOp("SIP/0256*102-000075cc", "Building CID") in new stack
-- Executing [s@sub-construct-cid:2] Set("SIP/0256*102-000075cc", "_CALL_SOURCE=0256*102") in new stack
-- Executing [s@sub-construct-cid:3] Set("SIP/0256*102-000075cc", "_CS=0256*102") in new stack
-- Executing [s@sub-construct-cid:4] GotoIf("SIP/0256*102-000075cc", "0?return") in new stack
-- Executing [s@sub-construct-cid:5] Gosub("SIP/0256*102-000075cc", "sub-get-device-tree,s,1") in new stack
-- Executing [s@sub-get-device-tree:1] NoOp("SIP/0256*102-000075cc", "Configuring Device Tree") in new stack
-- Executing [s@sub-get-device-tree:2] Set("SIP/0256*102-000075cc", "DEV_TECHNOLOGY=SIP") in new stack
-- Executing [s@sub-get-device-tree:3] GosubIf("SIP/0256*102-000075cc", "0?s-local,1") in new stack
-- Executing [s@sub-get-device-tree:4] GotoIf("SIP/0256*102-000075cc", "0?return") in new stack
-- Executing [s@sub-get-device-tree:5] GotoIf("SIP/0256*102-000075cc", "0?pjsip") in new stack
-- Executing [s@sub-get-device-tree:6] GotoIf("SIP/0256*102-000075cc", "0?:digital") in new stack
-- Goto (sub-get-device-tree,s,12)
-- Executing [s@sub-get-device-tree:12] Set("SIP/0256*102-000075cc", "DEV_USER=0256*102") in new stack
-- Executing [s@sub-get-device-tree:13] Set("SIP/0256*102-000075cc", "INTERFACE=SIP/0256*102") in new stack
-- Executing [s@sub-get-device-tree:14] Set("SIP/0256*102-000075cc", "DEV_TREE=devices/SIP/0256*102") in new stack
-- Executing [s@sub-get-device-tree:15] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@sub-construct-cid:6] GotoIf("SIP/0256*102-000075cc", "0?return") in new stack
-- Executing [s@sub-construct-cid:7] Set("SIP/0256*102-000075cc", "_CALL_SOURCE=102") in new stack
-- Executing [s@sub-construct-cid:8] Set("SIP/0256*102-000075cc", "_CS=102") in new stack
-- Executing [s@sub-construct-cid:9] ExecIf("SIP/0256*102-000075cc", "1?Set(CALLERID(all)="Mohamed Mallisho" <102>)") in new stack
-- Executing [s@sub-construct-cid:10] Set("SIP/0256*102-000075cc", "_CID_CONSTRUCTED=yes") in new stack
-- Executing [s@sub-construct-cid:11] NoOp("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@sub-construct-cid:12] Set("SIP/0256*102-000075cc", "CDR(source)=102") in new stack
-- Executing [s@sub-construct-cid:13] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@T2_cos-all:6] Gosub("SIP/0256*102-000075cc", "T2_set-global-tenant-vars,s,1") in new stack
-- Executing [s@T2_set-global-tenant-vars:1] NoOp("SIP/0256*102-000075cc", "Setting Global Vars for bizznet Tenant") in new stack
-- Executing [s@T2_set-global-tenant-vars:2] Set("SIP/0256*102-000075cc", "__TENANT_PATH=673232705009f41c") in new stack
-- Executing [s@T2_set-global-tenant-vars:3] Set("SIP/0256*102-000075cc", "__TENANT_PREFIX=T2_") in new stack
-- Executing [s@T2_set-global-tenant-vars:4] Set("SIP/0256*102-000075cc", "__QUEUE_AGENTS_CONTEXT=T2_queue-call-to-agents") in new stack
-- Executing [s@T2_set-global-tenant-vars:5] Set("SIP/0256*102-000075cc", "__FOLLOWME_CONTEXT=T2_ext-followme") in new stack
-- Executing [s@T2_set-global-tenant-vars:6] Set("SIP/0256*102-000075cc", "__HINTS_CONTEXT=T2_extension-hints") in new stack
-- Executing [s@T2_set-global-tenant-vars:7] Set("SIP/0256*102-000075cc", "__DEFAULT_COS=T2_cos-all") in new stack
-- Executing [s@T2_set-global-tenant-vars:8] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@T2_cos-all:7] GotoIf("SIP/0256*102-000075cc", "0?local-dialing") in new stack
-- Executing [s@T2_cos-all:8] NoOp("SIP/0256*102-000075cc", "Check if is an Emergency Call") in new stack
-- Executing [s@T2_cos-all:9] GotoIf("SIP/0256*102-000075cc", "0?T2_emergency-calls,*789,1") in new stack
-- Executing [s@T2_cos-all:10] Gosub("SIP/0256*102-000075cc", "sub-lockphone-check,s,1") in new stack
-- Executing [s@sub-lockphone-check:1] NoOp("SIP/0256*102-000075cc", "SUB: LOCK PHONE CHECK") in new stack
-- Executing [s@sub-lockphone-check:2] GotoIf("SIP/0256*102-000075cc", "0?unlock") in new stack
-- Executing [s@sub-lockphone-check:3] GotoIf("SIP/0256*102-000075cc", "0?unlock") in new stack
-- Executing [s@sub-lockphone-check:4] GotoIf("SIP/0256*102-000075cc", "0?unlock") in new stack
-- Executing [s@sub-lockphone-check:5] GotoIf("SIP/0256*102-000075cc", "0?unlock") in new stack
-- Executing [s@sub-lockphone-check:6] GotoIf("SIP/0256*102-000075cc", "0?:unlock") in new stack
-- Goto (sub-lockphone-check,s,12)
-- Executing [s@sub-lockphone-check:12] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@T2_cos-all:11] Gosub("SIP/0256*102-000075cc", "sub-local-dialing,s,1") in new stack
-- Executing [s@sub-local-dialing:1] NoOp("SIP/0256*102-000075cc", "Trying to determine if is a local extension") in new stack
-- Executing [s@sub-local-dialing:2] GotoIf("SIP/0256*102-000075cc", "0?:return") in new stack
-- Goto (sub-local-dialing,s,4)
-- Executing [s@sub-local-dialing:4] Return("SIP/0256*102-000075cc", "") in new stack
-- Executing [s@T2_cos-all:12] GotoIf("SIP/0256*102-000075cc", "0?end-call") in new stack
-- Executing [s@T2_cos-all:13] Set("SIP/0256*102-000075cc", "OUTBOUND_PROFILE=") in new stack
-- Executing [s@T2_cos-all:14] GotoIf("SIP/0256*102-000075cc", "1?post-dialing") in new stack
-- Goto (T2_cos-all,s,16)
-- Executing [s@T2_cos-all:16] Goto("SIP/0256*102-000075cc", "T2_cos-all-post,*789,1") in new stack
-- Goto (T2_cos-all-post,*789,1)
-- Channel 'SIP/0256*102-000075cc' sent to invalid extension: context,exten,priority=T2_cos-all-post,*789,1
-- Executing [i@T2_cos-all-post:1] NoOp("SIP/0256*102-000075cc", "Invalid dial on post section") in new stack
-- Executing [i@T2_cos-all-post:2] ForkCDR("SIP/0256*102-000075cc", "e") in new stack
-- Executing [i@T2_cos-all-post:3] ExecIf("SIP/0256*102-000075cc", "0?Hangup():") in new stack
-- Executing [i@T2_cos-all-post:4] Goto("SIP/0256*102-000075cc", "invalid-dest-cos,s,1") in new stack
-- Goto (invalid-dest-cos,s,1)
-- Executing [s@invalid-dest-cos:1] NoOp("SIP/0256*102-000075cc", "Invalid Route Dialed in COS") in new stack
-- Executing [s@invalid-dest-cos:2] GotoIf("SIP/0256*102-000075cc", "0?end") in new stack
-- Executing [s@invalid-dest-cos:3] GotoIf("SIP/0256*102-000075cc", "0?end") in new stack
-- Executing [s@invalid-dest-cos:4] Playback("SIP/0256*102-000075cc", "silence/1&cannot-complete-as-dialed&check-number-dial-again") in new stack
Audio is at 15892
Adding codec ulaw to SDP
Adding codec alaw to SDP
Adding non-codec 0x1 (telephone-event) to SDP

 


mrivera
(@ing-joserivera26)
Developer Admin
Joined: 2 years ago
Posts: 1827
24/10/2019 2:47 pm  

It doesn't work because you're calling the feature from the secondary tenant.

For make it work on the secondary tenant you must include the feature on the context "T2_cos-all-custom"


Share:

Please Login or Register