#include "asterisk/channel.h"
Include dependency graph for dundi.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Definition in file dundi.h.
|
Definition at line 192 of file dundi.h. Referenced by build_peer(), iax2_poke_peer(), reload_config(), set_config(), and sip_poke_peer(). |
|
Badly encrypted data |
|
Duplicate request |
|
Requested entity is dynamic |
|
General unspecified failure Definition at line 97 of file dundi.h. Referenced by dundi_answer_entity(), and handle_command_response(). |
|
Need new session key to decode |
|
No or improper authorization Definition at line 99 of file dundi.h. Referenced by handle_command_response(). |
|
Success |
|
Expired TTL |
|
Ack a message Definition at line 128 of file dundi.h. Referenced by dundi_ack(), dundi_send(), and handle_frame(). |
|
Cancel transaction entirely Definition at line 140 of file dundi.h. Referenced by cancel_request(). |
|
Request discovery Definition at line 129 of file dundi.h. Referenced by dundi_discover(), dundi_send(), find_transaction(), and handle_command_response(). |
|
Respond to a discovery request Definition at line 130 of file dundi.h. Referenced by dundi_send(), and handle_command_response(). |
|
Request information for a peer Definition at line 131 of file dundi.h. Referenced by dundi_query(), dundi_send(), find_transaction(), and handle_command_response(). |
|
Response to a peer query Definition at line 132 of file dundi.h. Referenced by dundi_answer_entity(), dundi_query_thread(), dundi_send(), and handle_command_response(). |
|
Reject an encrypted message |
|
Send an encrypted message Definition at line 141 of file dundi.h. Referenced by dundi_encrypt(), and find_transaction(). |
|
Or'd with other flags Definition at line 126 of file dundi.h. Referenced by dundi_send(). |
|
Invalid dialog state (does not require ack) Definition at line 135 of file dundi.h. Referenced by dundi_reject(). |
|
No-op Definition at line 137 of file dundi.h. Referenced by find_transaction(), and qualify_peer(). |
|
Pre-cache Response Definition at line 134 of file dundi.h. Referenced by dundi_precache_thread(), dundi_send(), and handle_command_response(). |
|
Pre-cache Request Definition at line 133 of file dundi.h. Referenced by dundi_send(), find_transaction(), and handle_command_response(). |
|
Register Request Definition at line 138 of file dundi.h. Referenced by do_register(), dundi_send(), find_transaction(), and handle_command_response(). |
|
Register Response Definition at line 139 of file dundi.h. Referenced by dundi_send(), and handle_command_response(). |
|
Status command |
|
Unknown command |
|
In seconds, cache of empty answer |
|
In seconds Definition at line 187 of file dundi.h. Referenced by set_config(). |
|
Life of shared key In seconds |
|
Definition at line 183 of file dundi.h. Referenced by dundi_send(). |
|
Definition at line 184 of file dundi.h. Referenced by apply_peer(), and create_transaction(). |
|
In seconds/hops like TTL Definition at line 185 of file dundi.h. Referenced by set_config(). |
|
Definition at line 186 of file dundi.h. Referenced by do_register(), dundi_discover(), and dundi_query(). |
|
Might be a match Definition at line 65 of file dundi.h. Referenced by dundi_canmatch(), dundi_flags2str(), and dundi_lookup_local(). |
|
Destination known to be commercial Definition at line 68 of file dundi.h. Referenced by build_mapping(), and dundi_flags2str(). |
|
Is a valid number Definition at line 63 of file dundi.h. Referenced by dundi_exec(), dundi_exists(), dundi_flags2str(), dundi_lookup_exec(), dundi_lookup_local(), and dundifunc_read(). |
|
Keep dialtone Definition at line 66 of file dundi.h. Referenced by dundi_flags2str(), and dundi_lookup_local(). |
|
Might be valid if you add more digits Definition at line 64 of file dundi.h. Referenced by dundi_flags2str(), dundi_lookup_local(), and dundi_matchmore(). |
|
Destination known to be cellular/mobile Definition at line 69 of file dundi.h. Referenced by build_mapping(), and dundi_flags2str(). |
|
No commercial unsolicited calls through this route Definition at line 71 of file dundi.h. Referenced by build_mapping(), and dundi_flags2str(). |
|
Isn't and can't be a valid number |
|
No unsolicited calls of any kind through this route Definition at line 70 of file dundi.h. Referenced by build_mapping(), and dundi_flags2str(). |
|
Applies to strans Definition at line 55 of file dundi.h. Referenced by dundi_showframe(). |
|
Destination known to be residential Definition at line 67 of file dundi.h. Referenced by build_mapping(), and dundi_flags2str(). |
|
Applies to dtrans Definition at line 54 of file dundi.h. Referenced by dundi_showframe(). |
|
Amount of time for answer Definition at line 180 of file dundi.h. Referenced by dundi_lookup_internal(), dundi_precache_internal(), and dundi_query_eid_internal(). |
|
Don't ask for anything beginning with data Definition at line 75 of file dundi.h. Referenced by cache_lookup_internal(), cache_save_hint(), dundi_hint2str(), dundi_lookup(), dundi_lookup_local(), dundi_lookup_thread(), dundi_precache_thread(), dundi_prop_precache(), and handle_command_response(). |
|
|
|
TTL Expired Definition at line 74 of file dundi.h. Referenced by dundi_hint2str(), dundi_lookup_internal(), and dundi_query_eid_internal(). |
|
Answer not affected by entity list Definition at line 76 of file dundi.h. Referenced by build_transactions(), cache_save_hint(), dundi_hint2str(), dundi_lookup(), dundi_lookup_thread(), and dundi_prop_precache(). |
|
An answer (struct dundi_answer) Definition at line 155 of file dundi.h. Referenced by dundi_parse_ies(). |
|
Bypass cache (empty) Definition at line 176 of file dundi.h. Referenced by dundi_discover(), and dundi_parse_ies(). |
|
DUNDi Context (string) Definition at line 152 of file dundi.h. Referenced by dundi_discover(), dundi_parse_ies(), and dundi_query(). |
|
Number of equivalent (string) Definition at line 153 of file dundi.h. Referenced by dundi_discover(), and dundi_parse_ies(). |
|
Success or cause of failure Definition at line 160 of file dundi.h. Referenced by dundi_answer_entity(), dundi_parse_ies(), and handle_command_response(). |
|
Country, for EIDQUERY (string) Definition at line 172 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
Department, for EIDQUERY (string) Definition at line 168 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
Entity identifier (dundi_eid) Definition at line 151 of file dundi.h. Referenced by do_register(), dundi_encrypt(), dundi_ie_append_eid_appropriately(), dundi_parse_ies(), and dundi_query(). |
|
Entity identifier (dundi_eid), direct connect Definition at line 154 of file dundi.h. Referenced by dundi_discover(), dundi_ie_append_eid_appropriately(), and dundi_parse_ies(). |
|
E-mail addy, for EIDQUERY (string) Definition at line 173 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
AES-128 encrypted data Definition at line 162 of file dundi.h. Referenced by dump_ies(), dundi_encrypt(), and dundi_parse_ies(). |
|
Recommended expiration (short) Definition at line 158 of file dundi.h. Referenced by do_register(), dundi_parse_ies(), and handle_command_response(). |
|
Answer hints (struct ast_hint) Definition at line 166 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
IP Address, for EIDQUERY (string) Definition at line 175 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
CRC32 of encrypted key (int) Definition at line 165 of file dundi.h. Referenced by dundi_encrypt(), and dundi_parse_ies(). |
|
City/Locality, for EIDQUERY (string) Definition at line 170 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
Organization, for EIDQUERY (string) Definition at line 169 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
Peer/peer status (struct dundi_peer_status) |
|
Contact Phone, for EIDQUERY (string) Definition at line 174 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
EID being requested for EIDQUERY Definition at line 161 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query(). |
|
RSA encrypted AES-128 key Definition at line 163 of file dundi.h. Referenced by dundi_encrypt(), and dundi_parse_ies(). |
|
RSA Signature of encrypted shared key Definition at line 164 of file dundi.h. Referenced by dundi_encrypt(), and dundi_parse_ies(). |
|
State/Province, for EIDQUERY (string) Definition at line 171 of file dundi.h. Referenced by dundi_parse_ies(), and dundi_query_thread(). |
|
Max TTL for this request / Remaining TTL for the response (short) Definition at line 156 of file dundi.h. Referenced by dundi_discover(), dundi_parse_ies(), and dundi_query(). |
|
Unknown command (byte) Definition at line 159 of file dundi.h. Referenced by dundi_parse_ies(). |
|
DUNDi version (should be 1) (short) Definition at line 157 of file dundi.h. Referenced by do_register(), dundi_discover(), dundi_parse_ies(), and dundi_query(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 29 of file dundi.h. Referenced by build_peer(), and load_module(). |
|
ITU H.323 Definition at line 60 of file dundi.h. Referenced by proto2str(), str2tech(), and tech2str(). |
|
IAX version 2 Definition at line 58 of file dundi.h. Referenced by proto2str(), str2tech(), and tech2str(). |
|
No answer yet Definition at line 57 of file dundi.h. Referenced by proto2str(), and tech2str(). |
|
Session Initiation Protocol Definition at line 59 of file dundi.h. Referenced by proto2str(), str2tech(), and tech2str(). |
|
Incremental average time Definition at line 181 of file dundi.h. Referenced by dundi_lookup_internal(), dundi_precache_internal(), and dundi_query_eid_internal(). |
|
Max 1 message in window |
|
|
|
Lookup the given number in the given dundi context (or e164 if unspecified) using the given callerid (if specified) and return up to maxret results in the array specified. returns the number of results found or -1 on a hangup of teh channel.
Definition at line 3635 of file pbx_dundi.c. References DUNDI_HINT_DONT_ASK, DUNDI_HINT_UNAFFECTED, dundi_lookup_internal(), and result. Referenced by dundi_do_lookup(), dundi_exec(), dundi_helper(), dundi_lookup_exec(), and dundifunc_read(). 03636 { 03637 struct dundi_hint_metadata hmd; 03638 dundi_eid *avoid[1] = { NULL, }; 03639 int direct[1] = { 0, }; 03640 int expiration = dundi_cache_time; 03641 memset(&hmd, 0, sizeof(hmd)); 03642 hmd.flags = DUNDI_HINT_DONT_ASK | DUNDI_HINT_UNAFFECTED; 03643 return dundi_lookup_internal(result, maxret, chan, dcontext, number, dundi_ttl, 0, &hmd, &expiration, cbypass, 0, NULL, avoid, direct); 03644 }
|
|
Pre-cache to push upstream peers.
Definition at line 3793 of file pbx_dundi.c. References dundi_precache_internal(). Referenced by dundi_do_precache(), and process_precache(). 03794 { 03795 dundi_eid *avoid[1] = { NULL, }; 03796 return dundi_precache_internal(context, number, dundi_ttl, avoid); 03797 }
|
|
Retrieve information on a specific EID.
Definition at line 3846 of file pbx_dundi.c. References dundi_query_eid_internal(). Referenced by dundi_do_query(). 03847 { 03848 dundi_eid *avoid[1] = { NULL, }; 03849 struct dundi_hint_metadata hmd; 03850 memset(&hmd, 0, sizeof(hmd)); 03851 return dundi_query_eid_internal(dei, dcontext, &eid, &hmd, dundi_ttl, 0, avoid); 03852 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A DUNDi Entity ID is essentially a MAC address, brief and unique.
|