VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Caller ID через SIP-trunk

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

Модераторы: april22, Zavr2008

Ответить
Max
Сообщения: 13
Зарегистрирован: 14 апр 2014, 12:44
Откуда: Украина

Caller ID через SIP-trunk

Сообщение Max »

Всем Всем хорошего настроения!

Имеется Asterisk 11.7.0, работает через SIP-trunk с Cisco 2600, в которую заведен поток Е1. Настроен на приём входящих и исходящих звонков (как из городской телефонной сети вовнутрь, так и в обратную сторону). Единственное с чем не могу разобраться - определение номеров входящих звонков. Всякий входящий звонок идёт через транк, соответственно, только его я и вижу. Но можно ли каким-то образом определить номер абонента извне (т. е. pstn)?

trustrpid в sip.conf уже включал. Подскажите, что ещё нужно настроить на Циске и/или в конфигах Астериска.

Заранее благодарен.
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Caller ID через SIP-trunk

Сообщение Vlad1983 »

http://www.cisco.com/en/US/docs/ios/12_ ... #wp1548923
remote-party-id

To enable translation of the SIP header Remote-Party-ID, use the remote-party-id command in SIP UA configuration mode. To disable Remote-Party-ID translation, use the no form of this command.

remote-party-id
ЛС: @rostel
awsswa
Сообщения: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: Caller ID через SIP-trunk

Сообщение awsswa »

покажите настройки с циски
и выхлоп входящего звонка с потока с включенным дебагом debug isdn event и debug isdn error
потом покажите invite который отправляется с циски до астера во время звонка (с астера )
платный суппорт по мере возможностей
Max
Сообщения: 13
Зарегистрирован: 14 апр 2014, 12:44
Откуда: Украина

Re: Caller ID через SIP-trunk

Сообщение Max »

Настройки циски:

PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
!
! Last configuration change at 10:23:43 UKR Tue Apr 15 2014 by ctti
! NVRAM config last updated at 11:18:02 UKR Tue Apr 15 2014 by ctti
!
version 12.3
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname Cisco2620_VOIP
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 notifications
enable secret 5 $9$w9WL$aX98x4jhB/975okIWpg5D/
!
monitor event-trace timestamps datetime localtime
clock timezone CST 2
clock summer-time UKR recurring last Sun Mar 3:00 last Sun Oct 2:00
no network-clock-participate slot 1
no network-clock-participate wic 0
voice-card 1
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
isdn switch-type primary-net5
!
!
voice call convert-discpi-to-prog
!
voice service pots
!
voice service voip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
sip
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
!
!
!
!
!
!
!
!
!
username spq password 7 003016141942405F5E73
username ctti password 7 070C28580A04
!
!
controller E1 1/0
pri-group timeslots 1-31
!
controller E1 1/1
pri-group timeslots 1-31
!
!
!
!
interface FastEthernet0/0
ip address 172.16.11.66 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0:15
description 213-13-17
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice modem
isdn map address . plan isdn type unknown
no keepalive
no cdp enable
!
interface Serial1/1:15
description 213-61-61
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice modem
isdn map address . plan isdn type unknown
no cdp enable
!
ip default-gateway 172.16.11.1
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.11.1
!
!
logging trap debugging
logging facility local1
logging 172.16.11.52
!
snmp-server community cbcmrf RO 1
snmp-server community c1sco RO
snmp-server host 172.16.1.55 c1sco
!
voice-port 1/0:15
disc_pi_off
echo-cancel coverage 32
connection plar 2131317
bearer-cap 3100Hz
!
voice-port 1/1:15
disc_pi_off
echo-cancel coverage 32
cptone RU
connection plar 2136161
bearer-cap 3100Hz
!
!
!
dial-peer voice 220 voip
destination-pattern 2131317
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
ip qos dscp cs7 media
ip qos dscp cs7 signaling
no vad
!
dial-peer voice 1100 pots
description 2131317
incoming called-number 2131317
destination-pattern .T
port 1/0:15
forward-digits all
!
gateway
!
sip-ua
sip-server ipv4:176.16.11.100
!
!
gatekeeper
shutdown
!
!
line con 0
line aux 0
line vty 0 4
session-timeout 30
login local
!
ntp clock-period 17180256
ntp server 172.16.1.20
ntp server 172.16.1.21
!
end
Выхлоп с включенными дебагами debug isdn event и debug isdn error:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263612: Content-Length: 0
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263610: Call-ID: BA14F634-C3AA11E3-8EDCF38A-AC487B0E@172.16.11.66
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263602: Apr 15 10:59:38: ccsip_caps_ack: set forking flag to 0x0
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263600: Apr 15 10:59:38: ccsip_caps_ind: Load DSP with codec : g711ulaw, Bytes=160
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263594: Apr 15 10:59:38: sip_set_modem_caps: Negotiation already Done. Set negotiated Modem caps
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263591: Apr 15 10:59:38: sipSPISetDTMFRelayMode: set DSP for dtmf-relay = CC_CAP_DTMF_RELAY_NTE_AND_OOB
04-15-2014 10:59:39 Local1.Debug 172.16.11.66 263587: Apr 15 10:59:38: ccsip_get_rtcp_session_parameters: CURRENT VALUES: stream_callid=1363, current_seq_num=0x22A5
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263586: Apr 15 10:59:38: CCSIP-SPI-CONTROL: ccsip_caps_ind
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263575: Apr 15 10:59:38: sipSPIUupdateCcCallIds: old streamcallid=1363, new streamcallid=1363
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263566: Source IP Address (Sig ): 172.16.11.66
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263565: Apr 15 10:59:38:
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263564:
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263550: Called Number : 2131317
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263545: Apr 15 10:59:38: The Call Setup Information is :
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263541: Apr 15 10:59:38: Queued event from SIP SPI : SIPSPI_EV_CLOSE_CONNECTION
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263540: Apr 15 10:59:38: RequestCloseConnection: Closing connid 1 Local Port 58899
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263539: Apr 15 10:59:38: sipSPICreateRawMsg: No GTD passed.
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263538: Apr 15 10:59:38: CCSIP-SPI-CONTROL: sipSPIProcess200OKforinvite
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263537: Apr 15 10:59:38: 0x833B865C : State change from (STATE_RECD_PROCEEDING, SUBSTATE_CONNECTING) to (STATE_RECD_PROCEEDING, SUBSTATE_NONE)
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263536: Apr 15 10:59:38: CCSIP-SPI-CONTROL: sipSPICheckSocketConnection: Connid(2) created to 172.16.11.100:5060, local_port 52001
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263535: Apr 15 10:59:38: CCSIP-SPI-CONTROL: act_recdproc_connection_created
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263534: Apr 15 10:59:38: 0x833B865C : State change from (STATE_RECD_PROCEEDING, SUBSTATE_CONNECTING) to (STATE_RECD_PROCEEDING, SUBSTATE_CONNECTING)
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263533: Apr 15 10:59:38: Queued event from SIP SPI : SIPSPI_EV_CREATE_CONNECTION
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263532: Apr 15 10:59:38: 0x833B865C : State change from (STATE_RECD_PROCEEDING, SUBSTATE_PROCEEDING_PROCEEDING) to (STATE_RECD_PROCEEDING, SUBSTATE_CONNECTING)
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263531: Apr 15 10:59:38: ccsip_process_response_contact_record_route
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263530: Apr 15 10:59:38: sipSPIProcessMediaChanges
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263529:
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263528: <009> Media Dest Addr/Port : 172.16.11.100:25542
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263527: <009> Media Srce Addr/Port : 172.16.11.66:18574
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263526: <009> Negotiated CN payload : 0
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263525: <009> Negotiated NTE payload : 101
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263524: <009> Negotiated DTMF relay : rtp-nte
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263523: <009> Negotiated Codec : g711ulaw, bytes :160
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263522: <009> Callid : 1363
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263521: <009> State : STREAM_ADDING (2)
04-15-2014 10:59:38 Local1.Debug 172.16.11.66 263520: <009>M-line Index : 1
И инвайт-сообщение:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.11.66:5060;received=172.16.11.66
From: <sip:172.16.11.66>;tag=3EBE8CE4-1114
To: <sip:2131317@172.16.11.100>;tag=as08e3abec
Call-ID: 72E368CC-C3B311E3-8EE8F38A-AC487B0E@172.16.11.66
CSeq: 101 INVITE
Server: Asterisk PBX 11.7.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:2131317@172.16.11.100:5060>
Content-Type: application/sdp
Require: timer
Content-Length: 257
З.Ы.: Логины/пароли, номера телефонов и IP-адреса изменены автозаменой.
awsswa
Сообщения: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: Caller ID через SIP-trunk

Сообщение awsswa »

номера с циски нету

еще раз дебаг с debug isdn standard
искать что вам присылают

Calling Party Number
Called Party Number
платный суппорт по мере возможностей
Max
Сообщения: 13
Зарегистрирован: 14 апр 2014, 12:44
Откуда: Украина

Re: Caller ID через SIP-trunk

Сообщение Max »

PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Source IP,Generated,Received,Source Name,Facility,Severity,Tag,Origin,Message
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266687,,"ISDN Se1/0:15 Q931: RX <- SETUP pd = 8 callref = 0x002E "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266688,,"<\0x09>Sending Complete "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266689,,"<\0x09>Bearer Capability i = 0x9090A3 "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266690,,"<\0x09><\0x09>Standard = CCITT "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266691,,"<\0x09><\0x09>Transfer Capability = 3.1kHz Audio "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266692,,"<\0x09><\0x09>Transfer Mode = Circuit "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266693,,"<\0x09><\0x09>Transfer Rate = 64 kbit/s "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266694,,"<\0x09>Channel ID i = 0xA18387 "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266695,,"<\0x09><\0x09>Preferred, Channel 7 "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266696,,"<\0x09>Progress Ind i = 0x8A83 - Origination address is non-ISDN "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266697,,"<\0x09>Called Party Number i = 0x81, '2131317' "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266698,,"<\0x09><\0x09>Plan:ISDN, Type:Unknown"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266699,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002E05A104039090A31803A18387"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266700,,"<\0x09>1E028A8370088132333633323939"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266701,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x222 calltype 2 CALL_INCOMING"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266702,,"ISDN Se1/0:15 EVENTd: calltrkr_incoming_call: call_id=0x222"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266703,,"ISDN Se1/0:15 EVENTd: calltrkr_setup_received: isdn_info=2198995548l, call_id=0x222 ANSWER"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266704,,"ISDN Se1/0:15 EVENTd: calltrkr_setup_received: calltracker disabled"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266705,,"ISDN Se1/0:15 EVENTd: calltrkr_setup_received: isdn_info=2198674860l, call_id=0x222 ANSWER"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266706,,"ISDN Se1/0:15 EVENTd: call_incoming: b channel 6, call type is VOICE ALAW"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266707,,"ISDN Se1/0:15 EVENTd: call_incoming: Received a VOICE call from <unknown> on b channel 6 at 64 Kb/s"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266708,,"ISDN CDAPI: cdapi_find_tsm found a GTD message IAM,"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266709,,"PRN,isdn*,,NET5*,"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266710,,"USI,rate,c,3,c,1"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266711,,"USI,lay1,alaw"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266712,,"TMR,02"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266713,,"CPN,00,,1,2131317"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266714,,"CPC,09"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266715,,"FCI,,,,,,,y,"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266716,,""
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266717,,":"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266718,,"<\0x09>end of gtd length is 109"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266719,,"ISDN Se1/0:15 EVENTd: process_pri_simple: msg 74, call id 0x222, bchan 6, call type VOICE"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266720,,"ISDN Se1/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x802E "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266721,,"<\0x09>Channel ID i = 0xA98387 "
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266722,,"<\0x09><\0x09>Exclusive, Channel 7"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266723,,"ISDN Se1/0:15 EVENTd: process_pri_simple: msg 78, call id 0x222, bchan 6, call type VOICE"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266724,,"ISDN Se1/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x802E"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266725,,"ISDN Se1/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x002E"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266726,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002E0F"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266727,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x222 calltype 2 CALL_PROGRESS"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266728,,"ISDN Se1/0:15 EVENTd: call_progress: CALL_CONNECTED b channel 6 call id 0x222"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266729,,"ISDN Se1/0:15 EVENTd: calltrkr_call_connect: isdn_info=0x830D1DAC, call_id=0x222"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:52,,local 1,Debug,266730,,"ISDN Se1/0:15 CDAPI: cdapi_mib_update msg CALL_CONNECT, remote number , connected? No"
172.16.11.66,04/15/14 13:55:52,04/15/14 13:55:53,,local 1,Info,266731,,"%ISDN-6-CONNECT: Interface Serial1/0:6 is now connected to N/A N/A"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266732,,"ISDN Se1/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x002C "
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266733,,"<\0x09>Cause i = 0x8090 - Normal call clearing "
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266734,,"<\0x09>Progress Ind i = 0x8288 - In-band info or appropriate now available "
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266735,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002C45080280901E028288"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266736,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x220 calltype 2 CALL_DISC"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266737,,"ISDN Se1/0:15 EVENTd: process_rxstate: cause=0x10 (16), cause_present=1"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266738,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x8312025C, call_id=0x220"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266739,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x8315D0F8, call_id=0x220"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Info,266740,,"%ISDN-6-DISCONNECT: Interface Serial1/0:22 disconnected from unknown , call lasted 73 seconds"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266741,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x8312025C, call_id=0x220"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266742,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x8315D0F8, call_id=0x220"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266743,,"ISDN CDAPI: cdapi_find_tsm found a GTD message REL,"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266744,,"PRN,isdn*,,NET5*,"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266745,,""
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266746,,":"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266747,,"<\0x09>end of gtd length is 27"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266748,,"ISDN Se1/0:15 Q931: call_disc: PI received in disconnect
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266749,,"ISDN Se1/0:15 CDAPI: cdapi_mib_update msg CALL_DISC, remote number , connected? No"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266750,,"ISDN Se1/0:15 EVENTd: process_release_req: Raw Release Message 0x5F0001022000"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266751,,"ISDN Se1/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x802C"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266752,,"ISDN Se1/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x002C "
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266753,,"<\0x09>Cause i = 0x8090 - Normal call clearing"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266754,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002C5A08028090"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266755,,"ISDN EVENTd: cc_clear_free_list freed 0x82F801C4 "
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266756,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x220 calltype 2 CALL_CLEARED"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266757,,"ISDN Se1/0:15 EVENTd: process_rxstate: cause=0x10 (16), cause_present=1"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:02,,local 1,Debug,266758,,"ISDN Se1/0:15 EVENTd: calltrkr_call_cleared: isdn_info=0x8312025C, call_id=0x220"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:03,,local 1,Debug,266759,,"ISDN Se1/0:15 EVENTd: calltrkr_call_cleared: isdn_info=0x8315D0F8, call_id=0x220"
172.16.11.66,04/15/14 13:56:02,04/15/14 13:56:03,,local 1,Debug,266760,,"ISDN Se1/0:15 CDAPI: cdapi_mib_update msg CALL_DISC, remote number , connected? No"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266761,,"ISDN Se1/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x002E "
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266762,,"<\0x09>Cause i = 0x8090 - Normal call clearing "
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266763,,"<\0x09>Progress Ind i = 0x8288 - In-band info or appropriate now available "
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266764,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002E45080280901E028288"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266765,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x222 calltype 2 CALL_DISC"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266766,,"ISDN Se1/0:15 EVENTd: process_rxstate: cause=0x10 (16), cause_present=1"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266767,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x8312025C, call_id=0x222"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266768,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x830D1DAC, call_id=0x222"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Info,266769,,"%ISDN-6-DISCONNECT: Interface Serial1/0:6 disconnected from unknown , call lasted 17 seconds"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266770,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x8312025C, call_id=0x222"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266771,,"ISDN Se1/0:15 EVENTd: calltrkr_call_disconnected: isdn_info=0x830D1DAC, call_id=0x222"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266772,,"ISDN CDAPI: cdapi_find_tsm found a GTD message REL,"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266773,,"PRN,isdn*,,NET5*,"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266774,,""
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266775,,":"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266776,,"<\0x09>end of gtd length is 27"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266777,,"ISDN Se1/0:15 Q931: call_disc: PI received in disconnect
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266778,,"ISDN Se1/0:15 CDAPI: cdapi_mib_update msg CALL_DISC, remote number , connected? No"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266779,,"ISDN Se1/0:15 EVENTd: process_release_req: Raw Release Message 0x5F0001022200"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266780,,"ISDN Se1/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x802E"
172.16.11.66,04/15/14 13:56:09,04/15/14 13:56:10,,local 1,Debug,266781,,"ISDN Se1/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x002E "
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266782,,"<\0x09>Cause i = 0x8090 - Normal call clearing"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266783,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002E5A08028090"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266784,,"ISDN EVENTd: cc_clear_free_list freed 0x833973EC "
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266785,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x222 calltype 2 CALL_CLEARED"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266786,,"ISDN Se1/0:15 EVENTd: process_rxstate: cause=0x10 (16), cause_present=1"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:10,,local 1,Debug,266787,,"ISDN Se1/0:15 EVENTd: calltrkr_call_cleared: isdn_info=0x8312025C, call_id=0x222"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:11,,local 1,Debug,266788,,"ISDN Se1/0:15 EVENTd: calltrkr_call_cleared: isdn_info=0x830D1DAC, call_id=0x222"
172.16.11.66,04/15/14 13:56:10,04/15/14 13:56:11,,local 1,Debug,266789,,"ISDN Se1/0:15 CDAPI: cdapi_mib_update msg CALL_DISC, remote number , connected? No"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266790,,"ISDN Se1/0:15 Q931: RX <- SETUP pd = 8 callref = 0x002F "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266791,,"<\0x09>Sending Complete "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266792,,"<\0x09>Bearer Capability i = 0x9090A3 "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266793,,"<\0x09><\0x09>Standard = CCITT "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266794,,"<\0x09><\0x09>Transfer Capability = 3.1kHz Audio "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266795,,"<\0x09><\0x09>Transfer Mode = Circuit "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266796,,"<\0x09><\0x09>Transfer Rate = 64 kbit/s "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266797,,"<\0x09>Channel ID i = 0xA18396 "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266798,,"<\0x09><\0x09>Preferred, Channel 22 "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266799,,"<\0x09>Progress Ind i = 0x8283 - Origination address is non-ISDN "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266800,,"<\0x09>Called Party Number i = 0x81, '2131317' "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266801,,"<\0x09><\0x09>Plan:ISDN, Type:Unknown"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266802,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002F05A104039090A31803A18396"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266803,,"<\0x09>1E02828370088132333633323939"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266804,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x223 calltype 2 CALL_INCOMING"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266805,,"ISDN Se1/0:15 EVENTd: calltrkr_incoming_call: call_id=0x223"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266806,,"ISDN Se1/0:15 EVENTd: calltrkr_setup_received: isdn_info=2198995548l, call_id=0x223 ANSWER"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266807,,"ISDN Se1/0:15 EVENTd: calltrkr_setup_received: calltracker disabled"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266808,,"ISDN Se1/0:15 EVENTd: calltrkr_setup_received: isdn_info=2199209416l, call_id=0x223 ANSWER"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266809,,"ISDN Se1/0:15 EVENTd: call_incoming: b channel 21, call type is VOICE ALAW"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266810,,"ISDN Se1/0:15 EVENTd: call_incoming: Received a VOICE call from <unknown> on b channel 21 at 64 Kb/s"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266811,,"ISDN CDAPI: cdapi_find_tsm found a GTD message IAM,"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266812,,"PRN,isdn*,,NET5*,"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266813,,"USI,rate,c,3,c,1"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266814,,"USI,lay1,alaw"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266815,,"TMR,02"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266816,,"CPN,00,,1,2131317"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266817,,"CPC,09"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266818,,"FCI,,,,,,,y,"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266819,,""
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266820,,":"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266821,,"<\0x09>end of gtd length is 109"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266822,,"ISDN Se1/0:15 EVENTd: process_pri_simple: msg 74, call id 0x223, bchan 21, call type VOICE"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266823,,"ISDN Se1/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x802F "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266824,,"<\0x09>Channel ID i = 0xA98396 "
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266825,,"<\0x09><\0x09>Exclusive, Channel 22"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266826,,"ISDN Se1/0:15 EVENTd: process_pri_simple: msg 78, call id 0x223, bchan 21, call type VOICE"
172.16.11.66,04/15/14 13:56:20,04/15/14 13:56:21,,local 1,Debug,266827,,"ISDN Se1/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x802F"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266828,,"ISDN Se1/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x002F"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266829,,"ISDN Se1/0:15 BACKHAUL: L3IF_rx_L2_pak: received data 0x0802002F0F"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266830,,"ISDN Se1/0:15 EVENT: process_rxstate: ces/callid 1/0x223 calltype 2 CALL_PROGRESS"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266831,,"ISDN Se1/0:15 EVENTd: call_progress: CALL_CONNECTED b channel 21 call id 0x223"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266832,,"ISDN Se1/0:15 EVENTd: calltrkr_call_connect: isdn_info=0x831545C8, call_id=0x223"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:21,,local 1,Debug,266833,,"ISDN Se1/0:15 CDAPI: cdapi_mib_update msg CALL_CONNECT, remote number , connected? No"
172.16.11.66,04/15/14 13:56:21,04/15/14 13:56:22,,local 1,Info,266834,,"%ISDN-6-CONNECT: Interface Serial1/0:21 is now connected to N/A N/A"
debug isdn standard

Called party number присутствует.
Calling party number - нет.
awsswa
Сообщения: 2390
Зарегистрирован: 09 июн 2012, 10:52
Откуда: Россия, Пермь skype: yarick_perm

Re: Caller ID через SIP-trunk

Сообщение awsswa »

Ну тогда все просто - идите к провайдеру и узнавайте почему они вам не присылают номер звонящего.
Возможно просто не включено - бытаются продать как доп услугу.
платный суппорт по мере возможностей
Max
Сообщения: 13
Зарегистрирован: 14 апр 2014, 12:44
Откуда: Украина

Re: Caller ID через SIP-trunk

Сообщение Max »

Да, проблема решилась с помощью настройки на оборудовании АТС.

Спасибо за помощь! :)
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH