Definition at line 1511 of file chan_sip.c.
char accountcode[AST_MAX_ACCOUNT_CODE] |
Account code
Definition at line 1522 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), and function_sippeer().
struct sockaddr_in addr |
IP address of peer
Definition at line 1569 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), create_addr_from_peer(), expire_register(), find_peer(), function_sippeer(), parse_register_contact(), peer_ipcmp_cb(), peer_iphash_cb(), reg_source_db(), register_verify(), set_peer_defaults(), sip_devicestate(), sip_do_debug_peer(), sip_poke_peer(), sip_prune_realtime(), sip_send_mwi_to_peer(), and update_peer().
Definition at line 1538 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), and set_peer_defaults().
int amaflags |
AMA Flags (for billing)
Definition at line 1523 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), and check_peer_ok().
Realm authentication list
Definition at line 1518 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), sip_destroy_peer(), and transmit_register().
int autoframing |
Definition at line 1585 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), register_verify(), and set_peer_defaults().
int busy_level |
Level of active channels where we signal busy
Definition at line 1537 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), function_sippeer(), and sip_devicestate().
Call pointer
Definition at line 1574 of file chan_sip.c.
Referenced by __sip_destroy(), dialog_unlink_all(), handle_response_peerpoke(), sip_destroy_peer(), sip_poke_noanswer(), and sip_poke_peer().
int call_limit |
Limit of concurrent calls
Definition at line 1535 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), set_peer_defaults(), sip_devicestate(), sip_show_inuse(), and update_call_counter().
Call group
Definition at line 1565 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), and set_peer_defaults().
int callingpres |
Calling id presentation
Definition at line 1531 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), and check_peer_ok().
int capability |
Codec capability
Definition at line 1561 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), and set_peer_defaults().
struct ast_variable* chanvars |
Variables to set for channel created by user
Definition at line 1583 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), function_sippeer(), and sip_destroy_peer().
char cid_name[80] |
Caller ID name
Definition at line 1530 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), function_sippeer(), and set_peer_defaults().
char cid_num[80] |
Caller ID num
Definition at line 1529 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), function_sippeer(), and set_peer_defaults().
Restrict what IPs are allowed in the Contact header (for registration)
Definition at line 1582 of file chan_sip.c.
Referenced by build_peer(), and parse_register_contact().
char context[AST_MAX_CONTEXT] |
Default context for incoming calls
Definition at line 1519 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), and set_peer_defaults().
struct sockaddr_in defaddr |
Default IP address, used until registration
Definition at line 1580 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), set_peer_defaults(), sip_devicestate(), and sip_send_mwi_to_peer().
Peer Registration may change the default outbound transport.
Definition at line 1514 of file chan_sip.c.
Referenced by build_peer(), expire_register(), and parse_register_contact().
If it's a realtime peer, are they using the deprecated "username" instead of "defaultuser"
Definition at line 1589 of file chan_sip.c.
Referenced by build_peer(), destroy_association(), and update_peer().
struct ast_dnsmgr_entry* dnsmgr |
DNS refresh manager for peer
Definition at line 1568 of file chan_sip.c.
Referenced by build_peer(), and sip_destroy_peer().
int expire |
When to expire this peer registration
Definition at line 1560 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), complete_sip_registered_peer(), expire_register(), function_sippeer(), parse_register_contact(), reg_source_db(), set_peer_defaults(), and sip_unregister().
struct sip_mailbox* first |
Definition at line 1551 of file chan_sip.c.
SIP_ flags
Definition at line 1548 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), check_peer_ok(), complete_sip_peer(), complete_sip_registered_peer(), create_addr_from_peer(), expire_register(), find_peer(), handle_request_subscribe(), parse_register_contact(), peer_ipcmp_cb(), register_verify(), set_peer_defaults(), sip_poke_peer(), sip_prune_realtime(), sip_send_mwi_to_peer(), and update_peer().
char fromdomain[MAXHOSTNAMELEN] |
From: domain when calling this peer
Definition at line 1527 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), set_peer_defaults(), and transmit_register().
char fromuser[80] |
From: user when calling this peer
Definition at line 1526 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), set_peer_defaults(), and transmit_register().
char fullcontact[256] |
Contact registered with us (not in sip.conf)
Definition at line 1528 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), parse_register_contact(), reg_source_db(), register_verify(), sip_poke_peer(), and update_peer().
Access control list
Definition at line 1581 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), check_peer_ok(), register_verify(), and sip_destroy_peer().
char host_dynamic |
P: Dynamic Peers register with Asterisk
Definition at line 1556 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), function_sippeer(), and register_verify().
int inRinging |
Number of calls ringing
Definition at line 1533 of file chan_sip.c.
Referenced by sip_devicestate(), sip_show_inuse(), and update_call_counter().
int inUse |
Number of calls in use
Definition at line 1532 of file chan_sip.c.
Referenced by function_sippeer(), sip_devicestate(), sip_show_inuse(), and update_call_counter().
char is_realtime |
this is a 'realtime' peer
Definition at line 1554 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), expire_register(), parse_register_contact(), sip_destroy_peer(), and update_peer().
char language[MAX_LANGUAGE] |
Default language for prompts
Definition at line 1540 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), and set_peer_defaults().
struct sip_mailbox* last |
Definition at line 1551 of file chan_sip.c.
int lastms |
How long last response took (in ms), or -1 for no response
Definition at line 1576 of file chan_sip.c.
Referenced by build_peer(), check_peer_ok(), create_addr_from_peer(), handle_response_peerpoke(), parse_register_contact(), peer_status(), sip_devicestate(), sip_poke_noanswer(), sip_poke_peer(), and update_peer().
int lastmsgssent |
Definition at line 1546 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), and register_verify().
struct { ... } mailboxes |
Mailboxes that this peer cares about
Referenced by add_peer_mailboxes(), add_peer_mwi_subs(), build_peer(), clear_peer_mailboxes(), get_cached_mwi(), handle_request_subscribe(), and peer_mailboxes_to_str().
int maxcallbitrate |
Maximum Bitrate for a video call
Definition at line 1570 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
int maxms |
Max ms we will accept for the host to be up, 0 to not monitor
Definition at line 1577 of file chan_sip.c.
Referenced by build_peer(), check_peer_ok(), create_addr_from_peer(), handle_response_peerpoke(), peer_status(), set_peer_defaults(), sip_devicestate(), and sip_poke_peer().
char md5secret[80] |
Password in MD5
Definition at line 1517 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), register_verify(), and set_peer_defaults().
char mohinterpret[MAX_MUSICCLASS] |
Music on Hold class
Definition at line 1541 of file chan_sip.c.
Referenced by build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
char mohsuggest[MAX_MUSICCLASS] |
Music on Hold class
Definition at line 1542 of file chan_sip.c.
Referenced by build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
Subscription for MWI
Definition at line 1584 of file chan_sip.c.
Referenced by __sip_destroy(), dialog_unlink_all(), handle_request_subscribe(), sip_destroy_peer(), and sip_send_mwi_to_peer().
char name[80] |
peer->name is the unique name of this object
Definition at line 1512 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), check_peer_ok(), complete_sip_peer(), complete_sip_registered_peer(), create_addr_from_peer(), destroy_association(), expire_register(), find_by_name(), find_peer(), handle_request_subscribe(), handle_response_peerpoke(), parse_register_contact(), peer_cmp_cb(), peer_dump_func(), peer_hash_cb(), reg_source_db(), register_peer_exten(), register_verify(), sip_destroy_peer(), sip_peer_hold(), sip_poke_noanswer(), sip_prune_realtime(), sip_show_inuse(), update_call_counter(), and update_peer().
int onHold |
Peer has someone on hold
Definition at line 1534 of file chan_sip.c.
Referenced by sip_devicestate(), sip_peer_hold(), and sip_show_inuse().
struct sip_proxy* outboundproxy |
Outbound proxy for this peer
Definition at line 1567 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), obproxy_get(), and sip_destroy_peer().
char parkinglot[AST_MAX_CONTEXT] |
Parkinglot
Definition at line 1543 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), and create_addr_from_peer().
Pickup group
Definition at line 1566 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), and set_peer_defaults().
int pokeexpire |
When to expire poke (qualify= checking)
Definition at line 1575 of file chan_sip.c.
Referenced by handle_response_peerpoke(), reg_source_db(), set_peer_defaults(), sip_poke_all_peers(), sip_poke_noanswer(), sip_poke_peer(), and sip_poke_peer_s().
unsigned int portinuri |
Whether the port should be included in the URI
Definition at line 1571 of file chan_sip.c.
Referenced by build_peer(), create_addr_from_peer(), expire_register(), and parse_register_contact().
struct ast_codec_pref prefs |
codec prefs
Definition at line 1545 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), register_verify(), and set_peer_defaults().
struct timeval ps |
Time for sending SIP OPTION in sip_pke_peer()
Definition at line 1579 of file chan_sip.c.
Referenced by handle_response_peerpoke(), and sip_poke_peer().
int qualifyfreq |
Qualification: How often to check for the host to be up
Definition at line 1578 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), handle_response_peerpoke(), and set_peer_defaults().
char regexten[AST_MAX_EXTENSION] |
Extension to register (if regcontext is used)
Definition at line 1525 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), function_sippeer(), register_peer_exten(), and set_peer_defaults().
char rt_fromcontact |
P: copy fromcontact from realtime
Definition at line 1555 of file chan_sip.c.
Referenced by build_peer(), destroy_association(), parse_register_contact(), and reg_source_db().
int rtpholdtimeout |
RTP Hold Timeout
Definition at line 1563 of file chan_sip.c.
Referenced by build_peer(), create_addr_from_peer(), and set_peer_defaults().
int rtpkeepalive |
Send RTP packets for keepalive
Definition at line 1564 of file chan_sip.c.
Referenced by build_peer(), create_addr_from_peer(), and set_peer_defaults().
int rtptimeout |
RTP timeout
Definition at line 1562 of file chan_sip.c.
Referenced by build_peer(), create_addr_from_peer(), and set_peer_defaults().
char secret[80] |
Password
Definition at line 1516 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), register_verify(), and set_peer_defaults().
char selfdestruct |
P: Automatic peers need to destruct themselves
Definition at line 1557 of file chan_sip.c.
Referenced by expire_register(), and sip_destroy_peer().
unsigned int sipoptions |
Supported SIP options
Definition at line 1547 of file chan_sip.c.
Referenced by _sip_show_peer(), check_peer_ok(), and parse_register_contact().
struct sip_socket socket |
Socket used for this peer
Definition at line 1513 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), expire_register(), parse_register_contact(), set_peer_defaults(), sip_destroy_peer(), and sip_poke_peer().
struct sip_st_cfg stimer |
SIP Session-Timers
Definition at line 1586 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), and set_peer_defaults().
char subscribecontext[AST_MAX_CONTEXT] |
Default context for subscriptions
Definition at line 1520 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), and set_peer_defaults().
int t38_maxdatagram |
T.38 FaxMaxDatagram override
Definition at line 1536 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
char the_mark |
moved out of ASTOBJ into struct proper; That which bears the_mark should be deleted!
Definition at line 1558 of file chan_sip.c.
Referenced by build_peer(), peer_is_marked(), peer_markall_func(), and sip_prune_realtime().
int timer_b |
The maximum timer B (transaction timeouts)
Definition at line 1588 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
int timer_t1 |
The maximum T1 value for the peer
Definition at line 1587 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
char tohost[MAXHOSTNAMELEN] |
If not dynamic, IP address
Definition at line 1524 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr(), create_addr_from_peer(), sip_poke_peer(), and transmit_register().
unsigned int transports |
Transports (enum sip_transport) that are acceptable for this peer
Definition at line 1515 of file chan_sip.c.
Referenced by build_peer(), find_peer(), get_transport_list(), parse_register_contact(), and peer_ipcmp_cb().
enum sip_peer_type type |
Distinguish between "user" and "peer" types. This is used solely for CLI and manager commands
Definition at line 1590 of file chan_sip.c.
Referenced by _sip_show_peers(), build_peer(), find_by_name(), and set_peer_defaults().
char useragent[256] |
User agent in SIP request (saved from registration)
Definition at line 1544 of file chan_sip.c.
Referenced by _sip_show_peer(), function_sippeer(), parse_register_contact(), and update_peer().
char username[80] |
Temporary username until registration
Definition at line 1521 of file chan_sip.c.
Referenced by _sip_show_peer(), _sip_show_peers(), build_peer(), check_peer_ok(), create_addr_from_peer(), parse_register_contact(), reg_source_db(), transmit_register(), and update_peer().
char vmexten[AST_MAX_EXTENSION] |
SIP Refer restriction scheme Dialplan extension for MWI notify message
Definition at line 1539 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), set_peer_defaults(), and sip_send_mwi_to_peer().