Review Board 1.7.16


Add ISDN Calling and Called Subaddress support functions to LIBPRI

Review Request #406 - Created Oct. 14, 2009 and submitted

Alec Davis
15604
Reviewers
asterisk-dev
mattf, rmudgett
LibPRI
Further Libpri support for subaddress, previously LIBPRI only supported receiving Calling Subaddress.

The first intentions of this are to add Transmit and Receive capabilites for Calling Subaddress and Called Subaddress.

Calling, Called, Connected and Redirecting Subaddress, now correctly supports User Specific type and the default NSAP.

Redirection and Redirecting Subaddress have been identified, but will come later.

 

Changes between revision 6 and 7

1 2 3 4 5 6 7
1 2 3 4 5 6 7

  1. /team/rmudgett/subaddr/pri_internal.h: Loading...
  2. /team/rmudgett/subaddr/q931.c: Loading...
/team/rmudgett/subaddr/pri_internal.h
Diff Revision 6 Diff Revision 7
[20] 201 lines
[+20] [+] struct q931_party_subaddress {
202
	/*!
202
	/*!
203
	 * \brief Subaddress data with null terminator.
203
	 * \brief Subaddress data with null terminator.
204
	 * \note The null terminator is a convenience only since the data could be
204
	 * \note The null terminator is a convenience only since the data could be
205
	 * BCD/binary and thus have a null byte as part of the contents.
205
	 * BCD/binary and thus have a null byte as part of the contents.
206
	 */
206
	 */
207
	char data[PRI_MAX_SUBADDRESS_LEN];
207
	unsigned char data[PRI_MAX_SUBADDRESS_LEN];
208
};
208
};
209

    
   
209

   
210
struct q931_party_address {
210
struct q931_party_address {
211
	/*! \brief Subscriber phone number */
211
	/*! \brief Subscriber phone number */
212
	struct q931_party_number number;
212
	struct q931_party_number number;
[+20] [20] 300 lines
/team/rmudgett/subaddr/q931.c
Diff Revision 6 Diff Revision 7
 
  1. /team/rmudgett/subaddr/pri_internal.h: Loading...
  2. /team/rmudgett/subaddr/q931.c: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.