summaryrefslogtreecommitdiff
path: root/xpp/utils/zapconf
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/utils/zapconf')
-rwxr-xr-xxpp/utils/zapconf22
1 files changed, 13 insertions, 9 deletions
diff --git a/xpp/utils/zapconf b/xpp/utils/zapconf
index 472c3af..1144684 100755
--- a/xpp/utils/zapconf
+++ b/xpp/utils/zapconf
@@ -355,12 +355,12 @@ callwaiting = yes
context = numberplan-custom-1
fullname = $full_name
cid_number = $exten
-hasagent = yes
+hasagent = no
hasdirectory = no
-hasiax = yes
+hasiax = no
hasmanager = no
-hassip = yes
-hasvoicemail = no
+hassip = no
+hasvoicemail = yes
host = dynamic
mailbox = $exten
threewaycalling = yes
@@ -368,8 +368,8 @@ vmsecret = 1234
secret = 1234
signalling = $sig
zapchan = $num
-registeriax = yes
-registersip = yes
+registeriax = no
+registersip = no
canreinvite = no
nat = no
dtmfmode = rfc2833
@@ -413,11 +413,15 @@ vmsecret = 1234
;
; Create SIP Peer
;
-hassip = yes
+hassip = no
;
; Create IAX friend
;
-hasiax = yes
+hasiax = no
+;
+; Create Agent friend
+;
+hasagent = no
;
; Create H.323 friend
;
@@ -438,7 +442,7 @@ cancallforward = yes
callreturn = yes
callgroup = 1
pickupgroup = 1
-localextenlength = 4
+localextenlength = @{[length($base_exten)]}
HEAD