Changeset 4040
- Timestamp:
- 06/09/07 10:58:16 (1 year ago)
- Files:
-
- freepbx/trunk/amp_conf/astetc/extensions.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/astetc/extensions.conf
r4003 r4040 917 917 918 918 ;sets the callerid of the device to that of the logged in user 919 ; 920 ; ${AMPUSER} is set upon return to the real user despite any aliasing that may 921 ; have been set as a result of the AMPUSER/<nnn>/cidnum field. This is used by 922 ; features like DND, CF, etc. to set the proper structure on aliased instructions 923 ; 919 924 [macro-user-callerid] 920 925 exten => s,1,Noop(user-callerid: ${CALLERID(name)} ${CALLERID(number)}) 926 927 ; make sure AMPUSER is set if it doesn't get set below 928 ; 929 exten => s,n,Set(AMPUSER=${IF($["foo${AMPUSER}" = "foo"]?${CALLERID(number)}:${AMPUSER})}) 921 930 exten => s,n,GotoIf($["${CHANNEL:0:5}" = "Local"]?report) 922 931 exten => s,n,GotoIf($["${REALCALLERIDNUM:1:2}" != ""]?start)
