search for: cidsuffix

Displaying 2 results from an estimated 2 matches for "cidsuffix".

2005 Sep 21
0
HOWTO: A simple AGI application to modify incomi ng CallerID on the fly using SQL Server and *not* UnixODBC
...ten => 3078,1,SetVar(CURRENTEXTEN=3078)'Set a variable with the current extension being processed exten => 3078,2,Goto(Transform-CallerID,s,1)) exten => 3078,3,DoRegualarDialplanStuffHere [Transform-CallerID] exten => s,1,SetVar(CIDPREFIX=${CALLERIDNUM:3:3}) exten => s,2,SetVar(CIDSUFFIX=${CALLERIDNUM:6:10}) exten => s,3,agi(transformcallerid.agi|${CIDPREFIX}-${CIDSUFFIX}) 'We keep phone numbers in XXX-XXXX format exten => s,4,NoOp(${LANDMARKCID}) 'Display the returned variable for debugging purposes exten => s,5,Gotoif($["${LANDMARKCID}" = " :"...
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
...n => 3078,1,SetVar(CURRENTEXTEN=3078)'Set a variable with the current extension being processed exten => 3078,2,Goto(Transform-CallerID,s,1)) exten => 3078,3,DoRegualarDialplanStuffHere [Transform-CallerID] exten => s,1,SetVar(CIDPREFIX=${CALLERIDNUM:3:3}) exten => s,2,SetVar(CIDSUFFIX=${CALLERIDNUM:6:10}) exten => s,3,agi(transformcallerid.agi|${CIDPREFIX}-${CIDSUFFIX}) 'We keep phone numbers in XXX-XXXX format exten => s,4,NoOp(${LANDMARKCID}) 'Display the returned variable for debugging purposes exten => s,5,Gotoif($["${LANDMARKCID}" = " :"...