Structure for SIP peer data, we place calls to peers if registered or fixed IP address (host). More...

Public Member Functions | |
| AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(secret);AST_STRING_FIELD(md5secret);AST_STRING_FIELD(remotesecret);AST_STRING_FIELD(context);AST_STRING_FIELD(subscribecontext);AST_STRING_FIELD(username);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(tohost);AST_STRING_FIELD(regexten);AST_STRING_FIELD(fromuser);AST_STRING_FIELD(fromdomain);AST_STRING_FIELD(fullcontact);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(vmexten);AST_STRING_FIELD(language);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);AST_STRING_FIELD(parkinglot);AST_STRING_FIELD(useragent);) | |
Data Fields | |
| enum transfermodes | allowtransfer |
| int | amaflags |
| struct sip_auth * | auth |
| int | busy_level |
| int | call_limit |
| int | callingpres |
| enum sip_transport | default_outbound_transport |
| struct ast_flags | flags [2] |
| int | inRinging |
| int | inUse |
| int | lastmsgssent |
| char | name [80] |
| int | onHold |
| struct ast_codec_pref | prefs |
| unsigned int | sipoptions |
| struct sip_socket | socket |
| int | t38_maxdatagram |
| unsigned int | transports:3 |
Structure for SIP peer data, we place calls to peers if registered or fixed IP address (host).
Definition at line 1827 of file chan_sip.c.
| AST_DECLARE_STRING_FIELDS | ( | AST_STRING_FIELD(secret);AST_STRING_FIELD(md5secret);AST_STRING_FIELD(remotesecret);AST_STRING_FIELD(context);AST_STRING_FIELD(subscribecontext);AST_STRING_FIELD(username);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(tohost);AST_STRING_FIELD(regexten);AST_STRING_FIELD(fromuser);AST_STRING_FIELD(fromdomain);AST_STRING_FIELD(fullcontact);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(vmexten);AST_STRING_FIELD(language);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);AST_STRING_FIELD(parkinglot);AST_STRING_FIELD(useragent); | ) |
Definition at line 1864 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), set_peer_defaults(), and sip_show_user().
| int amaflags |
AMA Flags (for billing)
Definition at line 1856 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), and sip_show_user().
Realm authentication list
Definition at line 1855 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), create_addr_from_peer(), and sip_destroy_peer().
| int busy_level |
Level of active channels where we signal busy
Definition at line 1863 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), function_sippeer(), and sip_devicestate().
| int call_limit |
Limit of concurrent calls
Definition at line 1861 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(), sip_show_user(), and update_call_counter().
| int callingpres |
Calling id presentation
Definition at line 1857 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), and sip_show_user().
Peer Registration may change the default outbound transport. If register expires, default should be reset. to this value
Definition at line 1852 of file chan_sip.c.
Referenced by build_peer(), expire_register(), parse_register_contact(), and set_peer_defaults().
SIP_ flags
Definition at line 1868 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(), realtime_peer(), register_verify(), set_peer_defaults(), sip_poke_peer(), sip_prune_realtime(), sip_send_mwi_to_peer(), sip_show_users(), and update_peer().
| int inRinging |
Number of calls ringing
Definition at line 1859 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 1858 of file chan_sip.c.
Referenced by function_sippeer(), sip_devicestate(), sip_show_inuse(), and update_call_counter().
| int lastmsgssent |
Definition at line 1866 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), and register_verify().
| char name[80] |
the unique name of this object
Definition at line 1828 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(), complete_sip_user(), create_addr_from_peer(), destroy_association(), expire_register(), find_by_name(), find_peer(), handle_request_subscribe(), handle_response_peerpoke(), obproxy_get(), parse_register_contact(), peer_cmp_cb(), peer_dump_func(), peer_hash_cb(), realtime_peer(), reg_source_db(), register_peer_exten(), register_verify(), sip_destroy_peer(), sip_peer_hold(), sip_poke_noanswer(), sip_prune_realtime(), sip_show_inuse(), sip_show_user(), sip_show_users(), temp_peer(), update_call_counter(), and update_peer().
| int onHold |
Peer has someone on hold
Definition at line 1860 of file chan_sip.c.
Referenced by sip_devicestate(), sip_peer_hold(), and sip_show_inuse().
struct ast_codec_pref prefs [read] |
SIP Refer restriction scheme codec prefs
Definition at line 1865 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), function_sippeer(), register_verify(), set_peer_defaults(), sip_show_user(), and temp_peer().
| unsigned int sipoptions |
Supported SIP options
Definition at line 1867 of file chan_sip.c.
Referenced by _sip_show_peer(), check_peer_ok(), and parse_register_contact().
struct sip_socket socket [read] |
Socket used for this peer
Definition at line 1851 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().
| int t38_maxdatagram |
T.38 FaxMaxDatagram override
Definition at line 1862 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), check_peer_ok(), create_addr_from_peer(), and set_peer_defaults().
| unsigned int transports |
Transports (enum sip_transport) that are acceptable for this peer
Definition at line 1854 of file chan_sip.c.
Referenced by _sip_show_peer(), build_peer(), find_peer(), parse_register_contact(), peer_ipcmp_cb(), and set_peer_defaults().
1.6.1