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/channels chan_zap.c,1.94,1.95
AsteriskGuru Archives Forum Index
->
Asterisk-CVS
View previous topic
::
View next topic
Author
Message
markster at lists.digium.
Guest
Posted: Thu Sep 04, 2003 6:54 pm
Post subject: [Asterisk-cvs] asterisk/channels chan_zap.c,1.94,1.95
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv15749/channels
Modified Files:
chan_zap.c
Log Message:
Add Zap dnid support
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -C2 -d -r1.94 -r1.95
*** chan_zap.c 26 Aug 2003 02:38:24 -0000 1.94
--- chan_zap.c 4 Sep 2003 18:55:35 -0000 1.95
***************
*** 366,369 ****
--- 366,370 ----
char callwaitcid[AST_MAX_EXTENSION];
char rdnis[AST_MAX_EXTENSION];
+ char dnid[AST_MAX_EXTENSION];
unsigned int group;
int law;
***************
*** 3732,3735 ****
--- 3733,3738 ----
if (strlen(i->rdnis))
tmp->rdnis = strdup(i->rdnis);
+ if (strlen(i->dnid))
+ tmp->dnid = strdup(i->dnid);
if (strlen(i->callerid)) {
tmp->callerid = strdup(i->callerid);
***************
*** 5798,5801 ****
--- 5801,5805 ----
else
strncat(pri->pvt[chan]->exten, e->ring.callednum, sizeof(pri->pvt[chan]->exten)-1);
+ strncpy(pri->pvt[chan]->dnid, e->ring.callednum, sizeof(pri->pvt[chan]->dnid));
}
#if 0
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