< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate] How to get TLS peer name?


I have already asked this question. I feel we have problem here.
When I use SipMessage::getTlsDomain(), it always return local domain
name.
tlsconnection::getPeerName() will give me the right information, but
seems I 
have no way to call this function after I get a sipmessage, because
sipmessage does not have point to tlsconnection.
Anyone can help me about this?

Thanks,
Roland

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
Roland Zheng
Sent: Friday, July 08, 2005 3:53 PM
To: jason@xxxxxx
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [reSIProcate] How to get TLS peer name?

SipMessage::getTlsDomain() seems to get local tls domain, I want to get
peer domain name. 
where can I call tlsconnection::getPeerName() when I got a sipmessage?

-----Original Message-----
From: Fischl jason [mailto:jason.fischl@xxxxxxxxx] 
Sent: Thursday, June 30, 2005 12:25 PM
To: Roland Zheng
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] How to get TLS peer name?

Call SipMessage::getTlsDomain() on the appropriate SipMessage. 

On 6/30/05, Roland Zheng <rzheng@xxxxxxxxxxxxxxxxxxxx> wrote:
>  
>  
> 
> Hello my friends, 
> 
> When I receive a SIP message from sipstack, How to know if this
message is
> from a TLS connection ? 
> 
> If the connection is Mutual TLS, I want to get the remote server's
name, how
> can I get it? 
> 
>   
> 
> Thanks, 
> 
> Roland 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
>

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel