Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:00 2009

## Asterisk developer's documentation

# iax2.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures

struct | ast_iax2_firmware_header
struct | ast_iax2_full_enc_hdr
struct | ast_iax2_full_hdr
struct | ast_iax2_meta_hdr
struct | ast_iax2_meta_trunk_entry
struct | ast_iax2_meta_trunk_hdr
struct | ast_iax2_meta_trunk_mini
struct | ast_iax2_mini_enc_hdr
struct | ast_iax2_mini_hdr
struct | ast_iax2_video_hdr

## Defines

#define | IAX_AUTH_MD5 (1 << 1)
#define | IAX_AUTH_PLAINTEXT (1 << 0)
#define | IAX_AUTH_RSA (1 << 2)
#define | IAX_COMMAND_ACCEPT 7
#define | IAX_COMMAND_ACK 4
#define | IAX_COMMAND_AUTHREP 9
#define | IAX_COMMAND_AUTHREQ 8
#define | IAX_COMMAND_CALLTOKEN 40
#define | IAX_COMMAND_DIAL 21
#define | IAX_COMMAND_DPREP 20
#define | IAX_COMMAND_DPREQ 19
#define | IAX_COMMAND_FWDATA 37
#define | IAX_COMMAND_FWDOWNL 36
#define | IAX_COMMAND_HANGUP 5
#define | IAX_COMMAND_INVAL 10
#define | IAX_COMMAND_LAGRP 12
#define | IAX_COMMAND_LAGRQ 11
#define | IAX_COMMAND_MWI 32
#define | IAX_COMMAND_NEW 1
#define | IAX_COMMAND_PAGE 31
#define | IAX_COMMAND_PING 2
#define | IAX_COMMAND_POKE 30
#define | IAX_COMMAND_PONG 3
#define | IAX_COMMAND_PROVISION 35
#define | IAX_COMMAND_QUELCH 28
#define | IAX_COMMAND_REGACK 15
#define | IAX_COMMAND_REGAUTH 14
#define | IAX_COMMAND_REGREJ 16
#define | IAX_COMMAND_REGREL 17
#define | IAX_COMMAND_REGREQ 13
#define | IAX_COMMAND_REJECT 6
#define | IAX_COMMAND_TRANSFER 34
#define | IAX_COMMAND_TXACC 24
#define | IAX_COMMAND_TXCNT 23
#define | IAX_COMMAND_TXREADY 25
#define | IAX_COMMAND_TXREJ 27
#define | IAX_COMMAND_TXREL 26
#define | IAX_COMMAND_TXREQ 22
#define | IAX_COMMAND_UNQUELCH 29
#define | IAX_COMMAND_UNSUPPORT 33
#define | IAX_COMMAND_VNAK 18
#define | IAX_DEFAULT_PORTNO 4569
#define | IAX_DEFAULT_REG_EXPIRE 60
#define | IAX_DPSTATUS_CANEXIST (1 << 1)
#define | IAX_DPSTATUS_EXISTS (1 << 0)
#define | IAX_DPSTATUS_IGNOREPAT (1 << 14)
#define | IAX_DPSTATUS_MATCHMORE (1 << 15)
#define | IAX_DPSTATUS_NONEXISTENT (1 << 2)
#define | IAX_ENCRYPT_AES128 (1 << 0)
#define | IAX_FIRMWARE_MAGIC 0x69617879
#define | IAX_FLAG_FULL 0x8000
#define | IAX_FLAG_RETRANS 0x8000
#define | IAX_FLAG_SC_LOG 0x80
#define | IAX_IE_ADSICPE 12
#define | IAX_IE_AESPROVISIONING 30
#define | IAX_IE_APPARENT_ADDR 18
#define | IAX_IE_AUTHMETHODS 14
#define | IAX_IE_AUTOANSWER 25
#define | IAX_IE_CALLED_CONTEXT 5
#define | IAX_IE_CALLED_NUMBER 1
#define | IAX_IE_CALLING_ANI 3
#define | IAX_IE_CALLING_NAME 4
#define | IAX_IE_CALLING_NUMBER 2
#define | IAX_IE_CALLINGPRES 38
#define | IAX_IE_CALLINGTNS 40
#define | IAX_IE_CALLINGTON 39
#define | IAX_IE_CALLNO 21
#define | IAX_IE_CALLTOKEN 54
#define | IAX_IE_CAPABILITY 8
#define | IAX_IE_CAUSE 22
#define | IAX_IE_CAUSECODE 42
#define | IAX_IE_CHALLENGE 15
#define | IAX_IE_CODEC_PREFS 45
#define | IAX_IE_DATETIME 31
#define | IAX_IE_DEVICETYPE 32
#define | IAX_IE_DNID 13
#define | IAX_IE_DPSTATUS 20
#define | IAX_IE_ENCKEY 44
#define | IAX_IE_ENCRYPTION 43
#define | IAX_IE_FIRMWAREVER 34
#define | IAX_IE_FORMAT 9
#define | IAX_IE_FWBLOCKDATA 36
#define | IAX_IE_FWBLOCKDESC 35
#define | IAX_IE_IAX_UNKNOWN 23
#define | IAX_IE_LANGUAGE 10
#define | IAX_IE_MD5_RESULT 16
#define | IAX_IE_MSGCOUNT 24
#define | IAX_IE_MUSICONHOLD 26
#define | IAX_IE_PASSWORD 7
#define | IAX_IE_PROVISIONING 29
#define | IAX_IE_PROVVER 37
#define | IAX_IE_RDNIS 28
#define | IAX_IE_REFRESH 19
#define | IAX_IE_RR_DELAY 49
#define | IAX_IE_RR_DROPPED 50
#define | IAX_IE_RR_JITTER 46
#define | IAX_IE_RR_LOSS 47
#define | IAX_IE_RR_OOO 51
#define | IAX_IE_RR_PKTS 48
#define | IAX_IE_RSA_RESULT 17
#define | IAX_IE_SAMPLINGRATE 41
#define | IAX_IE_SERVICEIDENT 33
#define | IAX_IE_TRANSFERID 27
#define | IAX_IE_USERNAME 6
#define | IAX_IE_VERSION 11
#define | IAX_LINGER_TIMEOUT 10
#define | IAX_MAX_CALLS 32768
#define | IAX_MAX_SHIFT 0x1F
#define | IAX_META_TRUNK 1
#define | IAX_META_TRUNK_MINI 1
#define | IAX_META_TRUNK_SUPERMINI 0
#define | IAX_META_VIDEO 2
#define | IAX_PROTO_VERSION 2
#define | IAX_RATE_11KHZ (1 << 1)
#define | IAX_RATE_16KHZ (1 << 2)
#define | IAX_RATE_22KHZ (1 << 3)
#define | IAX_RATE_44KHZ (1 << 4)
#define | IAX_RATE_48KHZ (1 << 5)
#define | IAX_RATE_8KHZ (1 << 0)
#define | IAX_WINDOW 64

## Variables

struct ast_iax2_full_hdr | __packed__

## Define Documentation

#define IAX_AUTH_MD5 (1 << 1)

Definition at line 135 of file iax2.h.

Referenced by authenticate(), authenticate_reply(), authenticate_request(), authenticate_verify(), build_peer(), build_user(), check_access(), get_auth_methods(), register_verify(), registry_authrequest(), and socket_read().

#define IAX_AUTH_PLAINTEXT (1 << 0)

Definition at line 134 of file iax2.h.

Referenced by authenticate(), authenticate_verify(), build_peer(), build_user(), check_access(), get_auth_methods(), register_verify(), and registry_authrequest().

#define IAX_AUTH_RSA (1 << 2)

Definition at line 136 of file iax2.h.

Referenced by authenticate(), authenticate_request(), authenticate_verify(), build_user(), get_auth_methods(), register_verify(), and registry_authrequest().

#define IAX_COMMAND_ACCEPT 7

Definition at line 39 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_ACK 4

Definition at line 36 of file iax2.h.

Referenced by iax2_send(), and socket_read().

#define IAX_COMMAND_AUTHREP 9

Definition at line 41 of file iax2.h.

Referenced by authenticate_reply(), and socket_read().

#define IAX_COMMAND_AUTHREQ 8

Definition at line 40 of file iax2.h.

Referenced by authenticate_request(), and socket_read().

#define IAX_COMMAND_CALLTOKEN 40

Definition at line 70 of file iax2.h.

Referenced by handle_call_token(), and socket_read().

#define IAX_COMMAND_DIAL 21

Definition at line 53 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_DPREP 20

Definition at line 52 of file iax2.h.

Referenced by dp_lookup(), and socket_read().

#define IAX_COMMAND_DPREQ 19

Definition at line 51 of file iax2.h.

Referenced by iax2_dprequest(), and socket_read().

#define IAX_COMMAND_FWDATA 37

Definition at line 69 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_FWDOWNL 36

Definition at line 68 of file iax2.h.

Referenced by iax2_allow_new(), and socket_read().

#define IAX_COMMAND_HANGUP 5

Definition at line 37 of file iax2.h.

Referenced by auto_hangup(), iax2_hangup(), and socket_read().

#define IAX_COMMAND_INVAL 10

Definition at line 42 of file iax2.h.

Referenced by raw_hangup(), and socket_read().

#define IAX_COMMAND_LAGRP 12

Definition at line 44 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_LAGRQ 11

Definition at line 43 of file iax2.h.

Referenced by send_lagrq(), and socket_read().

#define IAX_COMMAND_MWI 32

Definition at line 64 of file iax2.h.

#define IAX_COMMAND_NEW 1

Definition at line 33 of file iax2.h.

Referenced by cache_get_callno_locked(), calltoken_required(), iax2_allow_new(), iax2_call(), requirecalltoken_mark_auto(), and socket_read().

#define IAX_COMMAND_PAGE 31

Definition at line 63 of file iax2.h.

#define IAX_COMMAND_PING 2

Definition at line 34 of file iax2.h.

Referenced by send_ping(), and socket_read().

#define IAX_COMMAND_POKE 30

Definition at line 62 of file iax2.h.

Referenced by iax2_allow_new(), iax2_poke_peer(), and socket_read().

#define IAX_COMMAND_PONG 3

Definition at line 35 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_PROVISION 35

Definition at line 67 of file iax2.h.

Referenced by iax2_provision().

#define IAX_COMMAND_QUELCH 28

Definition at line 60 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_REGACK 15

Definition at line 47 of file iax2.h.

Referenced by socket_read(), and update_registry().

#define IAX_COMMAND_REGAUTH 14

Definition at line 46 of file iax2.h.

Referenced by registry_authrequest(), and socket_read().

#define IAX_COMMAND_REGREJ 16

Definition at line 48 of file iax2.h.

Referenced by auth_reject(), handle_call_token(), and socket_read().

#define IAX_COMMAND_REGREL 17

Definition at line 49 of file iax2.h.

Referenced by handle_call_token(), iax2_allow_new(), and socket_read().

#define IAX_COMMAND_REGREQ 13

Definition at line 45 of file iax2.h.

Referenced by handle_call_token(), iax2_allow_new(), iax2_do_register(), registry_rerequest(), and socket_read().

#define IAX_COMMAND_REJECT 6

Definition at line 38 of file iax2.h.

Referenced by auth_reject(), authenticate_request(), handle_call_token(), and socket_read().

#define IAX_COMMAND_TRANSFER 34

Definition at line 66 of file iax2.h.

Referenced by iax2_transfer(), and socket_read().

#define IAX_COMMAND_TXACC 24

Definition at line 56 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_TXCNT 23

Definition at line 55 of file iax2.h.

Referenced by socket_read(), and try_transfer().

#define IAX_COMMAND_TXREADY 25

Definition at line 57 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_TXREJ 27

Definition at line 59 of file iax2.h.

Referenced by attempt_transmit(), and socket_read().

#define IAX_COMMAND_TXREL 26

Definition at line 58 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_TXREQ 22

Definition at line 54 of file iax2.h.

Referenced by iax2_start_transfer(), and socket_read().

#define IAX_COMMAND_UNQUELCH 29

Definition at line 61 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_UNSUPPORT 33

Definition at line 65 of file iax2.h.

Referenced by socket_read().

#define IAX_COMMAND_VNAK 18

Definition at line 50 of file iax2.h.

Referenced by iax2_vnak(), and socket_read().

#define IAX_DEFAULT_PORTNO 4569

Definition at line 76 of file iax2.h.

Referenced by build_peer(), create_addr(), iax2_register(), iax_template_parse(), peer_set_srcaddr(), and set_config().

#define IAX_DEFAULT_REG_EXPIRE 60

Definition at line 72 of file iax2.h.

Referenced by attempt_transmit(), iax2_register(), realtime_peer(), and set_config().

#define IAX_DPSTATUS_CANEXIST (1 << 1)

Definition at line 154 of file iax2.h.

Referenced by complete_dpreply(), and dp_lookup().

#define IAX_DPSTATUS_EXISTS (1 << 0)

Definition at line 153 of file iax2.h.

Referenced by complete_dpreply(), and dp_lookup().

#define IAX_DPSTATUS_IGNOREPAT (1 << 14)

Definition at line 156 of file iax2.h.

Referenced by complete_dpreply(), and dp_lookup().

#define IAX_DPSTATUS_MATCHMORE (1 << 15)

Definition at line 157 of file iax2.h.

Referenced by complete_dpreply(), and dp_lookup().

#define IAX_DPSTATUS_NONEXISTENT (1 << 2)

Definition at line 155 of file iax2.h.

Referenced by complete_dpreply(), and dp_lookup().

#define IAX_ENCRYPT_AES128 (1 << 0)

Definition at line 138 of file iax2.h.

Referenced by get_encrypt_methods(), and merge_encryption().

#define IAX_FIRMWARE_MAGIC 0x69617879

Definition at line 223 of file iax2.h.

Referenced by try_firmware().

#define IAX_FLAG_FULL 0x8000

Definition at line 22 of file iax2.h.

Referenced by decode_frame(), encrypt_frame(), iax2_send(), iax_showframe(), raw_hangup(), and socket_read().

#define IAX_FLAG_RETRANS 0x8000

Definition at line 24 of file iax2.h.

Referenced by iax_showframe(), socket_read(), and update_packet().

#define IAX_FLAG_SC_LOG 0x80

Definition at line 26 of file iax2.h.

Referenced by compress_subclass(), and uncompress_subclass().

#define IAX_IE_ADSICPE 12

Definition at line 90 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_AESPROVISIONING 30

Definition at line 108 of file iax2.h.

#define IAX_IE_APPARENT_ADDR 18

Definition at line 96 of file iax2.h.

Referenced by iax2_start_transfer(), iax_parse_ies(), and update_registry().

#define IAX_IE_AUTHMETHODS 14

Definition at line 92 of file iax2.h.

Referenced by authenticate_request(), iax_parse_ies(), and registry_authrequest().

#define IAX_IE_AUTOANSWER 25

Definition at line 103 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_CALLED_CONTEXT 5

Definition at line 83 of file iax2.h.

Referenced by cache_get_callno_locked(), iax2_call(), iax2_transfer(), and iax_parse_ies().

#define IAX_IE_CALLED_NUMBER 1

Definition at line 79 of file iax2.h.

Referenced by cache_get_callno_locked(), dp_lookup(), iax2_call(), iax2_dprequest(), iax2_transfer(), and iax_parse_ies().

#define IAX_IE_CALLING_ANI 3

Definition at line 81 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_CALLING_NAME 4

Definition at line 82 of file iax2.h.

Referenced by iax2_call(), iax_parse_ies(), and update_registry().

#define IAX_IE_CALLING_NUMBER 2

Definition at line 80 of file iax2.h.

Referenced by iax2_call(), iax_parse_ies(), and update_registry().

#define IAX_IE_CALLINGPRES 38

Definition at line 116 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_CALLINGTNS 40

Definition at line 118 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_CALLINGTON 39

Definition at line 117 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_CALLNO 21

Definition at line 99 of file iax2.h.

Referenced by iax2_start_transfer(), iax_parse_ies(), and socket_read().

#define IAX_IE_CALLTOKEN 54

Definition at line 131 of file iax2.h.

Referenced by add_empty_calltoken_ie(), handle_call_token(), iax_parse_ies(), and resend_with_token().

#define IAX_IE_CAPABILITY 8

Definition at line 86 of file iax2.h.

Referenced by cache_get_callno_locked(), iax2_call(), and iax_parse_ies().

#define IAX_IE_CAUSE 22

Definition at line 100 of file iax2.h.

Referenced by auth_reject(), authenticate_request(), auto_hangup(), iax_parse_ies(), and socket_read().

#define IAX_IE_CAUSECODE 42

Definition at line 120 of file iax2.h.

Referenced by auth_reject(), authenticate_request(), auto_hangup(), iax2_hangup(), iax_parse_ies(), and socket_read().

#define IAX_IE_CHALLENGE 15

Definition at line 93 of file iax2.h.

Referenced by authenticate_request(), iax_parse_ies(), and registry_authrequest().

#define IAX_IE_CODEC_PREFS 45

Definition at line 123 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_DATETIME 31

Definition at line 109 of file iax2.h.

Referenced by iax2_call(), iax_parse_ies(), and update_registry().

#define IAX_IE_DEVICETYPE 32

Definition at line 110 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_DNID 13

Definition at line 91 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_DPSTATUS 20

Definition at line 98 of file iax2.h.

Referenced by dp_lookup(), and iax_parse_ies().

#define IAX_IE_ENCKEY 44

Definition at line 122 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_ENCRYPTION 43

Definition at line 121 of file iax2.h.

Referenced by authenticate_request(), iax2_call(), and iax_parse_ies().

#define IAX_IE_FIRMWAREVER 34

Definition at line 112 of file iax2.h.

Referenced by iax_parse_ies(), and update_registry().

#define IAX_IE_FORMAT 9

Definition at line 87 of file iax2.h.

Referenced by cache_get_callno_locked(), iax2_call(), iax_parse_ies(), and socket_read().

#define IAX_IE_FWBLOCKDATA 36

Definition at line 114 of file iax2.h.

Referenced by iax_firmware_append(), and iax_parse_ies().

#define IAX_IE_FWBLOCKDESC 35

Definition at line 113 of file iax2.h.

Referenced by iax_firmware_append(), and iax_parse_ies().

#define IAX_IE_IAX_UNKNOWN 23

Definition at line 101 of file iax2.h.

Referenced by iax_parse_ies(), and socket_read().

#define IAX_IE_LANGUAGE 10

Definition at line 88 of file iax2.h.

Referenced by iax2_call(), and iax_parse_ies().

#define IAX_IE_MD5_RESULT 16

Definition at line 94 of file iax2.h.

Referenced by authenticate(), and iax_parse_ies().

#define IAX_IE_MSGCOUNT 24

Definition at line 102 of file iax2.h.

Referenced by iax_parse_ies(), and update_registry().

#define IAX_IE_MUSICONHOLD 26

Definition at line 104 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_PASSWORD 7

Definition at line 85 of file iax2.h.

Referenced by authenticate(), and iax_parse_ies().

#define IAX_IE_PROVISIONING 29

Definition at line 107 of file iax2.h.

Referenced by iax2_provision().

#define IAX_IE_PROVVER 37

Definition at line 115 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_RDNIS 28

Definition at line 106 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_REFRESH 19

Definition at line 97 of file iax2.h.

Referenced by dp_lookup(), iax2_do_register(), iax_parse_ies(), registry_rerequest(), and update_registry().

#define IAX_IE_RR_DELAY 49

Definition at line 128 of file iax2.h.

Referenced by construct_rr(), and iax_parse_ies().

#define IAX_IE_RR_DROPPED 50

Definition at line 129 of file iax2.h.

Referenced by construct_rr(), and iax_parse_ies().

#define IAX_IE_RR_JITTER 46

Definition at line 125 of file iax2.h.

Referenced by construct_rr(), and iax_parse_ies().

#define IAX_IE_RR_LOSS 47

Definition at line 126 of file iax2.h.

Referenced by construct_rr(), and iax_parse_ies().

#define IAX_IE_RR_OOO 51

Definition at line 130 of file iax2.h.

Referenced by construct_rr(), and iax_parse_ies().

#define IAX_IE_RR_PKTS 48

Definition at line 127 of file iax2.h.

Referenced by construct_rr(), and iax_parse_ies().

#define IAX_IE_RSA_RESULT 17

Definition at line 95 of file iax2.h.

Referenced by authenticate(), and iax_parse_ies().

#define IAX_IE_SAMPLINGRATE 41

Definition at line 119 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_SERVICEIDENT 33

Definition at line 111 of file iax2.h.

Referenced by iax_parse_ies().

#define IAX_IE_TRANSFERID 27

Definition at line 105 of file iax2.h.

Referenced by iax2_start_transfer(), iax_parse_ies(), and try_transfer().

#define IAX_IE_USERNAME 6

Definition at line 84 of file iax2.h.

Referenced by authenticate_request(), cache_get_callno_locked(), iax2_call(), iax2_do_register(), iax_parse_ies(), registry_authrequest(), registry_rerequest(), and update_registry().

#define IAX_IE_VERSION 11

Definition at line 89 of file iax2.h.

Referenced by cache_get_callno_locked(), iax2_call(), and iax_parse_ies().

#define IAX_LINGER_TIMEOUT 10

Definition at line 74 of file iax2.h.

Referenced by iax2_bridge().

#define IAX_MAX_CALLS 32768

Definition at line 20 of file iax2.h.

Referenced by __unload_module(), ast_cli_netstats(), cache_get_callno_locked(), create_callno_pools(), destroy_peer(), iax2_set_jitter(), iax2_show_channels(), load_module(), load_objects(), and update_max_trunk().

#define IAX_MAX_SHIFT 0x1F

Definition at line 28 of file iax2.h.

Referenced by compress_subclass(), and uncompress_subclass().

#define IAX_META_TRUNK 1

Definition at line 140 of file iax2.h.

Referenced by send_trunk(), and socket_read().

#define IAX_META_TRUNK_MINI 1

Definition at line 144 of file iax2.h.

Referenced by send_trunk(), and socket_read().

#define IAX_META_TRUNK_SUPERMINI 0

Definition at line 143 of file iax2.h.

Referenced by send_trunk(), and socket_read().

#define IAX_META_VIDEO 2

Definition at line 141 of file iax2.h.

#define IAX_PROTO_VERSION 2

Definition at line 18 of file iax2.h.

Referenced by cache_get_callno_locked(), check_access(), and iax2_call().

#define IAX_RATE_11KHZ (1 << 1)

Definition at line 147 of file iax2.h.

Referenced by dump_samprate().

#define IAX_RATE_16KHZ (1 << 2)

Definition at line 148 of file iax2.h.

Referenced by dump_samprate().

#define IAX_RATE_22KHZ (1 << 3)

Definition at line 149 of file iax2.h.

Referenced by dump_samprate().

#define IAX_RATE_44KHZ (1 << 4)

Definition at line 150 of file iax2.h.

Referenced by dump_samprate().

#define IAX_RATE_48KHZ (1 << 5)

Definition at line 151 of file iax2.h.

Referenced by dump_samprate().

#define IAX_RATE_8KHZ (1 << 0)

Definition at line 146 of file iax2.h.

Referenced by dump_samprate(), and iax_parse_ies().

#define IAX_WINDOW 64

Definition at line 30 of file iax2.h.

## Variable Documentation

struct ast_iax2_firmware_header __packed__