Idefisk
Tools
Tutorials
Reviews
VoIP Providers
Archives
AsteriskGuru Archives
Mailing List Archives
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
[Asterisk-cvs] asterisk README.variables,1.5,1.6 pbx.c,1.44,
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
View previous topic
::
View next topic
Author
Message
markster at lists.digium.
Guest
Posted: Thu Sep 04, 2003 10:44 pm
Post subject: [Asterisk-cvs] asterisk README.variables,1.5,1.6 pbx.c,1.44,
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16923
Modified Files:
README.variables pbx.c
Log Message:
Add ${DNIS}
Index: README.variables
===================================================================
RCS file: /usr/cvsroot/asterisk/README.variables,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** README.variables 30 May 2003 04:41:18 -0000 1.5
--- README.variables 4 Sep 2003 22:46:06 -0000 1.6
***************
*** 41,44 ****
--- 41,46 ----
${DATETIME} Current date time in the format: YYYY-MM-DD_HH:MM:SS
${UNIQUEID} Current call unique identifier
+ ${DNID} Dialed Number Identifier
+ ${RDNIS} Redirected Dial Number ID Service
There are two reference modes - reference by value and reference by name.
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** pbx.c 2 Sep 2003 00:33:42 -0000 1.44
--- pbx.c 4 Sep 2003 22:46:06 -0000 1.45
***************
*** 798,801 ****
--- 798,807 ----
} else
*ret = NULL;
+ } else if (c && !strcmp(var, "DNID")) {
+ if (c->dnid) {
+ strncpy(workspace, c->dnid, workspacelen - 1);
+ *ret = workspace;
+ } else
+ *ret = NULL;
} else if (c && !strcmp(var, "HINT")) {
if (!ast_get_hint(workspace, workspacelen - 1, c, c->context, c->exten))
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
All times are GMT
Page
1
of
1
Jump to:
Select a forum
Asterisk Mailing Lists
----------------
Asterisk-Users
Asterisk-Dev
Asterisk-CVS
Asterisk-Biz
Asterisk-Doc
Asterisk-BSD
Asterisk-Announce
Asterisk Call Centers
Asterisk-Video
Asterisk-Speech-Rec
Bristuff-Users
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Powered by
phpBB
© 2001, 2005 phpBB Group