commit 2aaa572f9c248a868632f2d3cd01b2cd61abfc05
parent 3ead413a7c88014a1189589b793fc86d1bbd1435
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 16 Aug 2023 16:23:51 +0200
debug
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -486,8 +486,12 @@
confFiles = {
"extensions.conf" = ''
[epvpn]
- exten => _0199XXXX,1,Playback(/var/lib/asterisk/sounds/en/hello-world)
+ exten => _0199XXXX,1,Answer()
+ same => n,Verbose(0, Going to play hello)
+ same => n,Playback(/var/lib/asterisk/sounds/en/hello-world)
+ same => n,Verbose(0, Going to set CALLERID)
same => n,Set(CALLERID(num)=2903)
+ same => n,Verbose(0, Going to dial ''${EXTEN:4}@eventphone)
same => n,Dial(PJSIP/''${EXTEN:4}@eventphone)
[internals]