СвязьПроект
http://old.xdsl.ru/svpro/

Перевод звонка
http://old.xdsl.ru/svpro/viewtopic.php?f=4&t=249
Страница 1 из 1

Автор:  Serg_073 [ 06 окт 2008, 10:54 ]
Заголовок сообщения:  Перевод звонка

Прошу прощения за возможно избитую тему .... НО вопрос актуален
Имеем AP1000F который завязан с голосовой циской ....
должен прийти входящий звонок , который мы должны в итоге пеедать на "другой" телефон (вне этого самого аддпака 1000F)
добился "удержания", но увы нет всего остального ....
что не так делаю?
конфиг прилагаю ... варианты были разные - этот последний ...
!
!
no ip routing
!
!
no bridge spanning-tree
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.61.202 255.255.255.252
line-ctrl promiscuous
bridge 1
!
interface ether1.0
no ip address
line-ctrl promiscuous
bridge 1
!
snmp name AP1100F-FXS8
snmp enable-trap dn-register 300
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.61.201
!
!
!
!
!
! 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 tdhf 600
busyout monitor gatekeeper
busyout monitor sip-server
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
caller-id enable
!
!
! FXS
voice-port 0/1
caller-id enable
!
!
! FXS
voice-port 0/2
caller-id enable
!
!
! FXS
voice-port 0/3
caller-id enable
!
!
! FXS
voice-port 1/0
caller-id enable
!
!
! FXS
voice-port 1/1
caller-id enable
!
!
! FXS
voice-port 1/2
caller-id enable
!
!
! FXS
voice-port 1/3
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 101
port 0/0
call-waiting
!
dial-peer voice 2 pots
destination-pattern 101
port 0/1
call-waiting
!
dial-peer voice 3 pots
destination-pattern 101
port 0/2
call-waiting
!
dial-peer voice 4 pots
destination-pattern 1
port 0/0
no register e164
!
dial-peer voice 5 pots
destination-pattern 2
port 0/1
no register e164
!
dial-peer voice 10 pots
destination-pattern 101
port 0/1
preference 1
!
dial-peer voice 20 pots
destination-pattern 101
port 0/2
preference 2
huntstop
!
!
!
! Voip peer configuration.
!
dial-peer voice 19 voip
destination-pattern [0-9].T
session target 192.168.61.130
session protocol sip
codec g711alaw
dtmf-relay h245-alphanumeric
no vad
translate-outgoing called-number 1
huntstop
!
!
!
dial-peer call-pickup *
dial-peer call-hold h
dial-peer call-transfer h
dial-peer translate-digit # !
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.61.202
no ignore-msg-from-other-gk
!
!
! Translation Rule configuration.
!
translation-rule 1
rule 1 .T 1270536#
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server 192.168.61.130
remote-party-id
register e164
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!

Автор:  Geniu$$ [ 09 окт 2008, 08:05 ]
Заголовок сообщения: 

Добавьте
conf t
sip
call-transfer-mode att


Покажите дебаг во время перевода
deb rta ipc
deb voip call
deb voip sip

Автор:  Serg_073 [ 10 окт 2008, 07:01 ]
Заголовок сообщения: 

да спасибо, частично помогло, теперь удерживаю первый входящий звонок и набираю второй другой , могу между ними "переходить", но идет общий сброс когда кладу трубка на AddPac-е и еще пришлось уйти с SIP-а потому как еще не сбрасывались звонки на обеих сторонах ....

TEST_Grupa_exspluatacii# 16 <Call 48> : ****************** Call Creat
ed status(InitiatedByNet) *******************
17 <NetCon 48> : Found inbound voip peer by dest-pattern id(19)
18 <H323 48> : local capabilities.
number of capabilities = 4
1 : g711alaw-64k
2 : T.38
3 : UserInput/basicString
4 : UserInput/hookflash
19 <H225 48> : Remote Endpoint (NULL,NULL,181,0,18)
20 <Q931 48> : Received SETUP from (195.239.46.130) : FastStart(1) T
unneling(1)
21 <Call 48> : From Net - calledParty(83452520516) callingParty(34525
22009)
22 <Call 48> : MatchedPerfect
23 <Call 48> : MatchAllProcess After Sorted
<0> id(1) dest(83452520516) prefer(0) selected(25)
<1> id(2) dest(83452520516) prefer(1) selected(0)
<2> id(3) dest(83452520516) prefer(2) selected(0)
24 <Call 48> : Initiate callee with dial-peer(83452520516) status(Cal
leeDeterminedAll) id(d91c69e1-95ce-11dd-b2c4-d76145cdbc51)
25 <CEP 000000> : InitiateOutCall : calledNum(), callingNum(3452522009)
, callerPort(ffffffff) type(FXS)
[11325.645] RTA(0/0/0) Rx CC_RING_REQ [80 26 01 08 30 33 33 31 32 33 31 39 02 0a
33 34 35 32 35 32 32 30 30 39 07 0e 31 39 35 2e 32 33 39 2e 34 36 2e 31 33 30 ]
peerId(-1)
[11325.645] VM(0/0/0) DaTime [L=8] 30 33 33 31 32 33 31 39
[11325.645] VM(0/0/0) CgNumb [L=10] 33 34 35 32 35 32 32 30 30 39
[11325.645] VM(0/0/0) CgName [L=14] 31 39 35 2e 32 33 39 2e 34 36 2e 31 33 30
[11325.650] VM(0/0/0) Line Reverse
[11325.650] VM(0/0/0) Start ring actv
[11325.650] VM(0/0/0) SW to -72V
26 <CEP 000000> : Outbound call to CEP callId(d91c69e1-95ce-11dd-b2c4-d7
6145cdbc51) callNum(48)
[11325.650] VM(0/0/0) set T38 mode STD
[11325.650] VM(0/0/0) Fax rate 9600
27 <Chan 48> : Open - number(101) direction(transmit) session(voice)
codec(g711alaw-64k)
- Local : Data(23086) Cont(23087) Addr(192.168.61.202)

- Remote : Data(17594) Cont(17595) DataAddr(195.239.46
.130) ContAddr(195.239.46.130)
[11325.655] RTA(0/0/0) Rx RS_OPEN_REQ callId=48 ssId=1 G711A
peer=195.239.46.130 mp=23086/23087 hp=17594/17595
28 <Q931 48> : Send CALL PROCEEDING
29 <Q931 48> : build ALERTING (without h245 address)
30 <Q931 48> : Send ALERTING (fast)
31 <Q931 48> : Received FACILITY
32 <H245 48> : Received TCS request.
33 <H245 48> : remote capabilities matching to local capabilities.
number of capabilities = 4
1 : T.38
2 : UserInput/hookflash
3 : UserInput/basicString
4 : g711alaw-64k
34 <H245 48> : Send TCS request.
35 <Q931 48> : Send FACILITY
36 <H245 48> : Send TCS ack.
37 <Q931 48> : Send FACILITY
38 <Q931 48> : Received FACILITY
39 <H245 48> : Received MSD request.
40 <H245 48> : Send MSD ack.
41 <Q931 48> : Send FACILITY
42 <Q931 48> : Received FACILITY
43 <H245 48> : Received TCS ack..
44 <Q931 48> : Received FACILITY
45 <H245 48> : Received MSD ack.
[11326.650] VM(0/0/0) Gen ring idle
[11327.150] VM(0/0/0) Tx CID enable
[11327.150] VM(0/0/0) vopp enable
[11327.150] VM(0/0/0) play mute
[11327.210] VM(0/0/0) Tx CID ON
[11327.260] VM(0/0/0) Rx CID_ACK
[11327.260] VM(0/0/0) Tx CID DATA [L=82] 80 01 26 02 01 05 08 06 30 08 33 08 33
08 31 08 32 07 33 07 31 07 39 07 02 05 0a 06 33 09 34 09 35 09 32 09 35 09 32 09
32 09 30 09 30 09 39 09 07 05 0e 06 31 0b 39 0b 35 0b 2e 0b 32 0b 33 0b 39 0b 2
e 0b 34 0b 36 0b 2e 0b 31 0b 33 0b 30 0b 00 0f
[11328.265] VM(0/0/0) Tx CID fin
[11328.265] VM(0/0/0) vopp idle
[11328.265] VM(0/0/0) VoPP ready
[11328.650] VM(0/0/0) Gen ring actv
[11329.130] VM(0/0/0) vmOffHook
[11329.190] VM(0/0/0) vmTmoOffHook
[11329.190] VM(0/0/0) SW to -48V
[11329.190] VM(0/0/0) Line Forward
[11329.250] VM(0/0/0) vmTmoOffHook
[11329.250] VM(0/0/0) Rx OffHook
[11329.250] VM(0/0/0) vopp enable
[11329.250] VM(0/0/0) Fax enable
[11329.250] VM(0/0/0) play mute
[11329.250] VM(0/0/0) Tx CONNECT_CNF
46 <Call 48> : Connected from(0)
[11329.250] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[11329.250] VM(0/0/0) VAD disable
[11329.250] VM(0/0/0) SID enable by CCC
47 <Call 48> : Connected from(ffffffff)
48 <NetEP 48> : Call with 195.239.46.130 established
49 <Chan 48> : Open - number(1) direction(receive) session(voice) cod
ec(g711alaw-64k)
- Local : Data(23086) Cont(23087) Addr(192.168.61.202)

- Remote : Data(17594) Cont(17595) DataAddr(195.239.46
.130) ContAddr(195.239.46.130)
[11329.255] RTA(0/0/0) Rx RS_LISTEN_REQ callId=48 ssId=1 G711A
peer=195.239.46.130 mp=23086/23087 hp=17594/17595
50 <Q931 48> : Send CONNECT
51 <Time 0> : SIP_TREGISTER timer timeout.
52 <SIP 1613> : Send REGISTER Request
53 <Time 0> : SIP_TREGISTER timer timeout.
54 <SIP 1614> : Send REGISTER Request
55 <SIP 1613> : Receive 405 Method Not Allowed
56 <SIP 1613> : Transaction (1613 REGISTER) completed
57 <SIP 1614> : Receive 405 Method Not Allowed
58 <SIP 1614> : Transaction (1614 REGISTER) completed
59 <Time 0> : SIP_TREGISTER timer timeout.
60 <SIP 1615> : Send REGISTER Request
61 <SIP 1615> : Receive 405 Method Not Allowed
62 <SIP 1615> : Transaction (1615 REGISTER) completed
[11334.160] VM(0/0/0) vmOnHook
[11334.210] VM(0/0/0) vmTmoOnHook
[11334.260] VM(0/0/0) vmTmoOnHook
[11334.310] VM(0/0/0) vmTmoOnHook
[11334.360] VM(0/0/0) vmTmoOnHook
[11334.410] VM(0/0/0) vmTmoOnHook
[11334.420] VM(0/0/0) vmOffHook
[11334.480] VM(0/0/0) vmTmoOffHook
[11334.480] VM(0/0/0) Rx OffHook
[11334.480] VM(0/0/0) Tx FLASH_IND
63 <CEP 000000> : Hook Flashed
64 <Call 48> : Hold Request from Channel.
[11334.480] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=2 rawDataLen=0
SESS_HOLD
SESS_NEW OFF_HOOK
[11334.480] VM(0/0/0) vopp idle
[11334.480] VM(0/0/0) VoPP ready
[11334.480] VM(0/0/0) vopp enable
[11334.480] VM(0/0/0) play Dial tone
65 <CEP 000000> : Call Received
66 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(1)
67 <Call 49> : ****************** Call Created status(InitiatedByFXS
) *******************
68 <CEP 000000> : Calling number(83452520516)
69 <CEP 000000> : Call id(8cec0e46-ffcb-ae00-8049-0002a4043054) callNum(
49)
70 <SIP 1613> : Set Terminated Success for 1613 REGISTER
71 <SIP 1614> : Set Terminated Success for 1614 REGISTER
72 <SIP 1615> : Set Terminated Success for 1615 REGISTER
[11337.160] VM(0/0/0) Tx DIGIT_IND '5'
[11337.165] VM(0/0/0) play mute
73 <Call 49> : Digit(5) at InitiatedByFXS
74 <Call 49> : MatchedAll
[11337.430] VM(0/0/0) Tx DIGIT_IND '2'
75 <Call 49> : Digit(2) at CalleeDeterminedWaitDigit
76 <Call 49> : MatchedAll
[11337.740] VM(0/0/0) Tx DIGIT_IND '0'
77 <Call 49> : Digit(0) at CalleeDeterminedWaitDigit
78 <Call 49> : MatchedAll
[11338.200] VM(0/0/0) Tx DIGIT_IND '5'
79 <Call 49> : Digit(5) at CalleeDeterminedWaitDigit
80 <Call 49> : MatchedAll
[11338.490] VM(0/0/0) Tx DIGIT_IND '2'
81 <Call 49> : Digit(2) at CalleeDeterminedWaitDigit
82 <Call 49> : MatchedAll
[11338.730] VM(0/0/0) Tx DIGIT_IND '2'
83 <Call 49> : Digit(2) at CalleeDeterminedWaitDigit
84 <Call 49> : MatchedAll
85 <Time 49> : Inter digit timer timeout.
86 <Call 49> : Digit(#) at CalleeDeterminedWaitDigit
87 <Call 49> : digitsReceived(520522)
88 <Call 49> : MatchAllProcess After Sorted
<0> id(19) dest(T) prefer(0) selected(19)
89 <Call 49> : Initiate callee with dial-peer(T) status(CalleeDetermi
nedAll) id(8cec0e46-ffcb-ae00-8049-0002a4043054)
90 <NetEP 49> : InitiateOutCall: calledNum(520522) callingNum(83452520
516) target(195.239.46.130)
91 <NetEP 49> : DoCall: calledAddr(1270536#520522@195.239.46.130) call
ingAddr(83452520516)
[11341.735] VM(0/0/0) set T38 mode STD
[11341.735] VM(0/0/0) Fax rate 9600
92 <H323 49> : local capabilities.
number of capabilities = 4
1 : g711alaw-64k
2 : T.38
3 : UserInput/basicString
4 : UserInput/hookflash
93 <H225 49> : Try signalling TCP connect (195.239.46.130:1720)
94 <H225 49> : Signalling TCP connect success (49)
95 <Q931 49> : Send SETUP
[11341.750] RTA(0/0/0) Rx RS_LISTEN_REQ callId=49 ssId=1 G729A
peer=0.0.0.0 mp=23088/23089 hp=0/0
[11341.755] VM(0/0/0) vopp idle
[11341.755] VM(0/0/0) VoPP ready
[11341.755] VM(0/0/0) start codec replace timer to G729A
96 <Q931 49> : Received CALL PROCEEDING
97 <H225 49> : Remote Endpoint (NULL,NULL,181,0,18)
98 <Chan 49> : Open - number(1) direction(receive) session(voice) cod
ec(g711alaw-64k)
- Local : Data(23088) Cont(23089) Addr(192.168.61.202)

- Remote : Data(18792) Cont(18793) DataAddr(195.239.46
.130) ContAddr(195.239.46.130)
[11341.815] VM(0/0/0) vopp enable
[11341.815] VM(0/0/0) codec replaced to G729A
99 <Q931 49> : Received ALERTING
100 <H225 49> : Remote Endpoint (NULL,NULL,181,0,18)
101 <Q931 49> : Received Progress Indicator : desc(8), coding(0), loca
tion(0)
102 <H245 49> : Send TCS request.
103 <Q931 49> : Send FACILITY
104 <H245 49> : Send MSD request.
105 <Q931 49> : Send FACILITY
106 <NetCon 49> : Alert received (inband tone explicitly).
107 <Call 49> : Alert from(ffffffff) pseudo(0) inband(1) status(Callee
Initiated)
108 <Q931 49> : Received FACILITY
109 <H245 49> : Received TCS request.
110 <H245 49> : remote capabilities matching to local capabilities.
number of capabilities = 4
1 : T.38
2 : UserInput/hookflash
3 : UserInput/basicString
4 : g711alaw-64k
111 <H245 49> : Send TCS ack.
112 <Q931 49> : Send FACILITY
113 <Q931 49> : Received FACILITY
114 <H245 49> : Received MSD request.
115 <H245 49> : Send MSD ack.
116 <Q931 49> : Send FACILITY
117 <Q931 49> : Received FACILITY
118 <H245 49> : Received TCS ack..
119 <Q931 49> : Received FACILITY
120 <H245 49> : Received MSD ack.
[11342.075] VM(0/0/0) vopp idle
[11342.080] VM(0/0/0) VoPP ready
[11342.080] VM(0/0/0) start codec replace timer to G711A
[11342.080] VM(0/0/0) Rx RTP replace codec to G711A
[11342.140] VM(0/0/0) vopp enable
[11342.140] VM(0/0/0) codec replaced to G711A
121 <Q931 49> : Received CONNECT
122 <H225 49> : Remote Endpoint (NULL,NULL,181,0,18)
123 <Call 49> : Connected from(ffffffff)
[11346.205] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[11346.205] VM(0/0/0) VAD disable
[11346.205] VM(0/0/0) SID enable by CCC
[11346.205] RTA(0/0/0) Rx CC_CONNECT_RSP peerId(0/0/0)
[11346.205] VM(0/0/0) Fax enable
[11346.205] VM(0/0/0) play mute
124 <NetEP 49> : Call with 195.239.46.130 established
125 <Chan 49> : Open - number(101) direction(transmit) session(voice)
codec(g711alaw-64k)
- Local : Data(23088) Cont(23089) Addr(192.168.61.202)

- Remote : Data(18792) Cont(18793) DataAddr(195.239.46
.130) ContAddr(195.239.46.130)
[11346.210] RTA(0/0/0) Rx RS_OPEN_REQ callId=49 ssId=1 G711A
peer=195.239.46.130 mp=23088/23089 hp=18792/18793
[11346.210] VM(0/0/0) codec same G711A
126 <Time 0> : SIP_TREGISTER timer timeout.
127 <SIP 1616> : Send REGISTER Request
128 <SIP 1616> : Receive 405 Method Not Allowed
129 <SIP 1616> : Transaction (1616 REGISTER) completed
130 <Time 0> : SIP_TREGISTER timer timeout.
[11351.220] VM(0/0/0) vmOnHook
131 <SIP 1617> : Send REGISTER Request
132 <Time 0> : SIP_TREGISTER timer timeout.
133 <SIP 1618> : Send REGISTER Request
[11351.270] VM(0/0/0) vmTmoOnHook
134 <SIP 1617> : Receive 405 Method Not Allowed
135 <SIP 1617> : Transaction (1617 REGISTER) completed
[11351.320] VM(0/0/0) vmTmoOnHook
136 <SIP 1618> : Receive 405 Method Not Allowed
137 <SIP 1618> : Transaction (1618 REGISTER) completed
[11351.370] VM(0/0/0) vmTmoOnHook
[11351.420] VM(0/0/0) vmTmoOnHook
[11351.470] VM(0/0/0) vmTmoOnHook
[11351.520] VM(0/0/0) vmTmoOnHook
[11351.570] VM(0/0/0) vmTmoOnHook
[11351.620] VM(0/0/0) vmTmoOnHook
[11351.670] VM(0/0/0) vmTmoOnHook
[11351.720] VM(0/0/0) vmTmoOnHook
[11351.770] VM(0/0/0) vmTmoOnHook
[11351.820] VM(0/0/0) vmTmoOnHook
[11351.870] VM(0/0/0) vmTmoOnHook
[11351.920] VM(0/0/0) vmTmoOnHook
[11351.920] VM(0/0/0) Rx OnHook
[11351.920] VM(0/0/0) vopp idle
[11351.920] VM(0/0/0) VoPP ready
[11351.920] VM(0/0/0) Tx DISCONN_CNF
138 <CEP 000000> : Disconnected(16) at Busy
139 <Call 48> : Terminated from(0) this(Local:CallClear) before(NULL)
forced(0)
[11351.920] RTA(0/0/0) Rx RS_CLOSE_REQ callId=48 ssId=1 dir=reve
140 <Chan 48> : Close - number(1) direction(receive)
[11351.925] RTA: rtaMsgRxHandle RTP recvfrom on Forw session
[11351.925] RTA(0/0/0) Rx RS_CLOSE_REQ callId=48 ssId=1 dir=forw
[11351.925] RTA(0/0/0) close Media socket
[11351.925] RTA(0/0/0) close RTCP socket
141 <Chan 48> : Close - number(101) direction(transmit)
142 <Q931 48> : Send FACILITY
143 <Q931 48> : Send RELEASE COMPLETE
144 <NetEP 48> : Call FROM <195.239.46.130> terminated reason(Local:Cal
lClear)
145 <Call 49> : Terminated from(0) this(Local:CallClear) before(NULL)
forced(0)
146 <CEP 000000> : DisconnectCall at Idle
[11351.945] RTA(0/0/0) Rx RS_CLOSE_REQ callId=49 ssId=1 dir=reve
147 <Chan 49> : Close - number(1) direction(receive)
[11351.945] RTA(0/0/0) Rx RS_CLOSE_REQ callId=49 ssId=1 dir=forw
[11351.950] RTA(0/0/0) close Media socket
[11351.950] RTA(0/0/0) close RTCP socket
148 <Chan 49> : Close - number(101) direction(transmit)
149 <Q931 49> : Send FACILITY
150 <Q931 49> : Send RELEASE COMPLETE
151 <NetEP 49> : Call TO <195.239.46.130> terminated reason(Local:CallC
lear)
152 <SIP 1616> : Set Terminated Success for 1616 REGISTER
153 <SIP 1617> : Set Terminated Success for 1617 REGISTER
154 <SIP 1618> : Set Terminated Success for 1618 REGISTER

TEST_Grupa_exspluatacii# no deb v155 <Time 0> : SIP_TREGISTER timer ti
meout.
156 <SIP 1619> : Send REGISTER Request
157 <SIP 1619> : Receive 405 Method Not Allowed
158 <SIP 1619> : Transaction (1619 REGISTER) completed
159 <Time 0> : SIP_TREGISTER timer timeout.
160 <SIP 1620> : Send REGISTER Request
161 <Time 0> : SIP_TREGISTER timer timeout.
162 <SIP 1621> : Send REGISTER Request
163 <SIP 1620> : Receive 405 Method Not Allowed
164 <SIP 1620> : Transaction (1620 REGISTER) completed
165 <SIP 1621> : Receive 405 Method Not Allowed
166 <SIP 1621> : Transaction (1621 REGISTER) completed
167 <Time 0> : SIP_TREGISTER timer timeout.
168 <SIP 1622> : Send REGISTER Request
169 <SIP 1622> : Receive 405 Method Not Allowed
170 <SIP 1622> : Transaction (1622 REGISTER) completed

Автор:  Geniu$$ [ 13 окт 2008, 06:39 ]
Заголовок сообщения: 

какая у вас прошивка? Вот тут последняя

В воипном диалпире укажите жестко session target sip
я так и не понял зачем вы ушли с сипа.

Автор:  Serg_073 [ 16 окт 2008, 03:48 ]
Заголовок сообщения: 

Прошивка последняя 8.30R

кстати получилось с "флэшем" на FXO - FXS если интересно могу показать

Страница 1 из 1 Часовой пояс: UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/