From 2e7842193fd482fdbce4efa87805bd1ee1b9ebc2 Mon Sep 17 00:00:00 2001 From: Doug Masiero Date: Tue, 17 Dec 2024 19:41:59 -0500 Subject: [PATCH] Add caller ID to UUID & test sip EP --- extensions.conf | 4 ++-- pjsip.conf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions.conf b/extensions.conf index a5b6345..b3d9916 100644 --- a/extensions.conf +++ b/extensions.conf @@ -12,13 +12,13 @@ exten => 18888866369,1,Answer() ; (559)TALK-2-AI - Google Cloud w/ChatGPT 3.5 Turbo exten => 15598255224,1,Answer() same => n,agi(googletts.agi,"Ready to talk to AI?",en) - same => n(gc-gpt35t),AudioSocket(66b7feb0-8938-11ee-abd7-0242ac151234,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() ; (845)610-6555 - Google Cloud w/MLX LLM (via ngrok) exten => 18456106555,1,Answer() same => n,agi(googletts.agi,"Ready to talk to AI?",en) - same => n(gc-mlx-llm),AudioSocket(66b7feb0-8938-11ee-abd7-0242ac151234,172.20.0.102:3002) + same => n(gc-mlx-llm),AudioSocket(cd5e3280-0340-463d-8310-f${CALLERID(num)},172.20.0.102:3002) same => n,Hangup() [from-internal] diff --git a/pjsip.conf b/pjsip.conf index f5fbbd6..7a79d63 100644 --- a/pjsip.conf +++ b/pjsip.conf @@ -13,6 +13,7 @@ permit=52.204.242.197/32 type=endpoint transport=transport-udp context=from-internal +callerid=moeny <18455551212> disallow=all allow=ulaw auth=101