Professional Documents
Culture Documents
www.oneaccess-net.com
v0.11 2007
contact@oneaccess-net.com
Copyright © OneAccess Networks – All rights reserved
VoIP: Call routing
Overview
Applicable to any call between any type of ports (local or voip).
Any call routing is possible except VoIP -> VoIP call
Implicit Routing
Easy to configure : no called number configuration
No number processing
Routing Table
Incoming call routing : optional process done for each incoming call (from
VoIP network or local port) allowing number translations (calling & called
numbers) and voice profile selection
Outgoing call routing : for numbering plan definition (overlap or in-bloc),
selection of the remote voip device if no gatekeeper, number translations
(calling & called)
Possibility to configure a backup route in case of outgoing call failure
Possibility to modify specific ISDN Information Elements :
Type of number, Numbering plan, Bearer capability
6. Voice routing
one200(configure)>voice-routing
one200(voice-route)> ?
display-routes - Show voice routing table
exit - Exit from command node
insert - Insert VOIP voice route
move - Move VOIP voice route
no - no
route - Set VOIP voice route
test-route - Test voice routing table
<cr>
one200(voice-route)>
one200(voice-route)>route 1
one200(conf-voice-route)> ?
dial-peer - Set route dial peer
exit - Exit from command node
force-bearer-cap - Set force bearer capability fields
force-clir - Set caller line identity request
force-numplan - Set origin/destination numplan
insert-calling - Set route calling insertion
insert-prefix - Set route prefix insertion
insert-suffix - Set route suffix insertion
no - no
prefix - Set route prefix(prefix [number-type][length][timer]
[overlap])
prefix-type - Set route direction and type of call
startup-file - Set restart equipment with the file name.
suppress-prefix - Set route prefix suppression
translate - Set route number translate
wildcard - Set wildcard value for prefix
<cr>
authentication
CLI(voice-route)>route 1
CLI(voice-route)>dial-peer pots-group 0 ua-sip
CLI(voice-route)>sip-username <user portion of sip uri>
CLI(voice-route)>sip-authentication [<username> <password>]
CLI(voice-route)>prefix 1000 length 4
CLI(voice-route)>prefix-type outgoing called last
CLI(voice-route)>exit
CLI(configure)>exit
one200(voice-route)>display-routes
1 - 20. all length 4 / voip 1 / mixed - called - next
2 -1000 all length 4 / pots 0 / outgoing - called
- last
one200>show running-config
...
voice-routing
route 1
dial-peer voip 1
prefix 20. length 4
prefix-type mixed called next
exit
route 2
dial-peer pots-group 1 ua-sip
prefix 1000 length 4
prefix-type outgoing called last
exit
exit
...
Prefix suppression
1234
Pots-group 0 12011234
VoIP 0
route 1
dial-peer pots-group 0
prefix-type outgoing called last
prefix 120A. length 4
suppress-prefix 4 called
wildcard A 0123
exit
VoIP 2
Pots-group 4 986911111
route 14
dial-peer voip 1
prefix 986902739 length 9
prefix-type incoming called
exit
route 15
dial-peer voip 2
prefix . length 0
prefix-type incoming called
exit
Calling : 986902735
Calling : 019869027352222 Called : 12345678
Called : 12345678
Pots-group 0
route 2
dial-peer pots-group 0
translate .98690273A. 98690273A calling
prefix . length 0
prefix-type incoming calling next
exit
route 3
dial-peer pots-group 0 alias
insert-prefix 1200 called
prefix 986902739 length 9
prefix-type incoming calling
exit
Calling : 986902739
Called : 120012345678
Calling : 019869027391111 Incoming Calling : 986902739 Outgoing
Called : 12345678 Table Called : 120012345678 Table
Voip 1
Calling : 986902735
Calling : 019869027352222 Called : 12345678
Called : 12345678 Voip 0
Pots-group 0
Calling : 986902735
Called : 12345678
route 5
dial-peer voip 0
prefix . length 0
prefix-type outgoing called last
exit
www.oneaccess-net.com
v0.11 2007
contact@oneaccess-net.com
Copyright © OneAccess Networks – All rights reserved
Voice routing table testing
One_Training(voice-route)>display-route
1 - . all length 10 / pots 0 / incoming - called - last
/ +prefix-calling 0
10 - . all timer / voip 0 / outgoing - called - last
20 - . all length 9 / pots 0 / outgoing - called - last
/ -prefix-called 1
One_Training(voice-route)>
BRI statistics
CLI# show voice voice-port bri index 0
voice port 5/0
protocol descriptor BRI_NT
current state activated
config state up
layer 1 status activated
attached vmoabri dial peer 0
number of voice communication 0
bri Tx frames on D channel 40
bri Rx frames on D channel 41
Incoming calls : 54
Incoming calls failures : 7
Remote failure : 0
Unknown number : 5
DSP unavailable : 0
Not specified : 2
PRI statistics
CLI# show voice voice-port pri index 0
voice port 5/0
physical type E1
protocol descriptor E1_PRI
current state activated
config state up
layer 1 status deactivated
number of voice communications 0
pri AIS occurence 0
pri RDI occurence 0
Outgoing calls : 67
Outgoing calls failures : 3
Physical Interface down : 0
Cause Class 0 (normal event) : 0
Cause Class 1 (normal event) : 3
Normal Cause (16) : 0
User busy (17) : 3
No answer (18) : 0
Cause Class 2 (unavailable ressources) : 0
Cause Class 3 (unavailable service) : 0
Cause Class 4 (service not provided) : 0
Cause Class 5 (invalid message) : 0
Cause Class 6 (protocol error) : 0
Cause Class 7 (interworking) : 0
Incoming calls : 23
Incoming calls failures : 2
Remote failure : 2
Unknown number : 0
DSP unavailable : 0
Not specified : 0
FXS statistics
CLI# show voice voice-port fxs index 0
voice port 5/0
current state on hook
config state up
attached vmoa fxs dial peer 0
voice communication no
Outgoing calls : 32
Outgoing calls failures : 3
User busy : 2
No answer : 1
Incoming calls : 6
Incoming calls failures : 0
Remote failure : 0
Unknown number : 0
DSP unavailable : 0
Not specified : 0
type may be :
-current : statistics on current calls
-outgoing : outgoing calls only
-incoming : incoming calls only
-user-plan : voice & fax only
-all (default) : all the statistics are provided
Events
vxTarget>event
filter - Add/remove events filters
manager - Add a SNMP manager
no - No
recover - Recover events from memory
vxTarget>event filter
add - Add an event filter
remove - Remove a events filter from the table
vxTarget>event filter add vox
ALL - All families from vox group
GEN - GEN
VOATM - VOATM
VOIP - VOIP
vxTarget>event filter add vox voip
<subfam> - <ALL | ControlPlan | UserPlan>
<fam2> - <GEN | VOATM>
vxTarget>event filter add vox voip all show
01/02/00 04h58m31s
RTP Source ip :192.168.1.110 rtp:16384 /Dest ip :192.168.1.111 rtp:16386 (active)
Play time (voice) : 00h00m39s
Tx Coder : G729 / 20 ms ; Rx Coder : G729
RTP Packets RX / TX : 1988 / 1989
RTP Packet lost&discarded RX / TX (RTCP reported) : 0 / 395307
Number of Excessive Jitter events : 3
ERL : 15 dB
ACOM : 32 dB
voip-call 1
pots 4
called 0198723000
calling 3000
bearer data
duration 180
timeout 10
exit
00:11:21.485 Info vox voip controlplan 3 Incoming call on voip id: 0, calling: 111,
called: 110, call-id: 3.
00:11:21.486 Info vox voip controlplan 3 Outgoing call on local port: 5/0, calling: 111,
called: 110, call-id:3.
00:11:21.550 Info vox voip controlplan 3 Alert received, call-id: 3.
00:11:21.631 Info vox voip controlplan 3 Call connected, call-id: 3.
00:11:25.142 Info vox voip userplan 1 Fax/Modem Passthrough starting call-id: 3.
00:11:25.142 Info vox voip userplan 3 RTP new transmission coder: G711 A Law, call-id: 3.
00:11:25.341 Info vox voip userplan 3 RTP new reception coder: G711 A Law, call-id: 3.
00:12:23.533 Info vox voip controlplan 3 Call Disconnection received on local port: 5/1,
cause: (16)[Normal call clearing], call-id: 3.
00:12:23.552 Info vox voip userplan 3 VoIP RTP transmission stopped, coder: G711 A Law, call-id: 3.
00:12:23.552 Info vox voip userplan 3 VoIP RTP reception stopped, coder: G711 A Law, call-id: 3.