(Sorry if this has hit the list before. I sent it yesterday, but never
saw it come through)
I actually got rid of my phone service.. no more pots line in my house.
But, I miss my call screen macro. Any way to do this with a SIP
channel? (Obviously the parking isn't the problem, but rather recording
their name). I set it up so they should only have to record their name
once provided they call from the same number.
Anyway, I think I'm gonna get a big "NO" on recording SIP channel,
but
maybe there is a similar way to do this with monitor or something??
Just a shot in the dark.
[macro-screen]
exten => s,1,Wait(1)
exten => s,2,DBget(SCREENFILE=callerid/${CALLERIDNUM})
exten =>
s,3,ParkAndAnnounce(beep:beep:callfrom:${SCREENFILE}:holdingonexten:PARKED:beep:beep:${SCREENFILE}:isholdingonext:PARKED|180|${ARG1}|${ARG2})
exten => s,103,SetVar(SCREENFILE=/var/lib/asterisk/sounds/names/${UNIQUEID})
exten => s,104,Playback(vm-rec-name)
exten => s,105,Record(${SCREENFILE}:gsm|10)
exten => s,106,System(/usr/bin/normalize -g 5db ${SCREENFILE})
exten => s,107,DBput(callerid/${CALLERIDNUM}=${SCREENFILE})
exten =>
s,108,ParkAndAnnounce(beep:beep:callfrom:${SCREENFILE}:holdingonexten:PARKED:beep:beep:${SCREENFILE}:isholdingonext:PARKED|40|${ARG1}|${ARG2})