Difference between revisions of "Extensions.conf"

From AllStarLink Wiki
Jump to navigation Jump to search
imported>Bryan
(Created page with "= extensions.conf = The extensions.conf config file is mainly used to route incoming connections from remote nodes to the correct node number in app_rpt. It also is used to r...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= extensions.conf =
+
[[Category:Node Configuration]]
The extensions.conf config file is mainly used to route incoming connections from remote nodes to the correct node number in app_rpt.  It also is used to route outgoing autopatch connections to various channels and VOIP termination providers.
+
[[Category:Config Files]]
 +
The extensions.conf config file is used to route incoming connections from remote nodes or connections to the correct node number in app_rpt.  It also is used to route outgoing autopatch connections to various channels and VOIP termination providers.
 +
 
 +
= Contexts used by app-rpt=
 +
 
 +
[radio-secure] -
 +
 
 +
[iax-client] - used by IAX users
 +
 
 +
[radio] - used for IAX connections between nodes
 +
 
 +
[check_route] - used to check the call routing for autopatch
 +
 
 +
[pstn-out]
 +
 
 +
[allstar-sys] - used by the phone portal
 +
 
 +
[allstar-public] - used by web transceiver
 +
 
 +
[radio-in]
  
 
Here is an example of how extensions.conf is used to handle incoming connections for a single node:
 
Here is an example of how extensions.conf is used to handle incoming connections for a single node:
Line 6: Line 25:
 
  exten => 1234,1,rpt,1234
 
  exten => 1234,1,rpt,1234
 
In the above case, two nodes are defined as asterisk extensions in a “context” called radio-secure defined by a stanza [radio-secure] .  An incoming connection directed to extension 1234 will end up calling app_rpt (rpt) with a value of 1234 which should a node number defined in rpt.conf.
 
In the above case, two nodes are defined as asterisk extensions in a “context” called radio-secure defined by a stanza [radio-secure] .  An incoming connection directed to extension 1234 will end up calling app_rpt (rpt) with a value of 1234 which should a node number defined in rpt.conf.
[[Category:Node Configuration]]
 
[[Category:Config Files]]
 

Latest revision as of 01:11, 20 January 2021

The extensions.conf config file is used to route incoming connections from remote nodes or connections to the correct node number in app_rpt. It also is used to route outgoing autopatch connections to various channels and VOIP termination providers.

Contexts used by app-rpt

[radio-secure] -

[iax-client] - used by IAX users

[radio] - used for IAX connections between nodes

[check_route] - used to check the call routing for autopatch

[pstn-out]

[allstar-sys] - used by the phone portal

[allstar-public] - used by web transceiver

[radio-in]

Here is an example of how extensions.conf is used to handle incoming connections for a single node:

[radio-secure] 
exten => 1234,1,rpt,1234

In the above case, two nodes are defined as asterisk extensions in a “context” called radio-secure defined by a stanza [radio-secure] . An incoming connection directed to extension 1234 will end up calling app_rpt (rpt) with a value of 1234 which should a node number defined in rpt.conf.