extensions.conf
DIALOPTIONS =
RINGTIME = 20
FOLLOWMEOPTIONS =
PAGING_HEADER = Intercom
PAGING_TIMEOUT = 60
trunk_1 = SIP/trunk_1
CID_6001 = vanaccess 0020
[DID_trunk_1]
include = DID_trunk_1_default
include = DID_trunk_1_timeinterval_All Day|${timeinterval_All Day}
include = DID_trunk_1_default
[DID_trunk_1_default]
[CallingRule_ipkall]
[CallingRule_Longdistance]
exten = _91XXXXXXXXXX!,1,Macro(trunkdial-failover-0.3,${}/${EXTEN:1}, , , )
[CallingRule_IAXTEL]
exten = _91700XXXXXXX!,1,Macro(trunkdial-failover-0.3,${}/${EXTEN:1}, , , )
[CallingRule_Local_AreaCode]
exten = _9256XXXXXXX!,1,Macro(trunkdial-failover-0.3,${}/${EXTEN:4}, , , )
[CallingRule_International]
exten = _9011XXXXX.,1,Macro(trunkdial-failover-0.3,${}/${EXTEN:1}, , , )
[CallingRule_Local_7_digits]
exten = _9XXXXXXX!,1,Macro(trunkdial-failover-0.3,${}/${EXTEN:1}, , , )
[CallingRule_Emergency]
exten = _911!,1,Macro(trunkdial-failover-0.3,${}/${EXTEN:0}, , , )
[CallingRule_ipkallout]
exten = 2062035991,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},trunk_1,)
[DLPN_DialPlan1]
include = default
include = parkedcalls
include = conferences
include = ringgroups
include = voicemenus
include = queues
include = voicemailgroups
include = directory
include = pagegroups
include = page_an_extension
[DID_trunk_1_timeinterval_All Day]
exten = 2062035991,1,Goto(default|6001|1)
users.conf
username = 6001
type = peer
host = 192.168.0.242
transfer = yes
mailbox = 6001
call-limit = 100
fullname = vanaccess 0200
registersip = no
host = dynamic
callgroup = 1
context = DLPN_DialPlan1
cid_number = 6001
hasvoicemail = yes
vmsecret = 55
email = usertwo@eazylivin.net
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = yes
hasiax = no
secret =
nat = no
canreinvite = no
dtmfmode = rfc2833
insecure = port,invite
pickupgroup = 1
autoprov = no
label =
macaddress =
linenumber = 1
LINEKEYS = 1
disallow = all
allow = ulaw,gsm
[6001]
username = 6001
transfer = yes
mailbox = 6001
call-limit = 100
fullname = 6001
registersip = no
host = dynamic
callgroup = 1
context = DLPN_DialPlan1
cid_number = 6001
hasvoicemail = yes
vmsecret = 55,55
email = usertwo@eazylivin.net,usertwo@eazylivin.net,usertwo@eazylivin.net,usertwo@eazylivin.net
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = yes
hasiax = no
secret = ,
nat = no
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup =
autoprov = yes
label = 6001
[trunk_1]
context = DID_trunk_1
host = voiper.ipkall.com
trunkname = ipkall ; GUI metadata
hasiax = no
registeriax = no
hassip = yes
registersip = yes
trunkstyle = voip
hasexten = no
allow = all
insecure = port,invite
secret =
username =
Sorry this should have been a pastebin,but was in a hurry and getting pestered here as well with q&a sessions one after the other…
Thanks,
Barry