Цитата:
- Local : Data(23282) Cont(23283) Addr(192.168.12.254)
- Remote : Data(25864) Cont(25865) DataAddr(62.33.131.37) ContAddr(62.33.xx.xx)
192.168.12.254 - внутренний
62.33.131.37 - внешний
как раз таки, внешний адрес маршрутизатора не этот... внешний указан в конфиге правильно
Код:
! Gateway configuration.
!
gateway
h323-id voip.192.168.12.254
public-ip 92.124.xx.xx
62.33.131.37 - Это адрес SIP сервера на который цепляется АТС (AVAYA)
Цитата:
Вам нужно:
conf t
gateway
public-ip внешний_адрес_маршрутизатора
Указано выше правильно...
Цитата:
Минимизировать порты
conf t
voice serv voip
minimize mult 1
Этого не пробовал делать, сейчас попробую...
Цитата:
Посмотреть порты на адпаке:
sh gateway
последняя секция
Эти порты пробросить на маршрутизаторе на адпак.
Порты я каждый по отдельности не стал пробрасывать, я пробросил всё что приходить с адреса 212.0.xx.xx на маршутизатор -> AP200
Код:
-A FORWARD -s 192.168.12.254 -d 212.0.xx.xx -p all -j ACCEPT
-A FORWARD -d 192.168.12.254 -s 212.0.xx.xx -p all -j ACCEPT
-A PREROUTING -s 212.0.xx.xx -d 92.124.xx.xx -p all -j DNAT --to-destination 192.168.12.254
-A POSTROUTING -s 192.168.12.254 -d 212.0.xx.xx -p all -j MASQUERADE
Результатов нет, вот дебаг
Код:
303 <Call 8> : ****************** Call Created status(InitiatedByFXS) *******************
304 <CEP 000000> : Calling number(311)
305 <CEP 000000> : Call id(ecd54349-affc-9d0d-800b-0002a402cbb8) callNum(8)
306 <Call 8> : Digit(9) at InitiatedByFXS
307 <Call 8> : MatchedPartially
308 <Call 8> : Digit(6) at CalleeUndetermined
309 <Call 8> : MatchedAll
310 <Call 8> : Digit(1) at CalleeDeterminedWaitDigit
311 <Call 8> : MatchedAll
312 <Call 8> : Digit(1) at CalleeDeterminedWaitDigit
313 <Call 8> : MatchedAll
314 <Call 8> : Digit(1) at CalleeDeterminedWaitDigit
315 <Call 8> : MatchedAll
316 <Call 8> : Digit(8) at CalleeDeterminedWaitDigit
317 <Call 8> : MatchedAll
318 <Call 8> : Digit(5) at CalleeDeterminedWaitDigit
319 <Call 8> : MatchedAll
320 <Time 8> : Inter digit timer timeout.
321 <Call 8> : Digit(#) at CalleeDeterminedWaitDigit
322 <Call 8> : MatchAllProcess After Sorted
<0> id(1510) dest(9[0-7]T) prefer(0) selected(3)
323 <Call 8> : Initiate callee with dial-peer(9[0-7]T) status(CalleeDeterminedAll) id(ecd54349-affc-9d0d-800b-0002a402cbb8)
324 <NetEP 8> : InitiateOutCall: calledNum(9611185) callingNum(311) target(212.0.xx.xx)
325 <NetEP 8> : DoCall: calledAddr(9611185@212.0.xx.xx) callingAddr(311)
326 <H323 8> : local capabilities.
number of capabilities = 7
1 : g729-8k
2 : g7231A-6.3k
3 : g711alaw-64k
4 : g711ulaw-64k
5 : T.38
6 : UserInput/basicString
7 : UserInput/hookflash
327 <H225 8> : Try signalling TCP connect (212.0.xx.xx:1720)
328 <H225 8> : Signalling TCP connect success (8)
329 <Q931 8> : Send SETUP
330 <Q931 8> : Received CALL PROCEEDING
331 <H225 8> : Remote Endpoint (IP 406 DS,4.0 (10),180,0,10752)
332 <Chan 8> : Open - number(201) direction(receive) session(voice) codec(g711alaw-64k)
- Local : Data(23002) Cont(23003) Addr(192.168.12.254)
- Remote : Data(20806) Cont(20807) DataAddr(62.33.xx.xx) ContAddr(62.33.xx.xx)
333 <Q931 8> : Received ALERTING
334 <H225 8> : Remote Endpoint (IP 406 DS,4.0 (10),180,0,10752)
335 <Q931 8> : Received Progress Indicator : desc(8), coding(0), location(0)
336 <H245 8> : Send TCS request.
337 <Q931 8> : Send FACILITY
338 <H245 8> : Send MSD request.
339 <Q931 8> : Send FACILITY
340 <NetCon 8> : Alert received (inband tone explicitly).
341 <Call 8> : Alert from(ffffffff) pseudo(0) inband(1) status(CalleeInitiated)
342 <Q931 8> : Received FACILITY
343 <H245 8> : Received TCS ack..
344 <Q931 8> : Received CONNECT
345 <H225 8> : Remote Endpoint (IP 406 DS,4.0 (10),180,0,10752)
346 <Call 8> : Connected from(ffffffff)
347 <NetEP 8> : Call with Unknown established
348 <Chan 8> : Open - number(103) direction(transmit) session(voice) codec(g711alaw-64k)
- Local : Data(23002) Cont(23003) Addr(192.168.12.254)
- Remote : Data(20806) Cont(20807) DataAddr(62.33.xx.xx) ContAddr(62.33.xx.xx)
349 <Q931 8> : Received FACILITY
350 <H245 8> : Received TCS request.
351 <H245 8> : remote capabilities matching to local capabilities.
number of capabilities = 4
1 : g711alaw-64k
2 : g711ulaw-64k
3 : UserInput/basicString
4 : UserInput/hookflash
352 <H245 8> : Send TCS ack.
353 <Q931 8> : Send FACILITY
354 <Q931 8> : Received FACILITY
355 <H245 8> : Received MSD ack.
356 <H245 8> : Send MSD ack.
357 <Q931 8> : Send FACILITY
358 <Q931 8> : Received FACILITY
359 <H245 8> : Received RTD request.
360 <H245 8> : Send RTD response.
361 <Q931 8> : Send FACILITY
362 <Q931 8> : Received FACILITY
363 <H245 8> : Received RTD request.
364 <H245 8> : Send RTD response.
365 <Q931 8> : Send FACILITY
366 <Q931 8> : Received FACILITY
367 <H245 8> : Received RTD request.
368 <H245 8> : Send RTD response.
369 <Q931 8> : Send FACILITY
370 <Q931 8> : Received FACILITY
371 <H245 8> : Received RTD request.
372 <H245 8> : Send RTD response.
373 <Q931 8> : Send FACILITY
374 <Q931 8> : Received FACILITY
375 <H245 8> : Received RTD request.
376 <H245 8> : Send RTD response.
377 <Q931 8> : Send FACILITY
378 <Q931 8> : Received FACILITY
379 <H245 8> : Received EndSession command.
380 <Q931 8> : Received RELEASE COMPLETE
381 <Chan 8> : Close - number(201) direction(receive)
382 <Chan 8> : Close - number(103) direction(transmit)
383 <Call 8> : Terminated from(ffffffff) this(Remote:CallClear) before(NULL) forced(0)
384 <CEP 000000> : DisconnectCall at Busy
385 <CEP 000000> : StopSignal
386 <CEP 000000> : Disconnect (0)
387 <NetEP 8> : Call TO <Unknown> terminated reason(Remote:CallClear)
Дозвон идет, беру трубку а там тишина...