Сообщения без ответов | Активные темы Текущее время: 17 ноя 2018, 22:47



Ответить на тему  [ Сообщений: 21 ] 
Помогите настроить CME на 2821 
Автор Сообщение

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Здравствуйте помогите настроить СМЕ на роутере CIsco2821
Нужен простейший функциональный конфиг

Телефоны зарегестрированы по SIP, 2301,2302,2303
К провайдеру подключился по SIP

cyprus-rp-rtr1#show sip-ua register status
Line peer expires(sec) registered
================================ ========== ============ ==========
2******1 -1 221 yes

На линию подается несколько внешних номеров
Нужно чтобы все исходящие звонили с 2******1 (номер подключения к провайдеру).
Все входящие сваливались на 2301.

На данный момент набираю номер и тишина , на мониторе телефона enter namber. Даже если звоню с 2301 на 2302.
Но если в

voice service voip
allow-connections sip to sip
redirect ip2ip
fax protocol cisco
sip
registrar server

в разделе sip поставить bind интерфейс , на котором регистрируются аппараты(10.19.1.1) то с 2301 на 2302 звонит а наружу также enter number и молчок.
но тогда отвалится регистрация у провайдера.


Конфиг

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime localtime
service password-encryption
!
hostname ****rtr1


ip dhcp excluded-address 10.19.1.1 10.19.1.10
!
ip dhcp pool USERS
network 10.19.1.0 255.255.255.0
default-router 10.19.1.1
dns-server 195.14.130.170 195.14.130.220
domain-name delrus.ru
option 150 ip 10.19.1.1

!
voice service voip
allow-connections sip to sip
redirect ip2ip
fax protocol cisco
sip
registrar server
!
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
!
!
!
!
voice register global
mode cme
source-address 10.19.1.1 port 5060
max-dn 5
max-pool 5
load 7941 SIP41.8-5-2SR1S
authenticate register
authenticate realm 10.19.1.1
timezone 32
time-format 24
date-format Y/M/D
file text
create profile sync 0000544438541534
!
voice register dn 1
number 2301
allow watch
name c****
no-reg
label c****
!
voice register dn 2
number 2302
allow watch
name m***
no-reg
label m***
!
voice register dn 3
number 2303
allow watch
name e***
no-reg
label e***
!
voice register pool 1
id mac 0018.****.****
type 7941
number 1 dn 1
incoming called-number 2301
voice-class codec 1
username c**** password cy****
!
voice register pool 2
id mac 0025.*****.****
type 7941
number 1 dn 2
incoming called-number 2302
voice-class codec 1
username m*** password m***
!
voice register pool 3
id mac 0023.****.****
type 7941
number 1 dn 3
incoming called-number 2303
voice-class codec 1
username e*** password e***
!
!
voice translation-rule 2301
rule 1 /.*/ /2301/
!
!
voice translation-profile Inbound_Cyta
translate called 2301
!


!
interface Vlan3
description INSIDE
ip address 10.19.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
!
!
!
!

tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:SIP41.8-5-2SR1S.loads
tftp-server flash:apps41.8-5-2CA1-6.sbn
tftp-server flash:cnu41.8-5-2CA1-6.sbn
tftp-server flash:cvm41sip.8-5-2CA1-6.sbn
tftp-server flash:dsp41.8-5-2CA1-6.sbn
tftp-server flash:jar41sip.8-5-2CA1-6.sbn

!
!
!
dial-peer voice 100 voip
destination-pattern .T
voice-class codec 1
no voice-class sip outbound-proxy
session protocol sipv2
session target dns:trunk.cyta.com.cy
dtmf-relay rtp-nte
no vad
!
!
sip-ua
credentials username 2******1 password *** realm fmc.cyta.com.cy
authentication username 2******1@trunk.cyta.com.cy password ***
no remote-party-id
retry invite 2
retry bye 2
retry cancel 2
retry register 10
timers connect 100
timers keepalive active 300
registrar dns:trunk.cyta.com.cy expires 3600
sip-server dns:trunk.cyta.com.cy
connection-reuse
!
!
!
gatekeeper
shutdown
!
!
telephony-service
time-zone 32
max-conferences 8 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!


12 июл 2018, 10:58
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
sh dial-peer voice summary
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT
100 voip up up .T 0 syst dns:trunk.cyta.com.c
40001 voip up up 2301 0 syst ipv4:10.19.1.14:5060
40002 voip up up 2302 0 syst ipv4:10.3.21.9:5060


12 июл 2018, 11:48
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Настроил подключил 3cx

voice register dn 4
number 2304
allow watch
name 3cx
no-reg
label 3cx

voice register pool 4
id mac 00FF.2843.8C88
session-transport tcp
number 1 dn 4
incoming called-number 2304
dtmf-relay sip-notify
voice-class codec 1
username 2304 password 2304

Звонок нормально идет на 2301,2302. Наружу звонок не проходит - короткие гудки

Почему когда с обыкновенных телефонов набираешь номер и ничего не происходит, только на мониторе enter number


12 июл 2018, 13:22
Профиль Отправить email

Зарегистрирован: 10 окт 2012, 09:51
Сообщения: 2575
Цитата:
session target dns:trunk.cyta.com.cy
зачем это? Я так понимаю вы для этого настроили sip-ua, а не просто так должны подключаться к провайдеру. И у вас транк с провайдером поднялся?


12 июл 2018, 14:51
Профиль

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
да поднялся
****#show sip-ua register status
Line peer expires(sec) registered
================================ ========== ============ ==========
2******1 -1 225 yes

Убрал

dial-peer voice 100 voip
destination-pattern .T
voice-class codec 1
no voice-class sip outbound-proxy
session protocol sipv2
session transport udp
dtmf-relay rtp-nte sip-notify sip-kpml
no vad

после первого гудка 3cx говорит destination not found


12 июл 2018, 15:54
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Так будет правильно для исходящего звонка для номера 2304 ?

dial-peer voice 99 voip
description for outgoing calls
translation-profile outgoing outcall_2304
destination-pattern 357........
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml
no vad

voice translation-rule 2304
rule 1 /2304/ /2******1/
!
voice translation-profile outcall_2304
translate calling 2304


12 июл 2018, 15:59
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
сделал звонок. Вот дебаг
Calling Number=35725363679, Called Number=35725363679 - это не понял
1: Dial-peer Tag=99 - это правильно
Calling Number=2304 звоню отсюда

Не пойму где косяк

Jul 12 13:15:33.928: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=35725363679, Called Number=35725363679, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.928: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=35725363679
Jul 12 13:15:33.928: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:33.928: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=99
Jul 12 13:15:33.928: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2304, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.928: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=40003
Jul 12 13:15:33.932: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2304, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.932: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=40003
Jul 12 13:15:33.932: //-1/7E43F66F853B/DPM/dpAssociateIncomingPeerCore:
Calling Number=2304, Called Number=35725363679, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.932: //-1/7E43F66F853B/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=40003
Jul 12 13:15:33.932: //1521/xxxxxxxxxxxx/CCAPI/cc_api_caps_ind:
Call Entry Is Not Found
Jul 12 13:15:33.936: //-1/7E43F66F853B/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=2304
----- ccCallInfo IE subfields -----
cisco-ani=2304
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=35725363679
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-lastrdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Jul 12 13:15:33.936: //-1/7E43F66F853B/CCAPI/cc_api_call_setup_ind_common:
Interface=0x4A625D2C, Call Info(
Calling Number=2304,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=35725363679(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=40003, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=1521
Jul 12 13:15:33.936: //-1/7E43F66F853B/CCAPI/ccCheckClipClir:
In: Calling Number=2304(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jul 12 13:15:33.936: //-1/7E43F66F853B/CCAPI/ccCheckClipClir:
Out: Calling Number=2304(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jul 12 13:15:33.936: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jul 12 13:15:33.936: :cc_get_feature_vsa malloc success
Jul 12 13:15:33.936: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jul 12 13:15:33.936: cc_get_feature_vsa count is 1
Jul 12 13:15:33.936: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jul 12 13:15:33.936: :FEATURE_VSA attributes are: feature_name:0,feature_time:1268703776,feature_id:52
Jul 12 13:15:33.936: //1521/7E43F66F853B/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=2304(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=35725363679(TON=Unknown, NPI=Unknown))
Jul 12 13:15:33.936: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x4E1D4114; count=1
Jul 12 13:15:33.936: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x4B88C8CC
Jul 12 13:15:33.940: //1521/7E43F66F853B/CCAPI/cc_process_call_setup_ind:
Event=0x4AD85E68
Jul 12 13:15:33.940: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 35725363679
Jul 12 13:15:33.940: //1521/7E43F66F853B/CCAPI/ccCallSetContext:
Context=0x4B96C038
Jul 12 13:15:33.940: //1521/7E43F66F853B/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 1521 with tag 40003 to app "_ManagedAppProcess_Default"
Jul 12 13:15:33.944: //-1/7E43F66F853B/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0x4E1D4114; count=1
Jul 12 13:15:33.944: //1521/7E43F66F853B/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Calling Number=, Called Number=35725363679, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=35725363679
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=99
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Calling Number=, Called Number=35725363679, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=35725363679
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:33.944: //-1/7E43F66F853B/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=99
Jul 12 13:15:33.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=35725363679, Called Number=35725363679, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=35725363679
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=99
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=35725363679, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=99
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=35725363679, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=99
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=35725363679, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=35725363679
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:33.948: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=99
Jul 12 13:15:33.948: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Calling Number=, Called Number=35725363679, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:33.948: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=35725363679
Jul 12 13:15:33.948: //-1/7E43F66F853B/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:33.948: //-1/7E43F66F853B/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=99
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0x4E1D4114; count=2
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: number=2304 type=unknown plan=unknown numbertype=calling
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 2304
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 2304
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/sed_subst: Successful substitution; pattern=2304 matchPattern=2304 replacePattern=2*****1 replaced pattern=2*******1
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: xlt_number=2*******1 xlt_type=unknown xlt_plan=unknown
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: number=35725363679 type=unknown plan=unknown numbertype=called
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_match_internal: Error: ruleset for called number not found
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: No match: number=35725363679 type=unknown plan=unknown
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-target
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-target number not found
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-called
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
Jul 12 13:15:33.948: //-1/7E43F66F853B/RXRULE/regxrule_dp_translate: calling_number=2******1 calling_octet=0x0
called_number=35725363679 called_octet=0x0
redirect_number= redirect_type=0 redirect_plan=0 redirect_PI=-1 redirect_SI=-1
Jul 12 13:15:33.948: //1521/7E43F66F853B/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=99, Params=0x4B969A78, Progress Indication=NULL(0)
Jul 12 13:15:33.948: //1521/7E43F66F853B/CCAPI/ccCheckClipClir:
In: Calling Number=25312901(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jul 12 13:15:33.952: //1521/7E43F66F853B/CCAPI/ccCheckClipClir:
Out: Calling Number=25312901(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jul 12 13:15:33.952: //1521/7E43F66F853B/CCAPI/ccCallSetupRequest:
Destination Pattern=357........, Called Number=35725363679, Digit Strip=FALSE
Jul 12 13:15:33.952: //1521/7E43F66F853B/CCAPI/ccCallSetupRequest:
Calling Number=25312901(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=35725363679(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=
Account Number=2304, Final Destination Flag=TRUE,
Guid=7E43F66F-850C-11E8-853B-BEBB64F32442, Outgoing Dial-peer=99
Jul 12 13:15:33.952: //1521/7E43F66F853B/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=2304
----- ccCallInfo IE subfields -----
cisco-ani=25312901
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=35725363679
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-lastrdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Jul 12 13:15:33.952: //1521/7E43F66F853B/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x4A625D2C, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=2******1,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=35725363679(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=99, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Jul 12 13:15:33.952: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jul 12 13:15:33.952: :cc_get_feature_vsa malloc success
Jul 12 13:15:33.952: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jul 12 13:15:33.952: cc_get_feature_vsa count is 2
Jul 12 13:15:33.952: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jul 12 13:15:33.952: :FEATURE_VSA attributes are: feature_name:0,feature_time:1268703552,feature_id:53
Jul 12 13:15:33.952: //1522/7E43F66F853B/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Jul 12 13:15:33.952: //1522/7E43F66F853B/CCAPI/ccCallSetContext:
Context=0x4B969A28
Jul 12 13:15:33.952: //1521/7E43F66F853B/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=99
Jul 12 13:15:33.952: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x4E1D4114; count=2
Jul 12 13:15:33.952: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x4B88C960
Jul 12 13:15:33.952: //-1/7E43F66F853B/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0x4E1D4114; count=2
Jul 12 13:15:33.952: //1522/7E43F66F853B/CCAPI/cc_api_call_proceeding:
Interface=0x4A625D2C, Progress Indication=NULL(0)
Jul 12 13:15:34.076: //1522/7E43F66F853B/CCAPI/cc_api_caps_ind:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=1522,
Caps(Codec=0x2, Fax Rate=0x2, Vad=0x2,
Modem=0x0, Codec Bytes=20, Signal Type=2)
Jul 12 13:15:34.076: //1522/7E43F66F853B/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
Jul 12 13:15:34.076: //1521/7E43F66F853B/CCAPI/cc_api_caps_ack:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=1521,
Caps(Codec=g711alaw(0x2), Fax Rate=FAX_RATE_VOICE(0x2), Vad=ON(0x2),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=1)
Jul 12 13:15:34.076: //1522/7E43F66F853B/CCAPI/cc_api_event_indication:
Event=156, Call Id=1522
Jul 12 13:15:34.076: //1522/7E43F66F853B/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jul 12 13:15:34.076: //1522/7E43F66F853B/CCAPI/cc_api_call_cut_progress:
Interface=0x4A625D2C, Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1),
Cause Value=0
Jul 12 13:15:34.076: //1522/7E43F66F853B/CCAPI/cc_api_call_cut_progress:
Call Entry(Responsed=TRUE)
Jul 12 13:15:34.080: //1521/7E43F66F853B/CCAPI/ccCallCutProgress:
Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1), Cause Value=0
Voice Call Send Alert=FALSE, Call Entry(Alert Sent=FALSE)
Jul 12 13:15:34.080: //1521/7E43F66F853B/CCAPI/ccCallCutProgress:
Call Entry(Responsed=TRUE)
Jul 12 13:15:34.080: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2304, Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:34.080: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2304
Jul 12 13:15:34.080: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jul 12 13:15:34.080: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=40003
Jul 12 13:15:34.080: //1521/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
(confID=0x4B61900C, callID1=0x5F1, callID2=0x5F2, tag=0x0)
Jul 12 13:15:34.080: //1521/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
(confID=0x4B61900C, callID1=0x5F1, gcid=7E44932F-850C11E8-853EBEBB-64F32442, tag=0x0)
Jul 12 13:15:34.080: //1522/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
(confID=0x4B61900C, callID2=0x5F2, gcid=7E44932F-850C11E8-853EBEBB-64F32442, tag=0x0)
Jul 12 13:15:34.080: //1521/7E43F66F853B/CCAPI/ccConferenceCreate:
Conference Id=0x4B61900C, Call Id1=1521, Call Id2=1522, Tag=0x0
Jul 12 13:15:34.080: //1521/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:

Jul 12 13:15:34.080: ccConferenceCreate: ret1=0, codecMask1=2, bytes1=160, negot1=1, dtmf1=8
ret2=0, codecMask2=2, bytes2=160, negot2=1, dtmf2=6,
tx_dynamic_pt1=8, rx_dynamic_pt1=8, codec_mode1=0, params_bitmap1 =0
tx_dynamic_pt2=8, rx_dynamic_pt2=8, codec_mode2=0, params_bitmap2 =0
Jul 12 13:15:34.080: //1521/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
delay media to slow start case, codec negotation is not done
Jul 12 13:15:34.080: //1521/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jul 12 13:15:34.080: cc_api_get_xcode_stream : 4534
Jul 12 13:15:34.080: //1521/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
Conference Id=0x11, Source Interface=0x4A625D2C, Source Call Id=1521,
Destination Call Id=1522, Disposition=0x0, Tag=0x0
Jul 12 13:15:34.080: //1522/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jul 12 13:15:34.080: cc_api_get_xcode_stream : 4534
Jul 12 13:15:34.080: //1522/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
Conference Id=0x11, Source Interface=0x4A625D2C, Source Call Id=1522,
Destination Call Id=1521, Disposition=0x0, Tag=0x0
Jul 12 13:15:34.080: //1521/7E43F66F853B/CCAPI/cc_generic_bridge_done:
Conference Id=0x11, Source Interface=0x4A625D2C, Source Call Id=1522,
Destination Call Id=1521, Disposition=0x0, Tag=0x0
Jul 12 13:15:34.080: //1521/7E43F66F853B/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x11, Destination Call Id=1522)
Jul 12 13:15:34.080: //1522/7E43F66F853B/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x11, Destination Call Id=1521)
Jul 12 13:15:34.080: //1521/7E43F66F853B/CCAPI/cc_process_notify_bridge_done:
Conference Id=0x11, Call Id1=1521, Call Id2=1522
Jul 12 13:15:36.436: //1521/7E43F66F853B/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x4A625D2C, Call Id=1521
Jul 12 13:15:36.436: //1521/7E43F66F853B/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Jul 12 13:15:36.436: //1521/7E43F66F853B/CCAPI/ccConferenceDestroy:
Conference Id=0x11, Tag=0x0
Jul 12 13:15:36.436: //1521/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x11, Source Interface=0x4A625D2C, Source Call Id=1521,
Destination Call Id=1522, Disposition=0x0, Tag=0x0
Jul 12 13:15:36.436: //1522/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x11, Source Interface=0x4A625D2C, Source Call Id=1522,
Destination Call Id=1521, Disposition=0x0, Tag=0x0
Jul 12 13:15:36.436: //1521/7E43F66F853B/CCAPI/cc_generic_bridge_done:
Conference Id=0x11, Source Interface=0x4A625D2C, Source Call Id=1522,
Destination Call Id=1521, Disposition=0x0, Tag=0x0
Jul 12 13:15:36.440: //1522/7E43F66F853B/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Jul 12 13:15:36.440: //1522/7E43F66F853B/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jul 12 13:15:36.440: //1521/7E43F66F853B/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Jul 12 13:15:36.440: //1521/7E43F66F853B/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jul 12 13:15:36.480: //1522/7E43F66F853B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x4A625D2C, Tag=0x0, Call Id=1522,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jul 12 13:15:36.480: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0
Jul 12 13:15:36.480: //1522/7E43F66F853B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jul 12 13:15:36.480: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jul 12 13:15:36.480: :cc_free_feature_vsa freeing 4B9EE138
Jul 12 13:15:36.480: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jul 12 13:15:36.480: vsacount in free is 1
Jul 12 13:15:36.480: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=357........, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:36.480: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Jul 12 13:15:36.580: //1521/7E43F66F853B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x4A625D2C, Tag=0x0, Call Id=1521,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jul 12 13:15:36.580: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x4E1D4114; count=2
Jul 12 13:15:36.580: //-1/7E43F66F853B/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x4B88C960
Jul 12 13:15:36.580: //1521/7E43F66F853B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jul 12 13:15:36.580: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jul 12 13:15:36.580: :cc_free_feature_vsa freeing 4B9EE218
Jul 12 13:15:36.580: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jul 12 13:15:36.580: vsacount in free is 0
Jul 12 13:15:36.588: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2304, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 12 13:15:36.588: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=40003


12 июл 2018, 16:27
Профиль Отправить email

Зарегистрирован: 10 окт 2012, 09:51
Сообщения: 2575
у вас точно оператор ждет звонка без 8 или +7?


13 июл 2018, 07:06
Профиль

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Это Кипр. Звонят они если по Кипру, то набираю 357 потом номер.

Позвонил им на старый телефон- нормально звонится, а на новый 2******1 - в трубке говорит что номера не существует.
Это косяк провайдера или настроек СМЕ?


13 июл 2018, 08:38
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Хотя если они звонят со старого на новый то там просто занято и все.


13 июл 2018, 08:39
Профиль Отправить email

Зарегистрирован: 10 окт 2012, 09:51
Сообщения: 2575
sl_nec писал(а):
Это Кипр. Звонят они если по Кипру, то набираю 357 потом номер.

Позвонил им на старый телефон- нормально звонится, а на новый 2******1 - в трубке говорит что номера не существует.
Это косяк провайдера или настроек СМЕ?

debug cсsip mess и увидите доходит до CME звонок. Откуда мы то можем узнать косяк провайдера или CME без дебага


13 июл 2018, 09:14
Профиль

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
От провайдера пришло

I made a call to 25312901 and I’ve seen the error 404 Not Found.
Have you made any inbound roule for a DID?
Moreover, the Outgoing routes have to be made in national format as 2xxxxxx and not 3572xxxxxxx.
In the trace I’ve seen attempts from 25312901 to 3572536xxxx

Переделал
deal-peer

dial-peer voice 99 voip
description for outgoing calls
translation-profile outgoing outcall_2304
destination-pattern 2.......
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml
no vad

voice translation-rule 2304
rule 1 /2304/ /25312901/
!

voice translation-profile outcall_2304
translate calling 2304

Исходящий звонок на местный номер прошел. Это уже первая победа))))
Теперь нужно сделать чтоб не только на местный звонилось но и на все остальные


13 июл 2018, 10:08
Профиль Отправить email

Зарегистрирован: 10 окт 2012, 09:51
Сообщения: 2575
sl_nec писал(а):
destination-pattern 2.......
то есть вы будете звонить только на номера, которые начинаются на 2?


13 июл 2018, 10:30
Профиль

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Для тех, кто как я, впервые делает маршрутизацию звонков

Трансляция внутренних номеров в внешний (который всем будет виден)
voice translation-rule 1
rule 1 /23../ /2******1/
(только звездочки ненужно вбивать, это я так скрыл номер)
!

Проофиль
voice translation-profile OUTCALL
translate calling 1

Диал-пир для внутренних звонков

dial-peer voice 99 voip
description for outgoing calls_to_CYPRUS
translation-profile outgoing OUTCALL
destination-pattern 2.......
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml
no vad


Диал пир для всех остальных звонков

dial-peer voice 100 voip
translation-profile outgoing OUTCALL
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml
no vad


Последний раз редактировалось sl_nec 13 июл 2018, 10:44, всего редактировалось 2 раз(а).



13 июл 2018, 10:38
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Спасибо Crush за поддержку. Теперь как то нужно входящие сделать. Синтаксис мне не очень понятен. Может подскажите какой то готовый простейший вариант для одного внешнего номера.


13 июл 2018, 10:42
Профиль Отправить email

Зарегистрирован: 10 окт 2012, 09:51
Сообщения: 2575
вы что с этим номером сделать хотите?


13 июл 2018, 10:44
Профиль

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Должны звонить на номер 2******1 а он должен перенаправлять все звонки на 2301
Есть еще номера, ДОПУСТИМ 2******2. С него тоже входящий должен перенаправляться на 2301


13 июл 2018, 10:47
Профиль Отправить email

Зарегистрирован: 10 окт 2012, 09:51
Сообщения: 2575
Код:
voice translation-rule 40
 rule 1 / 2******[12]/ /2301/

voice translation-profile INCOM
 translate called 40

dial-peer voice 100 voip
 translation-profile incoming INCOM
 session protocol sipv2
 incoming called-number  2******[12]

самое простое так. при звонке на ваш внешний, зазвонит внутренний, который в rule укажите

Здесь
Код:
 incoming called-number  2******[12]
точно не помню, возможно просто указать
Код:
 incoming called-number  2******.
, то есть вместо последней цифры точку поставить


13 июл 2018, 10:52
Профиль

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
а входящие и исходящие звонки можно в одном dial-peer сделать? Или нужно отдельные писать?


13 июл 2018, 11:00
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Пока делаю на один номер

voice translation-rule 2
rule 1 /2******1/ /2301/

voice translation-profile INCOM
translate called 2


dial-peer voice 100 voip
translation-profile incoming INCOM
translation-profile outgoing OUTCALL
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target sip-server
incoming called-number 25312901
dtmf-relay rtp-nte sip-notify sip-kpml
no vad


13 июл 2018, 11:05
Профиль Отправить email

Зарегистрирован: 05 июл 2018, 16:24
Сообщения: 55
Большое спасибо Сrash
Простейшая маршрутизация звонков на СМЕ закончена. Все работает.


13 июл 2018, 11:28
Профиль Отправить email
Показать сообщения за:  Поле сортировки  
Ответить на тему   [ Сообщений: 21 ] 

Кто сейчас на конференции

Сейчас этот форум просматривают: Google [Bot] и гости: 12


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.
Русская поддержка phpBB