Попробовал снова пройтись по гайду, все равно прозвон только с Астериска на iPECS.
192.168.88.10 - адрес iPECS
192.168.88.6 - адрес Asterisk
800@192.168.88.10 - SIP экстеншн Астериска, вбитый в 126 программе
0366 - вместо 463 из гайда воспользовался номером 366
В PGM 133,145,151 произвел настройки для линий 1-5. Phontage отображает входящий на CO5 и определяет внутренний номер астериска, с которого происходит звонок
Так же теперь при наборе в Phontage любого номера формата 0### почему-то звонит на STA123
Касаемо пункта 1 из предыдущего поста - более детально прочитал первую часть инструкции, сделал отдельный входящий маршрут в Астериске с СID 800. В PGM201 вбил 128120. На транке СID 0128120336, на исходящем маршруте CID 800, но внутренние номера не подменяются.
Подробный лог простоя:
CODE
www*CLI> sip set debug ip 192.168.88.10
SIP Debugging Enabled for IP: 192.168.88.10
Reliably Transmitting (no NAT) to 192.168.88.10:5060:
OPTIONS sip:800@192.168.88.10:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK3c329567
Max-Forwards: 70
From: "Unknown" <sip:Unknown@192.168.88.6>;tag=as62499eda
To: <sip:800@192.168.88.10:5060;transport=UDP>
Contact: <sip:Unknown@192.168.88.6:5060>
Call-ID: 262a8a320b1374b721cdc7fc56545f2b@192.168.88.6:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-13.0.190.19(13.9.1)
Date: Tue, 04 Apr 2017 22:30:43 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:192.168.88.10:5060 --->
SIP/2.0 200 OK
From: "Unknown"<sip:Unknown@192.168.88.6>;tag=as62499eda
To: <sip:800@192.168.88.10:5060>;tag=4165ffe8-a58a8c0-13c4-55013-11671-54a22537-11671
Call-ID: 262a8a320b1374b721cdc7fc56545f2b@192.168.88.6:5060
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK3c329567
Supported: 100rel,timer,replaces,UPDATE,INFO
Server: iPECS-LIK v6.1Bf
Allow: INVITE, ACK, BYE, REGISTER, REFER, NOTIFY, PRACK, CANCEL, OPTIONS
User-Agent: Ericsson-LG Enterprise iPECS-LIK 100 6.1Bf
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '262a8a320b1374b721cdc7fc56545f2b@192.168.88.6:5060' Method: OPTIONS
Reliably Transmitting (no NAT) to 192.168.88.10:5060:
OPTIONS sip:800@192.168.88.10:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK08ea3fd7
Max-Forwards: 70
From: "Unknown" <sip:Unknown@192.168.88.6>;tag=as10aa201a
To: <sip:800@192.168.88.10:5060;transport=UDP>
Contact: <sip:Unknown@192.168.88.6:5060>
Call-ID: 1abfc0b42079dd292f0fcb1854be5bfa@192.168.88.6:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-13.0.190.19(13.9.1)
Date: Tue, 04 Apr 2017 22:31:43 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
---
<--- SIP read from UDP:192.168.88.10:5060 --->
SIP/2.0 200 OK
From: "Unknown"<sip:Unknown@192.168.88.6>;tag=as10aa201a
To: <sip:800@192.168.88.10:5060>;tag=41662600-a58a8c0-13c4-55013-116ad-22ee2715-116ad
Call-ID: 1abfc0b42079dd292f0fcb1854be5bfa@192.168.88.6:5060
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK08ea3fd7
Supported: 100rel,timer,replaces,UPDATE,INFO
Server: iPECS-LIK v6.1Bf
Allow: INVITE, ACK, BYE, REGISTER, REFER, NOTIFY, PRACK, CANCEL, OPTIONS
User-Agent: Ericsson-LG Enterprise iPECS-LIK 100 6.1Bf
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '1abfc0b42079dd292f0fcb1854be5bfa@192.168.88.6:5060' Method: OPTIONS
Звонок с софтфона (Asterisk SIP 203) на номер 0366, проходит:
CODE
www*CLI>
Audio is at 25812
Adding codec alaw to SDP
Adding codec g729 to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.88.10:5060:
INVITE sip:0366@192.168.88.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK263ed22e
Max-Forwards: 70
From: "Тина Мискинова" <sip:203@192.168.88.6>;tag=as1dd8dcf8
To: <sip:0366@192.168.88.10>
Contact: <sip:203@192.168.88.6:5060>
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 102 INVITE
User-Agent: FPBX-13.0.190.19(13.9.1)
Date: Tue, 04 Apr 2017 22:31:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 298
v=0
o=root 1127513748 1127513748 IN IP4 192.168.88.6
s=Asterisk PBX 13.9.1
c=IN IP4 192.168.88.6
t=0 0
m=audio 25812 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
---
<--- SIP read from UDP:192.168.88.10:5060 --->
SIP/2.0 100 Trying
From: "Тина Мискинова"<sip:203@192.168.88.6>;tag=as1dd8dcf8
To: <sip:0366@192.168.88.10>
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK263ed22e
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBER,NOTIFY,MESSAGE,INFO,PRAC
K,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-LIK 100 6.1Bf
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
<--- SIP read from UDP:192.168.88.10:5060 --->
SIP/2.0 180 Ringing
From: "Тина Мискинова"<sip:203@192.168.88.6>;tag=as1dd8dcf8
To: <sip:0366@192.168.88.10>;tag=41662ff0-a58a8c0-13c4-55013-116be-55d03de7-116be
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK263ed22e
Contact: <sip:0366@192.168.88.10:5060;transport=UDP>
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBER,NOTIFY,MESSAGE,INFO,PRAC
K,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-LIK 100 6.1Bf
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
sip_route_dump: route/path hop: <sip:0366@192.168.88.10:5060;transport=UDP>
<--- SIP read from UDP:192.168.88.10:5060 --->
SIP/2.0 200 OK
From: "Тина Мискинова"<sip:203@192.168.88.6>;tag=as1dd8dcf8
To: <sip:0366@192.168.88.10>;tag=41662ff0-a58a8c0-13c4-55013-116be-55d03de7-116be
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK263ed22e
Contact: <sip:0366@192.168.88.10:5060;transport=UDP>
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,REFER,SUBSCRIBER,NOTIFY,MESSAGE,INFO,PRAC
K,UPDATE
Supported: replaces,UPDATE,INFO
User-Agent: Ericsson-LG Enterprise iPECS-LIK 100 6.1Bf
Content-Type: application/sdp
Content-Length: 205
v=0
o=iPECS-LIK 5 5 IN IP4 192.168.88.10
s=iPECS-LIK SIP
c=IN IP4 192.168.88.10
t=0 0
m=audio 7308 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
--- (12 headers 10 lines) ---
Found RTP audio format 8
Found RTP audio format 101
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us - (alaw|g729), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.88.10:7308
sip_route_dump: route/path hop: <sip:0366@192.168.88.10:5060;transport=UDP>
set_destination: Parsing <sip:0366@192.168.88.10:5060;transport=UDP> for address/port to send to
set_destination: set destination to 192.168.88.10:5060
Transmitting (no NAT) to 192.168.88.10:5060:
ACK sip:0366@192.168.88.10:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.88.6:5060;branch=z9hG4bK594a0796
Max-Forwards: 70
From: "Тина Мискинова" <sip:203@192.168.88.6>;tag=as1dd8dcf8
To: <sip:0366@192.168.88.10>;tag=41662ff0-a58a8c0-13c4-55013-116be-55d03de7-116be
Contact: <sip:203@192.168.88.6:5060>
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 102 ACK
User-Agent: FPBX-13.0.190.19(13.9.1)
Content-Length: 0
---
<--- SIP read from UDP:192.168.88.10:5060 --->
BYE sip:203@192.168.88.6:5060 SIP/2.0
From: <sip:0366@192.168.88.10>;tag=41662ff0-a58a8c0-13c4-55013-116be-55d03de7-116be
To: "Тина Мискинова"<sip:203@192.168.88.6>;tag=as1dd8dcf8
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 1 BYE
Via: SIP/2.0/UDP 192.168.88.10:5060;rport;branch=z9hG4bK-116c7-440faf2-6bc31295
Max-Forwards: 70
Supported: 100rel,timer,replaces,UPDATE,INFO
Reason: Q.850;cause=16;text="Normal call clearing"
User-Agent: Ericsson-LG Enterprise iPECS-LIK 100 6.1Bf
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Sending to 192.168.88.10:5060 (no NAT)
Scheduling destruction of SIP dialog '6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060' in 32000 ms (Method: BYE)
<--- Transmitting (no NAT) to 192.168.88.10:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.88.10:5060;branch=z9hG4bK-116c7-440faf2-6bc31295;received=192.168.88.10;rport=5060
From: <sip:0366@192.168.88.10>;tag=41662ff0-a58a8c0-13c4-55013-116be-55d03de7-116be
To: "Тина Мискинова"<sip:203@192.168.88.6>;tag=as1dd8dcf8
Call-ID: 6a7bd7bd2b0484742e1a06171237df30@192.168.88.6:5060
CSeq: 1 BYE
Server: FPBX-13.0.190.19(13.9.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
При попытке звонить с Phontage на номера 203, 0203, 800, 0128120336 расширенный лог CLI Астериска не фиксирует вообще ничего