alupianets Posted September 17, 2012 Здравствуйте Уважаемые господа!!! Возникла проблема при переходе с elastix 2.0.0 на 2.3.0. Старенькая cisco 1750 с 2fxo, перестала работать. Причем с если прописать сервер с 2.0.0 все хорошо. Настройки не менял. Конфиг elastix: host=194.220.XX.XX type=friend dtmfmode=auto context=from-pstn nat=yes insecure=yes&very canreinvite=no disallow=all allow=alaw Настройки cisco: ip name-server 193.124.EE.EE ip name-server 193.125.EE.EE ! call rsvp-sync voice hunt user-busy ! voice service pots ! voice service voip ! voice class codec 1 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 5 g726r16 codec preference 6 g723r53 codec preference 7 g723r63 codec preference 8 g723ar53 codec preference 9 g726r24 codec preference 10 g726r32 codec preference 11 g729br8 codec preference 12 g729r8 ! voice vad-time 65536 ! gw-accounting h323 vsa gw-accounting voip ! interface FastEthernet0 ip address 194.220.XX.2XX 255.255.255.224 no ip proxy-arp no ip mroute-cache no keepalive speed auto h323-gateway voip interface ! ip classless ip route 0.0.0.0 0.0.0.0 194.220.EE.EE no ip http server ! logging trap debugging dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! voice-port 1/0 cptone RU timing percentbreak 60 connection plar 601 station-id name 5255 station-id number 5255 ! voice-port 1/1 cptone RU timing percentbreak 60 connection plar 215 station-id name 6333 station-id number 6333 ! dial-peer voice 1 voip huntstop destination-pattern ... voice-class codec 1 session protocol sipv2 session target sip-server dtmf-relay cisco-rtp no vad ! dial-peer voice 100 pots destination-pattern 1.. port 1/0 forward-digits all sip-ua max-forwards 14 sip-server ipv4:194.220.YY.YY:5060 1750#sh ver Cisco Internetwork Operating System Software IOS C1700 Software (C1700-SV3Y-M), Version 12.2(27), RELEASE SOFTWARE (fc3) Copyright © 1986-2004 by cisco Systems, Inc. Compiled Tue 02-Nov-04 18:36 by kellmill Image text-base: 0x800080E0, data-base: 0x80B2B198 ROM: System Bootstrap, Version 12.0(3r)T1, RELEASE SOFTWARE (fc1) 1750gw1 uptime is 1 hour, 35 minutes System returned to ROM by reload System image file is "flash:c1700-sv3y-mz.122-27.bin" cisco 1750 (MPC860) processor (revision 0x801) with 36864K/12288K bytes of memory. Processor board ID JAD041704U1 (3645260618), with hardware revision 0000 M860 processor: part number 0, mask 32 Bridging software. X.25 software, Version 3.0.0. 1 FastEthernet/IEEE 802.3 interface(s) 2 Voice FXO interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read/Write) Configuration register is 0x2102 sip debug <--- SIP read from UDP:194.220.XX.XX:50594 ---> CANCEL sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:11:48 GMT Call-ID: 543CDF73-1CED11CC-8099C14B-E083C86E@194.220.XX.XX CSeq: 101 CANCEL Max-Forwards: 14 Timestamp: 731823126 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- <--- SIP read from UDP:194.220.XX.XX:50594 ---> CANCEL sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:11:48 GMT Call-ID: 543CDF73-1CED11CC-8099C14B-E083C86E@194.220.XX.XX CSeq: 101 CANCEL Max-Forwards: 14 Timestamp: 731823130 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- <--- SIP read from UDP:194.220.XX.XX:56454 ---> INVITE sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:12:12 GMT Call-ID: 6B960D07-1CED11CC-809EC14B-E083C86E@194.220.XX.XX Cisco-Guid: 1766715728-485298636-2157756747-3766732910 User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled CSeq: 101 INVITE Max-Forwards: 14 Timestamp: 731823132 Contact: <sip:5255@194.220.XX.XX:5060;user=phone> Expires: 180 Content-Type: application/sdp Content-Length: 179 v=0 o=CiscoSystemsSIP-GW-UserAgent 2468 2471 IN IP4 194.220.XX.XX s=SIP Call c=IN IP4 194.220.XX.XX t=0 0 m=audio 20190 RTP/AVP 8 0 2 65535 4 65535 65535 65535 65535 18 <-------------> --- (15 headers 6 lines) --- <--- SIP read from UDP:194.220.XX.XX:56454 ---> INVITE sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:12:12 GMT Call-ID: 6B960D07-1CED11CC-809EC14B-E083C86E@194.220.XX.XX Cisco-Guid: 1766715728-485298636-2157756747-3766732910 User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled CSeq: 101 INVITE Max-Forwards: 14 Timestamp: 731823132 Contact: <sip:5255@194.220.XX.XX:5060;user=phone> Expires: 180 Content-Type: application/sdp Content-Length: 179 v=0 o=CiscoSystemsSIP-GW-UserAgent 2468 2471 IN IP4 194.220.XX.XX s=SIP Call c=IN IP4 194.220.XX.XX t=0 0 m=audio 20190 RTP/AVP 8 0 2 65535 4 65535 65535 65535 65535 18 <-------------> --- (15 headers 6 lines) --- <--- SIP read from UDP:194.220.XX.XX:56454 ---> INVITE sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:12:13 GMT Call-ID: 6B960D07-1CED11CC-809EC14B-E083C86E@194.220.XX.XX Cisco-Guid: 1766715728-485298636-2157756747-3766732910 User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled CSeq: 101 INVITE Max-Forwards: 14 Timestamp: 731823133 Contact: <sip:5255@194.220.XX.XX:5060;user=phone> Expires: 180 Content-Type: application/sdp Content-Length: 179 v=0 o=CiscoSystemsSIP-GW-UserAgent 2468 2471 IN IP4 194.220.XX.XX s=SIP Call c=IN IP4 194.220.XX.XX t=0 0 m=audio 20190 RTP/AVP 8 0 2 65535 4 65535 65535 65535 65535 18 <-------------> --- (15 headers 6 lines) --- <--- SIP read from UDP:194.220.XX.XX:50594 ---> CANCEL sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:11:48 GMT Call-ID: 543CDF73-1CED11CC-8099C14B-E083C86E@194.220.XX.XX CSeq: 101 CANCEL Max-Forwards: 14 Timestamp: 731823134 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- <--- SIP read from UDP:194.220.XX.XX:56454 ---> INVITE sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:12:15 GMT Call-ID: 6B960D07-1CED11CC-809EC14B-E083C86E@194.220.XX.XX Cisco-Guid: 1766715728-485298636-2157756747-3766732910 User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled CSeq: 101 INVITE Max-Forwards: 14 Timestamp: 731823135 Contact: <sip:5255@194.220.XX.XX:5060;user=phone> Expires: 180 Content-Type: application/sdp Content-Length: 179 v=0 o=CiscoSystemsSIP-GW-UserAgent 2468 2471 IN IP4 194.220.XX.XX s=SIP Call c=IN IP4 194.220.XX.XX t=0 0 m=audio 20190 RTP/AVP 8 0 2 65535 4 65535 65535 65535 65535 18 <-------------> --- (15 headers 6 lines) --- <--- SIP read from UDP:194.220.XX.XX:50594 ---> CANCEL sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:11:48 GMT Call-ID: 543CDF73-1CED11CC-8099C14B-E083C86E@194.220.XX.XX CSeq: 101 CANCEL Max-Forwards: 14 Timestamp: 731823138 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- <--- SIP read from UDP:194.220.XX.XX:56454 ---> INVITE sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:12:19 GMT Call-ID: 6B960D07-1CED11CC-809EC14B-E083C86E@194.220.XX.XX Cisco-Guid: 1766715728-485298636-2157756747-3766732910 User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled CSeq: 101 INVITE Max-Forwards: 14 Timestamp: 731823139 Contact: <sip:5255@194.220.XX.XX:5060;user=phone> Expires: 180 Content-Type: application/sdp Content-Length: 179 v=0 o=CiscoSystemsSIP-GW-UserAgent 2468 2471 IN IP4 194.XX.XX.206 s=SIP Call c=IN IP4 194.220.XX.XX t=0 0 m=audio 20190 RTP/AVP 8 0 2 65535 4 65535 65535 65535 65535 18 <-------------> --- (15 headers 6 lines) --- <--- SIP read from UDP:194.220.XX.XX:50594 ---> CANCEL sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:11:48 GMT Call-ID: 543CDF73-1CED11CC-8099C14B-E083C86E@194.220.XX.XX CSeq: 101 CANCEL Max-Forwards: 14 Timestamp: 731823142 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- <--- SIP read from UDP:194.220.XX.XX:50594 ---> CANCEL sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:11:48 GMT Call-ID: 543CDF73-1CED11CC-8099C14B-E083C86E@194.220.XX.XX CSeq: 101 CANCEL Max-Forwards: 14 Timestamp: 731823146 Content-Length: 0 <-------------> --- (10 headers 0 lines) --- <--- SIP read from UDP:194.220.XX.XX:56454 ---> INVITE sip:205@194.220.YY.YY;user=phone;phone-context=unknown SIP/2.0 Via: SIP/2.0/UDP 194.220.XX.XX:5060 From: "5255" <sip:5255@194.220.XX.XX> To: <sip:205@194.220.YY.YY;user=phone;phone-context=unknown> Date: Thu, 11 Mar 1993 04:12:27 GMT Call-ID: 6B960D07-1CED11CC-809EC14B-E083C86E@194.220.XX.XX Cisco-Guid: 1766715728-485298636-2157756747-3766732910 User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled CSeq: 101 INVITE Max-Forwards: 14 Timestamp: 731823147 Contact: <sip:5255@194.220.XX.XX:5060;user=phone> Expires: 180 Content-Type: application/sdp Content-Length: 179 v=0 o=CiscoSystemsSIP-GW-UserAgent 2468 2471 IN IP4 194.220.XX.XX s=SIP Call c=IN IP4 194.220.XX.XX t=0 0 m=audio 20190 RTP/AVP 8 0 2 65535 4 65535 65535 65535 65535 18 <-------------> --- (15 headers 6 lines) --- что-то тут не так!!! Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ilyak Posted September 17, 2012 Попробуй контекст на from-trunk заменить в Elastix Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
alupianets Posted September 18, 2012 from-trunk Первое что сделал, разобрался с контекстами - не помогает :( Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ilyak Posted September 18, 2012 Тогда insecure=port,invite insecure=very начиная с версии 1.6 астериска не работает. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
alupianets Posted September 18, 2012 в elastix 2.0.0 уже стоит asterisk 1.6.2.13 и эта циска с ним работает... Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...