Re: FreePBX intra-company route преобразование кодеков
Добавлено: 11 дек 2010, 08:10
Вот, для примера, удачный звонок, настройки теже, только на sip-транке стоит alaw
Код: Выделить всё
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/192.168.65.100-00000003", "DAHDI/g0/100,300,Ttr") in new stack
1 -- Making new call for cref 32772
-- Requested transfer capability: 0x00 - SPEECH
1
1 > DL-DATA request
1 > Protocol Discriminator: Q.931 (8) len=48
1 > TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent from originator)
1 > Message Type: SETUP (5)
1 TEI=0 Transmitting N(S)=9, window is open V(A)=9 K=7
1
1 > Protocol Discriminator: Q.931 (8) len=48
1 > TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent from originator)
1 > Message Type: SETUP (5)
1 > [04 03 80 90 a3]
1 > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
1 > User information layer 1: A-Law (35)
1 > [18 03 a9 83 81]
1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
1 > ChanSel: As indicated in following octets
1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
1 > Ext: 1 Channel: 1 Type: NET]
1 > [28 0a 33 35 31 39 33 34 32 30 30 32]
1 > Display (len=10) [ XXXXXXXX ]
1 > [6c 0c 21 81 33 35 31 39 33 34 32 30 30 32]
1 > Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
1 > Presentation: Presentation permitted, user number passed network screening (1) 'XXXXXXXX' ]
1 > [70 04 a1 31 30 30]
1 > Called Number (len= 6) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '100' ]
1 > [a1]
1 > Sending Complete (len= 1)
1 q931.c:5039 q931_setup: Call 32772 enters state 1 (Call Initiated). Hold state: Idle
-- Called g0/100
1
1 < Protocol Discriminator: Q.931 (8) len=10
1 < TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator)
1 < Message Type: CALL PROCEEDING (2)
1 < [18 03 a9 83 81]
1 < Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
1 < ChanSel: As indicated in following octets
1 < Ext: 1 Coding: 0 Number Specified Channel Type: 3
1 < Ext: 1 Channel: 1 Type: NET]
1 Received message for call 0xb4541098 on 0x8a38f28 TEI/SAPI 0/0, call->pri is 0x8a38f28 TEI/SAPI 0/0
1 -- Processing IE 24 (cs0, Channel Identification)
1 q931.c:7104 post_handle_q931_message: Call 32772 enters state 3 (Outgoing Call Proceeding). Hold state: Idle
Span: 1 Processing event: PRI_EVENT_PROCEEDING
-- DAHDI/i1/100-4 is proceeding passing it to SIP/192.168.65.100-00000003
1
1 < Protocol Discriminator: Q.931 (8) len=10
1 < TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator)
1 < Message Type: ALERTING (1)
1 < [18 03 a9 83 81]
1 < Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
1 < ChanSel: As indicated in following octets
1 < Ext: 1 Coding: 0 Number Specified Channel Type: 3
1 < Ext: 1 Channel: 1 Type: NET]
1 Received message for call 0xb4541098 on 0x8a38f28 TEI/SAPI 0/0, call->pri is 0x8a38f28 TEI/SAPI 0/0
1 -- Processing IE 24 (cs0, Channel Identification)
1 q931.c:6983 post_handle_q931_message: Call 32772 enters state 4 (Call Delivered). Hold state: Idle
Span: 1 Processing event: PRI_EVENT_RINGING
-- DAHDI/i1/100-4 is ringing