The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Подключение SIP номеров от sip.telecom.kz"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Маршрутизаторы CISCO и др. оборудование. (VoIP)
Изначальное сообщение [ Отслеживать ]

"Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от madja email(ok) on 18-Июн-14, 11:02 
Добрый день народ! Уже голова кипит не могу разобраться, помогите чем сможете
Раньше была схема подключения CUCM - H.323 - 2811 -FXO все нормально работало, после переезда офиса в новое здание провайдер выдал на один линк интернет fa0/0 и на второй четыре SIP номера (fa0/1) типа аналоговых номеров нету пользуйтесь этими, схема получилась CUCM - H.323 - 2811 -SIP.
Получил следующую информацию от провайдера: логин пароль на 4 номера, ip адрес для порта fa0/1 и адрес сервера sip.telecom.kz 10.0.0.20, также у этого SIP-сервера есть публичный адрес 92.46.61.21, инфа с сайта http://idphone.kz/?page_id=1010.
Решил начать с регистрации одного SIP номера, прописал параметры voice service voip и sip-up к серверу 10.0.0.20, номер не регистрируются если через публичный сервер 92.46.61.21 регистрацию успешно проходит но звонки не ходят типа короткие гудки.
Обратился к провайдеру, получил следующий ответ: мы продаем готовые шлюзы с настройками и с Cisco мы не сталкивались. На сайте есть примеры настроек шлюзов но Cisco я там не нашел.

)) думаю будет глупо если брать у провайдера SIP шлюз и заводить по старой схеме на FXO

Вот конфиг SIP через интернет
!
version 12.4
service nagle
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime localtime show-timezone
service timestamps log datetime msec localtime
service password-encryption
no service dhcp
!
!
boot-start-marker
boot-end-marker
!
!
dot11 syslog
no ip source-route
!
!
ip cef
!
!
no ip bootp server
no ip domain lookup
ip host sip.telecom.kz 92.46.61.21
login block-for 60 attempts 3 within 30
login delay 5
login on-failure log
login on-success log
no ipv6 cef
ntp logging
ntp master 4
ntp update-calendar
ntp server 10.10.111.1 prefer
ntp server 195.2.64.6
ntp server 62.117.76.138
ntp server 192.43.244.18
!
multilink bundle-name authenticated
!
!
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 cisco
sip
  no call service stop
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
codec preference 4 g729br8
codec preference 5 g722-48
codec preference 6 g722-56
!
!
!
!
voice class h323 10
  h225 timeout tcp establish 10
  call start fast
  h245 caps mode restricted
  no telephony-service ccm-compatible
  no ccm-compatible
!
!
voice class dualtone-detect-params 1
!
!
!
!
voice translation-rule 2
rule 1 /^2\*/ /\1/
!
voice translation-rule 3
rule 1 /..../ /280601/
!
!
voice translation-profile VGorod
translate calling 2
!
voice translation-profile VGorod2
translate calling 3
!
!
voice-card 0
!
!
application
service cmeaa flash:its-CISCO.2.0.2.0.tcl
  param oprtr 2160
  paramspace english language en
  paramspace english index 0
  param aa-pilot 8005550101
  paramspace english location flash:
  param operator 2160
  paramspace english prefix en
!
!
interface Loopback100
description -=Voice gateway=-
ip address 10.10.112.1 255.255.255.255
h323-gateway voip interface
h323-gateway voip h323-id vo-gw-Ast
h323-gateway voip bind srcaddr 10.10.112.1
!
!
interface FastEthernet0/0
description Internet
bandwidth 1024
ip address x.x.x.x 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly max-fragments 64 max-reassemblies 1024
duplex auto
speed auto
no cdp enable
crypto map IPSEC
bridge-group 1
!
interface FastEthernet0/1
description SIP Telefony
ip address dhcp
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip route 10.0.0.20 255.255.255.255 FastEthernet0/1
!
!
no mgcp timer receive-rtcp
mgcp fax t38 ecm
!
!
!
dial-peer voice 1009 voip
description To_CUCM
destination-pattern 280601
session protocol sipv2
session target ipv4:10.0.1.10
codec g711ulaw
!
dial-peer voice 1000 voip
description VGrorod po SIP
translation-profile outgoing VGorod2
destination-pattern ......
voice-class h323 10
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
!
!
sip-ua
credentials username 594016926 password 7 xxxx realm sip.telecom.kz
authentication username 594016926 password 7 xxxx
no remote-party-id
max-forwards 10
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 100
registrar dns:sip.telecom.kz:5060 expires 600
sip-server dns:sip.telecom.kz
no suspend-resume
!
!
!
telephony-service
srst mode auto-provision none
srst ephone description CME SRST : Feb 02 2009 10:54:06 : Mar 10 2009 06:55:32 : Jun 17 2009 10:32:17 : Jun 10 2014 17:31:20 : Jun 17 2014 17:46:27
srst dn line-mode dual
em logout 0:0 0:0 0:0
max-ephones 42
max-dn 144
ip source-address 10.10.112.1 port 2000
timeouts ringing 60
system message CME SRST Active
time-format 24
date-format dd-mm-yy
max-conferences 8 gain -6
call-forward pattern .T
moh flash:music-on-hold.au
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Jun 17 2014 17:46:27
!
banner login  
*************************** Warning *****************************
Access this device is restricted authorized persons only!
Un-authorized access is prohibited. Violators will be prosecuted.
*****************************************************************

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от crash (ok) on 19-Июн-14, 06:24 
и что вам говорится в дебаге при звонке?
Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

6. "Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от VoIP (ok) on 27-Апр-15, 15:33 
IP-телефон Yealink SIP-T27P. Телефон бизнес-класса с 6-ю линиями. Реализована поддержка XML. Пользовательский интерфейс и web-консоль администратора, русифицированы. Мы продаем IP-телефонию, Мини АТС, 3CX Phone System, видеотелефоны, IP-камеры, оборудование для IP-телефонии, VoIP-телефонии, по самым выгодным ценам на рынке, честное слово! http://www.icepartners.ru

Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

2. "Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от Vitaliy V email on 07-Сен-14, 20:07 
> !
> voice class codec 1
>  codec preference 1 g711ulaw
>  codec preference 2 g711alaw
>  codec preference 3 g729r8
>  codec preference 4 g729br8
>  codec preference 5 g722-48
>  codec preference 6 g722-56
> !

Насколько я знаю, у казахтелекома нет кодека G711 - все идет по 729
Для начало, как говорилось выше - запустите пожалуйста дебаг, что дает, логи сюда.
Также кодеки поменять местами - все нет необходимости ставить, 729 и 711alaw (ulaw - это для пендосии).
Если в алматы звони - +7 701 7300809

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

4. "Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от madja email(ok) on 08-Сен-14, 09:49 
Все настроил работает, но регистрация периодически отваливается, в выходные когда в офисе никого не было работало идеально, а сегодня опять понеслось.

вот конфиг : на 5 sip номеров, автоответчик

multilink bundle-name authenticated
!
no voice call carrier capacity active
!
voice service voip
ip address trusted list
  ipv4 0.0.0.0 0.0.0.0
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
h323
  emptycapability
  no h225 timeout keepalive
sip
  rel1xx disable
  transport switch udp tcp
  outbound-proxy ipv4:10.0.0.20
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
voice class dualtone-detect-params 1
!
voice translation-rule 100
rule 1 /59---------26/ /2160/
!
voice translation-rule 200
rule 1 /..../ /59---------26/
!
voice translation-rule 201
rule 1 /..../ /40------------5/
!
voice translation-rule 202
rule 1 /..../ /1-------------98/
!
voice translation-rule 203
rule 1 /..../ /1241-------7/
!
voice translation-rule 204
rule 1 /..../ /24---------429/
!
voice translation-rule 300
rule 1 /^9/ //
!
voice translation-rule 301
rule 1 /^011\(8\)\(..........$\)/ /\1\2/
!
!
voice translation-profile In280601
translate called 100
!
voice translation-profile Out280601
translate calling 200
translate called 300
!
voice translation-profile Out280602
translate calling 201
translate called 300
!
voice translation-profile Out280603
translate calling 202
translate called 300
!
voice translation-profile Out768310
translate calling 203
translate called 300
!
voice translation-profile Out768311
translate calling 204
translate called 300
!
voice translation-profile Outmg280601
translate calling 200
translate called 301
!
voice translation-profile Outmg280602
translate calling 201
translate called 301
!
voice translation-profile Outmg280603
translate calling 202
translate called 301
!
voice translation-profile Outmg768310
translate calling 203
translate called 301
!
voice translation-profile Outmg768311
translate calling 204
translate called 301
!
!
voice-card 0
!
!
application
service cmeaa1 flash:its-CISCO.2.0.2.0.tcl
  paramspace english language en
  paramspace english index 0
  paramspace english location flash:
  param oprtr 2160
  param aa-pilot 1241-------7
  paramspace english prefix en
  param operator 2160
!
service cmeaa2 flash:its-CISCO.2.0.2.0.tcl
  paramspace english language en
  paramspace english index 0
  paramspace english location flash:
  paramspace english prefix en
  param oprtr 2160
  param aa-pilot 1-------------98
  param operator 2160
!
service cmeaa3 flash:its-CISCO.2.0.2.0.tcl
  param operator 2160
  paramspace english language en
  paramspace english index 0
  paramspace english location flash:
  paramspace english prefix en
  param oprtr 2160
  param aa-pilot 40------------5
!
service cmeaa flash:its-CISCO.2.0.2.0.tcl
  param aa-pilot 24---------429
  paramspace english index 0
  paramspace english language en
  param oprtr 2160
  param operator 2160
  paramspace english location flash:
  paramspace english prefix en
!
global
  service alternate default
!
bridge irb
!
!
!
!
!
interface Loopback100
description -=Voice gateway=-
ip address 10.10.112.1 255.255.255.255
h323-gateway voip interface
h323-gateway voip h323-id vo-gw-Ast
h323-gateway voip bind srcaddr 10.10.112.1
!
interface FastEthernet0/0
description SIP Telefony
ip address 10.19.224.24 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1/0
no ip address
!
interface FastEthernet0/1/1
no ip address
!
interface FastEthernet0/1/2
no ip address
!
interface FastEthernet0/1/3
switchport access vlan 301
no ip address
!
interface Vlan1
no ip address
no ip redirects
no ip unreachables
shutdown
!
interface Vlan301
ip address 192.168.171.2 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip virtual-reassembly in
ip tcp adjust-mss 1400
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.171.1
ip route 10.0.0.20 255.255.255.255 10.19.224.1
!
!
route-map ospf permit 10
match ip address 22
!
!
control-plane
!
!
voice-port 0/0/0
no comfort-noise
cptone RU
timeouts interdigit 5
timeouts call-disconnect 1
description --- Nomer 280601 ---
caller-id enable
!
voice-port 0/0/1
no comfort-noise
cptone RU
timeouts interdigit 5
timeouts call-disconnect 1
description --- Nomer 280602 ---
caller-id enable
!
voice-port 0/0/2
no comfort-noise
cptone RU
timeouts interdigit 5
timeouts call-disconnect 1
description --- Nomer 280603 ---
caller-id enable
!
voice-port 0/0/3
no comfort-noise
cptone RU
timeouts interdigit 5
timeouts call-disconnect 1
description --- Nomer 768310 ---
caller-id enable
!
voice-port 0/3/0
no comfort-noise
cptone RU
timeouts interdigit 5
timeouts call-disconnect 1
description --- Nomer 768311 ---
caller-id enable
!
voice-port 0/3/1
shutdown
!
voice-port 0/3/2
shutdown
!
voice-port 0/3/3
shutdown
!
!
no mgcp timer receive-rtcp
mgcp fax t38 ecm
!
mgcp profile default
!
!
dial-peer voice 100 voip
description ===Incouming 280601===
translation-profile outgoing In280601
destination-pattern 59---------26
session target ipv4:10.0.1.10
codec g711alaw
!
dial-peer voice 101 voip
description ===Incouming 280602===
service cmeaa3
destination-pattern 40------------5
session target ipv4:10.10.112.1
incoming called-number 40------------5
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 102 voip
description ===Incouming 280603===
service cmeaa2
destination-pattern 1-------------98
session target ipv4:10.10.112.1
incoming called-number 1-------------98
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 103 voip
description ===Incouming 768310===
service cmeaa1
destination-pattern 1241-------7
session target ipv4:10.10.112.1
incoming called-number 1241-------7
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 104 voip
description ===Incouming 788311===
service cmeaa
destination-pattern 24---------429
session target ipv4:10.10.112.1
incoming called-number 24---------429
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 200 voip
description Vihod v Gorod dly nomera 280601
translation-profile outgoing Out280601
destination-pattern 9[012345679]T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 201 voip
description Vihod v Gorod dly nomera 280602
translation-profile outgoing Out280602
preference 1
destination-pattern 9[012345679]T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 202 voip
description Vihod v Gorod dly nomera 280603
translation-profile outgoing Out280603
preference 2
destination-pattern 9[012345679]T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 203 voip
description Vihod v Gorod dly nomera 768310
translation-profile outgoing Out768310
preference 3
destination-pattern 9[012345679]T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 204 voip
description Vihod v Gorod dly nomera 768311
translation-profile outgoing Out768311
preference 4
destination-pattern 9[012345679]T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 205 voip
description Vihod na 8ku dly nomera 280601
translation-profile outgoing Outmg280601
preference 5
destination-pattern 0118..........
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 206 voip
description Vihod na 8ku dly nomera 280602
translation-profile outgoing Outmg280602
preference 4
destination-pattern 0118..........
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 207 voip
description Vihod na 8ku dly nomera 280603
translation-profile outgoing Outmg280603
preference 3
destination-pattern 0118..........
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 208 voip
description Vihod na 8ku dly nomera 768310
translation-profile outgoing Outmg768310
preference 2
destination-pattern 0118..........
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 209 voip
description Vihod v Gorod dly nomera 768311
translation-profile outgoing Outmg768311
preference 1
destination-pattern 0118..........
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify sip-kpml h245-alphanumeric h245-signal cisco-rtp
codec g711alaw
no vad
!
dial-peer voice 1009 voip
destination-pattern [12345]...
session target ipv4:10.0.1.10
codec g711alaw
no vad
!
dial-peer voice 10 pots
destination-pattern 59---------26
authentication username 59---------26 password 7 14333B15555554791F02
port 0/0/0
!
dial-peer voice 20 pots
destination-pattern 40------------5
authentication username 40------------5 password 7 09491F5B555555801
port 0/0/1
!
dial-peer voice 30 pots
destination-pattern 1-------------98
authentication username 1-------------98 password 7 01195315555555616
port 0/0/2
!
dial-peer voice 40 pots
destination-pattern 1241-------7
authentication username 1241-------7 password 7 046A1555555D19
port 0/0/3
!
dial-peer voice 50 pots
destination-pattern 24---------429
authentication username 24---------429 password 7 06515555553351
port 0/3/0
!
!
sip-ua
nat symmetric check-media-src
no remote-party-id
registrar dns:sip.telecom.kz:5060 expires 600
sip-server dns:sip.telecom.kz
no suspend-resume
!
!
!
gatekeeper
shutdown

Ответить | Правка | ^ к родителю #2 | Наверх | Cообщить модератору

5. "Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от ShyLion (ok) on 08-Сен-14, 12:09 
> Все настроил работает, но регистрация периодически отваливается, в выходные когда в офисе
> никого не было работало идеально, а сегодня опять понеслось.

DEBUG CCSIP MESSAGES

Ответить | Правка | ^ к родителю #4 | Наверх | Cообщить модератору

3. "Подключение SIP номеров от sip.telecom.kz"  +/
Сообщение от ShyLion (ok) on 08-Сен-14, 07:10 
> Добрый день народ! Уже голова кипит не могу разобраться, помогите чем сможете
> Раньше была схема подключения CUCM - H.323 - 2811 -FXO все нормально
> работало, после переезда офиса в новое здание провайдер выдал на один
> линк интернет fa0/0 и на второй четыре SIP номера (fa0/1) типа
> аналоговых номеров нету пользуйтесь этими, схема получилась CUCM - H.323 -
> 2811 -SIP.

Зачем 323? его дебажить - гемор. Используй SIP на стыке CUCM-CUBE.

debug ccsip messages

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру