In the figure there are the following elements:
Site 1:
Site 2:
Asterisk server;
analog telephone connected to a POTS port of the Abilis.
Abilis that manages interconnection with Asterisk and a VPN with “Site 1”;
The purpose is:
to enable the communication between the IAX users (IAX phone and PC with Zoiper);
to enable the communication between the POTS telephone of “Site 1” and the IAX users;
to enable the communication between the IAX users of “Site 1” and the analog phone phone of “Site 2”;
to forward to the Asterisk of “Site 2” the calls sent to “Site 1” in case “Site 1” is busy or doesn't answer.
In this example suppose that the POTS cards, used to manage the analog phones and configured for Cluster and CtiLink for compressed phone calls, are already active on Abilis.
Activate the CTIIAX resource in the Abilis of “Site 1” and enable up to 15 IAX connections.
[16:14:44] ABILIS_CPX_1:s p ctiiax act:yes sesnum:15
COMMAND EXECUTED [16:16:12] ABILIS_CPX_1:d p ctiiax
RES:CtiIax - Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------- ------------------------------------------------------------------------ DESCR:Inter-Asterisk_eXchange_Version_2 LOG:NO ACT:YES mxps:2172 sesnum:15 udp-locport:4569 SRCADD:OUT-IP TOS:0-D IPSRC:* IPSRCLIST:# AUTH:MD5 REM-AUTH:MD5 CTIP-TYPE:USER LIFETIME:60 REM-LIFETIME:60 NP-CT:SYS RETR-FREQ:400 TRUNK:NO ROUTING:EN-BLOC RETR-EXCEED:10000 TRUNK-FREQ:40 DIALT:5 RETR-EXCEED-FAST:2000 TRUNK-TS:YES T302:15 PLAY-DTMF:150 CHAN-FREQ:20 ROUTE-BY-SD:NO PLAY-SILENCE:100 DISC-AUDIO:NO PROVIDE-SG:NO DETECT-DTMF:40 CLIP-RULE:PRIVATE CPO:NO DETECT-SILENCE:40 RG-IN:DISABLE CPO-STATE:ACCEPT NETSTATS:NO TRANSFER:IAX CPO-DROP:NO HTML-IN: HTML-OUT:
Keep all the default parameters.
Repeat the same operation for the Abilis of “Site 2.”
Activate the two IAX users in the Abilis of “Site 1” (the IAX phone and the PC with Zoiper) and one IAX user in the Abilis of “Site2” (Asterisk).
Add the user in the Abilis of “Site 1” and enable it to IAX :
[16:19:06] ABILIS_CPX_1:a user:iaxphone iax:yes
COMMAND EXECUTED [16:20:23] ABILIS_CPX_1:d user
- Not Saved (SAVE CONF) ------------------------------------------------------- ------------------------+-------------+---------------------------------------- USER PWD ACT|CTIP CLUS |CHAT LDAP PPP FTP HTTP MAIL IAX SIP VO ------------------------+-------------+---------------------------------------- admin *** YES # # YES YES YES YES YES NO NO NO NO guest YES # # NO YES NO NO NO NO NO NO NO iaxphone YES # # NO NO NO NO NO NO YES NO NO
Give the new user the following characteristics:
password: iaxphone
host: 192.168.0.100
simultaneous half-duplex calls: 2
IAX number: 520
[16:20:35] ABILIS_CPX_1:s user:iaxphone pwd:iaxphone iax-host:192.168.0.100 iax-maxses-bid:2 iax-number:520
COMMAND EXECUTED [16:21:30] ABILIS_CPX_1:d user:iaxphone
- Not Saved (SAVE CONF) ------------------------------------------------------- Parameter: | Value: --------------------+---------------------------------------------------------- USER: iaxphone REAL-NAME: iaxphone ID: 10 <Read Only> PWD: *** ACT: YES GROUP: CTIP: # CLUS: # ADDRBOOK-SYNC: SYS ADDRBOOK-NUMBER: AUTO ADDRBOOK-OUTDIAL: NONE ADDRBOOK-PUB-ENABLED: SYS OPC-ROLE: USER OPC-VIEW: * OPC-HIDE-NUMBERS: NO OPC-MONITOR: NONE OPC-PRIVACY: NO CHAT: NO CHAT-USER: SYS CHAT-PWD: SYS IAX: YES IAX-HOST: 192.168.000.100 IAX-SRCADD: SYS IAX-PORT: 4569 IAX-IP-PERMIT: * IAX-MAXSES-BID: 2 IAX-MAXSES-IN: 0 IAX-MAXSES-OUT: 0 IAX-NUMBER: 520 IAX-ADDRBOOK-NUM: IAX-NUMBER IAX-CG-NUM: AUTO IAX-FWD-CG-NUM: CALLER IAX-CTIP-TYPE: SYS IAX-RG-IN: SYS IAX-ROUTE-BY-SD: NO IAX-PROVIDE-SG: NO IAX-CLIP-RULE: SYS IAX-BUSY-NOCHAN: NO IAX-LCS-GROUP: NONE IAX-CPO: SYS IAX-CPO-STATE: SYS IAX-CPO-DROP: SYS IAX-SS: NO IAX-SS-PICKUP: GROUPS IAX-SS-PRES-CG: YES IAX-SS-CF-DND: YES IAX-SS-VM: YES IAX-CONTEXT: IAX-PROVIDE-NAME: BLANK IAX-AUTH: SYS IAX-NETSTATS: SYS IAX-TRUNK: SYS IAX-TRUNK-FREQ: SYS IAX-TRUNK-TS: SYS IAX-CHAN-FREQ: SYS IAX-TRANSFER: SYS IAX-DISC-AUDIO: SYS IAX-HTML-IN: SYS IAX-HTML-OUT: SYS IAX-REM-USER: IAX-REM-PASS: IAX-REM-AUTH: SYS IAX-REM-REG: NO -------------------------------------------------------------------------------
Tip | |
---|---|
If the |
Add the user in the Abilis of “Site 1” and enable it to IAX:
[16:26:23] ABILIS_CPX_1:a user:zoiper iax:yes
COMMAND EXECUTED [16:26:27] ABILIS_CPX_1:d user
- Not Saved (SAVE CONF) ------------------------------------------------------- ------------------------+-------------+---------------------------------------- USER PWD ACT|CTIP CLUS |CHAT LDAP PPP FTP HTTP MAIL IAX SIP VO ------------------------+-------------+---------------------------------------- admin *** YES # # YES YES YES YES YES NO NO NO NO guest YES # # NO YES NO NO NO NO NO NO NO iaxphone YES # # NO NO NO NO NO NO YES NO NO zoiper YES # # NO NO NO NO NO NO YES NO NO
Configure the new user in the following way:
password: zoiper
host: dynamic (the PC receives the IP address from a DHCP server)
half-duplex call: 1
IAX number: 620
[16:26:33] ABILIS_CPX_1:s user:zoiper pwd:zoiper iax-host:dynamic iax-maxses-bid:1 iax-number:620
COMMAND EXECUTED [16:27:19] ABILIS_CPX_1:d user:zoiper
- Not Saved (SAVE CONF) ------------------------------------------------------- Parameter: | Value: --------------------+---------------------------------------------------------- USER: zoiper REAL-NAME: zoiper ID: 11 <Read Only> PWD: *** ACT: YES GROUP: CTIP: # CLUS: # ADDRBOOK-SYNC: SYS ADDRBOOK-NUMBER: AUTO ADDRBOOK-OUTDIAL: NONE ADDRBOOK-PUB-ENABLED: SYS OPC-ROLE: USER OPC-VIEW: * OPC-HIDE-NUMBERS: NO OPC-MONITOR: NONE OPC-PRIVACY: NO CHAT: NO CHAT-USER: SYS CHAT-PWD: SYS IAX: YES IAX-HOST: DYNAMIC IAX-SRCADD: SYS IAX-PORT: (DYNAMIC) IAX-IP-PERMIT: * IAX-MAXSES-BID: 1 IAX-MAXSES-IN: 0 IAX-MAXSES-OUT: 0 IAX-NUMBER: 620 IAX-ADDRBOOK-NUM: IAX-NUMBER IAX-CG-NUM: AUTO IAX-FWD-CG-NUM: CALLER IAX-CTIP-TYPE: SYS IAX-RG-IN: SYS IAX-ROUTE-BY-SD: NO IAX-PROVIDE-SG: NO IAX-CLIP-RULE: SYS IAX-BUSY-NOCHAN: NO IAX-LCS-GROUP: NONE IAX-CPO: SYS IAX-CPO-STATE: SYS IAX-CPO-DROP: SYS IAX-SS: NO IAX-SS-PICKUP: GROUPS IAX-SS-PRES-CG: YES IAX-SS-CF-DND: YES IAX-SS-VM: YES IAX-CONTEXT: IAX-PROVIDE-NAME: BLANK IAX-AUTH: SYS IAX-NETSTATS: SYS IAX-TRUNK: SYS IAX-TRUNK-FREQ: SYS IAX-TRUNK-TS: SYS IAX-CHAN-FREQ: SYS IAX-TRANSFER: SYS IAX-DISC-AUDIO: SYS IAX-HTML-IN: SYS IAX-HTML-OUT: SYS IAX-REM-USER: IAX-REM-PASS: IAX-REM-AUTH: SYS IAX-REM-REG: NO -------------------------------------------------------------------------------
Tip | |
---|---|
If the |
Add the user in the the Abilis of “Site 2” and enable it to IAX:
[16:28:42] ABILIS_CPX_2:a user:asterisk iax:yes
COMMAND EXECUTED [16:31:41] ABILIS_CPX_2:d user
- Not Saved (SAVE CONF) ------------------------------------------------------- ------------------------+-------------+---------------------------------------- USER PWD ACT|CTIP CLUS |CHAT LDAP PPP FTP HTTP MAIL IAX SIP VO ------------------------+-------------+---------------------------------------- admin *** YES # # YES YES YES YES YES NO NO NO NO asterisk YES # # NO NO NO NO NO NO YES NO NO guest YES # # NO YES NO NO NO NO NO NO NO
Give the new user the following characteristics:
password: asterisk;
host: 217.1.2.2;
simultaneous half-duplex calls: 10;
IAX number: all the calls toward numbers starting with 7;
enable the registration to the remote IAX node (Asterisk) using username “abilis”, password “swordfish” and MD5 authentication.
[16:34:46] ABILIS_CPX_2:s user:asterisk pwd:swordfish iax-host:217.1.2.2 iax-maxses-bid:10 iax-trunk:yes iax-rem-user:abilis iax-rem-pass:swordfish iax-rem-auth:md5 iax-rem-reg:yes
COMMAND EXECUTED [16:35:52] ABILIS_CPX_2:d user:asterisk
- Not Saved (SAVE CONF) ------------------------------------------------------- Parameter: | Value: --------------------+---------------------------------------------------------- USER: asterisk REAL-NAME: asterisk ID: 9 <Read Only> PWD: *** ACT: YES GROUP: CTIP: # CLUS: # ADDRBOOK-SYNC: SYS ADDRBOOK-NUMBER: AUTO ADDRBOOK-OUTDIAL: NONE ADDRBOOK-PUB-ENABLED: SYS OPC-ROLE: USER OPC-VIEW: * OPC-HIDE-NUMBERS: NO OPC-MONITOR: NONE OPC-PRIVACY: NO CHAT: NO CHAT-USER: SYS CHAT-PWD: SYS IAX: YES IAX-HOST: 217.001.002.002 IAX-SRCADD: SYS IAX-PORT: 4569 IAX-IP-PERMIT: * IAX-MAXSES-BID: 10 IAX-MAXSES-IN: 0 IAX-MAXSES-OUT: 0 IAX-NUMBER: IAX-ADDRBOOK-NUM: IAX-NUMBER IAX-CG-NUM: AUTO IAX-FWD-CG-NUM: CALLER IAX-CTIP-TYPE: SYS IAX-RG-IN: SYS IAX-ROUTE-BY-SD: NO IAX-PROVIDE-SG: NO IAX-CLIP-RULE: SYS IAX-BUSY-NOCHAN: NO IAX-LCS-GROUP: NONE IAX-CPO: SYS IAX-CPO-STATE: SYS IAX-CPO-DROP: SYS IAX-SS: NO IAX-SS-PICKUP: GROUPS IAX-SS-PRES-CG: YES IAX-SS-CF-DND: YES IAX-SS-VM: YES IAX-CONTEXT: IAX-PROVIDE-NAME: BLANK IAX-AUTH: SYS IAX-NETSTATS: SYS IAX-TRUNK: YES IAX-TRUNK-FREQ: SYS IAX-TRUNK-TS: SYS IAX-CHAN-FREQ: SYS IAX-TRANSFER: SYS IAX-DISC-AUDIO: SYS IAX-HTML-IN: SYS IAX-HTML-OUT: SYS IAX-REM-USER: abilis IAX-REM-PASS: ******** IAX-REM-AUTH: MD5 IAX-REM-REG: YES -------------------------------------------------------------------------------
Tip | |
---|---|
The |
Since we have specified the IAX-NUMBER
parameter for the two IAX users of “Site 1”, the two
routings will be automatically connected in the table.
[17:02:10] ABILIS_CPX_1:d ctiiax numbers
Total:2 Iax-Number:2 Static:0
NUMx: [IAX-NUMBER:] USER: Provenience:
------------------------------------------------------------------------
620 zoiper IAX-NUMBER
520 iaxphone IAX-NUMBER
In the configuration of “Asterisk” user for Abilis
of “Site 2”, we haven't specified any
IAX-NUMBER
, so the following chart will be
empty.
[17:00:48] ABILIS_CPX_2:d ctiiax numbers
Total:0 Iax-Number:0 Static:0
NUMx: [IAX-NUMBER:] USER: Provenience:
------------------------------------------------------------------------
*** NO CTI IAX ENTRIES DEFINED ***
Add a static routing in the CTIIAX table to route the calls directed to the numbers starting with 7 to this user.
[17:15:44] ABILIS_CPX_2:a ctiiax numx:7* username:asterisk
COMMAND EXECUTED [17:23:16] ABILIS_CPX_2:d ctiiax numbers
Total:1 Iax-Number:0 Static:1 NUMx: [IAX-NUMBER:] USER: Provenience: ------------------------------------------------------------------------ 7* asterisk STATIC
The purpose is:
to connect the IAX users (iaxphone and Zoiper);
to connect the IAX users and the analog phone connected to the POTS on the Abilis of “Site 1”;
to connect the IAX users and the analog phone connected to the POTS of “Site 2”;
to forward the input calls of the ISDN line toward the remote Asterisk, in case the POTS telephone of Abilis is busy or doesn't answer after 20 seconds.
Add the routing:
[17:06:37] ABILIS_CPX_1:a ctir pr:1 poi:iax out:iax cdi:'numiax'
COMMAND EXECUTED [17:06:46] ABILIS_CPX_1:d ctir
Last change: 17/06/2015 08:36:47 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 VOICE Iax # # Iax 'NumIax' * -------------------------------------------------------------------------------- [17:06:52] ABILIS_CPX_1:d list:numiax
- Not Saved (SAVE CONF) ------------------------------------------------------- LIST:NumIax - IN - Ref-Numb:0 Items-Numb:2 Automatically_generated_CTI_IAX_Numbers_list_(ReadOnly) -------------------------------------------------------------------------- 520 620
Tip | |
---|---|
Transcoding is not activated because
[17:29:14] ABILIS_CPX_1: |
Add the routings:
[17:30:57] ABILIS_CPX_1:a ctir pr:2 poi:pbx out:iax cdi:'numiax' sp:64000
COMMAND EXECUTED [17:31:04] ABILIS_CPX_1:a ctir pr:3 poi:iax out:101 cdi:420 sp:64000
COMMAND EXECUTED [17:31:13] ABILIS_CPX_1:d ctir
Last change: 17/06/2015 08:36:47 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 VOICE Iax # # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 2 VOICE PBX # # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 3 VOICE Iax # # 101 420 * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * --------------------------------------------------------------------------------
The PR
:2
routing, routes
the calls coming from the Abilis POTS port toward the CTIIAX and
directed to one number of the numiax
list. The CTIIAX routing table
will forward the call to the user.
The PR
:3
routing, routes
toward port 101 (where the analog phone is connected) the calls
coming from one of the IAX users and directed to the number
420.
Add the following routings:
[17:34:55] ABILIS_CPX_1:a ctir pr:4 poi:iax out:site2 sp:64000 cdi:320
COMMAND EXECUTED [17:35:05] ABILIS_CPX_1:a ctir pr:5 sr:* out:iax cdi:'numiax' sp:64000
COMMAND EXECUTED [17:35:14] ABILIS_CPX_1:d ctir
Last change: 17/06/2015 10:01:34 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 VOICE Iax # # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 2 VOICE PBX # # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 3 VOICE Iax # # 101 420 * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 4 VOICE Iax # # site2 320 * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 5 VOICE # * # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * --------------------------------------------------------------------------------
The PR
:4
routing routes
toward the Site 2
cluster the calls coming from
IAX users and directed to the number 320 (the analog phone of the
remote site).
The PR
:5
routing routes
toward the Ctilax the calls coming from any cluster and directed to
one of the numbers of the numiax
list (numbers given to the IAX
users). The Ctilax translation table will forward the call to the
user.
Add the following routings:
[17:35:18] ABILIS_CPX_1:a ctir pr:6 poi:34 out:101 cdi:* t301:20 next:t
COMMAND EXECUTED [17:37:07] ABILIS_CPX_1:a ctir pr:7 poi:34 out:site2 cdi:* cdo:701
COMMAND EXECUTED [17:37:15] ABILIS_CPX_1:d ctir
Last change: 17/06/2015 10:01:34 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 VOICE Iax # # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 2 VOICE PBX # # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 3 VOICE Iax # # 101 420 * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 4 VOICE Iax # # site2 320 * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 5 VOICE # * # Iax 'NumIax' * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * -------------------------------------------------------------------------------- 6 VOICE 34 # # 101 * * TRANSFERT ANY NO 20 * * -------------------------------------------------------------------------------- 7 VOICE 34 # # site2 * 701 --------------------------------------------------------------------------------
The PR
:6
routing routes
toward port 101 (analog phone) the calls coming from the ISDN line
(CTIP:34
). In case the telephone is busy or
doesn't answer after 20 seconds
(T301
:20
), the call is
forwarded to the next routing
(NEXT
:TRANSFERT
).
The PR
:7
routing routes
the calls toward the Site 2
cluster; the numbers
starting with 7 are sent to the remote Asterisk.
The purpose is:
to connect the analog phone of “Site2” and the IAX users of the Abilis of “Site 1”;
to forward to Asterisk the calls coming from “Site 1” in case of the remote analog phone is busy or doesn't answer.
Use normal routings for compressed phone calls:
[16:27:38] ABILIS_CPX_2:list create remoteiax IN
COMMAND EXECUTED [16:27:38] ABILIS_CPX_2:list description remoteiax IAX_user's_number_of_site_1
COMMAND EXECUTED [16:27:38] ABILIS_CPX_2:a list:remoteiax 520 620
COMMAND EXECUTED [16:27:38] ABILIS_CPX_2:d list:remoteiax
- Not Saved (SAVE CONF) ------------------------------------------------------- LIST:RemoteIAX - IN IAX_user's_number_of_site_1 520 620 [17:42:26] ABILIS_CPX_2:a ctir pr:1 sr:* out:101 cdi:320
COMMAND EXECUTED [17:42:34] ABILIS_CPX_2:a ctir pr:2 poi:pbx out:site1 cdi:'remoteiax'
COMMAND EXECUTED [17:42:41] ABILIS_CPX_2:d ctir
Last change: 17/06/2015 10:01:34 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 VOICE # * # 101 320 * -------------------------------------------------------------------------------- 2 VOICE PBX # # site1 'remoteiax' * --------------------------------------------------------------------------------
The PR
:1
routing routes
to port ctip:101
the calls coming from any
cluster and addressed to the number 320.
The PR
:2
routing routes
the calls coming from an analog phone to the cluster
site1
, when the called number belongs to the
RemoteIAX
list.
Add the routing:
[17:42:44] ABILIS_CPX_2:a ctir pr:3 sr:* out:iax cdi:7* sp:64000
COMMAND EXECUTED [17:47:10] ABILIS_CPX_2:d ctir
Last change: 17/06/2015 10:01:34 CET ---+------+-----------------+---------+--------------------+-------------------- PR |[DESCR] |BCI |POI |SR |GI |OUT |CDI |CDO ACT|NEXT |LAST |EEC |T301|CGI |CGO EDT|SP |SC |DJ |MJ |FMDJ|FMMJ|SDI |SDO |SPOUT |SCOUT|DJOUT|MJOUT|LCS |LCST|SGI |SGO | |BCO |RGI |RGO |FMRLY |FAXSP|MODSP|FMLVL|ECM |UDT |IG |OG |SG |DL |DH |CODERS |CODERSOUT |TI1 .. TI5 -------------------------------------------------------------------------------- 0 DATA * # # Sl * * -------------------------------------------------------------------------------- 1 VOICE # * # 101 320 * -------------------------------------------------------------------------------- 2 VOICE PBX # # site1 'remoteiax' * -------------------------------------------------------------------------------- 5 VOICE # * # Iax 7* * NO ANY NO Dft * * 64000 Sys Sys Sys Sys Sys * * --------------------------------------------------------------------------------
The PR
:3
routing routes
toward CTIIAX resource the calls coming from any cluster; when the
called number starts with 7 the Ctilax routing table forwards the
call toward to Asterisk.
Asterisk offers many options :
answering service (saves the messages and sends them as mail enclosures);
virtual answering service ( in case the called number gives no answer, Asterisk sends a mail containing the calling number with data and time);
operator service;
...
Tip | |
---|---|
Asterisk offers many solutions of advanced call management (conference, answering service, operator service…); to every service you can assign a specific code and manage them with a single routing. The The calls converge toward this Abilis, the
|