[Asterisk-Users] Can I use my callscreen macro w/ sip?

C F shmaltz at gmail.com
Sat Mar 26 23:05:51 MST 2005


> 
> [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})
> 
Which part doesn't work? this should work with sip as well. Anyhow
since M has been interduced into the Dial command there is no need for
the parkandannounce.



More information about the asterisk-users mailing list