СвязьПроект http://old.xdsl.ru/svpro/ |
|
AP200B + AP200D http://old.xdsl.ru/svpro/viewtopic.php?f=4&t=263 |
Страница 1 из 1 |
Автор: | keySEE [ 24 окт 2008, 11:08 ] |
Заголовок сообщения: | AP200B + AP200D |
Добрый день! Имеется схема из AP200B + AP200D. Звоню на линию, подключенную к FXO порту - звонок приходит на FXS порт, но поднимаю трубку - тишина... Если просто поднять трубку на FXS - то тоже тишина. |
Автор: | keySEE [ 24 окт 2008, 11:30 ] |
Заголовок сообщения: | Конфиги AP200B и AP200D |
AP200D sh run ! version 8.23I ! hostname AP200 ! ! no bridge spanning-tree ! ! no ip-share enable ! interface ether0.0 ip address 10.1.1.147 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP200D snmp enable-trap dn-register 300 ! no arp reset ! ! ! ! ! ! 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 ! ! ! Voice port configuration. ! ! FXO voice-port 0/0 connection plar 301 no caller-id enable ! ! ! FXO voice-port 0/1 no caller-id enable ! ! ! ! ! Pots peer configuration. ! dial-peer voice 2 pots destination-pattern 101 port 0/0 ! ! ! ! Voip peer configuration. ! dial-peer voice 1 voip destination-pattern 301 session target 10.1.1.146 voice-class codec 1 dtmf-relay h245-signal vad ! ! ! ! ! ! ! Gateway configuration. ! gateway h323-id voip.10.1.1.147 no ignore-msg-from-other-gk ! ! ! Codec classes configuration. ! voice class codec 1 codec preference 1 g7231r63 codec preference 2 g7231r53 codec preference 3 g729 codec preference 4 g711alaw ! ! ! ! SIP UA configuration. ! sip-ua ! ! ! MGCP configuration. ! mgcp codec g711ulaw vad ! ! ! Tones ! ! ! ! AP200# и: AP200B sh run ! version 8.30R ! hostname AP200 ! ! no bridge spanning-tree ! ! no ip-share enable ! interface ether0.0 ip address 10.1.1.146 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP200B snmp enable-trap dn-register 300 forcely-block ! no arp reset ! pnp-sktelink debug on ! ! ! ! ! ! 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 busyout monitor gatekeeper busyout monitor sip-server no busyout monitor callagent busyout monitor voip-interface ! ! ! Voice port configuration. ! ! FXS voice-port 0/0 connection plar 101 caller-id enable ! ! ! FXS voice-port 0/1 caller-id enable ! ! ! ! ! Pots peer configuration. ! dial-peer voice 1 pots destination-pattern 301 port 0/0 ! ! ! ! Voip peer configuration. ! dial-peer voice 2 voip destination-pattern 101 session target 10.1.1.147 voice-class codec 1 vad dtmf-relay h245-signal ! ! ! ! ! ! ! Gateway configuration. ! gateway h323-id voip.10.1.1.146 no ignore-msg-from-other-gk ! ! ! Codec classes configuration. ! voice class codec 1 codec preference 1 g7231r63 codec preference 2 g7231r53 codec preference 3 g729 codec preference 4 g711alaw ! ! ! ! SIP UA configuration. ! sip-ua ! ! ! MGCP configuration. ! mgcp codec g711ulaw vad ! ! ! Tones ! ! ! ! AP200# |
Автор: | keySEE [ 24 окт 2008, 11:54 ] |
Заголовок сообщения: | Дебаги |
FXO debug rta ipc: [1978.755] VM(0/0/0) Rx FXO Ring Actv [1978.755] VM(0/0/0) Tx RING_IND [1979.960] VM(0/0/0) Rx FXO Ring Idle [1979.960] VM(0/0/0) Tx PLAR_OFFHOOK_IND [1979.960] VM(0/0/0) DTMF_Signal enable [1979.960] VM(0/0/0) set T38 mode STD [1979.960] VM(0/0/0) Fax rate 9600 [1979.975] RTA(0/0/0) Rx RS_LISTEN_REQ callId=15 ssId=1 G729A peer=0.0.0.0 mp=23030/23031 hp=0/0 [1980.015] RTA(0/0/0) Rx CC_ALERT_RSP peerId(0/0/0) [1982.960] VM(0/0/0) Ring Detect timeout [1982.960] VM(0/0/0) FXO OnHook [1982.960] VM(0/0/0) Tx DISCONN_CNF [1982.960] RTA(0/0/0) Rx RS_CLOSE_REQ callId=15 ssId=1 dir=reve [1982.960] RTA(0/0/0) close Media socket [1982.960] RTA(0/0/0) close RTCP socket [1985.750] VM(0/0/0) Rx FXO Ring Actv [1985.750] VM(0/0/0) Tx RING_IND [1986.990] VM(0/0/0) Rx FXO Ring Idle [1986.990] VM(0/0/0) Tx PLAR_OFFHOOK_IND [1986.990] VM(0/0/0) DTMF_Signal enable [1986.990] VM(0/0/0) set T38 mode STD [1986.990] VM(0/0/0) Fax rate 9600 [1987.005] RTA(0/0/0) Rx RS_LISTEN_REQ callId=16 ssId=1 G729A peer=0.0.0.0 mp=23032/23033 hp=0/0 [1987.045] RTA(0/0/0) Rx CC_ALERT_RSP peerId(0/0/0) [1988.825] RTA(0/0/0) Rx CC_CONNECT_RSP peerId(0/0/0) [1988.825] VM(0/0/0) FXO OffHook [1988.825] VM(0/0/0) vopp enable [1988.825] VM(0/0/0) Fax enable [1988.825] VM(0/0/0) play mute [1988.825] RTA(0/0/0) Rx RS_OPEN_REQ callId=16 ssId=1 G7236 peer=10.1.1.146 mp=23032/23033 hp=23026/23027 [1988.825] VM(0/0/0) vopp idle [1988.825] VM(0/0/0) start codec replace timer to G7236 [1988.855] VM(0/0/0) Rx RTP codec G723 no change [1988.885] VM(0/0/0) vopp enable [1988.885] VM(0/0/0) codec replaced to G7236 [1988.885] VM(0/0/0) Fax enable [1988.885] VM(0/0/0) play mute [1995.200] RTA(0/0/0) Rx RS_CLOSE_REQ callId=16 ssId=1 dir=reve [1995.200] RTA(0/0/0) Rx RS_CLOSE_REQ callId=16 ssId=1 dir=forw [1995.200] RTA(0/0/0) close Media socket [1995.200] RTA(0/0/0) close RTCP socket [1995.200] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0 DTMF_STOP [1995.205] VM(0/0/0) play mute [1995.205] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0) [1995.205] VM(0/0/0) vopp idle [1995.205] VM(0/0/0) FXO OnHook [1995.205] VM(0/0/0) Tx DISCONN_CNF FXO debug voip call: 115 <CEP 000000> : Call Received 116 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0) 117 <Call 13> : ****************** Call Created status(InitiatedByFXO) ******************* 118 <CEP 000000> : Calling number(101) 119 <CEP 000000> : Call id(cf62ca47-c1ea-4fe4-8017-0002a4044ef8) callNum(13) 120 <Call 13> : MatchAllProcess After Sorted <0> id(1) dest(301) prefer(0) selected(11) 121 <Call 13> : Initiate callee with dial-peer(301) status(CalleeDeterminedAll) id(cf62ca47-c1ea-4fe4-8017-0002a4044ef8) 122 <NetEP 13> : InitiateOutCall: calledNum(301) callingNum(101) target(10.1.1.146) 123 <NetEP 13> : DoCall: calledAddr(301@10.1.1.146) callingAddr(101) 124 <H323 13> : local capabilities. number of capabilities = 6 1 : g7231A-6.3k 2 : g729-8k 3 : g711alaw-64k 4 : T.38 5 : UserInput/basicString 6 : UserInput/hookflash 125 <H225 13> : Try signalling TCP connect (10.1.1.146:1720) 126 <H225 13> : Signalling TCP connect success (13) 127 <Q931 13> : Send SETUP 128 <Q931 13> : Received CALL PROCEEDING 129 <Chan 13> : Open - number(101) direction(receive) session(voice) codec(g7231A-6.3k) - Local : Data(23026) Cont(23027) Addr(10.1.1.147) - Remote : Data(23020) Cont(23021) DataAddr(10.1.1.146) ContAddr(10.1.1.146) 130 <Q931 13> : Received ALERTING 131 <H245 13> : Send TCS request. 132 <Q931 13> : Send FACILITY 133 <H245 13> : Send MSD request. 134 <Q931 13> : Send FACILITY 135 <Call 13> : Alert from(ffffffff) pseudo(0) inband(0) status(CalleeInitiated) 136 <Q931 13> : Received FACILITY 137 <H245 13> : Received TCS request. 138 <H245 13> : remote capabilities matching to local capabilities. number of capabilities = 6 1 : g7231A-6.3k 2 : g729-8k 3 : g711alaw-64k 4 : T.38 5 : UserInput/basicString 6 : UserInput/hookflash 139 <H245 13> : Send TCS ack. 140 <Q931 13> : Send FACILITY 141 <Q931 13> : Received FACILITY 142 <H245 13> : Received TCS ack.. 143 <Q931 13> : Received FACILITY 144 <H245 13> : Received MSD ack. 145 <H245 13> : Send MSD ack. 146 <Q931 13> : Send FACILITY 147 <CEP 000000> : Disconnected(16) at Busy 148 <Call 13> : Terminated from(0) this(Local:CallClear) before(NULL) forced(0) 149 <CEP 000000> : DisconnectCall at Idle 150 <Chan 13> : Close - number(101) direction(receive) 151 <Q931 13> : Send RELEASE COMPLETE 152 <NetEP 13> : Call TO <voip.10.1.1.146> terminated reason(Local:CallClear) 153 <CEP 000000> : Call Received 154 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0) 155 <Call 14> : ****************** Call Created status(InitiatedByFXO) ******************* 156 <CEP 000000> : Calling number(101) 157 <CEP 000000> : Call id(d662ca47-2ad4-358b-8019-0002a4044ef8) callNum(14) 158 <Call 14> : MatchAllProcess After Sorted <0> id(1) dest(301) prefer(0) selected(12) 159 <Call 14> : Initiate callee with dial-peer(301) status(CalleeDeterminedAll) id(d662ca47-2ad4-358b-8019-0002a4044ef8) 160 <NetEP 14> : InitiateOutCall: calledNum(301) callingNum(101) target(10.1.1.146) 161 <NetEP 14> : DoCall: calledAddr(301@10.1.1.146) callingAddr(101) 162 <H323 14> : local capabilities. number of capabilities = 6 1 : g7231A-6.3k 2 : g729-8k 3 : g711alaw-64k 4 : T.38 5 : UserInput/basicString 6 : UserInput/hookflash 163 <H225 14> : Try signalling TCP connect (10.1.1.146:1720) 164 <H225 14> : Signalling TCP connect success (14) 165 <Q931 14> : Send SETUP 166 <Q931 14> : Received CALL PROCEEDING 167 <Chan 14> : Open - number(101) direction(receive) session(voice) codec(g7231A-6.3k) - Local : Data(23028) Cont(23029) Addr(10.1.1.147) - Remote : Data(23022) Cont(23023) DataAddr(10.1.1.146) ContAddr(10.1.1.146) 168 <Q931 14> : Received ALERTING 169 <H245 14> : Send TCS request. 170 <Q931 14> : Send FACILITY 171 <H245 14> : Send MSD request. 172 <Q931 14> : Send FACILITY 173 <Call 14> : Alert from(ffffffff) pseudo(0) inband(0) status(CalleeInitiated) 174 <Q931 14> : Received FACILITY 175 <H245 14> : Received TCS request. 176 <H245 14> : remote capabilities matching to local capabilities. number of capabilities = 6 1 : g7231A-6.3k 2 : g729-8k 3 : g711alaw-64k 4 : T.38 5 : UserInput/basicString 6 : UserInput/hookflash 177 <H245 14> : Send TCS ack. 178 <Q931 14> : Send FACILITY 179 <Q931 14> : Received FACILITY 180 <H245 14> : Received TCS ack.. 181 <Q931 14> : Received FACILITY 182 <H245 14> : Received MSD ack. 183 <H245 14> : Send MSD ack. 184 <Q931 14> : Send FACILITY 185 <Q931 14> : Received CONNECT 186 <H225 14> : Remote Endpoint (AddPac VoIP,8.23,97,0,22) 187 <Call 14> : Connected from(ffffffff) 188 <NetEP 14> : Call with voip.10.1.1.146 established 189 <Chan 14> : Open - number(101) direction(transmit) session(voice) codec(g7231A-6.3k) - Local : Data(23028) Cont(23029) Addr(10.1.1.147) - Remote : Data(23022) Cont(23023) DataAddr(10.1.1.146) ContAddr(10.1.1.146) 190 <Q931 14> : Received FACILITY 191 <H245 14> : Received EndSession command. 192 <Q931 14> : Received RELEASE COMPLETE 193 <Chan 14> : Close - number(101) direction(receive) 194 <Chan 14> : Close - number(101) directio(transmit) 195 <Call 14> : Terminated from(ffffffff) this(Remote:CallClear) before(NULL) forced(0) 196 <CEP 000000> : DisconnectCall at Busy 197 <CEP 000000> : StopSignal 198 <CEP 000000> : Disconnect (0) 199 <NetEP 14> : Call TO <voip.10.1.1.146> terminated reason(Remote:CallClear) 200 <CEP 000000> : Disconnected(16) at Disconnecting |
Автор: | Mi1ovidoff [ 27 окт 2008, 07:12 ] |
Заголовок сообщения: | Re: AP200B + AP200D |
keySEE писал(а): Звоню на линию, подключенную к FXO порту - звонок приходит на FXS порт, но поднимаю трубку - тишина...
keySEE, обратитесь пожл. к разделу нашего FAQ по AddPac: если срывается звонок при поднятии трубки на FXS когда он перебрасывается с FXO Покажите отладку с FXS-сного шлюза AddPac. |
Автор: | Denis [ 27 окт 2008, 07:51 ] |
Заголовок сообщения: | Re: AP200B + AP200D |
Если на AP200 убрать команду connection plar 101 и поднять трубку на телефоне, подключенном к этому порту (0/0) гудок есть? |
Автор: | keySEE [ 28 окт 2008, 09:29 ] |
Заголовок сообщения: | Re: AP200B + AP200D |
Denis писал(а): Если на AP200 убрать команду connection plar 101 и поднять трубку на телефоне, подключенном к этому порту (0/0) гудок есть?
Вот гудка действительно не было. FXO 0/0 - пропускает только звонок... Гудков в трубке нет Решил настроить на FXO 0/1 - и всё заработало с существующими настройками... |
Автор: | Denis [ 28 окт 2008, 14:34 ] |
Заголовок сообщения: | Re: AP200B + AP200D |
keySEE писал(а): Denis писал(а): Если на AP200 убрать команду connection plar 101 и поднять трубку на телефоне, подключенном к этому порту (0/0) гудок есть? Вот гудка действительно не было. FXO 0/0 - пропускает только звонок... Гудков в трубке нет Решил настроить на FXO 0/1 - и всё заработало с существующими настройками... Я имел ввиду адпак с FXS портом. На адпаке с FXO портом у вас прописана данная команда с номером 301, а не 101. |
Страница 1 из 1 | Часовой пояс: UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |