Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Asterisk+DAHDI как передать callerid

1

Всем привет. * подключен к АТС через TDM808B. Звоню с АТС на *. Звонок при этом пробрасывается на SIP клиента (X-Lite). И у него в качестве входящего имени высвечивается "asterisk". Можно как-то передать номер звонящего?

dahdi-channels.conf

; Span 1: WCTDM/0 "Wildcard TDM800P Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS"
signalling
=fxs_ks
callerid
=asreceived
group=1
context
=incoming-from-pstn
channel
=> 1
callerid
=asreceived
;context=default

;;; line="2 WCTDM/0/1 FXSKS"
signalling
=fxs_ks
callerid
=asreceived
group=1
context
=incoming-from-pstn
channel
=> 2
callerid
=asreceived
;context=default

;;; line="3 WCTDM/0/2 FXSKS"
signalling
=fxs_ks
callerid
=asreceived
group=1
context
=incoming-from-pstn
channel
=> 3
callerid
=asreceived
;context=default
........................

;;; line="8 WCTDM/0/7 FXSKS"
signalling
=fxs_ks
callerid
=asreceived
group=1
context
=incoming-from-pstn
channel
=> 8
callerid
=asreceived
;context=default

system.conf

# Span 1: WCTDM/0 "Wildcard TDM800P Board 1" (MASTER)
fxsks
=1
echocanceller
=mg2,1
fxsks
=2
echocanceller
=mg2,2
fxsks
=3
echocanceller
=mg2,3
fxsks
=4
echocanceller
=mg2,4
fxsks
=5
echocanceller
=mg2,5
fxsks
=6
echocanceller
=mg2,6
fxsks
=7
echocanceller
=mg2,7
fxsks
=8
echocanceller
=mg2,8

спросил Jun 30 '11

foxm Gravatar foxm
167 46 8 28

обновил Jun 30 '11

2 Ответа

1

Если оператор дает CallerID, то:

usecallerid=yes в chan_dahdi.conf

ссылка удалить спам редактировать

ответил Jun 30 '11

Aven Gravatar Aven flag of Russian Federation
343 1 13
http://it-need.ru/
-1

Там он есть

[trunkgroups]


[channels]


language
=ru

usecallerid
=yes
hidecallerid
=no

callwaiting
=yes

usecallingpres
=yes

callwaitingcallerid
=yes

threewaycalling
=yes

transfer
=yes

cancallforward
=yes

callreturn
=yes

echocancel
=yes

echocancelwhenbridged
=yes

rxgain
=4
txgain
=2

group=1

immediate
=no

busydetect
=yes

busycount
=5

usecallingpres
=yes

relaxdtmf
=yes


#include /etc/asterisk/dahdi-channels.conf
ссылка удалить спам редактировать

ответил Jun 30 '11

foxm Gravatar foxm
167 46 8 28

Comments

Не нужно давать комментарии в ответе! Aven (Jun 30 '11)edit
Если подключить аналоговый телефон к линии, он показывает номер звонящего? Aven (Jun 30 '11)edit

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: Jun 30 '11

Просмотрен: 1,450 раз

Обновлен: Jun 30 '11

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.