[svn-commits] mattf: trunk r167 - in /trunk: isup.c isup.h libss7.h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue May 13 15:00:06 CDT 2008
Author: mattf
Date: Tue May 13 15:00:06 2008
New Revision: 167
URL: http://svn.digium.com/view/libss7?view=rev&rev=167
Log:
Add support for receiving of calling party's category
Modified:
trunk/isup.c
trunk/isup.h
trunk/libss7.h
Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=167&r1=166&r2=167
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Tue May 13 15:00:06 2008
@@ -426,6 +426,7 @@
static FUNC_RECV(calling_party_cat_receive)
{
+ c->calling_party_cat = parm[0];
return 1;
}
@@ -463,6 +464,15 @@
break;
case 11:
cattype = "Calling subscriber with priority";
+ break;
+ case 12:
+ cattype = "Data Call (voice band data)";
+ break;
+ case 13:
+ cattype = "Test Call";
+ break;
+ case 15:
+ cattype = "Payphone";
break;
default:
cattype = "Unknown";
@@ -1939,7 +1949,7 @@
static struct parm_func parms[] = {
{ISUP_PARM_NATURE_OF_CONNECTION_IND, "Nature of Connection Indicator", nature_of_connection_ind_dump, nature_of_connection_ind_receive, nature_of_connection_ind_transmit },
{ISUP_PARM_FORWARD_CALL_IND, "Forward Call Indicators", forward_call_ind_dump, forward_call_ind_receive, forward_call_ind_transmit },
- {ISUP_PARM_CALLING_PARTY_CAT, "Calling Party Category", calling_party_cat_dump, calling_party_cat_receive, calling_party_cat_transmit},
+ {ISUP_PARM_CALLING_PARTY_CAT, "Calling Party's Category", calling_party_cat_dump, calling_party_cat_receive, calling_party_cat_transmit},
{ISUP_PARM_TRANSMISSION_MEDIUM_REQS, "Transmission Medium Requirements", transmission_medium_reqs_dump, transmission_medium_reqs_receive, transmission_medium_reqs_transmit},
{ISUP_PARM_USER_SERVICE_INFO, "User Service Information", NULL, user_service_info_receive, user_service_info_transmit},
{ISUP_PARM_CALLED_PARTY_NUM, "Called Party Number", called_party_num_dump, called_party_num_receive, called_party_num_transmit},
Modified: trunk/isup.h
URL: http://svn.digium.com/view/libss7/trunk/isup.h?view=diff&rev=167&r1=166&r2=167
==============================================================================
--- trunk/isup.h (original)
+++ trunk/isup.h Tue May 13 15:00:06 2008
@@ -140,6 +140,7 @@
char called_party_num[ISUP_MAX_NUM];
unsigned char called_nai;
char calling_party_num[ISUP_MAX_NUM];
+ unsigned char calling_party_cat;
unsigned char calling_nai;
unsigned char presentation_ind;
unsigned char screening_ind;
Modified: trunk/libss7.h
URL: http://svn.digium.com/view/libss7/trunk/libss7.h?view=diff&rev=167&r1=166&r2=167
==============================================================================
--- trunk/libss7.h (original)
+++ trunk/libss7.h Tue May 13 15:00:06 2008
@@ -111,6 +111,7 @@
char called_party_num[50];
unsigned char called_nai;
char calling_party_num[50];
+ unsigned char calling_party_cat;
unsigned char calling_nai;
unsigned char presentation_ind;
unsigned char screening_ind;
More information about the svn-commits
mailing list