Asterisk PBX
Modules
- codec_pack.so - TETRA codecs definitions and translations, uses CodecPack.so
- chan_transit.so - TransitBridge channel driver
Environment variables
CODECPACK=/<path>/CodecPack.so
asterisk.conf
[options]
systemname = <numeric ID of local system>
Dialplan
Outbound calls
Dial(Transit/<Core ID>/<ISSI>[/<options>])
Where options are:
- s - Use simplex call with PTT control (RADIO_KEY/RADIO_UNKEY, see app_rpt)
- t - Use PSTN call (source ISSI 16777184, CALERID(num) is passed as an external number)
- b - Use PBX call (source ISSI 16777186, CALERID(num) is passed as an external number)
- n<ID> - Use specified ISSI and pass CALLERID(num) as an external number
- c<0-3> - Use service number 0-3 (at this moment only 0 / ACELP is supported)
- p<0-15> - Set call priority
By-default duplex individual call with ACELP (0) and normal priority (0) will be created.
Example:
Dial(Transit/2505/${EXTEN}/t)
Inbound calls
Channel variables:
- TRANSIT_TYPE=ISSI - Extension ID contains destination ISSI
- TRANSIT_TYPE=Number - Extension ID contains destination external number
- TRANSIT_FLOW=PTT - Simplex call
- TRANSIT_ISSI=<ISSI> - Destination ISSI
(only when TRANSIT_TYPE=Number, should contain 16777184 for PTSN call or 16777186 for PBX call) - TRANSIT_PRIORITY=<0-15> - Call priority
Outbound messages
TBD
MessageSend(Transit:<Link ID>[,<Source ISSI>])
Channel variables:
- MESSAGE(to)=<ISSI>
- MESSAGE(from)=<ISSII/External Number> - Source ID, will be used as external number when <Source ISSI> passed to MessageSend()
- MESSAGE(body)=<Text>
Inbound messages
Channel variables:
- MESSAGE(to)=<ISSI/External Number>
- MESSAGE(from)=<ISSI>
- MESSAGE(body)=<Text>
- MESSAGE_DATA(TRANSIT_TYPE)=ISSI - Extension ID and MESSAGE(to) contains destination ISSI
- MESSAGE_DATA(TRANSIT_TYPE)=Number - Extension ID and MESSAGE(to) contains destination external number
- MESSAGE_DATA(TRANSIT_ISSI)=<ISSI> - Destination ISSI
(only when MESSAGE_DATA(TRANSIT_TYPE)=Number, should contain 16777184 for PTSN call or 16777186 for PBX)
Technical Information
Channel ID
Transit/<Link ID>:<Session UUID>
- Link ID - decimal TetraPack Core instance identifier
- Session UUID - global call session UUID, used in TetraPack Core and BrandMeister Core