Add verbose lines for incoming calls

This commit is contained in:
Doug Masiero 2024-12-21 09:33:55 -05:00
parent 2e7842193f
commit ccc234ba76

View File

@ -5,12 +5,14 @@ writeprotect=no
[from-trunk] [from-trunk]
; (888)88-MOENY ; (888)88-MOENY
exten => 18888866369,1,Answer() exten => 18888866369,1,Answer()
same => n,Verbose(*** INCOMING TO ${EXTEN} FROM ${CALLERID(num)} ***)
same => n,agi(googletts.agi,"Thank you for calling Moeny! How may I help you?",en) same => n,agi(googletts.agi,"Thank you for calling Moeny! How may I help you?",en)
same => n,Goto(from-trunk,15598255224,gc-gpt35t) same => n,Goto(from-trunk,15598255224,gc-gpt35t)
same => n,Hangup() same => n,Hangup()
; (559)TALK-2-AI - Google Cloud w/ChatGPT 3.5 Turbo ; (559)TALK-2-AI - Google Cloud w/ChatGPT 3.5 Turbo
exten => 15598255224,1,Answer() exten => 15598255224,1,Answer()
same => n,Verbose(*** INCOMING TO ${EXTEN} FROM ${CALLERID(num)} ***)
same => n,agi(googletts.agi,"Ready to talk to AI?",en) same => n,agi(googletts.agi,"Ready to talk to AI?",en)
same => n(gc-gpt35t),AudioSocket(cd5e3280-0340-463d-8310-f${CALLERID(num)},172.20.0.101:3001) same => n(gc-gpt35t),AudioSocket(cd5e3280-0340-463d-8310-f${CALLERID(num)},172.20.0.101:3001)
same => n,Hangup() same => n,Hangup()