[OpenSIPS-Devel] [B2B] How to create a UAC with TLS

Anca Vamanu anca at opensips.org
Wed May 12 12:56:45 CEST 2010


Olivier Détour wrote:
> 2010/5/10 Olivier Détour <chino540off+kamailio at gmail.com>:
>   
>> Hi,
>>
>> I would like to create an UAC with client_new over a TLS connection.
>> My peer is registered and the TLS tunnel is set up.
>> But when I create my UAC, and send my first request to my peer, the
>> sending failed. I saw I have to give a sock_info*
>> in client_info_t*. But how do I find the right socket_info to send my
>> request on the right tunnel ?
>>
>> Thanks for your replies,
>> Regards,
>>
>>     
>
> After more investigation, how could I get tcp_connect id to msg_send
> from my module ?
> Does it possible or not ?
>
> Regards,
>
>   
Hi Olivier,

Putting the same RURI as the contact in the Register sent by client does 
not work?
 From what I know, opensips will search through its tcp connections for 
a match of the contact and use that tunnel.

Regards,

-- 
Anca Vamanu
www.voice-system.ro




More information about the Devel mailing list