mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/asterisk/default.nix
This commit is contained in:
@@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
exten => 6001,1,Dial(PJSIP/6001,20)
|
exten => 6001,1,Dial(PJSIP/6001,20)
|
||||||
exten => 6002,1,Dial(PJSIP/6002,20)
|
exten => 6002,1,Dial(PJSIP/6002,20)
|
||||||
|
exten => 8001,1,Dial(PJSIP/8001@kurogeek,20)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"pjsip.conf" = ''
|
"pjsip.conf" = ''
|
||||||
@@ -59,6 +60,26 @@
|
|||||||
protocol=udp
|
protocol=udp
|
||||||
bind=::
|
bind=::
|
||||||
|
|
||||||
|
[kurogeek]
|
||||||
|
type=endpoint
|
||||||
|
context=from-kurogeek
|
||||||
|
disallow=all
|
||||||
|
allow=ulaw
|
||||||
|
allow=alaw
|
||||||
|
allow=g722
|
||||||
|
allow=gsm
|
||||||
|
aors=kurogeek
|
||||||
|
direct_media=no
|
||||||
|
|
||||||
|
[kurogeek]
|
||||||
|
type=aor
|
||||||
|
contact=sip:[fd79:fada:fbe9:8c5d:d899:932b:d36d:b8cc]
|
||||||
|
|
||||||
|
[kurogeek]
|
||||||
|
type=identify
|
||||||
|
endpoint=kurogeek
|
||||||
|
match=[fd79:fada:fbe9:8c5d:d899:932b:d36d:b8cc]
|
||||||
|
|
||||||
[6001]
|
[6001]
|
||||||
type=endpoint
|
type=endpoint
|
||||||
context=from-internal
|
context=from-internal
|
||||||
|
|||||||
Reference in New Issue
Block a user