Страница 1 из 2

* OpenVPN SipPhon

Добавлено: 24 сен 2014, 15:20
danilevskiy
Доброго суток All!

Имеем в сетке FreePBX с ip 192.168.0.20, сервер OpenVPN (подсеть 10.10.10.0/24) с ip 192.168.0.25 (бриджом), шлюз с ip 192.168.0.26. Все хорошо и давно работает.
Имеем удаленно клиента для OpenVPN, который имеет доступ к внутренней сетке и ее сервисам. Из сетки имеем доступ к удаленному клиенту.
Понадобилось установить Sip-клиента (3CXPhone 3) на удаленном клиенте. Клиентом выступает iPad. Софтфон даже не захотел проходить регистрацию.
Либо глаза замылились, либо пора вновь в школу... Помогите разобраться, что я пропустил.

P.S. Если iPad подключить напрямую к сети (Wi-Fi), то все работает.
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: sip.conf
[general]
...
externip=192.168.0.25
localnet=192.168.0.0/255.255.255.0
localnet=10.10.10.0/255.255.255.0
...


[1012]
deny=
secret=1012
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=yes
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
icesupport=no
encryption=no
callgroup=
pickupgroup=
dial=SIP/1012
mailbox=1012@device
permit=0.0.0.0/0.0.0.0
callerid=1012 <1012>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: sip debug
<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)
Sending to 10.10.10.6:5060 (no NAT)

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as2fed2ce9
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="75f3965c"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)
Creating new subscription
Sending to 10.10.10.6:5060 (no NAT)
list_route: hop: <sip:1012@10.10.10.6:5060;ob>
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as32f85480
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1564dff6"
Content-Length: 0


---

<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (NAT)

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as2fed2ce9
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="75f3965c"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as32f85480
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1564dff6"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'vjPSedF123tzBG.s7xz0dD7zsTTJzeZr' in 32000 ms (Method: SUBSCRIBE)

<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (NAT)

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as2fed2ce9
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="75f3965c"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as32f85480
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1564dff6"
Content-Length: 0


---

<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (NAT)

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjVLHE1z7VHqs-pM2EHvjFGffXpmDtUoak;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=zsrAEKRjsTWa1jk1y6f0LanwKXeP-hcN
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as2fed2ce9
Call-ID: TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr
CSeq: 11173 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="75f3965c"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'TBCodEK7G0LqjN7RSuNtsmtAUac.ZnXr' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as32f85480
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1564dff6"
Content-Length: 0


---

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj9hApP85LDlCSYOMJ4.F2Ska5v3GXpuBd;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=Mb0I2zt09Y-rTboEqhnLNDmPD720RLpP
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as32f85480
Call-ID: vjPSedF123tzBG.s7xz0dD7zsTTJzeZr
CSeq: 31223 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1564dff6"
Content-Length: 0


---

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 15:31
ded
После ответа Астериска по запросу REGISTER
SIP/2.0 401 Unauthorized
клиент должен авторизоваться - послать user & secret with WWW-Digest, а он этого не делает. Почему? Может заполнить пустое поле -
deny=
permit=0.0.0.0/0.0.0.0

Ну и попробуйте другой клиент.

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 15:42
danilevskiy
Поля заполнил. Все по прежнему.
Попробую другой клиент, но ведь этот работает, когда подключение локальное, а не через OpenVPN.

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 15:59
danilevskiy
Пробую другой софтфон (Join softphone) - аналогичное поведение.

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 16:07
awsswa
пингуется без проблем - с обеих сторон ?

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 16:21
danilevskiy
Все пингуется. Работают сетевые приложения.

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 18:00
danilevskiy
TCP та же реакция.
Только вот после включения туннеля debag sip показывает обращение на udp, а не tcp.

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 18:17
danilevskiy
Прежде, чем тестировать соединение на канале, я его тестирую на локальном соединении.
При подключении через Wi-Fi, что TCP, что UDP работают.
При подключении через OpenVPN - не работает.

TCP
Без канала - работает.
С каналом debug sip:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: debug sip
<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)
Sending to 10.10.10.6:5060 (no NAT)

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as741bd10a
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4f408512"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'K036SwdXScCYfATnSQkCl3mvJhS59YQv' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)
Creating new subscription
Sending to 10.10.10.6:5060 (no NAT)
list_route: hop: <sip:1012@10.10.10.6:5060;ob>
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as70e076e7
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="23af0eb4"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb' in 32000 ms (Method: SUBSCRIBE)

<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as741bd10a
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4f408512"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'K036SwdXScCYfATnSQkCl3mvJhS59YQv' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as70e076e7
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="23af0eb4"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb' in 32000 ms (Method: SUBSCRIBE)

<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as741bd10a
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4f408512"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'K036SwdXScCYfATnSQkCl3mvJhS59YQv' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as70e076e7
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="23af0eb4"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb' in 32000 ms (Method: SUBSCRIBE)

<--- SIP read from UDP:10.10.10.6:5060 --->
REGISTER sip:192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW
Route: <sip:192.168.0.20:6763;lr>
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
User-Agent: 3CXPhone for iPhone 3.0.41
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Expires: 120
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.10.6:5060 (no NAT)

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPj1iM2mXErA-KgoCbGd8G2GvNqEjJARakW;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=OXkELB4U5rW0utVw1UMeFdZCxYqIxDMw
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as741bd10a
Call-ID: K036SwdXScCYfATnSQkCl3mvJhS59YQv
CSeq: 58765 REGISTER
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4f408512"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'K036SwdXScCYfATnSQkCl3mvJhS59YQv' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:10.10.10.6:5060 --->
SUBSCRIBE sip:1012@192.168.0.20:6763 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.6:5060;rport;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG
Max-Forwards: 70
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>
Contact: "1012" <sip:1012@10.10.10.6:5060;ob>
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Route: <sip:192.168.0.20:6763;lr>
Event: message-summary
Expires: 3600
Supported: replaces, 100rel, timer, norefersub
Accept: application/simple-message-summary
Allow-Events: presence, message-summary, refer
User-Agent: 3CXPhone for iPhone 3.0.41
Content-Length: 0

<------------->
--- (16 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '1012' for '1012' from 10.10.10.6:5060

<--- Transmitting (no NAT) to 10.10.10.6:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.10.6:5060;branch=z9hG4bKPjnVDOH0obJM4UbZA34vuTcRu5RvFIl1HG;received=10.10.10.6;rport=5060
From: "1012" <sip:1012@192.168.0.20:6763>;tag=LrGXMN0DtMvCjr58G7oPJKCvuLu-4BrJ
To: "1012" <sip:1012@192.168.0.20:6763>;tag=as70e076e7
Call-ID: rTFGlrXf.6lVi1hcNyi4ZFKFg3FX2vhb
CSeq: 12711 SUBSCRIBE
Server: FPBX-2.11.0(11.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="23af0eb4"
Content-Length: 0


<------------>

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 18:24
Vlad1983
клинту не приходят ответы от asterisk

Re: * OpenVPN SipPhon

Добавлено: 24 сен 2014, 18:34
ded
... потому что он не слушает 5060 на туннельном интерфейсе OpenVPN.