The OpenNET Project / Index page

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

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

"регистрация CME на SIP сервере."  +/
Сообщение от Николай (??) on 17-Июл-10, 16:13 
Добрый день всем. Имеется проблема с SIP регистрацией. Схема следующая:
Циска выступает в роли ВПН-клиента. Устанавливаеться ВПН соединение на циске от лупбек интерфейса (эта часть работает отлично). А далее sip-ua пытаеться зарегестрироваться на SIP сервер находящийся в тунеле. Проблема найдена - вот решение не совсем могу подискать. Мне надо что бы регистрация шла от IP адресса loopbacka а не от интерфейса смотрящего в мир.

Remote-Party-ID: "1234" <sip:1234@10.1.115.9>;party=calling;screen=yes;privacy=off
а надо
Remote-Party-ID: "1234" <sip:1234@10.10.56.241>;party=calling;screen=yes;privacy=off

привожу конфиг


version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CUCME
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
voice-card 2
!
voice-card 3
!
!
!
ip cef
!
!
!
!
!
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
redirect ip2ip
sip
  registrar server expires max 3600 min 3600
  no call service stop
!
!
!
!
!
!
!
!
!
!
!
!
username
!
!
!
!
!
!
crypto ipsec client ezvpn xxxxxxx
connect auto
group xxxxxxxx key xxxxxxx
mode network-extension
peer xxx.xxx.xxx.xxx
!
!
archive
log config
  hidekeys
!
!
!
!
!
!
interface Loopback0
ip address 10.10.56.241 255.255.255.240
crypto ipsec client ezvpn xxxxxxxx inside
!
interface FastEthernet0/0
ip address 10.1.115.9 255.255.255.0
speed auto
crypto ipsec client ezvpn xxxxxxxx
!
interface FastEthernet1/1
!
interface FastEthernet1/2
!
interface FastEthernet1/3
!
interface FastEthernet1/4
!
interface Vlan1
ip address 10.255.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip local policy route-map SIP
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.1.115.1
!
!
no ip http server
no ip http secure-server
ip nat inside source list NAT-acl interface FastEthernet0/0 overload
!
ip access-list extended NAT-acl
permit ip 10.255.0.0 0.0.0.255 any
ip access-list extended SIP-acl
permit ip any 192.168.32.0 0.0.0.255
!
!
!
!
route-map SIP permit 10
match ip address SIP-acl
set interface Loopback0
!
!
!
control-plane
!
!
!
voice-port 2/0
!
voice-port 2/1
dial-type pulse
connection plar 51477
!
voice-port 3/0
!
voice-port 3/1
!
!
!
!
!
!
dial-peer voice 3 pots
destination-pattern 51477
port 3/1
forward-digits all
no sip-register
!
dial-peer voice 4 pots
preference 2
destination-pattern 0.........
port 2/1
forward-digits all
no sip-register
!
dial-peer voice 2 pots
destination-pattern [567]....
port 2/1
forward-digits all
no sip-register
!
dial-peer voice 1 voip
preference 1
destination-pattern 0.........
session protocol sipv2
session target ipv4:192.168.32.112
session transport udp
dtmf-relay rtp-nte
codec g711alaw
clid network-number 1234
clid substitute name
no vad
!
sip-ua
credentials username 1234 password xxxxxxx realm 192.168.32.112
authentication username 1234 password xxxxxxxx
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
registrar ipv4:192.168.32.112 expires 3600
sip-server ipv4:192.168.32.112
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
end

Высказать мнение | Ответить | Правка | Cообщить модератору

Оглавление

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


1. "регистрация CME на SIP сервере."  +/
Сообщение от Николай (??) on 17-Июл-10, 17:26 
нашел

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
redirect ip2ip
sip
  bind all source-interface Loopback0 - вот именно єто команда и указывает от какого интерфейса устанавливать соединение

Вопрос закрыт

Высказать мнение | Ответить | Правка | ^ | Наверх | Cообщить модератору

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

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




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

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