Hi there,
In order to avoid the need for an explicit parked extension number to be communicated to the expected destination, i was expecting to use the ParkAndAnnounce application to call the recipient and inform him of the same.
I was envisioning a system in which everybody had an associated “park warning extension” of the 7xxx fame (XXX being the internal SIP phones) that anyone could call in order to automatically park an incoming call and warn the new destination.
The regular parking callback-if-no-pickup timeout must apply.
This is the code i developed so far but i can’t make it quite work, ca anyone give an hint?
Thanks in advance.
[general]
static=yes
writeprotect=no
[globals]
[macro-parking]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,ParkAndAnnounce(pbx-transfer:PARKED|20|${ARG1}|SIPextensions,${ARG2},1)
[SIPextensions]
include => parkedcalls
exten => _73XX,1,Macro(parking,SIP/${EXTEN:1},${CALLERIDNUM})
exten => _3XX,1,Dial(SIP/${EXTEN})[/img]