The OpenNET Project / Index page

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

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

"Addpac ap100 исходящие с разных sip аккаунтов"  +/
Сообщение от klymore email(ok) on 28-Авг-15, 14:38 
есть ap100 2fxs порта, при звонке с любого порта на удаленном конце (asterisk)номер определяется как 104. как сконфигурировать звонки что бы звонки отобразались как 104 при звонке с одной трубки и 105 с другой.

при опоытке сделать translation rule 104 -> 105 астериск показывает или clid network-number 105:


[Aug 28 12:14:35] WARNING[101650]: chan_sip.c:14962 check_auth: username mismatch, have <105>, digest has <104>
[Aug 28 12:14:35] NOTICE[101650]: chan_sip.c:23477 handle_request_invite: Failed to authenticate device <sip:105@xxx.xxx.xxx.xxx>;tag=3000aaeea4

конфиг.

! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
timeout tring 180
busyout monitor gatekeeper
busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
caller-id enable
!
!
! FXS
voice-port 0/1
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 104
numbering-type international
port 0/0
user-name ******
user-password ******
!
dial-peer voice 1 pots
destination-pattern 105
numbering-type international
port 0/1
user-name ******
user-password ******
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 00.
session target sip-server  
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 101 voip
destination-pattern 0[12349]
session target sip-server  
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 102 voip
destination-pattern 0[5-8].
session target sip-server  
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 103 voip
destination-pattern 1..
session target sip-server  
clid network-line-number 104
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 104 voip
destination-pattern [2345679]......
session target sip-server  
clid network-line-number 104
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
translate-outgoing calling-number 0
huntstop
!
dial-peer voice 105 voip
destination-pattern 8[0345678].......
session target sip-server  
clid network-line-number 105
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 106 voip
destination-pattern 8[125]T
session target sip-server  
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 107 voip
destination-pattern 8[012345679].........
session target sip-server  
clid network-line-number 104
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
huntstop
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server  
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.10.69.0.2
no ignore-msg-from-other-gk
register
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g7231r63
codec preference 2 g729
codec preference 3 g711ulaw
codec preference 4 g711alaw
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server ххх.ххх.ххх.ххх
timeout treg 3600
timeout tregtry 60
register e164
!
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
exec-timeout 30000 0
!
!
sms
quota 30
!
end

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

Оглавление

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


1. "Addpac ap100 исходящие с разных sip аккаунтов"  +/
Сообщение от awsswa59 email on 01-Сен-15, 10:51 
У меня

! FXS
voice-port 0/0
no comfort-noise
caller-id enable


dial-peer voice 1000 pots
destination-pattern 132
port 0/0
user-password 123

sip-ua
user-register
sip-server 192.168.0.4 5060 126
timeout treg 120
timeout tregtry 120
remote-party-id
register e164

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

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

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




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

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