VoIP PSTN Gateway
(→Parameters) |
|||
Line 44: | Line 44: | ||
There are some common parameters for both protocols like called number, caller number. | There are some common parameters for both protocols like called number, caller number. | ||
− | The ''circuit'' parameter has different behavior. For incoming calls in ISDN the circuit | + | The ''circuit'' parameter has different behavior. For incoming calls in ISDN the circuit can be modified, but for ISUP the circuit cannot be modified. |
For more information see the parameters described in [[Signaling module|ysigchan.conf]] file. | For more information see the parameters described in [[Signaling module|ysigchan.conf]] file. |
Revision as of 10:22, 8 April 2013
Yate has the functionality of a Voip - PSTN gateway.
It's main task is to provide signaling interworking and to transform the information it receives on one side in information compatible with the other side, like SIP to ISDN or SIP to SS7.
Contents |
Yate as a VoIP - PSTN Gateway
Yate can connect the existing PBX to alternative VoIP providers providing cost savings for enterprises.
It can also be used by providers to connect their TDM network to IP networks providing cost savings for long distance calls.
For this application usage of Sangoma cards is necessary.
You can configure Yate as a gateway from SIP to ISDN or from SIP to SS7 (ISUP) using local circuits like Sangoma cards as shown in Figure 1, or using remote circuits like a MG (Media Gateway) as you can see in the next two figures. The differences between Figure 2 and Figure 3 is how Yate is configured with RTP forward or without. You can read more about how RTP forward works in Yate in a dedicated article.
File:Yate-VoIP-PSTN Gateway with local circuits.png
File:Yate-VoIP-PSTN Gateway with remote circuits without RTP.png
File:Yate-VoIP-PSTN Gateway with remote circuits with RTP.png
Configuration in Yate
To configure SIP to ISDN or SIP to SS7 (ISUP) you will need:
- signaling
- voice circuits that can be:
- - local: Sangoma or Zaptel cards. This can be configurate in Yate in files: wpcard.conf and zapcard.conf.
- - remote: MGCP (to control a media gateway) configured in mgcpca.conf
For configuring Yate as gateway from SIP to ISDN or SIP to SS7 (ISUP) you need to configure in ysigchan.conf file:
- an ISUP trunk is a container for an ISUP call controller
- an ISDN trunk is a container with a Q.931 call controller, a circuit group (voice circuits), a Q.921 data link and an HDLC signalling interface.
Routing in Yate
The routing it is done from regexroute.conf in the same way for ISDN and ISUP, by addressing the trunk configured in ysigchan.conf.
Syntax: sig/callednumber;trunk=trunkname
The callednumber is the called party's number. The trunk parameter is mandatory and indicates the trunk to use to make the call. trunkname must be the name of an active trunk configured in ysigchan.conf.
Parameters
There are some common parameters for both protocols like called number, caller number.
The circuit parameter has different behavior. For incoming calls in ISDN the circuit can be modified, but for ISUP the circuit cannot be modified.
For more information see the parameters described in ysigchan.conf file.
See also