search for: currentexten

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

2005 Sep 21
0
HOWTO: A simple AGI application to modify incomi ng CallerID on the fly using SQL Server and *not* UnixODBC
...r dialplan with the AGI script called in a distinct context and that context returns control to the original context when done. [my-inbound-context-with-did] 'Assumption here is that you have several DID's in this context but should be able to work without a DID exten => 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...
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
...ialplan with the AGI script called in a distinct context and that context returns control to the original context when done. [my-inbound-context-with-did] 'Assumption here is that you have several DID's in this context but should be able to work without a DID exten => 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}) ext...