EVO KONFIGURACIJE
ip domain name ims.telekomsrbija.com
ip host ims.telekomsrbija.com 10.0.0.2
!
multilink bundle-name authenticated
voice-card 0
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol pass-through g711alaw
h323
sip
header-passing
registrar server
early-offer forced
midcall-signaling passthru
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
!
!
voice register global
mode cme
source-address 192.168.2.251 port 5060
max-dn 6
max-pool 6
authenticate register
tftp-path flash:
create profile sync 0131511014412104
!
!
!
voice translation-rule 1
rule 1 /100/ /ABCDEFGH0000/
rule 2 /101/ /ABCDEFGH0001/
rule 3 /102/ /ABCDEFGH0002/
rule 4 /103/ /ABCDEFGH0003/
rule 5 /104/ /ABCDEFGH0004/
rule 6 /105/ /ABCDEFGH0005/
rule 7 /106/ /ABCDEFGH0006/
rule 8 /207/ /ABCDEFGH0007/
rule 15 /^...$/ /ABCDEFGH0000/
!
voice translation-profile SIP-OUTGOING
translate calling 1
!
!
!
application
service toroute flash:toroute.tcl
!
!
hw-module ism 0
!
hw-module pvdm 0/0
!
!
!
dial-control-mib retain-timer 35000
dial-control-mib max-size 1200[!
redundancy
!
!
!
!
!
class-map match-all L3-to-L2_VoIP-Cntrl
match ip dscp af31
class-map match-all L3-to-L2_VoIP-RTP
match ip dscp ef
class-map match-all SIP
match protocol sip
class-map match-all RTP
match protocol rtp
!
!
policy-map EthOut
class RTP
policy-map output-L3-to-L2
class L3-to-L2_VoIP-RTP
set cos 5
class L3-to-L2_VoIP-Cntrl
set cos 3
!
!
interface GigabitEthernet0/0.2
description LAN DAT
encapsulation dot1Q 2
ip address 192.168.2.251 255.255.255.0
!
interface GigabitEthernet0/0.5
description LAN VOICE
encapsulation dot1Q 5
ip address 192.168.5.251 255.255.255.0
service-policy output output-L3-to-L2
!
interface ISM0/0
ip unnumbered GigabitEthernet0/0.2
service-module ip address 192.168.2.252 255.255.255.0
!Application: SRSV-CUE Running on ISM
service-module ip default-gateway 192.168.2.251
!
!
interface GigabitEthernet0/1.2655
description INTERFACE KA TELEKOMU VOICETRUNK
encapsulation dot1Q 2655
ip address 10.1.4.78 255.255.255.252
!
interface ISM0/1
description Internal switch interface connected to Internal Service Module
!
interface Vlan1
no ip address
!
ip forward-protocol nd
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash:/gui
!
ip route 10.0.0.1 255.255.255.255 10.1.4.77
ip route 10.0.0.2 255.255.255.255 10.1.4.77
ip route 192.168.2.252 255.255.255.255 ISM0/0
!
access-list 23 permit 192.168.2.0 0.0.0.255
!
!
tftp-server flash:SEP20CF301A7A36.cnf.xml
!
control-plane
!
!
voice-port 0/0/0
connection plar opx 100
caller-id enable
!
voice-port 0/0/1
connection plar opx 100
caller-id enable
!
voice-port 0/0/2
connection plar opx 100
caller-id enable
!
voice-port 0/0/3
connection plar opx 100
caller-id enable
!
voice-port 0/1/0
caller-id enable
!
voice-port 0/1/1
caller-id enable
!
voice-port 0/1/2
caller-id enable
!
voice-port 0/1/3
caller-id enable
!
!
!
mgcp profile default
!
!
dial-peer cor custom
name medjunarodni
name mobilni
name fiksni
name lokalni
name besplatni
name igrenasrecu
name sanaplatom
name hitnesluzbe
name servisnesluzbe
!
!
dial-peer cor list POZIVmedjunarodni
member medjunarodni
!
dial-peer cor list POZIVmobilni
member mobilni
!
dial-peer cor list POZIVfiksni
member fiksni
!
dial-peer cor list POZIVlokalni
member lokalni
!
dial-peer cor list POZIVbesplatni
member besplatni
!
dial-peer cor list POZIVsanaplatom
member sanaplatom
!
dial-peer cor list POZIVigrenasrecu
member igrenasrecu
!
dial-peer cor list POZIVhitnesluzbe
member hitnesluzbe
!
dial-peer cor list POZIVservisnesluzbe
member servisnesluzbe
!
dial-peer cor list listSVE
member medjunarodni
member mobilni
member fiksni
member lokalni
member besplatni
member igrenasrecu
member sanaplatom
member hitnesluzbe
member servisnesluzbe
!
dial-peer cor list SrbijaMobil
member mobilni
member fiksni
member lokalni
member besplatni
member hitnesluzbe
member servisnesluzbe
!
dial-peer cor list SrbijaFiksni
member fiksni
member lokalni
member besplatni
member hitnesluzbe
!
!
dial-peer voice 211 pots
destination-pattern 211
port 0/1/0
!
dial-peer voice 212 pots
destination-pattern 212
port 0/1/1
!
dial-peer voice 213 pots
destination-pattern 213
port 0/1/2
!
dial-peer voice 214 pots
destination-pattern 214
port 0/1/3
!
dial-peer voice 555 voip
description ** Exchange Unified Messaging **
destination-pattern 555
session protocol sipv2
session target ipv4:192.168.2.203
session transport tcp
dtmf-relay rtp-nte
codec g711ulaw
fax rate disable
fax protocol pass-through g711ulaw
no vad
!
dial-peer voice 5000 voip
service toroute
session protocol sipv2
session target sip-server
incoming called-number ABCDEFGH0000
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
!
dial-peer voice 1001 voip
corlist outgoing POZIVmedjunarodni
translation-profile outgoing SIP-OUTGOING
destination-pattern 00T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1002 voip
corlist outgoing POZIVfiksni
translation-profile outgoing SIP-OUTGOING
destination-pattern 0[1-3]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1003 voip
corlist outgoing POZIVigrenasrecu
translation-profile outgoing SIP-OUTGOING
destination-pattern 0[4-5]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1004 voip
corlist outgoing POZIVmobilni
translation-profile outgoing SIP-OUTGOING
destination-pattern 06T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1005 voip
corlist outgoing POZIVsanaplatom
translation-profile outgoing SIP-OUTGOING
destination-pattern 0[79]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1006 voip
corlist outgoing POZIVbesplatni
translation-profile outgoing SIP-OUTGOING
destination-pattern 0[8]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1007 voip
corlist outgoing POZIVlokalni
translation-profile outgoing SIP-OUTGOING
destination-pattern [1-8]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1008 voip
corlist outgoing POZIVhitnesluzbe
translation-profile outgoing SIP-OUTGOING
destination-pattern 9[2-4]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
dial-peer voice 1009 voip
corlist outgoing POZIVservisnesluzbe
translation-profile outgoing SIP-OUTGOING
destination-pattern 9[5-8]T
session protocol sipv2
session target dns:ims.telekomsrbija.com
dtmf-relay sip-notify rtp-nte
codec g711alaw
!
!
sip-ua
credentials number ABCDEFGH0000 username
[email protected] password 7 xxxxxxxxxxx realm ims.telekomsrbija.com
mwi-server ipv4:192.168.2.203 expires 3600 port 5060 transport tcp unsolicited
registrar dns:ims.telekomsrbija.com expires 3600
sip-server ipv4:10.0.0.2:5060
host-registrar
refer-ood enable
handle-replaces
!
!
!
gatekeeper
shutdown
!
!
telephony-service
no auto-reg-ephone
max-ephones 24
max-dn 72
ip source-address 192.168.5.251 port 2000
calling-number initiator
service phone videoCapability 1
timeouts interdigit 2
timeouts busy 5
cnf-file location flash:
time-zone 26
time-format 24
date-format dd-mm-yy
voicemail 555
mwi relay
max-conferences 8 gain -6
call-forward pattern .T
call-forward system redirecting-expanded
moh music-on-hold.au
dn-webedit
time-webedit
transfer-system full-consult dss
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
EVO DEBUG POZIVA
*Apr 26 08:16:38.435: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:
[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.2:5060;branch=z9hG4bK0e9uml300ohhjfcm35c1.1
To: "381264150007 381264150007"<sip:
[email protected]>;cscf
From: <sip:
[email protected];user=phone>;tag=1693891817-1303805764393-
Call-ID:
[email protected]
CSeq: 141595029 INVITE
Max-Forwards: 7
Content-Length: 248
Contact: <sip:
[email protected]:5060;transport=udp>
Content-Type: application/sdp
Allow: ACK, BYE, CANCEL, INFO, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE
Accept: multipart/mixed
Accept: application/media_control+xml
Accept: application/sdp
Accept: application/x-hotsip-FileTransfer+xml
Supported: 100rel, timer
P-Asserted-Identity: <sip:
[email protected]>
Privacy: none
P-Charging-Vector: icid-value=6c01d7400714bd009c9d49fe5f61f9
Min-SE: 180
Session-Expires: 1800
P-Called-Party-ID: <sip:
[email protected]>
v=0
o=BroadWorks 70918741 1 IN IP4 10.0.0.2
s=-
c=IN IP4 10.0.0.2
t=0 0
m=audio 37286 RTP/AVP 8 18 13 98
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:13 CN/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
*Apr 26 08:16:38.451: //41896/57CF5CC5995F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.0.2:5060;branch=z9hG4bK0e9uml300ohhjfcm35c1.1
From: <sip:
[email protected];user=phone>;tag=1693891817-1303805764393-
To: "381264150007 381264150007"<sip:
[email protected]>;cscf
Date: Tue, 26 Apr 2011 08:16:38 GMT
Call-ID:
[email protected]
CSeq: 141595029 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
*Apr 26 08:16:38.455: //41896/57CF5CC5995F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.0.0.2:5060;branch=z9hG4bK0e9uml300ohhjfcm35c1.1
From: <sip:
[email protected];user=phone>;tag=1693891817-1303805764393-
To: "381264150007 381264150007"<sip:
[email protected]>;cscf;tag=1201F3BC-180C
Date: Tue, 26 Apr 2011 08:16:38 GMT
Call-ID:
[email protected]
CSeq: 141595029 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Reason: Q.850;cause=21
Content-Length: 0
*Apr 26 08:16:38.459: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:
[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.2:5060;branch=z9hG4bK0e9uml300ohhjfcm35c1.1
CSeq: 141595029 ACK
To: "381264150007 381264150007"<sip:
[email protected]>;cscf;tag=1201F3BC-180C
From: <sip:
[email protected];user=phone>;tag=1693891817-1303805764393-
Call-ID:
[email protected]
Max-Forwards: 7
Content-Length: 0
*Apr 26 08:16:55.915: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:ims.telekomsrbija.com:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.4.78:5060;branch=z9hG4bK85822E1
From: <sip:
[email protected]>;tag=120237F4-4C2
To: <sip:
[email protected]>
Date: Tue, 26 Apr 2011 08:16:55 GMT
Call-ID: 37EE00AF-6C5511E0-800E9017-67376A53
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1303805815
CSeq: 1679 REGISTER
Contact: <sip:
[email protected]:5060>
Expires: 3600
Supported: path
Content-Length: 0
*Apr 26 08:16:55.931: //41900/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.1.4.78:5060;branch=z9hG4bK85822E1
From: <sip:
[email protected]>;tag=120237F4-4C2
To: <sip:
[email protected]>;tag=9f6678ee0731bac09c9d4a42e5c7eb
Call-ID: 37EE00AF-6C5511E0-800E9017-67376A53
Timestamp: 1303805815
CSeq: 1679 REGISTER
Content-Length: 0
P-Charging-Vector: icid-value=9f6678ee0731bac09c9d4a42e17e99
*Apr 26 08:17:00.803: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:ims.telekomsrbija.com:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.4.78:5060;branch=z9hG4bK85838AE
From: <sip:
[email protected]>;tag=12024B0C-21B3
To: <sip:
[email protected]>
Date: Tue, 26 Apr 2011 08:17:00 GMT
Call-ID: 3A10E183-6C5511E0-80169017-67376A53
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1303805820
CSeq: 1679 REGISTER
Contact: <sip:
[email protected]:5060>
Expires: 3600
Supported: path
Content-Length: 0
*Apr 26 08:17:00.807: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
REGISTER sip:ims.telekomsrbija.com:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.4.78:5060;branch=z9hG4bK85841E37
From: <sip:
[email protected]>;tag=12024B0C-16E8
To: <sip:
[email protected]>
Date: Tue, 26 Apr 2011 08:17:00 GMT
Call-ID: 3827FDE1-6C5511E0-80119017-67376A53
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1303805820
CSeq: 1679 REGISTER
Contact: <sip:
[email protected]:5060>
Expires: 3600
Supported: path
Content-Length: 0
*Apr 26 08:17:00.819: //41901/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.1.4.78:5060;branch=z9hG4bK85838AE
From: <sip:
[email protected]>;tag=12024B0C-21B3
To: <sip:
[email protected]>;tag=e76a676507cd19909c9d4a5608145f
Call-ID: 3A10E183-6C5511E0-80169017-67376A53
Timestamp: 1303805820
CSeq: 1679 REGISTER
Content-Length: 0
P-Charging-Vector: icid-value=e76a676507cd19909c9d4a560400ef
*Apr 26 08:17:00.823: //41902/000000000000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.1.4.78:5060;branch=z9hG4bK85841E37
From: <sip:
[email protected]>;tag=12024B0C-16E8
To: <sip:
[email protected]>;tag=400ede05078e52e09c9d4a5604f805
Call-ID: 3827FDE1-6C5511E0-80119017-67376A53
Timestamp: 1303805820
CSeq: 1679 REGISTER
Content-Length: 0
P-Charging-Vector: icid-value=400ede05078e52e09c9d4a5600bb9e