Difference between revisions of "General Application of Analog Gateway – IVR"

From synwaywiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:Gaa-ivr-1.png|thumb|200px|right|IVR]]
+
[[File:Gaa-ivr-1.png|IVR]]
  
 
The following operations are supported:
 
The following operations are supported:
Line 7: Line 7:
 
To attain these purposes, take the following steps to configure the gateway.<br />
 
To attain these purposes, take the following steps to configure the gateway.<br />
  
1)Do SIP settings.
+
1) Do SIP settings. <br />
[[File:Gaa-ivr-2.png|thumb|200px|right|Set the LAN for SIP call processing and the IPPBX (with sip server function) address.]]
+
[[File:Gaa-ivr-2.png|Set the LAN for SIP call processing and the IPPBX (with sip server function) address.]]<br />
 
Set the LAN for SIP call processing and the IPPBX (with sip server function) address.<br />
 
Set the LAN for SIP call processing and the IPPBX (with sip server function) address.<br />
2)Do FXO settings.
+
2) Do FXO settings.<br />
[[File:Gaa-ivr-3.png|thumb|200px|right|Set the properties of each FXO port. The item Connection Method can be set to Static Binding with the bound number of 6666 which is determined by IPPBX. That is, once receiving the call with 6666 as its username from the called party, IPPBX will go into the PBX service flow. The effect of the analog gateway here is just to switch calls from PSTN to the IPPBX service layer.]]
+
[[File:Gaa-ivr-3.png|Set the properties of each FXO port. The item Connection Method can be set to Static Binding with the bound number of 6666 which is determined by IPPBX. That is, once receiving the call with 6666 as its username from the called party, IPPBX will go into the PBX service flow. The effect of the analog gateway here is just to switch calls from PSTN to the IPPBX service layer.]]<br />
 
Set the properties of each FXO port. The item Connection Method can be set to Static Binding with the bound number of 6666 which is determined by IPPBX. That is, once receiving the call with 6666 as its username from the called party, IPPBX will go into the PBX service flow. The effect of the analog gateway here is just to switch calls from PSTN to the IPPBX service layer.<br />
 
Set the properties of each FXO port. The item Connection Method can be set to Static Binding with the bound number of 6666 which is determined by IPPBX. That is, once receiving the call with 6666 as its username from the called party, IPPBX will go into the PBX service flow. The effect of the analog gateway here is just to switch calls from PSTN to the IPPBX service layer.<br />
3)Do FXS settings.
+
3) Do FXS settings.<br />
[[File:Gaa-ivr-4.png|thumb|200px|right|Set a SIP account for each FXS port, which will be used in registration to IPPBX. On request of speaking to the phone operator or switching the call to an extension, IPPBX will follow the service flow to switch the call to the extension with the corresponding SIP account or to the phone operator.]]
+
[[File:Gaa-ivr-4.png|Set a SIP account for each FXS port, which will be used in registration to IPPBX. On request of speaking to the phone operator or switching the call to an extension, IPPBX will follow the service flow to switch the call to the extension with the corresponding SIP account or to the phone operator.]]<br />
 
Set a SIP account for each FXS port, which will be used in registration to IPPBX. On request of speaking to the phone operator or switching the call to an extension, IPPBX will follow the service flow to switch the call to the extension with the corresponding SIP account or to the phone operator.<br />
 
Set a SIP account for each FXS port, which will be used in registration to IPPBX. On request of speaking to the phone operator or switching the call to an extension, IPPBX will follow the service flow to switch the call to the extension with the corresponding SIP account or to the phone operator.<br />
4)Do port group settings.
+
4) Do port group settings.<br />
[[File:Gaa-ivr-5.png|thumb|200px|right|Add three FXS ports with indexes 4, 5 and 6 to Port Group 1, and three FXO ports with indexes 1, 2 and 3 to Port Group 2, preparing for subsequent route settings.]]
+
[[File:Gaa-ivr-5.png|Add three FXS ports with indexes 4, 5 and 6 to Port Group 1, and three FXO ports with indexes 1, 2 and 3 to Port Group 2, preparing for subsequent route settings.]]<br />
 
Add three FXS ports with indexes 4, 5 and 6 to Port Group 1, and three FXO ports with indexes 1, 2 and 3 to Port Group 2, preparing for subsequent route settings.<br />
 
Add three FXS ports with indexes 4, 5 and 6 to Port Group 1, and three FXO ports with indexes 1, 2 and 3 to Port Group 2, preparing for subsequent route settings.<br />
5)Set TEL –> IP routing.
+
5) Set TEL –> IP routing.<br />
[[File:Gaa-ivr-6.png|thumb|200px|right|Set to switch the FXS (Port Group 1) and FXO (Port Group 2) calls to IPPBX.]]
+
[[File:Gaa-ivr-6.png|Set to switch the FXS (Port Group 1) and FXO (Port Group 2) calls to IPPBX.]]<br />
 
Set to switch the FXS (Port Group 1) and FXO (Port Group 2) calls to IPPBX.<br />
 
Set to switch the FXS (Port Group 1) and FXO (Port Group 2) calls to IPPBX.<br />
6)Set IP –> TEL routing.
+
6) Set IP –> TEL routing.<br />
[[File:Gaa-ivr-7.png|thumb|200px|right|Add an IP –> TEL routing and set all IP calls from IPPBX to go out via FXO (Port Group 2). Settings related to the outgoing call number are processed by IPPBX.]]
+
[[File:Gaa-ivr-7.png|Add an IP –> TEL routing and set all IP calls from IPPBX to go out via FXO (Port Group 2). Settings related to the outgoing call number are processed by IPPBX.]]<br />
 
Add an IP –> TEL routing and set all IP calls from IPPBX to go out via FXO (Port Group 2). Settings related to the outgoing call number are processed by IPPBX.<br />
 
Add an IP –> TEL routing and set all IP calls from IPPBX to go out via FXO (Port Group 2). Settings related to the outgoing call number are processed by IPPBX.<br />
The IVR system with IPPBX as described above is mainly used in some complex environments. However, a simple requirement can be achieved by an IVR system with the analog gateway only where IPPBX is not necessary.
+
The IVR system with IPPBX as described above is mainly used in some complex environments. However, a simple requirement can be achieved by an IVR system with the analog gateway only where IPPBX is not necessary.<br />
[[File:Gaa-ivr-8.png|thumb|200px|right|IVR]]
+
[[File:Gaa-ivr-8.png|IVR]]<br />
 
The scenario without IPPBX also supports the following operations.
 
The scenario without IPPBX also supports the following operations.
 
*PSTN can make calls to FXO, and then dial extensions at FXS according to the prompt tone.
 
*PSTN can make calls to FXO, and then dial extensions at FXS according to the prompt tone.
Line 32: Line 32:
 
*Extensions at FXS can call each other.
 
*Extensions at FXS can call each other.
 
Follow the steps below to set the analog gateway.<br />
 
Follow the steps below to set the analog gateway.<br />
1)Do SIP settings.
+
1) Do SIP settings.<br />
[[File:Gaa-ivr-9.png|thumb|200px|right|Set the LAN for SIP call processing.]]
+
[[File:Gaa-ivr-9.png|Set the LAN for SIP call processing.]]<br />
 
Set the LAN for SIP call processing.<br />
 
Set the LAN for SIP call processing.<br />
2)Do FXO settings.
+
2) Do FXO settings.<br />
[[File:Gaa-ivr-10.png|thumb|200px|right|Set the connection method to ‘Two Stages Dialing Mode’. Once there is a call coming from FXO, the gateway will play the prompt tone ‘Please dial the extension number’. Then the gateway will switch the call to the extension with the corresponding extension number. ]]
+
[[File:Gaa-ivr-10.png|Set the connection method to ‘Two Stages Dialing Mode’. Once there is a call coming from FXO, the gateway will play the prompt tone ‘Please dial the extension number’. Then the gateway will switch the call to the extension with the corresponding extension number. ]]<br />
 
Set the connection method to ‘Two Stages Dialing Mode’. Once there is a call coming from FXO, the gateway will play the prompt tone ‘Please dial the extension number’. Then the gateway will switch the call to the extension with the corresponding extension number. <br />
 
Set the connection method to ‘Two Stages Dialing Mode’. Once there is a call coming from FXO, the gateway will play the prompt tone ‘Please dial the extension number’. Then the gateway will switch the call to the extension with the corresponding extension number. <br />
3)Do FXS settings.
+
3) Do FXS settings.<br />
[[File:Gaa-ivr-11.png|thumb|200px|right|Set the SIP account of each FXS port, i.e. the extension number of each FXS port.]]
+
[[File:Gaa-ivr-11.png|Set the SIP account of each FXS port, i.e. the extension number of each FXS port.]]<br />
 
Set the SIP account of each FXS port, i.e. the extension number of each FXS port.<br />
 
Set the SIP account of each FXS port, i.e. the extension number of each FXS port.<br />
4)Do port group settings.
+
4) Do port group settings.<br />
[[File:Gaa-ivr-12.png|thumb|200px|right|Add FXO ports to Port Group 1, preparing for subsequent route settings.]]
+
[[File:Gaa-ivr-12.png|Add FXO ports to Port Group 1, preparing for subsequent route settings.]]<br />
 
Add FXO ports to Port Group 1, preparing for subsequent route settings.<br />
 
Add FXO ports to Port Group 1, preparing for subsequent route settings.<br />
5)Set TEL –> IP routing.
+
5) Set TEL –> IP routing.<br />
[[File:Gaa-ivr-13.png|thumb|200px|right|Set the outgoing digit and route used for FXS to dial out via FXO. As there is a default route--- ‘Route by Number’ on the gateway, it is unnecessary to add another route for calling from extension to extension. However, for an FXS call dialed out with a prefix 0, as there is no SIP account starting with 0, the route should be set as shown in the figure above. Thus, the call can find a corresponding route to dial out.]]
+
[[File:Gaa-ivr-13.png|Set the outgoing digit and route used for FXS to dial out via FXO. As there is a default route--- ‘Route by Number’ on the gateway, it is unnecessary to add another route for calling from extension to extension. However, for an FXS call dialed out with a prefix 0, as there is no SIP account starting with 0, the route should be set as shown in the figure above. Thus, the call can find a corresponding route to dial out.]]<br />
 
Set the outgoing digit and route used for FXS to dial out via FXO. As there is a default route--- ‘Route by Number’ on the gateway, it is unnecessary to add another route for calling from extension to extension. However, for an FXS call dialed out with a prefix 0, as there is no SIP account starting with 0, the route should be set as shown in the figure above. Thus, the call can find a corresponding route to dial out.<br />
 
Set the outgoing digit and route used for FXS to dial out via FXO. As there is a default route--- ‘Route by Number’ on the gateway, it is unnecessary to add another route for calling from extension to extension. However, for an FXS call dialed out with a prefix 0, as there is no SIP account starting with 0, the route should be set as shown in the figure above. Thus, the call can find a corresponding route to dial out.<br />
6)Set IP –> TEL routing.
+
6) Set IP –> TEL routing.<br />
[[File:Gaa-ivr-14.png|thumb|200px|right|Configure that if the called party number starts with 0, the call will go out via FXO (Port Group 1). Here 0 is the outgoing digit. Step 5 and step 6 are only used for FXS to dial out via FXO.]]
+
[[File:Gaa-ivr-14.png|Configure that if the called party number starts with 0, the call will go out via FXO (Port Group 1). Here 0 is the outgoing digit. Step 5 and step 6 are only used for FXS to dial out via FXO.]]<br />
 
Configure that if the called party number starts with 0, the call will go out via FXO (Port Group 1). Here 0 is the outgoing digit. Step 5 and step 6 are only used for FXS to dial out via FXO.<br />
 
Configure that if the called party number starts with 0, the call will go out via FXO (Port Group 1). Here 0 is the outgoing digit. Step 5 and step 6 are only used for FXS to dial out via FXO.<br />
7)Two modes ‘Two Stages Dialing Mode’ and ‘Dialing directly’ are available for the dialing of FXO port<br />
+
7) Two modes ‘Two Stages Dialing Mode’ and ‘Dialing directly’ are available for the dialing of FXO port<br />
With the connection method set to ‘Two Stages Dialing Mode’, the gateway configuration finishes after you complete the following setting. Under this mode, a call initiated by FXS with the outgoing number set to 0 will not be switched to FXO until you wait for 6 seconds (as 0 doesn’t exist in the dialing rule) or press # after dialing 0 at FXS.
+
With the connection method set to ‘Two Stages Dialing Mode’, the gateway configuration finishes after you complete the following setting. Under this mode, a call initiated by FXS with the outgoing number set to 0 will not be switched to FXO until you wait for 6 seconds (as 0 doesn’t exist in the dialing rule) or press # after dialing 0 at FXS.<br />
[[File:Gaa-ivr-15.png|thumb|200px|right|If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.]]
+
[[File:Gaa-ivr-15.png|If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.]]<br />
If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.
+
If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.<br />
[[File:Gaa-ivr-16.png|thumb|200px|right|If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.]]
+
[[File:Gaa-ivr-16.png|If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.]]<br />
This number manipulation process is illustrated in the diagram below.
+
This number manipulation process is illustrated in the diagram below.<br />
[[File:Gaa-ivr-17.png|thumb|200px|right|This number manipulation process is illustrated in the diagram below.]]
+
[[File:Gaa-ivr-17.png|This number manipulation process is illustrated in the diagram below.]]

Latest revision as of 17:18, 2 June 2015

IVR

The following operations are supported:

  • PSTN can make calls to FXO, and then dial extensions at FXS according to the prompt tone.
  • Each extension at FXS can call PSTN via FXO.
  • Extensions at FXS can call each other.

To attain these purposes, take the following steps to configure the gateway.

1) Do SIP settings.
Set the LAN for SIP call processing and the IPPBX (with sip server function) address.
Set the LAN for SIP call processing and the IPPBX (with sip server function) address.
2) Do FXO settings.
Set the properties of each FXO port. The item Connection Method can be set to Static Binding with the bound number of 6666 which is determined by IPPBX. That is, once receiving the call with 6666 as its username from the called party, IPPBX will go into the PBX service flow. The effect of the analog gateway here is just to switch calls from PSTN to the IPPBX service layer.
Set the properties of each FXO port. The item Connection Method can be set to Static Binding with the bound number of 6666 which is determined by IPPBX. That is, once receiving the call with 6666 as its username from the called party, IPPBX will go into the PBX service flow. The effect of the analog gateway here is just to switch calls from PSTN to the IPPBX service layer.
3) Do FXS settings.
Set a SIP account for each FXS port, which will be used in registration to IPPBX. On request of speaking to the phone operator or switching the call to an extension, IPPBX will follow the service flow to switch the call to the extension with the corresponding SIP account or to the phone operator.
Set a SIP account for each FXS port, which will be used in registration to IPPBX. On request of speaking to the phone operator or switching the call to an extension, IPPBX will follow the service flow to switch the call to the extension with the corresponding SIP account or to the phone operator.
4) Do port group settings.
Add three FXS ports with indexes 4, 5 and 6 to Port Group 1, and three FXO ports with indexes 1, 2 and 3 to Port Group 2, preparing for subsequent route settings.
Add three FXS ports with indexes 4, 5 and 6 to Port Group 1, and three FXO ports with indexes 1, 2 and 3 to Port Group 2, preparing for subsequent route settings.
5) Set TEL –> IP routing.
Set to switch the FXS (Port Group 1) and FXO (Port Group 2) calls to IPPBX.
Set to switch the FXS (Port Group 1) and FXO (Port Group 2) calls to IPPBX.
6) Set IP –> TEL routing.
Add an IP –> TEL routing and set all IP calls from IPPBX to go out via FXO (Port Group 2). Settings related to the outgoing call number are processed by IPPBX.
Add an IP –> TEL routing and set all IP calls from IPPBX to go out via FXO (Port Group 2). Settings related to the outgoing call number are processed by IPPBX.
The IVR system with IPPBX as described above is mainly used in some complex environments. However, a simple requirement can be achieved by an IVR system with the analog gateway only where IPPBX is not necessary.
IVR
The scenario without IPPBX also supports the following operations.

  • PSTN can make calls to FXO, and then dial extensions at FXS according to the prompt tone.
  • Each extension at FXS can call PSTN via FXO.
  • Extensions at FXS can call each other.

Follow the steps below to set the analog gateway.
1) Do SIP settings.
Set the LAN for SIP call processing.
Set the LAN for SIP call processing.
2) Do FXO settings.
Set the connection method to ‘Two Stages Dialing Mode’. Once there is a call coming from FXO, the gateway will play the prompt tone ‘Please dial the extension number’. Then the gateway will switch the call to the extension with the corresponding extension number.
Set the connection method to ‘Two Stages Dialing Mode’. Once there is a call coming from FXO, the gateway will play the prompt tone ‘Please dial the extension number’. Then the gateway will switch the call to the extension with the corresponding extension number.
3) Do FXS settings.
Set the SIP account of each FXS port, i.e. the extension number of each FXS port.
Set the SIP account of each FXS port, i.e. the extension number of each FXS port.
4) Do port group settings.
Add FXO ports to Port Group 1, preparing for subsequent route settings.
Add FXO ports to Port Group 1, preparing for subsequent route settings.
5) Set TEL –> IP routing.
Set the outgoing digit and route used for FXS to dial out via FXO. As there is a default route--- ‘Route by Number’ on the gateway, it is unnecessary to add another route for calling from extension to extension. However, for an FXS call dialed out with a prefix 0, as there is no SIP account starting with 0, the route should be set as shown in the figure above. Thus, the call can find a corresponding route to dial out.
Set the outgoing digit and route used for FXS to dial out via FXO. As there is a default route--- ‘Route by Number’ on the gateway, it is unnecessary to add another route for calling from extension to extension. However, for an FXS call dialed out with a prefix 0, as there is no SIP account starting with 0, the route should be set as shown in the figure above. Thus, the call can find a corresponding route to dial out.
6) Set IP –> TEL routing.
Configure that if the called party number starts with 0, the call will go out via FXO (Port Group 1). Here 0 is the outgoing digit. Step 5 and step 6 are only used for FXS to dial out via FXO.
Configure that if the called party number starts with 0, the call will go out via FXO (Port Group 1). Here 0 is the outgoing digit. Step 5 and step 6 are only used for FXS to dial out via FXO.
7) Two modes ‘Two Stages Dialing Mode’ and ‘Dialing directly’ are available for the dialing of FXO port
With the connection method set to ‘Two Stages Dialing Mode’, the gateway configuration finishes after you complete the following setting. Under this mode, a call initiated by FXS with the outgoing number set to 0 will not be switched to FXO until you wait for 6 seconds (as 0 doesn’t exist in the dialing rule) or press # after dialing 0 at FXS.
If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.
If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.
If you’d like to dial out from FXO directly, it is required to set IPTel CalleeID manipulation as follow. Thus, the first digit 0 of the number will be removed before the number is dialed out through FXO.
This number manipulation process is illustrated in the diagram below.
This number manipulation process is illustrated in the diagram below.