sandykimi / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Cannot connect to company voip server via VPN #195

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
 17:21:03.206 sip_endpoint.c  Module "mod-pjsua-log" registered
 17:21:03.208 sip_endpoint.c  Module "mod-tsx-layer" registered
 17:21:03.208 sip_endpoint.c  Module "mod-stateful-util" registered
 17:21:03.209 sip_endpoint.c  Module "mod-ua" registered
 17:21:03.223 sip_endpoint.c  Module "mod-100rel" registered
 17:21:03.223 sip_endpoint.c  Module "mod-pjsua" registered
 17:21:03.224 sip_endpoint.c  Module "mod-invite" registered
 17:21:03.234          pjlib  select() I/O Queue created (0x84e214)
 17:21:03.238   conference.c  Creating conference bridge with 254 ports
 17:21:03.239   conference.c  Sound device successfully created for port 0
 17:21:03.239 sip_endpoint.c  Module "mod-evsub" registered
 17:21:03.240 sip_endpoint.c  Module "mod-presence" registered
 17:21:03.240        evsub.c  Event pkg "presence" registered by mod-presence
 17:21:03.241 sip_endpoint.c  Module "mod-refer" registered
 17:21:03.241        evsub.c  Event pkg "refer" registered by mod-refer
 17:21:03.241 sip_endpoint.c  Module "mod-pjsua-pres" registered
 17:21:03.241 sip_endpoint.c  Module "mod-pjsua-im" registered
 17:21:03.242 sip_endpoint.c  Module "mod-pjsua-options" registered
 17:21:03.242   pjsua_core.c  1 SIP worker threads created
 17:21:03.242   pjsua_core.c  pjsua version 1.0.1 for arm-apple-darwin9
initialized
 17:21:03.261   pjsua_core.c  SIP UDP socket reachable at 10.255.8.180:5060
 17:21:03.262    udp0x872400  SIP UDP transport started, published address
is 10.255.8.180:5060
 17:21:03.263  pjsua_media.c  RTP socket reachable at 10.255.8.180:4000
 17:21:03.264  pjsua_media.c  RTCP socket reachable at 10.255.8.180:4001
 17:21:03.265  pjsua_media.c  RTP socket reachable at 10.255.8.180:4002
 17:21:03.266  pjsua_media.c  RTCP socket reachable at 10.255.8.180:4003
 17:21:03.267  pjsua_media.c  RTP socket reachable at 10.255.8.180:4004
 17:21:03.267  pjsua_media.c  RTCP socket reachable at 10.255.8.180:4005
 17:21:03.269  pjsua_media.c  RTP socket reachable at 10.255.8.180:4006
 17:21:03.269  pjsua_media.c  RTCP socket reachable at 10.255.8.180:4007
 17:21:03.270         call.m  sip_manage_codec 0
 17:21:03.293    pjsua_acc.c  Account sip:165@10.255.24.4 added with id 0
 17:21:03.296       endpoint  Request msg REGISTER/cseq=20050
(tdta0x87ea00) created.
 17:21:03.297    tsx0x87fa64  Transaction created for Request msg
REGISTER/cseq=20051 (tdta0x87ea00)
 17:21:03.297    tsx0x87fa64  Sending Request msg REGISTER/cseq=20051
(tdta0x87ea00) in state Null
 17:21:03.297  sip_resolve.c  Target '10.255.24.4:0' type=Unspecified
resolved to '10.255.24.4:5060' type=UDP (UDP transport)
 17:21:03.298   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:03.299    tsx0x87fa64  State changed from Null to Calling, event=TX_MSG
 17:21:03.299    pjsua_acc.c  Registration sent
 17:21:03.799    tsx0x87fa64  Retransmit timer event
 17:21:03.799    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=0, restart?=1
 17:21:03.799   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:04.799    tsx0x87fa64  Retransmit timer event
 17:21:04.799    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=1, restart?=1
 17:21:04.802   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:06.802    tsx0x87fa64  Retransmit timer event
 17:21:06.802    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=2, restart?=1
 17:21:06.802   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:10.802    tsx0x87fa64  Retransmit timer event
 17:21:10.802    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=3, restart?=1
 17:21:10.802   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:14.802    tsx0x87fa64  Retransmit timer event
 17:21:14.802    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=4, restart?=1
 17:21:14.802   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:18.802    tsx0x87fa64  Retransmit timer event
 17:21:18.803    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=5, restart?=1
 17:21:18.803   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:22.803    tsx0x87fa64  Retransmit timer event
 17:21:22.803    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=6, restart?=1
 17:21:22.804   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:26.804    tsx0x87fa64  Retransmit timer event
 17:21:26.805    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=7, restart?=1
 17:21:26.805   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:30.806    tsx0x87fa64  Retransmit timer event
 17:21:30.806    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=8, restart?=1
 17:21:30.806   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:34.806    tsx0x87fa64  Retransmit timer event
 17:21:34.806    tsx0x87fa64  Retransmiting Request msg REGISTER/cseq=20051
(tdta0x87ea00), count=9, restart?=1
 17:21:34.806   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=20051
(tdta0x87ea00) to UDP 10.255.24.4:5060:
REGISTER sip:10.255.24.4 SIP/2.0
Via: SIP/2.0/UDP
10.255.8.180:5060;rport;branch=z9hG4bKPjzJUDti9RlHk-gxdrmS89DvZLc.t31ZOt
Max-Forwards: 70
From: <sip:165@10.255.24.4>;tag=k44jen2sre7ygYdHhURFPUr4w4DNr0yx
To: <sip:165@10.255.24.4>
Call-ID: 1lDIBd8g-WfY4JU0PLi6KWrSbXss6uIi
CSeq: 20051 REGISTER
User-Agent: Siphon PjSip v1.0.1/darwin
Contact: <sip:165@10.255.8.180:5060>
Expires: 1800
Content-Length:  0

--end msg--
 17:21:35.299    tsx0x87fa64  Timeout timer event
 17:21:35.299    tsx0x87fa64  State changed from Calling to Terminated,
event=TIMER
 17:21:35.299    pjsua_acc.c  SIP registration failed, status=408 (Request
Timeout)
 17:21:35.334    tsx0x87fa64  Timeout timer event
 17:21:35.335    tsx0x87fa64  State changed from Terminated to Destroyed,
event=TIMER
 17:21:35.335   tdta0x87ea00  Destroying txdata Request msg
REGISTER/cseq=20051 (tdta0x87ea00)
 17:21:35.335    tsx0x87fa64  Transaction destroyed!
 17:23:14.614    pjsua_acc.c  Account id 0 deleted
 17:23:15.123   pjsua_core.c  Shutting down...
 17:23:16.129   pjsua_core.c  Destroying...
 17:23:16.129 sip_endpoint.c  Destroying endpoing instance..
 17:23:16.129 sip_transactio  Stopping transaction layer module
 17:23:16.129 sip_endpoint.c  Module "mod-pjsua-options" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-pjsua-im" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-pjsua-pres" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-pjsua" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-stateful-util" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-refer" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-presence" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-evsub" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-invite" unregistered
 17:23:16.129 sip_endpoint.c  Module "mod-100rel" unregistered
 17:23:16.130 sip_endpoint.c  Module "mod-ua" unregistered
 17:23:16.130 sip_transactio  Transaction layer module destroyed
 17:23:16.130 sip_endpoint.c  Module "mod-tsx-layer" unregistered
 17:23:16.130 sip_endpoint.c  Module "mod-msg-print" unregistered
 17:23:16.130 sip_endpoint.c  Module "mod-pjsua-log" unregistered
 17:23:16.130 sip_transport.  Destroying transport manager
 17:23:16.134 sip_endpoint.c  Endpoint 0x851064 destroyed
 17:23:16.135   pjsua_core.c  PJSUA destroyed...

Original issue reported on code.google.com by stevensh...@gmail.com on 20 Mar 2009 at 9:37

GoogleCodeExporter commented 8 years ago
Issue 224 has been merged into this issue.

Original comment by samuelv0...@gmail.com on 14 Apr 2009 at 9:37

GoogleCodeExporter commented 8 years ago
Do you have the possibility to get trace from iphone (log) and on server ?
If could you post here or send me by mail.

Like that we can see if the problem is caused by server not receiving the 
REGISTER
request or because the REGISTER response is not received by iPhone.

Original comment by samuelv0...@gmail.com on 27 Apr 2009 at 8:21

GoogleCodeExporter commented 8 years ago
I just release a 2.2 rc1 version. I add two settings :
    * public ip addr : Application can specify any address or hostname for this
field, for example it can point to one of the interface address in the system, 
or it
can point to the public address of a NAT router where port mappings have been
configured for the application.
    * bound ip addr : This option SHOULD only be used to selectively bind the socket
to particular interface (instead of 0.0.0.0), and SHOULD NOT be used to set the
published address of a transport (the public ip addr field should be used for 
that
purpose).

Logically, you just should define bound ip addr with iphone IP on your vpn.
Perhaps you will need to define proxy in advanced settings.
Don't forget to enable 3G/edge options because iPhone OS thinks vpn is always 
WWAN.

I'd like to give us which settings do you use (public and/or bound address, 
proxy...)
and of course if it works or not ;-)

If the tests are positive, I will replace this two settings by switch to enable 
or
not vpn and define automatically these two parameters.

Thx

Original comment by samuelv0...@gmail.com on 5 Nov 2009 at 7:47

GoogleCodeExporter commented 8 years ago
2.2 rc2 is available on http://code.google.com/p/siphon/downloads/list

Original comment by samuelv0...@gmail.com on 7 Nov 2009 at 11:50