Wed Apr 6 11:30:12 2011

Asterisk developer's documentation


ast_party_dialed Struct Reference

Dialed/Called Party information. More...

#include <channel.h>


Data Fields

struct {
   int   plan
 Q.931 Type-Of-Number and Numbering-Plan encoded fields.
   char *   str
 Subscriber phone number (Malloced).
number
 Dialed/Called number.
ast_party_subaddress subaddress
 Dialed/Called subaddress.
int transit_network_select
 Transit Network Select.


Detailed Description

Dialed/Called Party information.

Since:
1.8
Note:
Dialed Number Identifier (DNID)

All string fields here are malloc'ed, so they need to be freed when the structure is deleted.

NULL and "" must be considered equivalent.

Definition at line 328 of file channel.h.


Field Documentation

struct { ... } number

Dialed/Called number.

Note:
Done this way in case we ever really need to use ast_party_number. We currently do not need all of the ast_party_number fields.

Referenced by __oh323_new(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_iax2_new(), ast_party_dialed_copy(), ast_party_dialed_free(), ast_party_dialed_init(), ast_party_dialed_set(), ast_party_dialed_set_init(), ast_var_channels_table(), callerid_read(), callerid_write(), check_bridge(), dahdi_new(), dial_exec_full(), gtalk_new(), handle_showchan(), iax2_call(), jingle_new(), mgcp_ss(), oss_call(), oss_new(), pri_ss_thread(), ring_entry(), serialize_showchan(), set_one_cid(), setup_env(), sip_new(), and usbradio_new().

int plan

Q.931 Type-Of-Number and Numbering-Plan encoded fields.

Definition at line 338 of file channel.h.

Referenced by ast_party_dialed_copy(), ast_party_dialed_init(), ast_party_dialed_set(), ast_party_dialed_set_init(), callerid_read(), and callerid_write().

char* str

Subscriber phone number (Malloced).

Definition at line 336 of file channel.h.

Referenced by __oh323_new(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_iax2_new(), ast_party_dialed_copy(), ast_party_dialed_free(), ast_party_dialed_init(), ast_party_dialed_set(), ast_party_dialed_set_init(), ast_var_channels_table(), callerid_read(), callerid_write(), check_bridge(), dahdi_new(), dial_exec_full(), gtalk_new(), handle_showchan(), iax2_call(), jingle_new(), mgcp_ss(), oss_call(), oss_new(), pri_ss_thread(), ring_entry(), serialize_showchan(), set_one_cid(), setup_env(), sip_new(), and usbradio_new().

struct ast_party_subaddress subaddress

Dialed/Called subaddress.

Definition at line 341 of file channel.h.

Referenced by ast_party_dialed_copy(), ast_party_dialed_free(), ast_party_dialed_init(), ast_party_dialed_set(), ast_party_dialed_set_init(), callerid_read(), callerid_write(), check_bridge(), and set_one_cid().

int transit_network_select

Transit Network Select.

Note:
Currently this value is just passed around the system. You can read it and set it but it is never used for anything.

Definition at line 347 of file channel.h.

Referenced by ast_iax2_new(), ast_party_dialed_copy(), ast_party_dialed_init(), ast_party_dialed_set(), ast_party_dialed_set_init(), ast_str_retrieve_variable(), ast_var_channels_table(), begin_dial_channel(), dial_exec_full(), do_forward(), iax2_call(), ring_entry(), and setup_env().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:12 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7