[Spce-user] Peering two SPCE over TLS

H Yavari hyavari at rocketmail.com
Sun Jan 18 07:56:42 EST 2015


Hi,I think this is a TMG firewall problem with TLS protocol.Are there any solution for connecting two CPE over WS (websocket) ? it is possible to implement in this level of communication? WS usually is used for client to server.
Thanks for helps.
Regards,H. Yavari
      From: Daniel Grotti <dgrotti at sipwise.com>
 
   
Hi,looks like the tcp connection got timeout.Are you sure to have the port you need opened (5060 tcp and 5061 tcp) ?
Daniel



From: "H Yavari" <hyavari at rocketmail.com>
To: "Daniel Grotti" <dgrotti at sipwise.com>, spce-user at lists.sipwise.com
Sent: Sunday, January 18, 2015 8:43:42 AM
Subject: Re: [Spce-user] Peering two SPCE over TLS

Hi,I tested it with TCP and I received "ERROR: <core> [tcp_main.c:4422]: tcpconn_main_timeout(): connect Public IP of peer server :5060 failed (timeout)" 


Regards,H. Yavari
 From: Daniel Grotti <dgrotti at sipwise.com>
 
 
No, as long as the message its relay in TLS with no errors, there are no problems.I guess it fails for timeout, since you don't get any message on the peer side, isn't?Daniel

On 17 Jan 2015 14:17, H Yavari <hyavari at rocketmail.com> wrote:

Hi,
Yes I checked, There isn't any error and I see "transport=tls" too.I should define any thing on the other server?

Regards,H. Yavari
 From: Daniel Grotti <dgrotti at sipwise.com>
 
 
Can you check in the LB log you see what's happening? Do you see errors? Do you see its using TLS socket ?Daniel

On 17 Jan 2015 13:35, H Yavari <hyavari at rocketmail.com> wrote:

Hi,I mean in the proxy-log, not any request received by peer server. Yes I checked and TLS is enabled on 5061 port.
Regards,H. Yavari
 From: Daniel Grotti <dgrotti at sipwise.com>
 
 
Hi,
What do you mean no message received on the peer?
Did you enable TLS on your server in config.yml?

What does the kamailio-lb.log say?

DanielOn 17 Jan 2015 13:08, H Yavari <hyavari at rocketmail.com> wrote:
>
> Hi,
>
> I want to create a trunk between 2 CPE in the internet over TLS, and only one of them has static ip address. I checked config.yml too and TLS is enabled on both server.
> So I defined an peer server with TLS protocol over port 5061 in that server that has dynamic ip. But when I make a call on this server, not any request received in the other Server. (Everything is ok over UDP )
>
> How can I solve this ? Should I defined any peer on the other Server? 
>
>
>
> Regards,
> H. Yavari











   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150118/7568de62/attachment-0001.html>


More information about the Spce-user mailing list