5
Adapting the config files
Page 52
CELLX box 17.1/002
5.3.2.2
Call routing for calls to and from the local SIP device
Call routing sends the calls from the ports of the CELLX Box to the local SIP UAs and from the
local SIP UAs to the devices on the ports of the CELLX Box. Please see
Example 5.7
.
The first two mappings are used to allow connections from the FXS ports to the SIP UAs. In
Example 5.7
two SIP UAs are defined, one with the extension 200 using the VoIP profile
sp200 and one with the extension 201 with the same VoIp profile. The dialed digits from the
FXS ports is converted to block dialing using
|
at the begin.
The entries that follow are used to send the calls from the SIP UAs to the FXS lines. The ex-
tensions for the first FXS line is 100. The extension for the second FXS line is 101, and so on.
All international calls from SIP with the prefix 00 will be sent to the VoIP profile PeerA. All
other calls from the SIP UAs will be sent out to the mobile controller.
5.4 Rerouting or failover
If a port is not available e.g. in the failover scenario
(see Chapter 1.2.2 on page 10)
the calls
may be sent to an alternative route. This alternative routing is configured by the redirect pa-
rameter
(see Table 4.7 on page 36)
.
Example 5.8
shows the rerouting for calls to the public
VoIP profile PeerA over the mobile ports 20.
First, all calls that receive a busy response from PeerA will be redirected to the symbolic num-
ber A.
Then, all calls to the symbolic number A will be routed to the mobile ports (20).
Example 5.7
Call routing for calls from the FXS ports to the local SIP UAs
; send extension dialing to softphones from fxs ports
MapAllfxs?200=|40sp200:200
MapAllfxs?201=|40sp201:201
;calls from UAs to FXS
MapAllsip?100=10
MapAllsip?101=11
MapAllsip?102=12
MapAllsip?103=13
;calls from UAs to SIP-Provider
MapAllsip?00=|40PeerA:00
;all others calls from UAs to mobile
MapAllsip0=|20<<24
MapAllsip1=|21<<24
;…
Example 5.8
Rerouting the calls using the PeerA VoIP profile to the mobile ports
Redirect340PeerA:=A
MapAllA=20
Summary of Contents for CellX 3G-4
Page 1: ...CELLX Box Systems Manual Software version 17 1 ...
Page 7: ...1 Overview ...
Page 12: ...2 System security and hardware overview ...
Page 19: ...3 CELLX Box installation ...
Page 23: ...4 Configuration ...
Page 43: ...5 Adapting the config files ...
Page 57: ...6 Maintenance ...
Page 63: ...6 Maintenance Page 63 CELLX box 17 1 002 11 Send the trace to customer service 1 2 3 ...